/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | fstatat.c | 17 #include <sys/stat.h> 24 extern int __fstatat_time64(int, const char *__restrict, struct stat *__restrict, int); 35 struct stat st; in fstatat_0100() 59 struct stat st; in fstatat_0200() 91 struct stat st; in fstatat_0300() 114 struct stat st; in fstatat_time64_0100()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_top.c | 1049 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1050 c->pre_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend() 1052 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1053 c->pre_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend() 1055 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1056 c->post_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend() 1058 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1059 c->post_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend() 1061 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1062 c->block_error.stat[ in cxd2880_set_frontend() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_top.c | 1049 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1050 c->pre_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend() 1052 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1053 c->pre_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend() 1055 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1056 c->post_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend() 1058 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1059 c->post_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend() 1061 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1062 c->block_error.stat[ in cxd2880_set_frontend() [all...] |
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-dw-apb-ictl.c | 40 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handle_irq() local 42 while (stat) { in dw_apb_ictl_handle_irq() 43 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handle_irq() 46 stat &= ~BIT(hwirq); in dw_apb_ictl_handle_irq() 61 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handle_irq_cascaded() local 63 while (stat) { in dw_apb_ictl_handle_irq_cascaded() 64 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handle_irq_cascaded() 68 stat &= ~BIT(hwirq); in dw_apb_ictl_handle_irq_cascaded()
|
H A D | irq-orion.c | 41 u32 stat = readl_relaxed(gc->reg_base + ORION_IRQ_CAUSE) & in orion_handle_irq() local 43 while (stat) { in orion_handle_irq() 44 u32 hwirq = __fls(stat); in orion_handle_irq() 47 stat &= ~(1 << hwirq); in orion_handle_irq() 114 u32 stat = readl_relaxed(gc->reg_base + ORION_BRIDGE_IRQ_CAUSE) & in orion_bridge_irq_handler() local 117 while (stat) { in orion_bridge_irq_handler() 118 u32 hwirq = __fls(stat); in orion_bridge_irq_handler() 121 stat &= ~(1 << hwirq); in orion_bridge_irq_handler()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-dw-apb-ictl.c | 40 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handle_irq() local 42 while (stat) { in dw_apb_ictl_handle_irq() 43 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handle_irq() 46 stat &= ~BIT(hwirq); in dw_apb_ictl_handle_irq() 61 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handle_irq_cascaded() local 63 while (stat) { in dw_apb_ictl_handle_irq_cascaded() 64 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handle_irq_cascaded() 67 stat &= ~BIT(hwirq); in dw_apb_ictl_handle_irq_cascaded()
|
H A D | irq-orion.c | 41 u32 stat = readl_relaxed(gc->reg_base + ORION_IRQ_CAUSE) & in orion_handle_irq() local 43 while (stat) { in orion_handle_irq() 44 u32 hwirq = __fls(stat); in orion_handle_irq() 47 stat &= ~(1 << hwirq); in orion_handle_irq() 113 u32 stat = readl_relaxed(gc->reg_base + ORION_BRIDGE_IRQ_CAUSE) & in orion_bridge_irq_handler() local 116 while (stat) { in orion_bridge_irq_handler() 117 u32 hwirq = __fls(stat); in orion_bridge_irq_handler() 120 stat &= ~(1 << hwirq); in orion_bridge_irq_handler()
|
/third_party/libsnd/tests/ |
H A D | win32_test.c | 38 #include <sys/stat.h> 48 typedef struct stat STATBUF ; 68 typedef struct stat STATBUF ; 231 struct stat buf ; in show_stat_fstat_error() 247 printf ("1) Now call stat and fstat on the file and retreive the file lengths.\n") ; in show_stat_fstat_error() 249 if (stat (filename, &buf) != 0) in show_stat_fstat_error() 250 { printf ("\n\nLine %d: stat() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_stat_fstat_error() 261 printf ("2) Size returned by stat and fstat is %d and %d, ", stat_size, fstat_size) ; in show_stat_fstat_error() 281 struct stat buf ; in write_to_closed_file() 302 stat (filenam in write_to_closed_file() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_task.c | 19 tstat->stat = iu->status; in sas_ssp_task_response() 21 tstat->stat = iu->resp_data[3]; in sas_ssp_task_response() 23 tstat->stat = SAS_SAM_STAT_CHECK_CONDITION; in sas_ssp_task_response() 30 dev_warn(dev, "dev %016llx sent sense data, but stat(0x%x) is not CHECK CONDITION\n", in sas_ssp_task_response() 35 tstat->stat = SAS_SAM_STAT_CHECK_CONDITION; in sas_ssp_task_response()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | stat_bpf_counters.sh | 2 # perf stat --bpf-counters test 25 if ! perf stat -e cycles --bpf-counters true > /dev/null 2>&1; then 28 perf --no-pager stat -e cycles --bpf-counters true || true 33 base_cycles=$(perf stat --no-big-num -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | awk '/cycles/ {print $1}') 38 bpf_cycles=$(perf stat --no-big-num --bpf-counters -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | awk '/cycles/ {print $1}')
|
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_task.c | 20 tstat->stat = iu->status; in sas_ssp_task_response() 23 tstat->stat = iu->resp_data[3]; in sas_ssp_task_response() 26 tstat->stat = SAS_SAM_STAT_CHECK_CONDITION; in sas_ssp_task_response() 33 dev_warn(dev, "dev %016llx sent sense data, but stat(0x%x) is not CHECK CONDITION\n", in sas_ssp_task_response() 38 tstat->stat = SAS_SAM_STAT_CHECK_CONDITION; in sas_ssp_task_response()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | check-c-linkage-decls.py | 12 stat = 0 variable 18 stat = 1 variable 24 stat = 1 variable 26 sys.exit (stat)
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | smp-cps.c | 216 u32 stat, seq_state; in boot_core() local 254 stat = read_cpc_co_stat_conf(); in boot_core() 255 seq_state = stat & CPC_Cx_STAT_CONF_SEQSTATE; in boot_core() 270 core, stat); in boot_core() 528 unsigned stat; in cps_cpu_die() local 558 stat = read_cpc_co_stat_conf(); in cps_cpu_die() 559 stat &= CPC_Cx_STAT_CONF_SEQSTATE; in cps_cpu_die() 560 stat >>= __ffs(CPC_Cx_STAT_CONF_SEQSTATE); in cps_cpu_die() 564 if (stat == CPC_Cx_STAT_CONF_SEQSTATE_D0 || in cps_cpu_die() 565 stat in cps_cpu_die() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 282 int stat; in sm_erase_bank() local 298 stat = in_8(base); in sm_erase_bank() 299 } while (!(stat & SM_FLASH_STATUS_DONE)); in sm_erase_bank() 313 int i, stat = 0; in sm_write_bank() local 331 stat = in_8(base); in sm_write_bank() 332 } while (!(stat & SM_FLASH_STATUS_DONE)); in sm_write_bank() 333 if (!(stat & SM_FLASH_STATUS_DONE)) in sm_write_bank() 347 int stat = 0; in amd_erase_bank() local 377 stat = in_8(base) ^ in_8(base); in amd_erase_bank() 378 } while (stat ! in amd_erase_bank() 393 int i, stat = 0; amd_write_bank() local [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | smp-cps.c | 209 u32 stat, seq_state; in boot_core() local 247 stat = read_cpc_co_stat_conf(); in boot_core() 248 seq_state = stat & CPC_Cx_STAT_CONF_SEQSTATE; in boot_core() 263 core, stat); in boot_core() 525 unsigned stat; in cps_cleanup_dead_cpu() local 549 stat = read_cpc_co_stat_conf(); in cps_cleanup_dead_cpu() 550 stat &= CPC_Cx_STAT_CONF_SEQSTATE; in cps_cleanup_dead_cpu() 551 stat >>= __ffs(CPC_Cx_STAT_CONF_SEQSTATE); in cps_cleanup_dead_cpu() 555 if (stat == CPC_Cx_STAT_CONF_SEQSTATE_D0 || in cps_cleanup_dead_cpu() 556 stat in cps_cleanup_dead_cpu() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 282 int stat; in sm_erase_bank() local 298 stat = in_8(base); in sm_erase_bank() 299 } while (!(stat & SM_FLASH_STATUS_DONE)); in sm_erase_bank() 313 int i, stat = 0; in sm_write_bank() local 331 stat = in_8(base); in sm_write_bank() 332 } while (!(stat & SM_FLASH_STATUS_DONE)); in sm_write_bank() 333 if (!(stat & SM_FLASH_STATUS_DONE)) in sm_write_bank() 347 int stat = 0; in amd_erase_bank() local 377 stat = in_8(base) ^ in_8(base); in amd_erase_bank() 378 } while (stat ! in amd_erase_bank() 393 int i, stat = 0; amd_write_bank() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | data.c | 8 #include <sys/stat.h> 105 struct stat st; in perf_data__open_dir() 108 if (stat(path, &st)) in perf_data__open_dir() 158 struct stat st; in perf_data__update_dir() 171 struct stat st; in check_pipe() 205 struct stat st; in check_backup() 210 if (!stat(data->path, &st) && st.st_size) { in check_backup() 239 struct stat st; in is_dir() 241 if (stat(data->path, &st)) in is_dir() 250 struct stat s in open_file_read() [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/ |
H A D | posix_fs_full_test.c | 137 struct stat buf = { 0 }; 196 * @tc.name mkdir readdir opendir stat closedir rmdir 206 struct stat buf = { 0 }; 237 ret = stat(tmpDirName, &buf); 317 struct stat buf = { 0 }; 339 * @tc.name open stat close unlink 345 struct stat buf = { 0 }; 351 ret = stat(tmpFileName, &buf); 362 ret = stat(tmpFileName, &buf); 370 * @tc.name mkdir stat rmdi [all...] |
/third_party/backends/backend/ |
H A D | mustek_scsi_pp.c | 707 SANE_Status stat; in mustek_scsi_pp_cmd() local 798 stat = mustek_scsi_pp_send_command (fd, cmd); in mustek_scsi_pp_cmd() 801 while ((stat != SANE_STATUS_GOOD) && (num_tries < max_tries)); in mustek_scsi_pp_cmd() 803 if (stat != SANE_STATUS_GOOD) in mustek_scsi_pp_cmd() 807 return stat; in mustek_scsi_pp_cmd() 815 stat = in mustek_scsi_pp_cmd() 818 if (stat != SANE_STATUS_GOOD) in mustek_scsi_pp_cmd() 822 return stat; in mustek_scsi_pp_cmd() 845 stat = mustek_scsi_pp_read_data_block (fd, dst, length); in mustek_scsi_pp_cmd() 846 if (stat ! in mustek_scsi_pp_cmd() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sunsab.c | 109 union sab82532_irq_status *stat) in receive_chars() 122 if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { in receive_chars() 127 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars() 133 if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { in receive_chars() 139 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars() 153 if ((stat->sreg.isr1 & SAB82532_ISR1_BRK) && in receive_chars() 158 if (unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars() 159 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars() 172 if (unlikely(stat->sreg.isr0 & (SAB82532_ISR0_PERR | in receive_chars() 175 unlikely(stat in receive_chars() 108 receive_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) receive_chars() argument 231 transmit_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) transmit_chars() argument 286 check_status(struct uart_sunsab_port *up, union sab82532_irq_status *stat) check_status() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/lx6464es/ |
H A D | lx_core.c | 220 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); in lx_message_init() 240 snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); in lx_message_dump() 291 lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, in lx_message_send_atomic() 326 *rdsp_version = chip->rmh.stat[1]; in lx_dsp_get_version() 344 freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; in lx_dsp_get_clock_frequency() 408 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events() 481 u32 stat = chip->rmh.stat[i]; in lx_buffer_ask() local 482 if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) { in lx_buffer_ask() 486 size_array[i] = stat in lx_buffer_ask() 973 u32 stat[9]; /* answer from CMD_04_GET_EVENT */ lx_interrupt_handle_async_events() local [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs3xdr.c | 167 struct kstat *stat) in encode_fattr3() 170 *p++ = htonl(nfs3_ftypes[(stat->mode & S_IFMT) >> 12]); in encode_fattr3() 171 *p++ = htonl((u32) (stat->mode & S_IALLUGO)); in encode_fattr3() 172 *p++ = htonl((u32) stat->nlink); in encode_fattr3() 173 *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); in encode_fattr3() 174 *p++ = htonl((u32) from_kgid_munged(userns, stat->gid)); in encode_fattr3() 175 if (S_ISLNK(stat->mode) && stat->size > NFS3_MAXPATHLEN) { in encode_fattr3() 178 p = xdr_encode_hyper(p, (u64) stat->size); in encode_fattr3() 180 p = xdr_encode_hyper(p, ((u64)stat in encode_fattr3() 166 encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat) encode_fattr3() argument 211 struct kstat stat; encode_post_op_attr() local 261 struct kstat stat; fill_pre_wcc() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sunsab.c | 110 union sab82532_irq_status *stat) in receive_chars() 123 if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { in receive_chars() 128 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars() 134 if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { in receive_chars() 140 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars() 154 if ((stat->sreg.isr1 & SAB82532_ISR1_BRK) && in receive_chars() 159 if (unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars() 160 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars() 173 if (unlikely(stat->sreg.isr0 & (SAB82532_ISR0_PERR | in receive_chars() 176 unlikely(stat in receive_chars() 109 receive_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) receive_chars() argument 232 transmit_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) transmit_chars() argument 286 check_status(struct uart_sunsab_port *up, union sab82532_irq_status *stat) check_status() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/lx6464es/ |
H A D | lx_core.c | 220 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); in lx_message_init() 240 snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); in lx_message_dump() 291 lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, in lx_message_send_atomic() 326 *rdsp_version = chip->rmh.stat[1]; in lx_dsp_get_version() 344 freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; in lx_dsp_get_clock_frequency() 408 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events() 481 u32 stat = chip->rmh.stat[i]; in lx_buffer_ask() local 482 if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) { in lx_buffer_ask() 486 size_array[i] = stat in lx_buffer_ask() 969 u32 stat[9]; /* answer from CMD_04_GET_EVENT */ lx_interrupt_handle_async_events() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.c | 248 * @stat: pointer to structure holding hw stat information 254 struct fm10k_hw_stat *stat) in fm10k_read_hw_stats_32b() 256 u32 delta = fm10k_read_reg(hw, addr) - stat->base_l; in fm10k_read_hw_stats_32b() 259 stat->base_h = 0; in fm10k_read_hw_stats_32b() 268 * @stat: pointer to structure holding hw stat information 276 struct fm10k_hw_stat *stat) in fm10k_read_hw_stats_48b() 292 delta = ((u64)(count_h - stat->base_h) << 32) + count_l; in fm10k_read_hw_stats_48b() 293 delta -= stat in fm10k_read_hw_stats_48b() 253 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) fm10k_read_hw_stats_32b() argument 275 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) fm10k_read_hw_stats_48b() argument 306 fm10k_update_hw_base_48b(struct fm10k_hw_stat *stat, u64 delta) fm10k_update_hw_base_48b() argument [all...] |