Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 140) sorted by relevance

123456

/arch/mips/sgi-ip32/
A Dcrime.c46 unsigned long stat, addr; in crime_memerr_intr() local
54 if (stat & CRIME_MEM_ERROR_INV) in crime_memerr_intr()
56 if (stat & CRIME_MEM_ERROR_ECC) { in crime_memerr_intr()
63 if (stat & CRIME_MEM_ERROR_MULTIPLE) { in crime_memerr_intr()
67 if (stat & CRIME_MEM_ERROR_HARD_ERR) { in crime_memerr_intr()
71 if (stat & CRIME_MEM_ERROR_SOFT_ERR) in crime_memerr_intr()
73 if (stat & CRIME_MEM_ERROR_CPU_ACCESS) in crime_memerr_intr()
75 if (stat & CRIME_MEM_ERROR_VICE_ACCESS) in crime_memerr_intr()
77 if (stat & CRIME_MEM_ERROR_GBE_ACCESS) in crime_memerr_intr()
79 if (stat & CRIME_MEM_ERROR_RE_ACCESS) in crime_memerr_intr()
[all …]
/arch/arm/mach-mv78xx0/
A Dirq.c29 u32 stat; in mv78xx0_legacy_handle_irq() local
31 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); in mv78xx0_legacy_handle_irq()
32 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); in mv78xx0_legacy_handle_irq()
33 if (stat) { in mv78xx0_legacy_handle_irq()
34 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq()
40 if (stat) { in mv78xx0_legacy_handle_irq()
41 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq()
45 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); in mv78xx0_legacy_handle_irq()
46 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_ERR_OFF); in mv78xx0_legacy_handle_irq()
47 if (stat) { in mv78xx0_legacy_handle_irq()
[all …]
/arch/powerpc/kvm/
A Dtiming.h44 vcpu->stat.ext_intr_exits++; in kvmppc_account_exit_stat()
47 vcpu->stat.dec_exits++; in kvmppc_account_exit_stat()
50 vcpu->stat.emulated_inst_exits++; in kvmppc_account_exit_stat()
53 vcpu->stat.dsi_exits++; in kvmppc_account_exit_stat()
56 vcpu->stat.isi_exits++; in kvmppc_account_exit_stat()
59 vcpu->stat.syscall_exits++; in kvmppc_account_exit_stat()
62 vcpu->stat.dtlb_real_miss_exits++; in kvmppc_account_exit_stat()
68 vcpu->stat.mmio_exits++; in kvmppc_account_exit_stat()
77 vcpu->stat.signal_exits++; in kvmppc_account_exit_stat()
80 vcpu->stat.dbell_exits++; in kvmppc_account_exit_stat()
[all …]
/arch/x86/kernel/
A Dsys_ia32.c167 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
168 int ret = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
171 ret = cp_stat64(statbuf, &stat); in COMPAT_SYSCALL_DEFINE2()
178 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
179 int ret = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
181 ret = cp_stat64(statbuf, &stat); in COMPAT_SYSCALL_DEFINE2()
188 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
189 int ret = vfs_fstat(fd, &stat); in COMPAT_SYSCALL_DEFINE2()
191 ret = cp_stat64(statbuf, &stat); in COMPAT_SYSCALL_DEFINE2()
199 struct kstat stat; in COMPAT_SYSCALL_DEFINE4() local
[all …]
/arch/sparc/kernel/
A Dsys_sparc32.c97 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
98 int error = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
101 error = cp_compat_stat64(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
108 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
109 int error = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
112 error = cp_compat_stat64(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
119 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
120 int error = vfs_fstat(fd, &stat); in COMPAT_SYSCALL_DEFINE2()
123 error = cp_compat_stat64(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
131 struct kstat stat; in COMPAT_SYSCALL_DEFINE4() local
[all …]
/arch/s390/kernel/
A Dcompat_linux.c133 tmp.st_ino = stat->ino; in cp_stat64()
134 tmp.__st_ino = (u32)stat->ino; in cp_stat64()
135 tmp.st_mode = stat->mode; in cp_stat64()
140 tmp.st_size = stat->size; in cp_stat64()
152 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
155 ret = cp_stat64(statbuf, &stat); in COMPAT_SYSCALL_DEFINE2()
161 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
164 ret = cp_stat64(statbuf, &stat); in COMPAT_SYSCALL_DEFINE2()
170 struct kstat stat; in COMPAT_SYSCALL_DEFINE2() local
171 int ret = vfs_fstat(fd, &stat); in COMPAT_SYSCALL_DEFINE2()
[all …]
/arch/arm/mach-dove/
A Dirq.c45 u32 stat; in dove_legacy_handle_irq() local
47 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_LOW_OFF); in dove_legacy_handle_irq()
48 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_LOW_OFF); in dove_legacy_handle_irq()
49 if (stat) { in dove_legacy_handle_irq()
50 unsigned int hwirq = 1 + __fls(stat); in dove_legacy_handle_irq()
54 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_HIGH_OFF); in dove_legacy_handle_irq()
55 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_HIGH_OFF); in dove_legacy_handle_irq()
56 if (stat) { in dove_legacy_handle_irq()
57 unsigned int hwirq = 33 + __fls(stat); in dove_legacy_handle_irq()
/arch/arm/kernel/
A Dsys_oabi-compat.c128 tmp.__st_ino = stat->ino; in cp_oldabi_stat64()
129 tmp.st_mode = stat->mode; in cp_oldabi_stat64()
130 tmp.st_nlink = stat->nlink; in cp_oldabi_stat64()
134 tmp.st_size = stat->size; in cp_oldabi_stat64()
135 tmp.st_blocks = stat->blocks; in cp_oldabi_stat64()
137 tmp.st_blksize = stat->blksize; in cp_oldabi_stat64()
144 tmp.st_ino = stat->ino; in cp_oldabi_stat64()
151 struct kstat stat; in sys_oabi_stat64() local
161 struct kstat stat; in sys_oabi_lstat64() local
171 struct kstat stat; in sys_oabi_fstat64() local
[all …]
/arch/s390/kvm/
A Dsigp.c309 vcpu->stat.instruction_sigp_sense++; in handle_sigp_dst()
321 vcpu->stat.instruction_sigp_stop++; in handle_sigp_dst()
334 vcpu->stat.instruction_sigp_prefix++; in handle_sigp_dst()
347 vcpu->stat.instruction_sigp_start++; in handle_sigp_dst()
351 vcpu->stat.instruction_sigp_restart++; in handle_sigp_dst()
363 vcpu->stat.instruction_sigp_unknown++; in handle_sigp_dst()
390 vcpu->stat.instruction_sigp_stop++; in handle_sigp_order_in_user_space()
402 vcpu->stat.instruction_sigp_prefix++; in handle_sigp_order_in_user_space()
405 vcpu->stat.instruction_sigp_start++; in handle_sigp_order_in_user_space()
408 vcpu->stat.instruction_sigp_restart++; in handle_sigp_order_in_user_space()
[all …]
A Ddiag.c45 vcpu->stat.instruction_diagnose_10++; in diag_release_pages()
97 vcpu->stat.instruction_diagnose_258++; in __diag_page_ref_service()
168 vcpu->stat.instruction_diagnose_44++; in __diag_time_slice_end()
193 vcpu->stat.instruction_diagnose_9c++; in __diag_time_slice_end_directed()
217 vcpu->stat.diag_9c_forward++; in __diag_time_slice_end_directed()
228 vcpu->stat.diag_9c_ignored++; in __diag_time_slice_end_directed()
238 vcpu->stat.instruction_diagnose_308++; in __diag_ipl_functions()
270 vcpu->stat.instruction_diagnose_500++; in __diag_virtio_hypercall()
324 vcpu->stat.instruction_diagnose_other++; in kvm_s390_handle_diag()
A Dpriv.c34 vcpu->stat.instruction_ri++; in handle_ri()
55 vcpu->stat.instruction_gs++; in handle_gs()
90 vcpu->stat.instruction_sck++; in handle_set_clock()
129 vcpu->stat.instruction_spx++; in handle_set_prefix()
167 vcpu->stat.instruction_stpx++; in handle_store_prefix()
197 vcpu->stat.instruction_stap++; in handle_store_cpu_address()
264 vcpu->stat.instruction_iske++; in handle_iske()
311 vcpu->stat.instruction_rrbe++; in handle_rrbe()
362 vcpu->stat.instruction_sske++; in handle_sske()
455 vcpu->stat.instruction_tb++; in handle_test_block()
[all …]
/arch/arm/mach-orion5x/
A Dirq.c29 u32 stat; in orion5x_legacy_handle_irq() local
31 stat = readl_relaxed(MAIN_IRQ_CAUSE); in orion5x_legacy_handle_irq()
32 stat &= readl_relaxed(MAIN_IRQ_MASK); in orion5x_legacy_handle_irq()
33 if (stat) { in orion5x_legacy_handle_irq()
34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
/arch/mips/cavium-octeon/executive/
A Dcvmx-spi.c433 union cvmx_spxx_clk_stat stat; in cvmx_spi_clock_detect_cb() local
450 if (stat.s.s4clk0 && stat.s.s4clk1 && clock_transitions) { in cvmx_spi_clock_detect_cb()
457 stat.s.s4clk0 = 0; in cvmx_spi_clock_detect_cb()
458 stat.s.s4clk1 = 0; in cvmx_spi_clock_detect_cb()
464 } while (stat.s.s4clk0 == 0 || stat.s.s4clk1 == 0); in cvmx_spi_clock_detect_cb()
475 if (stat.s.d4clk0 && stat.s.d4clk1 && clock_transitions) { in cvmx_spi_clock_detect_cb()
482 stat.s.d4clk0 = 0; in cvmx_spi_clock_detect_cb()
483 stat.s.d4clk1 = 0; in cvmx_spi_clock_detect_cb()
489 } while (stat.s.d4clk0 == 0 || stat.s.d4clk1 == 0); in cvmx_spi_clock_detect_cb()
552 stat.s.srxtrn = 0; in cvmx_spi_training_cb()
[all …]
/arch/powerpc/platforms/cell/
A Dspu_base.c281 unsigned long stat, mask; in spu_irq_class_0() local
289 spu->class_0_pending |= stat; in spu_irq_class_0()
295 spu_int_stat_clear(spu, 0, stat); in spu_irq_class_0()
317 spu_int_stat_clear(spu, 1, stat); in spu_irq_class_1()
340 unsigned long stat; in spu_irq_class_2() local
347 stat = spu_int_stat_get(spu, 2); in spu_irq_class_2()
350 stat &= mask; in spu_irq_class_2()
353 if (stat & mailbox_intrs) in spu_irq_class_2()
360 if (stat & CLASS2_MAILBOX_INTR) in spu_irq_class_2()
363 if (stat & CLASS2_SPU_STOP_INTR) in spu_irq_class_2()
[all …]
/arch/arm/vdso/
A Dvdsomunge.c123 struct stat stat; in main() local
142 if (fstat(infd, &stat) != 0) in main()
145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main()
183 if (ftruncate(outfd, stat.st_size) != 0) in main()
186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
193 memcpy(outbuf, inbuf, stat.st_size); in main()
203 if (msync(outbuf, stat.st_size, MS_SYNC) != 0) in main()
/arch/mips/kernel/
A Dsmp-cps.c46 u32 stat, seq_state; in power_up_other_cluster() local
51 stat = read_cpc_co_stat_conf(); in power_up_other_cluster()
70 stat = read_cpc_co_stat_conf(); in power_up_other_cluster()
81 cluster, stat); in power_up_other_cluster()
475 u32 access, stat, seq_state; in boot_core() local
567 stat = read_cpc_co_stat_conf(); in boot_core()
583 core, stat); in boot_core()
862 unsigned stat; in cps_cleanup_dead_cpu() local
889 stat = read_cpc_co_stat_conf(); in cps_cleanup_dead_cpu()
913 cpu, stat)) in cps_cleanup_dead_cpu()
[all …]
/arch/powerpc/platforms/cell/spufs/
A Dfault.c55 unsigned long stat = ctx->csa.class_0_pending & CLASS0_INTR_MASK; in spufs_handle_class0() local
57 if (likely(!stat)) in spufs_handle_class0()
60 if (stat & CLASS0_DMA_ALIGNMENT_INTR) in spufs_handle_class0()
64 if (stat & CLASS0_INVALID_DMA_COMMAND_INTR) in spufs_handle_class0()
68 if (stat & CLASS0_SPU_ERROR_INTR) in spufs_handle_class0()
/arch/powerpc/platforms/powermac/
A Dnvram.c282 int stat; in sm_erase_bank() local
298 stat = in_8(base); in sm_erase_bank()
313 int i, stat = 0; in sm_write_bank() local
331 stat = in_8(base); 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 != 0); in amd_erase_bank()
393 int i, stat = 0; in amd_write_bank() local
419 stat = in_8(base) ^ in_8(base); in amd_write_bank()
420 } while (stat != 0); in amd_write_bank()
[all …]
/arch/arm64/kernel/pi/
A Drelacheck.c46 struct stat stat; in main() local
60 ret = fstat(fd, &stat); in main()
66 ehdr = mmap(0, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
/arch/arm/plat-orion/
A Dpcie.c77 u32 stat = readl(base + PCIE_STAT_OFF); in orion_pcie_get_local_bus_nr() local
79 return (stat >> PCIE_STAT_BUS_OFFS) & PCIE_STAT_BUS_MASK; in orion_pcie_get_local_bus_nr()
84 u32 stat; in orion_pcie_set_local_bus_nr() local
86 stat = readl(base + PCIE_STAT_OFF); in orion_pcie_set_local_bus_nr()
87 stat &= ~(PCIE_STAT_BUS_MASK << PCIE_STAT_BUS_OFFS); in orion_pcie_set_local_bus_nr()
88 stat |= nr << PCIE_STAT_BUS_OFFS; in orion_pcie_set_local_bus_nr()
89 writel(stat, base + PCIE_STAT_OFF); in orion_pcie_set_local_bus_nr()
/arch/arm/mach-imx/
A Dtzic.c124 u32 stat; in tzic_handle_irq() local
131 stat = imx_readl(tzic_base + TZIC_HIPND(i)) & in tzic_handle_irq()
134 while (stat) { in tzic_handle_irq()
136 irqofs = fls(stat) - 1; in tzic_handle_irq()
138 stat &= ~(1 << irqofs); in tzic_handle_irq()
/arch/mips/kvm/
A Dstats.c57 if (vcpu->arch.cop0.stat[i][j]) in kvm_mips_dump_stats()
59 vcpu->arch.cop0.stat[i][j]); in kvm_mips_dump_stats()
/arch/mips/boot/compressed/
A Dcalc_vmlinuz_load_addr.c17 struct stat sb; in main()
25 if (stat(argv[1], &sb) == -1) { in main()
/arch/riscv/kvm/
A Dvcpu_exit.c202 vcpu->stat.instr_illegal_exits++; in kvm_riscv_vcpu_exit()
207 vcpu->stat.load_misaligned_exits++; in kvm_riscv_vcpu_exit()
212 vcpu->stat.store_misaligned_exits++; in kvm_riscv_vcpu_exit()
217 vcpu->stat.load_access_exits++; in kvm_riscv_vcpu_exit()
222 vcpu->stat.store_access_exits++; in kvm_riscv_vcpu_exit()
/arch/mips/bcm63xx/
A Dtimer.c32 u32 stat; in timer_interrupt() local
36 stat = bcm_timer_readl(TIMER_IRQSTAT_REG); in timer_interrupt()
37 bcm_timer_writel(stat, TIMER_IRQSTAT_REG); in timer_interrupt()
41 if (!(stat & TIMER_IRQSTAT_TIMER_CAUSE(i))) in timer_interrupt()

Completed in 37 milliseconds

123456