/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 823 struct ieee80211_sta *sta, u8 stat) in mt7915_tx_complete_status() 833 if (stat) in mt7915_tx_complete_status() 884 u8 stat; in mt7915_mac_tx_free() local 914 stat = FIELD_GET(MT_TX_FREE_STATUS, info); in mt7915_mac_tx_free() 940 mt7915_tx_complete_status(mdev, txwi->skb, sta, stat); in mt7915_mac_tx_free() 822 mt7915_tx_complete_status(struct mt76_dev *mdev, struct sk_buff *skb, struct ieee80211_sta *sta, u8 stat) mt7915_tx_complete_status() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 45 struct stat; 540 /* fs/stat.c */ 544 struct stat __user *statbuf, int flag); 545 asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); 1103 struct stat __user *statbuf); 1105 struct stat __user *statbuf); 1216 /* obsolete: fs/stat.c */
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-stat.c | 3 * builtin-stat.c 5 * Builtin stat command: Give a precise performance counters summary 10 $ perf stat ./hackbench 10 54 #include "util/stat.h" 83 #include <sys/stat.h> 98 /* Default events used for perf stat -T */ 365 pr_err("failed to write stat event\n"); in read_counter_cpu() 481 pr_err("failed to write stat round event\n"); in process_interval() 555 struct stat st; in is_target_alive() 567 if (!stat(pat in is_target_alive() [all...] |
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | inode.c | 290 * a readdirplus and the inode which its intending to stat isn't 2019 * @stat: The inode's stats 2032 static int gfs2_getattr(const struct path *path, struct kstat *stat, in gfs2_getattr() argument 2050 stat->attributes |= STATX_ATTR_APPEND; in gfs2_getattr() 2052 stat->attributes |= STATX_ATTR_IMMUTABLE; in gfs2_getattr() 2054 stat->attributes_mask |= (STATX_ATTR_APPEND | in gfs2_getattr() 2060 generic_fillattr(inode, stat); in gfs2_getattr()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1307.c | 1214 int stat, ret; in ds1307_irq() local 1217 ret = regmap_read(ds1307->regmap, DS1337_REG_STATUS, &stat); in ds1307_irq() 1221 if (stat & DS1337_BIT_A1I) { in ds1307_irq() 1222 stat &= ~DS1337_BIT_A1I; in ds1307_irq() 1223 regmap_write(ds1307->regmap, DS1337_REG_STATUS, stat); in ds1307_irq()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_expander.c | 104 task->task_status.stat == SAS_SAM_STAT_GOOD) { in smp_execute_task_sg() 109 task->task_status.stat == SAS_DATA_UNDERRUN) { in smp_execute_task_sg() 116 task->task_status.stat == SAS_DATA_OVERRUN) { in smp_execute_task_sg() 121 task->task_status.stat == SAS_DEVICE_UNKNOWN) in smp_execute_task_sg() 128 task->task_status.stat); in smp_execute_task_sg()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 575 u8 *stat; in hns3_get_stats_tqps() local 582 stat = (u8 *)ring + hns3_txq_stats[j].stats_offset; in hns3_get_stats_tqps() 583 *data++ = *(u64 *)stat; in hns3_get_stats_tqps() 591 stat = (u8 *)ring + hns3_rxq_stats[j].stats_offset; in hns3_get_stats_tqps() 592 *data++ = *(u64 *)stat; in hns3_get_stats_tqps()
|
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_3ad.c | 2413 atomic64_t *stat; in bond_3ad_rx_indication() local 2453 stat = &SLAVE_AD_INFO(slave)->stats.marker_unknown_rx; in bond_3ad_rx_indication() 2454 atomic64_inc(stat); in bond_3ad_rx_indication() 2455 stat = &BOND_AD_INFO(bond).stats.marker_unknown_rx; in bond_3ad_rx_indication() 2456 atomic64_inc(stat); in bond_3ad_rx_indication()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | inode.c | 299 * a readdirplus and the inode which its intending to stat isn't 2046 * @stat: The inode's stats 2060 const struct path *path, struct kstat *stat, in gfs2_getattr() 2078 stat->attributes |= STATX_ATTR_APPEND; in gfs2_getattr() 2080 stat->attributes |= STATX_ATTR_IMMUTABLE; in gfs2_getattr() 2082 stat->attributes_mask |= (STATX_ATTR_APPEND | in gfs2_getattr() 2088 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in gfs2_getattr() 2059 gfs2_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) gfs2_getattr() argument
|
/kernel/linux/linux-6.6/fs/ |
H A D | libfs.c | 32 struct kstat *stat, u32 request_mask, in simple_getattr() 36 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in simple_getattr() 37 stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); in simple_getattr() 1591 const struct path *path, struct kstat *stat, in empty_dir_getattr() 1595 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in empty_dir_getattr() 31 simple_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) simple_getattr() argument 1590 empty_dir_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) empty_dir_getattr() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | syscalls.h | 45 struct stat; 495 struct stat __user *statbuf, int flag); 496 asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); 1011 struct stat __user *statbuf); 1013 struct stat __user *statbuf);
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1307.c | 1158 int stat, ret; in ds1307_irq() local 1161 ret = regmap_read(ds1307->regmap, DS1337_REG_STATUS, &stat); in ds1307_irq() 1165 if (stat & DS1337_BIT_A1I) { in ds1307_irq() 1166 stat &= ~DS1337_BIT_A1I; in ds1307_irq() 1167 regmap_write(ds1307->regmap, DS1337_REG_STATUS, stat); in ds1307_irq()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | ataflop.c | 616 int stat; in check_change() local 629 stat = !!(FDC_READ( FDCREG_STATUS ) & FDCSTAT_WPROT); in check_change() 632 if (stat != UD.wpstat) { in check_change() 633 DPRINT(( "wpstat[%d] = %d\n", drive, stat )); in check_change() 634 UD.wpstat = stat; in check_change()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 1460 hdev->stat.cmd_tx++; in bcm4377_hci_send_frame() 1465 hdev->stat.acl_tx++; in bcm4377_hci_send_frame() 1470 hdev->stat.sco_tx++; in bcm4377_hci_send_frame() 1480 hdev->stat.err_tx++; in bcm4377_hci_send_frame() 1484 hdev->stat.byte_tx += skb->len; in bcm4377_hci_send_frame()
|
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/ |
H A D | safexcel.c | 1092 u32 status, stat; in safexcel_irq_ring() local 1100 stat = readl(EIP197_HIA_RDR(priv, ring) + EIP197_HIA_xDR_STAT); in safexcel_irq_ring() 1102 if (unlikely(stat & EIP197_xDR_ERR)) { in safexcel_irq_ring() 1109 } else if (likely(stat & EIP197_xDR_THRESH)) { in safexcel_irq_ring() 1114 writel(stat & 0xff, in safexcel_irq_ring()
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | thunderx_edac.c | 1329 int lane, stat, cfg; in thunderx_ocx_clearstats() local 1337 for (stat = 0; stat < OCX_RX_LANE_STATS; stat++) in thunderx_ocx_clearstats() 1338 readq(ocx->regs + OCX_LNE_STAT(lane, stat)); in thunderx_ocx_clearstats()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_core.c | 286 u32 stat, en; in dwxgmac2_host_irq_status() local 290 stat = readl(ioaddr + XGMAC_INT_STATUS); in dwxgmac2_host_irq_status() 292 stat &= en; in dwxgmac2_host_irq_status() 294 if (stat & XGMAC_PMTIS) { in dwxgmac2_host_irq_status() 299 if (stat & XGMAC_LPIIS) { in dwxgmac2_host_irq_status()
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | at803x.c | 549 struct at803x_hw_stat stat = at803x_hw_stats[i]; in at803x_get_stat() local 554 if (stat.access_type == MMD) in at803x_get_stat() 555 val = phy_read_mmd(phydev, MDIO_MMD_PCS, stat.reg); in at803x_get_stat() 557 val = phy_read(phydev, stat.reg); in at803x_get_stat() 562 val = val & stat.mask; in at803x_get_stat()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-stat.c | 3 * builtin-stat.c 5 * Builtin stat command: Give a precise performance counters summary 10 $ perf stat ./hackbench 10 54 #include "util/stat.h" 86 #include <sys/stat.h> 345 pr_err("failed to write stat event\n"); in read_counter_cpu() 451 pr_err("failed to write stat round event\n"); in process_interval() 528 struct stat st; in is_target_alive() 540 if (!stat(path, &st)) in is_target_alive() 1174 "stat event [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_expander.c | 86 task->task_status.stat == SAS_SAM_STAT_GOOD) { in smp_execute_task_sg() 91 task->task_status.stat == SAS_DATA_UNDERRUN) { in smp_execute_task_sg() 98 task->task_status.stat == SAS_DATA_OVERRUN) { in smp_execute_task_sg() 103 task->task_status.stat == SAS_DEVICE_UNKNOWN) in smp_execute_task_sg() 110 task->task_status.stat); in smp_execute_task_sg()
|
/kernel/linux/linux-6.6/mm/damon/ |
H A D | sysfs-schemes.c | 1143 "stat", 1710 sysfs_stats->nr_tried = scheme->stat.nr_tried; in damon_sysfs_schemes_update_stats() 1711 sysfs_stats->sz_tried = scheme->stat.sz_tried; in damon_sysfs_schemes_update_stats() 1712 sysfs_stats->nr_applied = scheme->stat.nr_applied; in damon_sysfs_schemes_update_stats() 1713 sysfs_stats->sz_applied = scheme->stat.sz_applied; in damon_sysfs_schemes_update_stats() 1714 sysfs_stats->qt_exceeds = scheme->stat.qt_exceeds; in damon_sysfs_schemes_update_stats()
|
/third_party/libcoap/examples/ |
H A D | coap-client.c | 20 #include <sys/stat.h> 710 struct stat statbuf; in read_file_mem() 1143 struct stat statbuf; in cmdline_input_from_file() 1164 perror("cmdline_input_from_file: stat"); in cmdline_input_from_file() 1331 struct stat stbuf; in setup_pki() 1332 if ((stat(root_ca_file, &stbuf) == 0) && S_ISDIR(stbuf.st_mode)) { in setup_pki()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | win32_io.c | 72 #include <sys/stat.h> 73 #define stat stat64 macro 1759 * ntfs_device_win32_stat - get a unix-like stat structure for an ntfs device 1761 * @buf: pointer to the stat structure to fill 1768 static int ntfs_device_win32_stat(struct ntfs_device *dev, struct stat *buf) in ntfs_device_win32_stat() 1789 memset(buf, 0, sizeof(struct stat)); in ntfs_device_win32_stat() 1954 .stat = ntfs_device_win32_stat,
|
/third_party/libabigail/src/ |
H A D | abg-tools-utils.cc | 29 #include <sys/stat.h> 174 struct stat st; \ 325 /// Get the stat struct (as returned by the lstat() function of the C 329 /// @param path the path to the function to stat. 331 /// @param s the resulting stat struct. 333 /// @return true iff the stat function completed successfully. 336 struct stat* s) in get_stat() 765 struct stat st; in ensure_dir_path_created() 770 stat_result = stat(dir_path.c_str(), &st); in ensure_dir_path_created()
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 733 pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; in fstat() 739 link_name = "stat$INODE64" 744 link_name = "stat@FBSD_1.0" 746 pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; in stat() functions 833 buf: *mut stat, in fstatat() 1023 pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; in lstat()
|