/linux-master/tools/testing/selftests/nsfs/ |
H A D | pidns.c | 10 #include <sys/stat.h> 46 struct stat st1, st2; 65 if (stat(path, &st2)) 66 return pr_err("Unable to stat %s", path); 68 return pr_err("Unable to stat the parent pidns");
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gk104.c | 51 u32 stat = nvkm_rd32(device, 0x104f14 + base); local 53 nvkm_enum_find(gk104_ce_launcherr_report, stat & 0x0000000f); 54 nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : "");
|
H A D | gp100.c | 53 u32 stat = nvkm_rd32(device, 0x104418 + base); local 55 nvkm_enum_find(gp100_ce_launcherr_report, stat & 0x0000000f); 56 nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : "");
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | link_pinning.c | 5 #include <sys/stat.h> 15 struct stat statbuf = {}; 36 err = stat(link_pin_path, &statbuf);
|
/linux-master/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 15 #include <sys/stat.h> 62 struct stat s; 66 if (stat(path, &s)) {
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixdir.c | 18 #include <sys/stat.h> 96 struct stat temp_stat; 120 err = stat(temp_str, &temp_stat); 123 "Cannot stat file (should not happen) - %s\n",
|
/linux-master/arch/xtensa/include/uapi/asm/ |
H A D | stat.h | 3 * include/asm-xtensa/stat.h 17 struct stat { struct
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | stat.h | 7 struct stat { struct
|
/linux-master/arch/m68k/include/uapi/asm/ |
H A D | stat.h | 19 struct stat { struct
|
/linux-master/drivers/s390/char/ |
H A D | hmcdrv_mod.c | 15 #include <linux/stat.h>
|
/linux-master/include/uapi/asm-generic/ |
H A D | stat.h | 11 * stat is the same structure layout on 64-bit, without the 'long long' 14 * By convention, 64 bit architectures use the stat interface, while 24 struct stat { struct
|
/linux-master/tools/testing/selftests/intel_pstate/ |
H A D | msr.c | 7 #include <sys/stat.h>
|
/linux-master/arch/arm64/include/asm/ |
H A D | stat.h | 8 #include <uapi/asm/stat.h>
|
/linux-master/arch/sh/include/uapi/asm/ |
H A D | stat.h | 19 struct stat { struct
|
/linux-master/init/ |
H A D | noinitramfs.c | 9 #include <linux/stat.h>
|
/linux-master/drivers/bluetooth/ |
H A D | btqcomsmd.c | 35 hdev->stat.err_rx++; 50 btq->hdev->stat.byte_rx += count; 59 btq->hdev->stat.byte_rx += count; 72 hdev->stat.err_tx++; 75 hdev->stat.acl_tx++; 76 hdev->stat.byte_tx += skb->len; 81 hdev->stat.err_tx++; 84 hdev->stat.cmd_tx++; 85 hdev->stat.byte_tx += skb->len;
|
/linux-master/drivers/hwmon/ |
H A D | sparx5-temp.c | 46 u32 stat; local 50 stat = readl_relaxed(hwmon->base + TEMP_STAT); 51 if (!(stat & TEMP_STAT_VALID)) 53 value = stat & TEMP_STAT_TEMP;
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-uptime-001.c | 23 #include <sys/stat.h>
|
/linux-master/fs/udf/ |
H A D | symlink.c | 24 #include <linux/stat.h> 145 const struct path *path, struct kstat *stat, 152 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); 165 stat->size = strlen(page_address(page)); 144 udf_symlink_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) argument
|
/linux-master/tools/testing/selftests/efivarfs/ |
H A D | create-read.c | 7 #include <sys/stat.h>
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 28 #define OTX2_DEV_STAT(stat) { \ 29 .name = #stat, \ 30 .index = offsetof(struct otx2_dev_stats, stat) / sizeof(u64), \ 49 #define OTX2_DRV_STAT(stat) { \ 50 .name = #stat, \ 51 .index = offsetof(struct otx2_drv_stats, stat) / sizeof(atomic_t), \ 153 int stat, qidx; local 159 for (stat = 0; stat < otx2_n_queue_stats; stat 204 int stat; local 1390 int stat; local [all...] |
/linux-master/drivers/memory/tegra/ |
H A D | tegra20.c | 449 static void tegra20_mc_stat_gather(struct tegra20_mc_stat *stat) argument 452 const struct tegra_mc *mc = stat->mc; 454 control_0 = tegra20_mc_stat_gather_control(&stat->gather0); 455 control_1 = tegra20_mc_stat_gather_control(&stat->gather1); 467 fsleep(stat->sample_time_usec); 475 stat->gather0.result = DIV_ROUND_UP(count0, clocks); 476 stat->gather1.result = DIV_ROUND_UP(count1, clocks); 488 struct tegra20_mc_stat stat = {}; local 490 stat.gather0.client = client0 ? client0->id : 0; 491 stat [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | mb86a20s.c | 327 return c->strength.stat[0].uvalue; 330 c->strength.stat[0].uvalue = 0; 368 c->strength.stat[0].uvalue = rf; 1407 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; 1408 c->cnr.stat[0].svalue = cnr; 1451 c->cnr.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; 1495 c->cnr.stat[1 + layer].scale = FE_SCALE_DECIBEL; 1496 c->cnr.stat[1 + layer].svalue = cnr; 1547 c->strength.stat[0].scale = FE_SCALE_RELATIVE; 1548 c->strength.stat[ [all...] |
/linux-master/drivers/net/hamradio/ |
H A D | scc.c | 340 scc->stat.nospace++; 352 scc->stat.rxerrs++; /* then count it as an error */ 373 scc->stat.txints++; 400 scc->stat.tx_state = TXS_ACTIVE; 421 scc->stat.tx_state = TXS_NEWFRAME; /* next frame... */ 437 scc->stat.exints++; 497 if (scc->stat.tx_state == TXS_ACTIVE && (status & TxEOM)) 499 scc->stat.tx_under++; /* oops, an underrun! count 'em */ 522 scc->stat.rxints++; 535 skb = dev_alloc_skb(scc->stat 2025 const struct scc_stat *stat = &scc->stat; local [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-designware-master.c | 577 unsigned int stat, dummy; local 585 * stat = readl(IC_INTR_STAT); 587 * stat = readl(IC_RAW_INTR_STAT) & readl(IC_INTR_MASK); 592 regmap_read(dev->map, DW_IC_INTR_STAT, &stat); 594 regmap_read(dev->map, DW_IC_RAW_INTR_STAT, &stat); 595 stat &= dev->sw_mask; 605 if (stat & DW_IC_INTR_RX_UNDER) 607 if (stat & DW_IC_INTR_RX_OVER) 609 if (stat & DW_IC_INTR_TX_OVER) 611 if (stat 636 i2c_dw_process_transfer(struct dw_i2c_dev *dev, unsigned int stat) argument 682 unsigned int stat, enabled; local 714 unsigned int stat; local [all...] |