/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs2acl.c | 53 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_getacl() 129 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_setacl() 160 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_getattr() 182 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_access() 257 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfsaclsvc_encode_getaclres() 282 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfsaclsvc_encode_accessres()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | oaktrail_hdmi_i2c.c | 227 u32 stat; in oaktrail_hdmi_i2c_handler() local 229 stat = HDMI_READ(HDMI_HISR); in oaktrail_hdmi_i2c_handler() 231 if (stat & HDMI_INTR_HPD) { in oaktrail_hdmi_i2c_handler() 232 HDMI_WRITE(HDMI_HISR, stat | HDMI_INTR_HPD); in oaktrail_hdmi_i2c_handler() 236 if (stat & HDMI_INTR_I2C_FULL) in oaktrail_hdmi_i2c_handler() 239 if (stat & HDMI_INTR_I2C_DONE) in oaktrail_hdmi_i2c_handler()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 31 u32 stat; in tve200_irq() local 34 stat = readl(priv->regs + TVE200_INT_STAT); in tve200_irq() 36 if (!stat) in tve200_irq() 50 if (stat & TVE200_INT_V_STATUS) { in tve200_irq() 63 dev_err(priv->drm->dev, "stray IRQ %08x\n", stat); in tve200_irq() 66 writel(stat, priv->regs + TVE200_INT_CLR); in tve200_irq()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | util.c | 6 #include <sys/stat.h> 96 struct stat st; in mkdir_p() 103 if (stat(path, &st) == 0) in mkdir_p() 110 err = stat(path, &st) && mkdir(path, mode); in mkdir_p() 117 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; in mkdir_p() 157 struct stat statbuf; in rm_rf_depth_pat() 189 pr_debug("stat failed: %s\n", namebuf); in rm_rf_depth_pat()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | verify_pkcs7_sig.c | 15 #include <sys/stat.h> 97 struct stat st; in populate_data_item_str() 140 ret = stat(path, &st); in populate_data_item_str() 179 struct stat st; in populate_data_item_mod() 187 if (stat("/lib/modules", &st) == -1) in populate_data_item_mod() 207 if (stat(mod_path, &st) == -1) in populate_data_item_mod()
|
/kernel/linux/linux-6.6/drivers/scsi/mvsas/ |
H A D | mv_chips.h | 184 u32 tmp, stat; in mvs_int_full() local 187 stat = mr32(MVS_INT_STAT); in mvs_int_full() 191 tmp = (stat >> i) & (CINT_PORT | CINT_PORT_STOPPED); in mvs_int_full() 196 if (stat & CINT_NON_SPEC_NCQ_ERROR) in mvs_int_full() 199 if (stat & CINT_SRS) in mvs_int_full() 202 mw32(MVS_INT_STAT, stat); in mvs_int_full()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | cpuacct.c | 266 int stat; in cpuacct_stats_show() local 284 for (stat = 0; stat < CPUACCT_STAT_NSTATS; stat++) { in cpuacct_stats_show() 285 seq_printf(sf, "%s %llu\n", cpuacct_stat_desc[stat], in cpuacct_stats_show() 286 nsec_to_clock_t(val[stat])); in cpuacct_stats_show() 323 .name = "stat",
|
/test/testfwk/xdevice/src/xdevice/_core/testkit/ |
H A D | kit.py | 21 import stat namespace 150 modes = stat.S_IWUSR | stat.S_IRUSR 163 modes = stat.S_IWUSR | stat.S_IRUSR 258 if not oct(os.stat(tool_file).st_mode)[-3:] == "755":
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | nir_load_libclc.c | 32 #include <sys/stat.h> 115 struct stat stat; in open_clc_data() local 116 int ret = fstat(fd, &stat); in open_clc_data() 126 _mesa_sha1_update(&ctx, &stat.st_mtim, sizeof(stat.st_mtim)); in open_clc_data() 228 * depend on a dynamic libclc, this opens and tries to stat the file.
|
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_sanitize_gpu.c | 34 #include <sys/stat.h> 302 struct stat stat; in is_i915() local 303 if (fstat(fd, &stat)) in is_i915() 306 if (!S_ISCHR(stat.st_mode) || major(stat.st_rdev) != DRM_MAJOR) in is_i915()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | toolutil.cpp | 25 // *cough* - for struct stat 32 #include <sys/stat.h> 54 # include <sys/stat.h> 190 struct stat st; in uprv_mkdir() 192 if(stat(pathname,&st) != 0) in uprv_mkdir() 205 struct stat stat_buf; in uprv_fileExists() 206 if (stat(file, &stat_buf) == 0) { in uprv_fileExists() 252 // TODO: handle case where stat is not available 253 struct stat st; 255 if(stat(pathnam [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | toolutil.cpp | 25 // *cough* - for struct stat 32 #include <sys/stat.h> 54 # include <sys/stat.h> 190 struct stat st; in uprv_mkdir() 192 if(stat(pathname,&st) != 0) in uprv_mkdir() 205 struct stat stat_buf; in uprv_fileExists() 206 if (stat(file, &stat_buf) == 0) { in uprv_fileExists() 252 // TODO: handle case where stat is not available 253 struct stat st; 255 if(stat(pathnam [all...] |
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | toolutil.cpp | 25 // *cough* - for struct stat 32 #include <sys/stat.h> 52 # include <sys/stat.h> 197 struct stat st; in uprv_mkdir() 199 if(stat(pathname,&st) != 0) in uprv_mkdir() 212 struct stat stat_buf; in uprv_fileExists() 213 if (stat(file, &stat_buf) == 0) { in uprv_fileExists() 227 // TODO: handle case where stat is not available 228 struct stat st; 230 if(stat(pathnam [all...] |
/kernel/linux/linux-5.10/drivers/media/firewire/ |
H A D | firedtv-avc.c | 749 int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat) in avc_tuner_status() argument 789 stat->active_system = r->operand[10]; in avc_tuner_status() 790 stat->searching = r->operand[11] >> 7 & 1; in avc_tuner_status() 791 stat->moving = r->operand[11] >> 6 & 1; in avc_tuner_status() 792 stat->no_rf = r->operand[11] >> 5 & 1; in avc_tuner_status() 793 stat->input = r->operand[12] >> 7 & 1; in avc_tuner_status() 794 stat->selected_antenna = r->operand[12] & 0x7f; in avc_tuner_status() 795 stat->ber = r->operand[13] << 24 | in avc_tuner_status() 799 stat->signal_strength = r->operand[17]; in avc_tuner_status() 800 stat in avc_tuner_status() [all...] |
/kernel/linux/linux-6.6/drivers/media/firewire/ |
H A D | firedtv-avc.c | 751 int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat) in avc_tuner_status() argument 791 stat->active_system = r->operand[10]; in avc_tuner_status() 792 stat->searching = r->operand[11] >> 7 & 1; in avc_tuner_status() 793 stat->moving = r->operand[11] >> 6 & 1; in avc_tuner_status() 794 stat->no_rf = r->operand[11] >> 5 & 1; in avc_tuner_status() 795 stat->input = r->operand[12] >> 7 & 1; in avc_tuner_status() 796 stat->selected_antenna = r->operand[12] & 0x7f; in avc_tuner_status() 797 stat->ber = r->operand[13] << 24 | in avc_tuner_status() 801 stat->signal_strength = r->operand[17]; in avc_tuner_status() 802 stat in avc_tuner_status() [all...] |
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | idt77252.c | 163 u32 stat; in waitfor_idle() local 165 stat = readl(SAR_REG_STAT); in waitfor_idle() 166 while (stat & SAR_STAT_CMDBZ) in waitfor_idle() 167 stat = readl(SAR_REG_STAT); in waitfor_idle() 1018 u32 stat; in dequeue_rx() local 1021 stat = le32_to_cpu(rsqe->word_4); in dequeue_rx() 1023 if (stat & SAR_RSQE_IDLE) { in dequeue_rx() 1073 for (i = (stat & SAR_RSQE_CELLCNT); i; i--) { in dequeue_rx() 1089 aal0 |= (stat & SAR_RSQE_EPDU) ? 0x00000002 : 0; in dequeue_rx() 1090 aal0 |= (stat in dequeue_rx() 1410 u32 conn, stat; idt77252_tx() local 2717 u32 stat; idt77252_interrupt() local 2810 u32 stat; idt77252_softint() local [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | idt77252.c | 163 u32 stat; in waitfor_idle() local 165 stat = readl(SAR_REG_STAT); in waitfor_idle() 166 while (stat & SAR_STAT_CMDBZ) in waitfor_idle() 167 stat = readl(SAR_REG_STAT); in waitfor_idle() 1018 u32 stat; in dequeue_rx() local 1021 stat = le32_to_cpu(rsqe->word_4); in dequeue_rx() 1023 if (stat & SAR_RSQE_IDLE) { in dequeue_rx() 1073 for (i = (stat & SAR_RSQE_CELLCNT); i; i--) { in dequeue_rx() 1089 aal0 |= (stat & SAR_RSQE_EPDU) ? 0x00000002 : 0; in dequeue_rx() 1090 aal0 |= (stat in dequeue_rx() 1409 u32 conn, stat; idt77252_tx() local 2710 u32 stat; idt77252_interrupt() local 2803 u32 stat; idt77252_softint() local [all...] |
/third_party/zlib/examples/ |
H A D | gzlog.c | 235 #include <sys/stat.h> /* stat */ 345 if stat() or unlink() fails, it may be due to another process noticing the 351 struct stat st; in log_lock() 357 if (stat(log->path, &st) == 0 && time(NULL) - st.st_mtime > PATIENCE) { in log_lock() 364 if (stat(log->path, &st) == 0) in log_lock() 374 struct stat st; in log_touch() 378 if (stat(log->path, &st) == 0) in log_touch() 386 struct stat st; in log_check() 389 if (stat(lo in log_check() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | af9013.c | 629 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in af9013_read_status() 630 c->strength.stat[0].svalue = stmp1; in af9013_read_status() 633 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9013_read_status() 711 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in af9013_read_status() 712 c->cnr.stat[0].svalue = utmp1; in af9013_read_status() 715 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9013_read_status() 768 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in af9013_read_status() 769 c->post_bit_error.stat[0].uvalue += utmp1; in af9013_read_status() 770 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in af9013_read_status() 771 c->post_bit_count.stat[ in af9013_read_status() [all...] |
H A D | rtl2832.c | 354 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 356 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 358 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 360 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 679 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2832_read_status() 680 c->strength.stat[0].uvalue = u16tmp; in rtl2832_read_status() 682 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status() 721 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2832_read_status() 722 c->cnr.stat[0].svalue = tmp; in rtl2832_read_status() 724 c->cnr.stat[ in rtl2832_read_status() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | rtl2832.c | 354 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 356 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 358 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 360 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init() 679 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2832_read_status() 680 c->strength.stat[0].uvalue = u16tmp; in rtl2832_read_status() 682 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status() 722 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2832_read_status() 723 c->cnr.stat[0].svalue = tmp; in rtl2832_read_status() 725 c->cnr.stat[ in rtl2832_read_status() [all...] |
H A D | af9013.c | 629 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in af9013_read_status() 630 c->strength.stat[0].svalue = stmp1; in af9013_read_status() 633 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9013_read_status() 711 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in af9013_read_status() 712 c->cnr.stat[0].svalue = utmp1; in af9013_read_status() 715 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9013_read_status() 768 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in af9013_read_status() 769 c->post_bit_error.stat[0].uvalue += utmp1; in af9013_read_status() 770 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in af9013_read_status() 771 c->post_bit_count.stat[ in af9013_read_status() [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-s3c2410.c | 254 unsigned long stat; in s3c24xx_i2c_message_start() local 257 stat = 0; in s3c24xx_i2c_message_start() 258 stat |= S3C2410_IICSTAT_TXRXEN; in s3c24xx_i2c_message_start() 261 stat |= S3C2410_IICSTAT_MASTER_RX; in s3c24xx_i2c_message_start() 264 stat |= S3C2410_IICSTAT_MASTER_TX; in s3c24xx_i2c_message_start() 273 writel(stat, i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_message_start() 275 dev_dbg(i2c->dev, "START: %08lx to IICSTAT, %02x to DS\n", stat, addr); in s3c24xx_i2c_message_start() 287 stat |= S3C2410_IICSTAT_START; in s3c24xx_i2c_message_start() 288 writel(stat, i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_message_start() 716 unsigned long stat in s3c24xx_i2c_doxfer() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_ata.c | 37 switch (ts->stat) { in sas_to_ata_err() 65 __func__, ts->stat); in sas_to_ata_err() 85 struct task_status_struct *stat = &task->task_status; in sas_ata_task_done() local 86 struct ata_task_resp *resp = (struct ata_task_resp *)stat->buf; in sas_ata_task_done() 125 if (stat->stat == SAS_PROTO_RESPONSE || in sas_ata_task_done() 126 stat->stat == SAS_SAM_STAT_GOOD || in sas_ata_task_done() 127 (stat->stat in sas_ata_task_done() [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-apple.c | 360 unsigned long stat; in apple_port_irq_handler() local 365 stat = readl_relaxed(port->base + PORT_INTSTAT); in apple_port_irq_handler() 367 for_each_set_bit(i, &stat, 32) in apple_port_irq_handler() 468 u32 stat; in apple_pcie_setup_refclk() local 471 res = readl_relaxed_poll_timeout(pcie->base + CORE_RC_PHYIF_STAT, stat, in apple_pcie_setup_refclk() 472 stat & CORE_RC_PHYIF_STAT_REFCLK, in apple_pcie_setup_refclk() 481 stat, stat & CORE_LANE_CFG_REFCLK0ACK, in apple_pcie_setup_refclk() 488 stat, stat in apple_pcie_setup_refclk() 516 u32 stat, idx; apple_pcie_setup_port() local [all...] |