Searched refs:stat (Results 226 - 250 of 1632) sorted by relevance

1234567891011>>

/linux-master/tools/power/cpupower/lib/
H A Dcpupower.c7 #include <sys/stat.h>
82 struct stat statbuf;
86 if (stat(path, &statbuf) != 0)
94 if (stat(path, &statbuf) != 0)
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_task.c211 ts->stat = SAS_SAM_STAT_GOOD;
215 ts->stat = SAS_DATA_UNDERRUN;
220 ts->stat = SAS_DATA_OVERRUN;
226 ts->stat = SAS_PROTO_RESPONSE;
231 ts->stat = SAS_OPEN_REJECT;
241 ts->stat = SAS_OPEN_TO;
246 ts->stat = SAS_PHY_DOWN;
250 ts->stat = SAS_PHY_DOWN;
259 ts->stat = SAS_INTERRUPTED;
266 ts->stat
[all...]
/linux-master/crypto/
H A Dhash.h19 return &alg->stat;
/linux-master/drivers/pcmcia/
H A Dsa1100_generic.c76 skt->stat[i].name = sa11x0_cf_gpio_names[i];
77 skt->stat[i].desc = devm_gpiod_get_optional(dev,
79 if (IS_ERR(skt->stat[i].desc))
80 return PTR_ERR(skt->stat[i].desc);
/linux-master/arch/mips/bcm63xx/
H A Dtimer.c32 u32 stat; local
36 stat = bcm_timer_readl(TIMER_IRQSTAT_REG);
37 bcm_timer_writel(stat, TIMER_IRQSTAT_REG);
41 if (!(stat & TIMER_IRQSTAT_TIMER_CAUSE(i)))
/linux-master/drivers/spi/
H A Dspi-au1550.c164 u32 cfg, stat; local
209 stat = hw->regs->psc_spistat;
211 } while ((stat & PSC_SPISTAT_DR) == 0);
224 u32 cfg, stat; local
260 stat = hw->regs->psc_spistat;
262 } while ((stat & PSC_SPISTAT_DR) == 0);
413 u32 stat, evnt; local
415 stat = hw->regs->psc_spistat;
418 if ((stat & PSC_SPISTAT_DI) == 0) {
449 "dma transfer: unexpected SPI error (event=0x%x stat
504 u32 stat, mask; local
548 u32 stat, evnt; local
676 u32 stat, cfg; local
[all...]
/linux-master/fs/vboxsf/
H A Dsuper.c285 static int vboxsf_statfs(struct dentry *dentry, struct kstatfs *stat) argument
300 stat->f_type = VBOXSF_SUPER_MAGIC;
301 stat->f_bsize = shfl_volinfo.bytes_per_allocation_unit;
305 stat->f_blocks = shfl_volinfo.total_allocation_bytes;
309 stat->f_bfree = shfl_volinfo.available_allocation_bytes;
310 stat->f_bavail = shfl_volinfo.available_allocation_bytes;
312 stat->f_files = 1000;
317 stat->f_ffree = 1000000;
318 stat->f_fsid.val[0] = 0;
319 stat
[all...]
/linux-master/tools/build/
H A Dfixdep.c15 #include <sys/stat.h>
123 struct stat st;
/linux-master/tools/perf/util/
H A Dzlib.c6 #include <sys/stat.h>
22 struct stat stbuf;
H A Dnamespaces.h11 #include <sys/stat.h>
67 int nsinfo__stat(const char *filename, struct stat *st, struct nsinfo *nsi);
/linux-master/tools/testing/selftests/ftrace/test.d/event/
H A Devent-pid.tc33 read mypid rest < /proc/self/stat
/linux-master/include/linux/
H A Dinit_syscalls.h11 int __init init_stat(const char *filename, struct kstat *stat, int flags);
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-pid.tc17 read PID _ < /proc/self/stat
/linux-master/drivers/regulator/
H A Dmt6370-regulator.c76 unsigned int stat_reg, stat, rpt_flags = 0; local
84 ret = regmap_read(regmap, stat_reg, &stat);
90 if (stat & MT6370_BSTOCP_EVT_MASK)
94 if (stat & MT6370_POSSCP_EVT_MASK)
97 if (stat & MT6370_POSOCP_EVT_MASK)
101 if (stat & MT6370_NEGSCP_EVT_MASK)
104 if (stat & MT6370_NEGOCP_EVT_MASK)
108 if (stat & MT6370_LDOOC_EVT_MASK)
/linux-master/tools/perf/tests/
H A Dpe-file-parsing.c10 #include <sys/stat.h>
75 struct stat st;
/linux-master/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c5 #include <sys/stat.h>
48 struct stat st;
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.c128 unsigned int stat = dw_hdmi_read(cec, HDMI_IH_CEC_STAT0); local
131 if (stat == 0)
134 dw_hdmi_write(cec, stat, HDMI_IH_CEC_STAT0);
136 if (stat & CEC_STAT_ERROR_INIT) {
140 } else if (stat & CEC_STAT_DONE) {
144 } else if (stat & CEC_STAT_NACK) {
148 } else if (stat & CEC_STAT_ARBLOST) {
154 if (stat & CEC_STAT_EOM) {
/linux-master/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c1819 ts->stat = SAS_SAM_STAT_GOOD;
1822 ts->stat = SAS_PROTO_RESPONSE;
1833 ts->stat = SAS_ABORTED_TASK;
1842 ts->stat = SAS_DATA_UNDERRUN;
1850 ts->stat = SAS_PHY_DOWN;
1857 ts->stat = SAS_OPEN_REJECT;
1866 ts->stat = SAS_OPEN_REJECT;
1875 ts->stat = SAS_OPEN_REJECT;
1884 ts->stat = SAS_OPEN_REJECT;
1893 ts->stat
[all...]
H A Dpm8001_hwi.c1504 ts->stat = SAS_QUEUE_FULL;
1513 pm8001_dbg(pm8001_ha, FAIL, "task 0x%p done with event 0x%x resp 0x%x stat 0x%x but aborted by upper layer!\n",
1514 t, pw->handler, ts->resp, ts->stat);
1762 ts->stat = SAS_SAM_STAT_GOOD;
1765 ts->stat = SAS_PROTO_RESPONSE;
1776 ts->stat = SAS_ABORTED_TASK;
1783 ts->stat = SAS_DATA_UNDERRUN;
1791 ts->stat = SAS_PHY_DOWN;
1796 ts->stat = SAS_OPEN_REJECT;
1803 ts->stat
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-kempld.c85 u8 stat = kempld_read8(pld, KEMPLD_I2C_STAT); local
90 if (stat & I2C_STAT_TIP)
102 if (stat & I2C_STAT_ARBLOST) {
109 if (stat & I2C_STAT_BUSY)
145 if (stat & I2C_STAT_NACK) {
228 u8 stat; local
268 stat = kempld_read8(pld, KEMPLD_I2C_STAT);
269 if (stat & I2C_STAT_BUSY)
/linux-master/fs/9p/
H A Dv9fs_vfs.h53 void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode,
55 void v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode,
/linux-master/drivers/scsi/mvsas/
H A Dmv_chips.h184 u32 tmp, stat; local
187 stat = mr32(MVS_INT_STAT);
191 tmp = (stat >> i) & (CINT_PORT | CINT_PORT_STOPPED);
196 if (stat & CINT_NON_SPEC_NCQ_ERROR)
199 if (stat & CINT_SRS)
202 mw32(MVS_INT_STAT, stat);
/linux-master/arch/um/os-Linux/
H A Dprocess.c24 #define STAT_PATH_LEN sizeof("/proc/#######/stat\0")
33 sprintf(proc_stat, "/proc/%d/stat", pid);
61 char stat[STAT_PATH_LEN]; local
68 snprintf(stat, sizeof(stat), "/proc/%d/stat", pid);
69 fd = open(stat, O_RDONLY, 0);
71 printk(UM_KERN_ERR "Couldn't open '%s', errno = %d\n", stat,
80 printk(UM_KERN_ERR "Couldn't read '%s', errno = %d\n", stat,
/linux-master/arch/mips/vdso/
H A Dgenvdso.c22 #include <sys/stat.h>
111 struct stat stat; local
122 if (fstat(fd, &stat) != 0) {
123 fprintf(stderr, "%s: Failed to stat '%s': %s\n", program_name,
129 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
186 *_size = stat.st_size;
/linux-master/drivers/irqchip/
H A Dirq-aspeed-vic.c91 u32 stat, irq; local
95 stat = readl_relaxed(vic->base + AVIC_IRQ_STATUS);
96 if (!stat) {
97 stat = readl_relaxed(vic->base + AVIC_IRQ_STATUS + 4);
100 if (stat == 0)
102 irq += ffs(stat) - 1;

Completed in 429 milliseconds

1234567891011>>