Home
last modified time | relevance | path

Searched refs:stat (Results 326 – 350 of 1970) sorted by relevance

1...<<11121314151617181920>>...79

/openbmc/linux/arch/mips/bcm63xx/
H A Dtimer.c32 u32 stat; in timer_interrupt() local
36 stat = bcm_timer_readl(TIMER_IRQSTAT_REG); in timer_interrupt()
37 bcm_timer_writel(stat, TIMER_IRQSTAT_REG); in timer_interrupt()
41 if (!(stat & TIMER_IRQSTAT_TIMER_CAUSE(i))) in timer_interrupt()
/openbmc/openbmc/poky/meta/recipes-devtools/swig/swig/
H A D0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch26 +#include <sys/stat.h> // for stat
55 + struct ::stat stat_res;
56 + if (0 == ::stat(buf, &stat_res) && S_ISDIR(stat_res.st_mode)) {
/openbmc/linux/drivers/bluetooth/
H A Dbtrsi.c55 hdev->stat.cmd_tx++; in rsi_hci_send_pkt()
58 hdev->stat.acl_tx++; in rsi_hci_send_pkt()
61 hdev->stat.sco_tx++; in rsi_hci_send_pkt()
102 h_adapter->hdev->stat.byte_rx += skb->len; in rsi_hci_recv_pkt()
/openbmc/linux/arch/s390/kvm/
H A Dintercept.c59 vcpu->stat.exit_stop_request++; in handle_stop()
95 vcpu->stat.exit_validity++; in handle_validity()
108 vcpu->stat.exit_instruction++; in handle_instruction()
251 vcpu->stat.exit_program_interruption++; in handle_prog()
309 vcpu->stat.exit_external_interrupt++; in handle_external_interrupt()
390 vcpu->stat.exit_pei++; in handle_partial_execution()
418 vcpu->stat.instruction_sthyi++; in handle_sthyi()
467 vcpu->stat.exit_operation_exception++; in handle_operexc()
611 vcpu->stat.exit_external_request++; in kvm_handle_sie_intercept()
614 vcpu->stat.exit_io_request++; in kvm_handle_sie_intercept()
/openbmc/linux/tools/perf/tests/shell/
H A Dstat_all_pmu.sh10 result=$(perf stat -e "$p" true 2>&1)
14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
H A Dstat+csv_summary.sh11 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary 2>&1 | \
24 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary --no-csv-summary 2>&1 | \
/openbmc/linux/sound/pci/pcxhr/
H A Dpcxhr_core.c585 rmh->stat[i] = data; in pcxhr_read_rmh_status()
812 if (rmh.stat[0] == 0) in pcxhr_prepair_pipe_start()
1054 err, prmh->stat[0]); in pcxhr_msg_thread()
1074 int pipe = prmh->stat[i] & MASK_FIRST_FIELD; in pcxhr_msg_thread()
1075 int is_capture = prmh->stat[i] & 0x400000; in pcxhr_msg_thread()
1085 err2 = prmh->stat[i] ? prmh->stat[i] : prmh->stat[i+1]; in pcxhr_msg_thread()
1092 err2 = prmh->stat[i] ? in pcxhr_msg_thread()
1093 prmh->stat[i] : prmh->stat[i+1]; in pcxhr_msg_thread()
1102 err2 = prmh->stat[i] ? in pcxhr_msg_thread()
1103 prmh->stat[i] : prmh->stat[i+1]; in pcxhr_msg_thread()
[all …]
/openbmc/linux/include/soc/fsl/
H A Ddpaa2-global.h22 u8 stat; member
36 u8 stat; member
70 return dq->dq.stat; in dpaa2_dq_flags()
/openbmc/linux/fs/9p/
H A Dv9fs_vfs.h50 void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode,
52 void v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode,
56 void v9fs_inode2stat(struct inode *inode, struct p9_wstat *stat);
/openbmc/linux/drivers/input/misc/
H A Drt5120-pwrkey.c27 unsigned int stat; in rt5120_pwrkey_handler() local
30 error = regmap_read(priv->regmap, RT5120_REG_INTSTAT, &stat); in rt5120_pwrkey_handler()
35 !(stat & RT5120_PWRKEYSTAT_MASK)); in rt5120_pwrkey_handler()
/openbmc/linux/drivers/scsi/arm/
H A Dfas216.c158 unsigned char is, stat, inst; in fas216_dumpstate() local
357 ph_list[ph_ptr].stat = stat; in add_debug_list()
1171 int stat; in fas216_wait_cmd() local
1182 return stat; in fas216_wait_cmd()
1189 if ((stat & STAT_INT) == 0) in fas216_get_msg_byte()
1199 if ((stat & STAT_INT) == 0) in fas216_get_msg_byte()
1202 if (stat & STAT_PARITYERROR) in fas216_get_msg_byte()
1523 fas216_bus_phase(stat)); in fas216_busservice_intr()
1534 fas216_bus_phase(stat), in fas216_busservice_intr()
1638 unsigned char inst, is, stat; in fas216_intr() local
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Ddib7000p.c1581 *stat = 0; in dib7000p_read_status()
1584 *stat |= FE_HAS_SIGNAL; in dib7000p_read_status()
1586 *stat |= FE_HAS_CARRIER; in dib7000p_read_status()
1588 *stat |= FE_HAS_VITERBI; in dib7000p_read_status()
1590 *stat |= FE_HAS_SYNC; in dib7000p_read_status()
1592 *stat |= FE_HAS_LOCK; in dib7000p_read_status()
1594 dib7000p_get_stats(fe, *stat); in dib7000p_read_status()
1684 c->strength.stat[0].uvalue = 0; in dib7000p_reset_stats()
1912 c->strength.stat[0].svalue = db; in dib7000p_get_stats()
1915 if (!(stat & FE_HAS_LOCK)) { in dib7000p_get_stats()
[all …]
/openbmc/linux/fs/exfat/
H A Dfile.c229 struct kstat *stat, unsigned int request_mask, in exfat_getattr() argument
235 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in exfat_getattr()
236 exfat_truncate_atime(&stat->atime); in exfat_getattr()
237 stat->result_mask |= STATX_BTIME; in exfat_getattr()
238 stat->btime.tv_sec = ei->i_crtime.tv_sec; in exfat_getattr()
239 stat->btime.tv_nsec = ei->i_crtime.tv_nsec; in exfat_getattr()
240 stat->blksize = EXFAT_SB(inode->i_sb)->cluster_size; in exfat_getattr()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_state_verificationcompleted_unittest.cpp108 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F()
134 EXPECT_FALSE(handler->stat(verifyBlobId, &meta)); in TEST_F()
148 EXPECT_TRUE(handler->stat(blob, &meta)); in TEST_F()
172 EXPECT_TRUE(handler->stat(session, &meta)); in TEST_F()
189 EXPECT_TRUE(handler->stat(session, &meta)); in TEST_F()
/openbmc/linux/arch/mips/vdso/
H A Dgenvdso.c111 struct stat stat; in map_vdso() local
122 if (fstat(fd, &stat) != 0) { in map_vdso()
129 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in map_vdso()
186 *_size = stat.st_size; in map_vdso()
/openbmc/qemu/hw/input/
H A Dpl050.c85 uint32_t stat; in pl050_read() local
92 stat = PL050_TXEMPTY; in pl050_read()
94 stat |= PL050_RXPARITY; in pl050_read()
97 stat |= PL050_RXFULL; in pl050_read()
100 return stat; in pl050_read()
/openbmc/linux/drivers/spi/
H A Dspi-ar934x.c85 int stat = 0; in ar934x_spi_transfer_one_message() local
104 stat = -EIO; in ar934x_spi_transfer_one_message()
132 stat = readl_poll_timeout( in ar934x_spi_transfer_one_message()
135 if (stat < 0) in ar934x_spi_transfer_one_message()
153 m->status = stat; in ar934x_spi_transfer_one_message()
/openbmc/linux/drivers/md/bcache/
H A Dstats.c56 #define var(stat) (s->stat >> 16) in SHOW() argument
132 static void scale_stat(unsigned long *stat) in scale_stat() argument
134 *stat = ewma_add(*stat, 0, accounting_weight, 0); in scale_stat()
/openbmc/qemu/migration/
H A Ddirtyrate.c126 stat->nvcpu = nvcpu; in vcpu_dirty_stat_alloc()
127 stat->rates = g_new0(DirtyRateVcpu, nvcpu); in vcpu_dirty_stat_alloc()
132 static void vcpu_dirty_stat_collect(VcpuStat *stat, in vcpu_dirty_stat_collect() argument
144 VcpuStat *stat, in vcpu_calculate_dirtyrate() argument
160 records = vcpu_dirty_stat_alloc(stat); in vcpu_calculate_dirtyrate()
161 vcpu_dirty_stat_collect(stat, records, true); in vcpu_calculate_dirtyrate()
171 g_free(stat->rates); in vcpu_calculate_dirtyrate()
175 vcpu_dirty_stat_collect(stat, records, false); in vcpu_calculate_dirtyrate()
178 for (i = 0; i < stat->nvcpu; i++) { in vcpu_calculate_dirtyrate()
181 stat->rates[i].id = i; in vcpu_calculate_dirtyrate()
[all …]
/openbmc/linux/block/
H A Dblk-wbt.c264 static inline bool stat_sample_valid(struct blk_rq_stat *stat) in stat_sample_valid() argument
272 return (stat[READ].nr_samples >= 1 && in stat_sample_valid()
273 stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); in stat_sample_valid()
321 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded()
329 if (!stat_sample_valid(stat)) { in latency_exceeded()
336 if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || in latency_exceeded()
345 if (stat[READ].min > rwb->min_lat_nsec) { in latency_exceeded()
346 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded()
347 trace_wbt_stat(bdi, stat); in latency_exceeded()
352 trace_wbt_stat(bdi, stat); in latency_exceeded()
[all …]
/openbmc/linux/fs/nfsd/
H A Dxdr.h85 struct kstat stat; member
91 struct kstat stat; member
104 struct kstat stat; member
175 const struct svc_fh *fhp, const struct kstat *stat);
/openbmc/linux/arch/mips/kvm/
H A Dstats.c57 if (vcpu->arch.cop0.stat[i][j]) in kvm_mips_dump_stats()
59 vcpu->arch.cop0.stat[i][j]); in kvm_mips_dump_stats()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-apple.c360 unsigned long stat; in apple_port_irq_handler() local
365 stat = readl_relaxed(port->base + PORT_INTSTAT); in apple_port_irq_handler()
367 for_each_set_bit(i, &stat, 32) in apple_port_irq_handler()
468 u32 stat; in apple_pcie_setup_refclk() local
471 res = readl_relaxed_poll_timeout(pcie->base + CORE_RC_PHYIF_STAT, stat, in apple_pcie_setup_refclk()
472 stat & CORE_RC_PHYIF_STAT_REFCLK, in apple_pcie_setup_refclk()
481 stat, stat & CORE_LANE_CFG_REFCLK0ACK, in apple_pcie_setup_refclk()
488 stat, stat & CORE_LANE_CFG_REFCLK1ACK, in apple_pcie_setup_refclk()
516 u32 stat, idx; in apple_pcie_setup_port() local
560 ret = readl_relaxed_poll_timeout(port->base + PORT_STATUS, stat, in apple_pcie_setup_port()
[all …]
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbt878.c221 u32 stat; in bt878_stop() local
230 stat = btread(BT878_AINT_STAT); in bt878_stop()
231 if (!(stat & BT878_ARISC_EN)) in bt878_stop()
237 bt->nr, i, stat); in bt878_stop()
249 u32 stat, astat, mask; in bt878_irq() local
257 stat = btread(BT878_AINT_STAT); in bt878_irq()
259 if (!(astat = (stat & mask))) in bt878_irq()
302 bt->finished_block = (stat & BT878_ARISCS) >> 28; in bt878_irq()
/openbmc/linux/tools/perf/Documentation/
H A Dperf-kvm.txt15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>]
16 'perf kvm stat [record|report|live] [<options>]
51 'perf kvm stat <command>' to run a command and gather performance counter
53 Especially, perf 'kvm stat record/report' generates a statistical analysis
55 events are supported. 'perf kvm stat record <command>' records kvm events
60 'perf kvm stat report' reports statistical data which includes events
63 'perf kvm stat live' reports statistical data in a live mode (similar to
158 linkperf:perf-stat[1]

1...<<11121314151617181920>>...79