/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 159 for (stat = 0; stat < otx2_n_queue_stats; stat++) in otx2_get_qset_stats() 163 for (stat = 0; stat < otx2_n_queue_stats; stat++) in otx2_get_qset_stats() 170 for (stat = 0; stat < otx2_n_queue_stats; stat++) in otx2_get_qset_stats() 174 for (stat = 0; stat < otx2_n_queue_stats; stat++) in otx2_get_qset_stats() 204 int stat; in otx2_get_ethtool_stats() local 207 for (stat = 0; stat < otx2_n_dev_stats; stat++) in otx2_get_ethtool_stats() 211 for (stat = 0; stat < otx2_n_drv_stats; stat++) in otx2_get_ethtool_stats() 219 for (stat = 0; stat < CGX_RX_STATS_COUNT; stat++) in otx2_get_ethtool_stats() 221 for (stat = 0; stat < CGX_TX_STATS_COUNT; stat++) in otx2_get_ethtool_stats() 1402 for (stat = 0; stat < otx2_n_dev_stats; stat++) in otx2vf_get_ethtool_stats() [all …]
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | tegra20.c | 467 fsleep(stat->sample_time_usec); in tegra20_mc_stat_gather() 488 struct tegra20_mc_stat stat = {}; in tegra20_mc_stat_events() local 492 stat.gather0.client_enb = !!client0; in tegra20_mc_stat_events() 493 stat.gather0.pri_event = pri_event; in tegra20_mc_stat_events() 494 stat.gather0.event = event; in tegra20_mc_stat_events() 499 stat.gather1.pri_event = pri_event; in tegra20_mc_stat_events() 500 stat.gather1.event = event; in tegra20_mc_stat_events() 503 stat.mc = mc; in tegra20_mc_stat_events() 505 tegra20_mc_stat_gather(&stat); in tegra20_mc_stat_events() 507 *result0 = stat.gather0.result; in tegra20_mc_stat_events() [all …]
|
/openbmc/linux/drivers/net/wan/ |
H A D | hd64570.c | 172 writeb(0, &desc->stat); in sca_init_port() 226 if (stat & ST1_UDRN) { in sca_msci_intr() 232 if (stat & ST1_CDCD) in sca_msci_intr() 295 if (stat & DSR_BOF) in sca_rx_intr() 308 stat = readb(&desc->stat); in sca_rx_intr() 309 if (!(stat & ST_RX_EOM)) in sca_rx_intr() 313 if (stat & ST_RX_OVERRUN) in sca_rx_intr() 318 else if (stat & ST_RX_CRC) in sca_rx_intr() 320 if (stat & ST_RX_EOM) in sca_rx_intr() 341 u8 stat; in sca_tx_intr() local [all …]
|
H A D | wanxl.c | 183 switch (desc->stat) { in wanxl_tx_intr() 261 u32 stat; in wanxl_intr() local 289 if (desc->stat != PACKET_EMPTY) { in wanxl_xmit() 308 desc->stat = PACKET_FULL; in wanxl_xmit() 455 desc->stat = PACKET_EMPTY; in wanxl_close() 553 u32 ramsize, stat; in wanxl_pci_init_one() local 659 switch (stat & 0xC0) { in wanxl_pci_init_one() 666 pci_name(pdev), stat & 0x30); in wanxl_pci_init_one() 736 if (stat) in wanxl_pci_init_one() 741 if (!stat) { in wanxl_pci_init_one() [all …]
|
H A D | hd64572.c | 142 writeb(0, &desc->stat); in sca_init_port() 235 if (stat & DSR_BOF) in sca_rx_done() 248 stat = readb(&desc->stat); in sca_rx_done() 249 if (!(stat & ST_RX_EOM)) in sca_rx_done() 253 if (stat & ST_RX_OVERRUN) in sca_rx_done() 258 else if (stat & ST_RX_CRC) in sca_rx_done() 260 if (stat & ST_RX_EOM) in sca_rx_done() 282 u8 stat; in sca_tx_done() local 295 u8 stat = readb(&desc->stat); in sca_tx_done() local 297 if (!(stat & ST_TX_OWNRSHP)) in sca_tx_done() [all …]
|
/openbmc/linux/fs/overlayfs/ |
H A D | copy_up.c | 329 .ia_size = stat->size, in ovl_set_size() 341 .ia_atime = stat->atime, in ovl_set_timestamps() 349 struct kstat *stat) in ovl_set_attr() argument 356 .ia_mode = stat->mode, in ovl_set_attr() 538 struct kstat stat; member 597 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data() 622 (S_ISREG(c->stat.mode) || S_ISDIR(c->stat.mode))) { in ovl_copy_up_metadata() 718 .rdev = c->stat.rdev, in ovl_copy_up_workdir() 880 if (S_ISDIR(c->stat.mode) || c->stat.nlink == 1 || to_index) in ovl_do_copy_up() 999 if (c->stat.size) { in ovl_copy_up_meta_inode_data() [all …]
|
/openbmc/linux/arch/arm/vdso/ |
H A D | vdsomunge.c | 123 struct stat stat; in main() local 142 if (fstat(infd, &stat) != 0) in main() 145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main() 183 if (ftruncate(outfd, stat.st_size) != 0) in main() 186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main() 193 memcpy(outbuf, inbuf, stat.st_size); in main() 203 if (msync(outbuf, stat.st_size, MS_SYNC) != 0) in main()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 1326 stat &= ~0x00000001; in gf100_gr_trap_tpc() 1355 if (stat) { in gf100_gr_trap_tpc() 1396 if (stat & mask) { in gf100_gr_trap_gpc() 1399 stat &= ~mask; in gf100_gr_trap_gpc() 1403 if (stat) { in gf100_gr_trap_gpc() 1454 stat, stat & 0xffffff, (stat >> 24) & 0x3f); in gf100_gr_trap_intr() 1495 if (stat) in gf100_gr_trap_intr() 1505 if (stat & mask) { in gf100_gr_trap_intr() 1508 stat &= ~mask; in gf100_gr_trap_intr() 1598 if (stat) { in gf100_gr_ctxctl_isr() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-omap.c | 548 u16 stat, systest; in omap_i2c_wait_for_bb_valid() local 646 u16 stat; in omap_i2c_wait() local 876 if (stat & OMAP_I2C_STAT_RDR) { in i2c_omap_errata_i207() 964 u16 stat; in errata_omap3_i462() local 968 if (stat & OMAP_I2C_STAT_XUDF) in errata_omap3_i462() 1058 u16 stat; in omap_i2c_isr() local 1063 if (stat & mask) in omap_i2c_isr() 1072 u16 stat; in omap_i2c_xfer_data() local 1078 stat &= bits; in omap_i2c_xfer_data() 1086 if (!stat) { in omap_i2c_xfer_data() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/parse/ |
H A D | __init__.py | 22 import stat 52 __mtime_cache[f] = os.stat(f)[stat.ST_MTIME] 58 __mtime_cache[f] = os.stat(f)[stat.ST_MTIME] 65 current_mtime = os.stat(f)[stat.ST_MTIME] 73 __mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btqcomsmd.c | 35 hdev->stat.err_rx++; in btqcomsmd_recv() 50 btq->hdev->stat.byte_rx += count; in btqcomsmd_acl_callback() 59 btq->hdev->stat.byte_rx += count; in btqcomsmd_cmd_callback() 72 hdev->stat.err_tx++; in btqcomsmd_send() 75 hdev->stat.acl_tx++; in btqcomsmd_send() 76 hdev->stat.byte_tx += skb->len; in btqcomsmd_send() 81 hdev->stat.err_tx++; in btqcomsmd_send() 84 hdev->stat.cmd_tx++; in btqcomsmd_send() 85 hdev->stat.byte_tx += skb->len; in btqcomsmd_send()
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/ |
H A D | 0001-check-for-mips-targets-for-stat.st_dev-definitions.patch | 4 Subject: [PATCH] check for mips targets for stat.st_dev definitions 19 296 | device: stat.st_dev, 36 nix::sys::stat::fstat(fd.as_raw_fd()) 37 .map(|stat| JournalStream { 39 device: stat.st_dev, 41 + device: stat.st_dev as u64, 42 inode: stat.st_ino,
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gf100.c | 321 u32 show = stat; in gf100_runq_intr() 326 if (stat & 0x00800000) { in gf100_runq_intr() 818 stat &= ~0x00000001; in gf100_fifo_intr() 824 stat &= ~0x00000100; in gf100_fifo_intr() 831 stat &= ~0x00010000; in gf100_fifo_intr() 838 stat &= ~0x01000000; in gf100_fifo_intr() 843 stat &= ~0x10000000; in gf100_fifo_intr() 848 stat &= ~0x20000000; in gf100_fifo_intr() 853 stat &= ~0x40000000; in gf100_fifo_intr() 858 stat &= ~0x80000000; in gf100_fifo_intr() [all …]
|
/openbmc/u-boot/common/ |
H A D | xyzModem.c | 413 int stat = 0; in xyzModem_stream_open() local 452 stat = xyzModem_get_hdr (); in xyzModem_stream_open() 453 if (stat == 0) in xyzModem_stream_open() 483 *err = stat; in xyzModem_stream_open() 491 int stat, total, len; in xyzModem_stream_read() local 495 stat = xyzModem_cancel; in xyzModem_stream_read() 505 if (stat == 0) in xyzModem_stream_read() 554 stat = xyzModem_sequence; in xyzModem_stream_read() 561 if (stat == xyzModem_eof) in xyzModem_stream_read() 582 if (stat < 0) in xyzModem_stream_read() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv6111.c | 418 int stat = 0; in set_bandwidth() local 431 if (!stat) { in set_bandwidth() 435 if (fe->ops.i2c_gate_ctrl && !stat) in set_bandwidth() 437 return stat; in set_bandwidth() 515 int stat = 0; in set_params() local 525 if (!stat) in set_params() 574 int stat = 0; in get_rf_strength() local 578 if (!stat) { in get_rf_strength() 653 int stat = -ENODEV; in stv6111_attach() local 667 stat = attach_init(state); in stv6111_attach() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/plocate/plocate/ |
H A D | 0001-Include-linux-stat.h-only-when-sys-stat.h-is-not-inc.patch | 4 Subject: [PATCH] Include linux/stat.h only when sys/stat.h is not included 10 when sys/stat.h is included anyway, mark it for conditional include 16 …ork/core2-64-yoe-linux-musl/plocate/1.1.22/recipe-sysroot/usr/include/sys/stat.h:124:8: error: red… 19 …stat.h:56:8: note: previous definition is here | 56… 36 -#include <linux/stat.h>
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 175 | 84 extra_blocks=$(stat -c '%b' "$TEST_DIR/empty") 89 min_blocks=$(stat -c '%b' "$TEST_DIR/empty") 94 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $size 100 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $size 108 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $new_size
|
/openbmc/linux/fs/fscache/ |
H A D | internal.h | 119 static inline void fscache_stat(atomic_t *stat) in fscache_stat() argument 121 atomic_inc(stat); in fscache_stat() 124 static inline void fscache_stat_d(atomic_t *stat) in fscache_stat_d() argument 126 atomic_dec(stat); in fscache_stat_d() 129 #define __fscache_stat(stat) (stat) argument 134 #define __fscache_stat(stat) (NULL) argument 135 #define fscache_stat(stat) do {} while (0) argument 136 #define fscache_stat_d(stat) do {} while (0) argument
|
/openbmc/qemu/tests/qtest/ |
H A D | virtio-9p-test.c | 513 struct stat st; in fs_create_dir() 523 g_assert(stat(new_dir, &st) == 0); in fs_create_dir() 532 struct stat st; in fs_unlinkat_dir() 542 g_assert(stat(new_dir, &st) == 0); in fs_unlinkat_dir() 551 g_assert(stat(new_dir, &st) != 0); in fs_unlinkat_dir() 558 struct stat st; in fs_create_file() 575 struct stat st; in fs_unlinkat_file() 596 struct stat st; in fs_symlink_file() 620 struct stat st; in fs_unlinkat_symlink() 645 struct stat st_real, st_link; in fs_hardlink_file() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | sstatesig.py | 374 return os.stat(fullpath).st_mtime 503 import stat 564 if stat.S_ISDIR(s.st_mode): 566 elif stat.S_ISCHR(s.st_mode): 568 elif stat.S_ISBLK(s.st_mode): 585 add_perm(stat.S_IRUSR, 'r') 586 add_perm(stat.S_IWUSR, 'w') 587 if stat.S_ISUID & s.st_mode: 621 if stat.S_ISBLK(s.st_mode) or stat.S_ISCHR(s.st_mode): 639 if stat.S_ISREG(s.st_mode): [all …]
|
/openbmc/openbmc/poky/scripts/contrib/bb-perf/ |
H A D | buildstats.sh | 57 Default stat sets: 108 for stat in ${STATS}; do 109 case $stat in 145 for stat in ${stats}; do 146 [ -z "$stat" ] && { echo "empty stats"; } 147 time=$(sed -n -e "s/^\($stat\): \\(.*\\)/\\2/p" $file)
|
/openbmc/qemu/hw/ide/ |
H A D | microdrive.c | 58 uint8_t stat; member 112 s->stat |= STAT_INT; in md_set_irq() 114 s->stat &= ~STAT_INT; in md_set_irq() 125 s->stat = 0; in md_reset() 152 return s->stat & ~STAT_INT; in md_attr_read() 154 return s->stat; in md_attr_read() 184 if ((s->stat ^ value) & STAT_PWRDWN) { in md_attr_write() 187 s->stat &= 0x82; in md_attr_write() 188 s->stat |= value & 0x74; in md_attr_write() 327 if (s->stat & STAT_PWRDWN) { in md_common_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | g94.c | 32 u32 stat = nvkm_rd32(device, 0x00e068) & intr, i; in g94_aux_stat() local 34 if ((stat & (1 << (i * 4)))) *hi |= 1 << i; in g94_aux_stat() 35 if ((stat & (2 << (i * 4)))) *lo |= 1 << i; in g94_aux_stat() 36 if ((stat & (4 << (i * 4)))) *rq |= 1 << i; in g94_aux_stat() 37 if ((stat & (8 << (i * 4)))) *tx |= 1 << i; in g94_aux_stat()
|
H A D | gk104.c | 32 u32 stat = nvkm_rd32(device, 0x00dc68) & intr, i; in gk104_aux_stat() local 34 if ((stat & (1 << (i * 4)))) *hi |= 1 << i; in gk104_aux_stat() 35 if ((stat & (2 << (i * 4)))) *lo |= 1 << i; in gk104_aux_stat() 36 if ((stat & (4 << (i * 4)))) *rq |= 1 << i; in gk104_aux_stat() 37 if ((stat & (8 << (i * 4)))) *tx |= 1 << i; in gk104_aux_stat()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | smp-cps.c | 209 u32 stat, seq_state; in boot_core() local 250 stat = read_cpc_co_stat_conf(); in boot_core() 266 core, stat); in boot_core() 528 unsigned stat; in cps_cleanup_dead_cpu() local 552 stat = read_cpc_co_stat_conf(); in cps_cleanup_dead_cpu() 553 stat &= CPC_Cx_STAT_CONF_SEQSTATE; in cps_cleanup_dead_cpu() 554 stat >>= __ffs(CPC_Cx_STAT_CONF_SEQSTATE); in cps_cleanup_dead_cpu() 560 stat == CPC_Cx_STAT_CONF_SEQSTATE_U2) in cps_cleanup_dead_cpu() 576 cpu, stat)) in cps_cleanup_dead_cpu() 595 stat = read_cpc_co_vp_running(); in cps_cleanup_dead_cpu() [all …]
|