/openbmc/qemu/tests/qemu-iotests/ |
H A D | 298 | 137 stat = os.stat(disk) 138 refstat = os.stat(refdisk) 142 self.assertLess(abs(stat.st_size - refstat.st_size), 64 * 1024) 148 self.assertLess(abs(stat.st_blocks - refstat.st_blocks) * 512,
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpffs.c | 35 struct stat a, b, c; in fn() 94 err = stat(TDIR "/fs1/a", &a); in fn() 100 err = stat(TDIR "/fs1/b", &b); in fn() 110 err = stat(TDIR "/fs1/c", &c); in fn() 116 err = stat(TDIR "/fs1/b", &b); in fn()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | si2168.c | 163 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in si2168_read_status() 164 c->cnr.stat[0].svalue = cmd.args[3] * 1000 / 4; in si2168_read_status() 167 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2168_read_status() 195 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in si2168_read_status() 196 c->post_bit_error.stat[0].uvalue += utmp1; in si2168_read_status() 197 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in si2168_read_status() 198 c->post_bit_count.stat[0].uvalue += utmp2; in si2168_read_status() 218 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in si2168_read_status() 219 c->block_error.stat[0].uvalue += utmp1; in si2168_read_status() 221 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2168_read_status() [all …]
|
/openbmc/linux/tools/testing/selftests/tty/ |
H A D | tty_tstamp_update.c | 49 struct stat st1, st2; in main() 61 r = stat(tty, &st1); in main() 74 r = stat(tty, &st2); in main()
|
/openbmc/linux/fs/fuse/ |
H A D | dir.c | 1128 struct kstat *stat) in fuse_fillattr() argument 1134 stat->ino = attr->ino; in fuse_fillattr() 1136 stat->nlink = attr->nlink; in fuse_fillattr() 1146 stat->size = attr->size; in fuse_fillattr() 1178 struct kstat *stat) in fuse_do_statx() argument 1213 sx = &outarg.stat; in fuse_do_statx() 1227 if (stat) { in fuse_do_statx() 1277 if (stat) in fuse_do_getattr() 1326 } else if (stat) { in fuse_update_get_attr() 1329 stat->ino = fi->orig_ino; in fuse_update_get_attr() [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-kmem.txt | 11 'perf kmem' [<options>] {record|stat} 22 'perf kmem [<options>] stat' to report kernel memory statistics. 28 For stat, select the input file (default: perf.data unless stdin is a 67 Show live page stat. The perf kmem shows total allocation stat by
|
H A D | perf-stat.txt | 1 perf-stat(1) 11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command> 14 'perf stat' report [-i file] 248 perf stat -D -1 -e cpu-cycles -a -I 1000 \ 291 example: 'perf stat --time 2000 -e cycles -a' 379 Stores stat data into perf data file. 387 Reads and reports stat data from perf data file. 474 'perf stat -M tma_frontend_bound_group...'. 538 'stat.no-csv-summary'. 540 $ perf config stat.no-csv-summary=true [all …]
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | tzic.c | 124 u32 stat; in tzic_handle_irq() local 131 stat = imx_readl(tzic_base + TZIC_HIPND(i)) & in tzic_handle_irq() 134 while (stat) { in tzic_handle_irq() 136 irqofs = fls(stat) - 1; in tzic_handle_irq() 138 stat &= ~(1 << irqofs); in tzic_handle_irq()
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dtt200u-fe.c | 14 enum fe_status stat; member 24 enum fe_status *stat) in dtt200u_fe_read_status() argument 34 *stat = 0; in dtt200u_fe_read_status() 41 *stat = FE_HAS_SIGNAL | FE_HAS_CARRIER | in dtt200u_fe_read_status() 45 *stat = FE_TIMEDOUT; /* during set_frontend */ in dtt200u_fe_read_status() 49 *stat = 0; in dtt200u_fe_read_status()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-au1550.c | 72 unsigned long stat; in wait_ack() local 77 stat = RD(adap, PSC_SMBEVNT); in wait_ack() 78 if ((stat & (PSC_SMBEVNT_DN | PSC_SMBEVNT_AN | PSC_SMBEVNT_AL)) != 0) in wait_ack() 101 unsigned long stat; in do_address() local 104 stat = RD(adap, PSC_SMBSTAT); in do_address() 107 if (!(stat & PSC_SMBSTAT_TE) || !(stat & PSC_SMBSTAT_RE)) { in do_address()
|
H A D | i2c-kempld.c | 85 u8 stat = kempld_read8(pld, KEMPLD_I2C_STAT); in kempld_i2c_process() local 90 if (stat & I2C_STAT_TIP) in kempld_i2c_process() 102 if (stat & I2C_STAT_ARBLOST) { in kempld_i2c_process() 109 if (stat & I2C_STAT_BUSY) in kempld_i2c_process() 145 if (stat & I2C_STAT_NACK) { in kempld_i2c_process() 228 u8 stat; in kempld_i2c_device_init() local 268 stat = kempld_read8(pld, KEMPLD_I2C_STAT); in kempld_i2c_device_init() 269 if (stat & I2C_STAT_BUSY) in kempld_i2c_device_init()
|
/openbmc/linux/drivers/mtd/spi-nor/controllers/ |
H A D | nxp-spifi.c | 65 u8 stat; in nxp_spifi_wait_for_cmd() local 68 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_wait_for_cmd() 69 !(stat & SPIFI_STAT_CMD), 10, 30); in nxp_spifi_wait_for_cmd() 78 u8 stat; in nxp_spifi_reset() local 82 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_reset() 83 !(stat & SPIFI_STAT_RESET), 10, 30); in nxp_spifi_reset() 108 u8 stat; in nxp_spifi_set_memory_mode_on() local 115 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_set_memory_mode_on() 116 stat & SPIFI_STAT_MCINIT, 10, 30); in nxp_spifi_set_memory_mode_on()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-xlp.c | 225 u32 stat; in xlp_spi_interrupt() local 227 stat = xlp_spi_reg_read(xspi, xspi->cs, XLP_SPI_STATUS) & in xlp_spi_interrupt() 229 if (!stat) in xlp_spi_interrupt() 232 if (stat & XLP_SPI_TX_INT) { in xlp_spi_interrupt() 235 if (stat & XLP_SPI_TX_UF) in xlp_spi_interrupt() 239 if (stat & XLP_SPI_RX_INT) { in xlp_spi_interrupt() 242 if (stat & XLP_SPI_RX_OF) in xlp_spi_interrupt() 247 xlp_spi_reg_write(xspi, xspi->cs, XLP_SPI_STATUS, stat); in xlp_spi_interrupt() 248 if (stat & XLP_SPI_XFR_DONE) in xlp_spi_interrupt()
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | uninative.bbclass | 153 import stat 167 s = os.stat(f) 168 …if not ((s[stat.ST_MODE] & stat.S_IXUSR) or (s[stat.ST_MODE] & stat.S_IXGRP) or (s[stat.ST_MODE] &… 178 os.chmod(f, s[stat.ST_MODE] | stat.S_IWUSR) 180 os.chmod(f, s[stat.ST_MODE])
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | mac.c | 159 struct mt76_tx_status stat = {}; in mt7601u_mac_fetch_tx_status() local 163 stat.valid = !!(val & MT_TX_STAT_FIFO_VALID); in mt7601u_mac_fetch_tx_status() 164 stat.success = !!(val & MT_TX_STAT_FIFO_SUCCESS); in mt7601u_mac_fetch_tx_status() 165 stat.aggr = !!(val & MT_TX_STAT_FIFO_AGGR); in mt7601u_mac_fetch_tx_status() 166 stat.ack_req = !!(val & MT_TX_STAT_FIFO_ACKREQ); in mt7601u_mac_fetch_tx_status() 168 stat.wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, val); in mt7601u_mac_fetch_tx_status() 169 stat.rate = FIELD_GET(MT_TX_STAT_FIFO_RATE, val); in mt7601u_mac_fetch_tx_status() 171 return stat; in mt7601u_mac_fetch_tx_status() 182 if (stat->wcid < ARRAY_SIZE(dev->wcid)) in mt76_send_tx_status() 183 wcid = rcu_dereference(dev->wcid[stat->wcid]); in mt76_send_tx_status() [all …]
|
/openbmc/linux/fs/nfsd/ |
H A D | nfsfh.c | 622 struct kstat stat; in fh_fill_pre_attrs() local 629 err = fh_getattr(fhp, &stat); in fh_fill_pre_attrs() 636 fhp->fh_pre_mtime = stat.mtime; in fh_fill_pre_attrs() 637 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs() 638 fhp->fh_pre_size = stat.size; in fh_fill_pre_attrs() 779 if (stat->result_mask & STATX_CHANGE_COOKIE) { in nfsd4_change_attribute() 780 chattr = stat->change_cookie; in nfsd4_change_attribute() 782 !(stat->attributes & STATX_ATTR_CHANGE_MONOTONIC)) { in nfsd4_change_attribute() 783 chattr += (u64)stat->ctime.tv_sec << 30; in nfsd4_change_attribute() 784 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute() [all …]
|
H A D | nfs3xdr.c | 351 *p++ = cpu_to_be32((u32)stat->nlink); in svcxdr_encode_fattr3() 354 if (S_ISLNK(stat->mode) && stat->size > NFS3_MAXPATHLEN) in svcxdr_encode_fattr3() 357 p = xdr_encode_hyper(p, (u64)stat->size); in svcxdr_encode_fattr3() 363 *p++ = cpu_to_be32((u32)MAJOR(stat->rdev)); in svcxdr_encode_fattr3() 364 *p++ = cpu_to_be32((u32)MINOR(stat->rdev)); in svcxdr_encode_fattr3() 380 p = xdr_encode_hyper(p, stat->ino); in svcxdr_encode_fattr3() 382 p = encode_nfstime3(p, &stat->atime); in svcxdr_encode_fattr3() 383 p = encode_nfstime3(p, &stat->mtime); in svcxdr_encode_fattr3() 384 encode_nfstime3(p, &stat->ctime); in svcxdr_encode_fattr3() 433 struct kstat stat; in svcxdr_encode_post_op_attr() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 119 dcb->stat = MSCC_FDMA_DCB_STAT_BLOCKO(offset); in ocelot_fdma_dcb_set_data() 202 dcb->stat |= MSCC_FDMA_DCB_STAT_BLOCKL(skb->len); in ocelot_fdma_tx_dcb_set_skb() 273 int size = MSCC_FDMA_DCB_STAT_BLOCKL(stat); in ocelot_fdma_add_rx_frag() 398 u32 stat; in ocelot_fdma_rx_get() local 408 stat = dcb->stat; in ocelot_fdma_rx_get() 409 if (MSCC_FDMA_DCB_STAT_BLOCKL(stat) == 0) in ocelot_fdma_rx_get() 422 skb = ocelot_fdma_get_skb(ocelot, stat, rxb, skb); in ocelot_fdma_rx_get() 432 if (unlikely(stat & MSCC_FDMA_DCB_STAT_ABORT || in ocelot_fdma_rx_get() 433 stat & MSCC_FDMA_DCB_STAT_PD)) { in ocelot_fdma_rx_get() 444 if (!(stat & MSCC_FDMA_DCB_STAT_EOF)) in ocelot_fdma_rx_get() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.c | 530 int stat = 0; in dwc_otg_submit_rh_msg_in_status() local 584 dev->status = stat; in dwc_otg_submit_rh_msg_in_status() 586 return stat; in dwc_otg_submit_rh_msg_in_status() 597 int stat = 0; in dwc_otg_submit_rh_msg_in_descriptor() local 669 return stat; in dwc_otg_submit_rh_msg_in_descriptor() 678 int stat = 0; in dwc_otg_submit_rh_msg_in_configuration() local 693 return stat; in dwc_otg_submit_rh_msg_in_configuration() 725 int stat = 0; in dwc_otg_submit_rh_msg_out() local 784 return stat; in dwc_otg_submit_rh_msg_out() 791 int stat = 0; in dwc_otg_submit_rh_msg() local [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | mxs-auart.c | 622 u32 stat; in mxs_auart_rx_char() local 626 stat = mxs_read(s, REG_STAT); in mxs_auart_rx_char() 631 if (stat & AUART_STAT_BERR) { in mxs_auart_rx_char() 646 if (stat & AUART_STAT_BERR) { in mxs_auart_rx_char() 653 if (stat & AUART_STAT_OERR) in mxs_auart_rx_char() 666 u32 stat = 0; in mxs_auart_rx_chars() local 670 if (stat & AUART_STAT_RXFE) in mxs_auart_rx_chars() 755 if (stat & AUART_STAT_CTS) in mxs_auart_get_mctrl() 825 u32 stat; in dma_rx_callback() local 1083 u32 istat, stat; in mxs_auart_irq_handle() local [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | mac53c94.c | 198 int nb, stat, seq, intr; in mac53c94_interrupt() local 206 stat = readb(®s->status); in mac53c94_interrupt() 211 intr, stat, seq, state->phase); in mac53c94_interrupt() 224 intr, stat, seq, state->phase); in mac53c94_interrupt() 228 if (stat & STAT_ERROR) { in mac53c94_interrupt() 232 intr, stat, seq, state->phase); in mac53c94_interrupt() 241 if (stat & STAT_PARITY) { in mac53c94_interrupt() 265 if ((stat & (STAT_MSG|STAT_CD)) == 0 in mac53c94_interrupt() 285 stat & STAT_PHASE); in mac53c94_interrupt() 298 && (stat & (STAT_MSG|STAT_CD)) == 0) { in mac53c94_interrupt() [all …]
|
/openbmc/linux/fs/netfs/ |
H A D | internal.h | 76 static inline void netfs_stat(atomic_t *stat) in netfs_stat() argument 78 atomic_inc(stat); in netfs_stat() 81 static inline void netfs_stat_d(atomic_t *stat) in netfs_stat_d() argument 83 atomic_dec(stat); in netfs_stat_d()
|
/openbmc/linux/include/trace/events/ |
H A D | vmscan.h | 357 struct reclaim_stat *stat, int priority, int file), 359 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file), 381 __entry->nr_dirty = stat->nr_dirty; 382 __entry->nr_writeback = stat->nr_writeback; 383 __entry->nr_congested = stat->nr_congested; 384 __entry->nr_immediate = stat->nr_immediate; 385 __entry->nr_activate0 = stat->nr_activate[0]; 386 __entry->nr_activate1 = stat->nr_activate[1]; 387 __entry->nr_ref_keep = stat->nr_ref_keep; 388 __entry->nr_unmap_fail = stat->nr_unmap_fail;
|
/openbmc/linux/Documentation/admin-guide/perf/ |
H A D | hisi-pcie-pmu.rst | 40 $# perf stat -e hisi_pcie0_core0/rx_mwr_latency/ 41 $# perf stat -e hisi_pcie0_core0/rx_mwr_cnt/ 42 $# perf stat -g -e hisi_pcie0_core0/rx_mwr_latency/ -e hisi_pcie0_core0/rx_mwr_cnt/ 71 $# perf stat -e hisi_pcie0_core0/rx_mwr_latency,port=0x1/ sleep 5 83 $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,bdf=0x3900/ sleep 5 98 $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,trig_len=0x4,trig_mode=1/ sleep 5 112 $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,thr_len=0x4,thr_mode=1/ sleep 5 130 $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,len_mode=0x1/ sleep 5
|
H A D | hns3-pmu.rst | 73 …$# perf stat -g -e hns3_pmu_sicl_0/bw_ssu_rpu_byte_num,global=1/ -e hns3_pmu_sicl_0/bw_ssu_rpu_tim… 75 …$# perf stat -g -e hns3_pmu_sicl_0/config=0x00002,global=1/ -e hns3_pmu_sicl_0/config=0x10002,glob… 86 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,global=1/ -I 1000 95 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,port=0,tc=0xF/ -I 1000 103 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,port=0,tc=0/ -I 1000 120 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,bdf=0x3500,queue=0xFFFF/ -I 1000 128 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,bdf=0x3500,queue=0/ -I 1000 136 $# perf stat -a -e hns3_pmu_sicl_0/config=0x00301,bdf=0x3500,intr=0/ -I 1000
|