/arch/mips/sgi-ip32/ |
D | crime.c | 44 unsigned long stat, addr; in crime_memerr_intr() local 47 stat = crime->mem_error_stat & CRIME_MEM_ERROR_STAT_MASK; in crime_memerr_intr() 50 printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); in crime_memerr_intr() 52 if (stat & CRIME_MEM_ERROR_INV) in crime_memerr_intr() 54 if (stat & CRIME_MEM_ERROR_ECC) { in crime_memerr_intr() 61 if (stat & CRIME_MEM_ERROR_MULTIPLE) { in crime_memerr_intr() 65 if (stat & CRIME_MEM_ERROR_HARD_ERR) { in crime_memerr_intr() 69 if (stat & CRIME_MEM_ERROR_SOFT_ERR) in crime_memerr_intr() 71 if (stat & CRIME_MEM_ERROR_CPU_ACCESS) in crime_memerr_intr() 73 if (stat & CRIME_MEM_ERROR_VICE_ACCESS) in crime_memerr_intr() [all …]
|
/arch/arm/mach-ebsa110/include/mach/ |
D | entry-macro.S | 19 .macro get_irqnr_and_base, irqnr, stat, base, tmp 20 ldrb \stat, [\base] @ get interrupts 22 tst \stat, #15 24 moveq \stat, \stat, lsr #4 25 tst \stat, #3 27 moveq \stat, \stat, lsr #2 28 tst \stat, #1 30 moveq \stat, \stat, lsr #1 31 tst \stat, #1 @ bit 0 should be set
|
/arch/arm/mach-mv78xx0/ |
D | irq.c | 32 u32 stat; in mv78xx0_legacy_handle_irq() local 34 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); in mv78xx0_legacy_handle_irq() 35 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); in mv78xx0_legacy_handle_irq() 36 if (stat) { in mv78xx0_legacy_handle_irq() 37 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq() 41 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF); in mv78xx0_legacy_handle_irq() 42 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF); in mv78xx0_legacy_handle_irq() 43 if (stat) { in mv78xx0_legacy_handle_irq() 44 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq() 48 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); in mv78xx0_legacy_handle_irq() [all …]
|
/arch/powerpc/kvm/ |
D | timing.h | 47 vcpu->stat.ext_intr_exits++; in kvmppc_account_exit_stat() 50 vcpu->stat.dec_exits++; in kvmppc_account_exit_stat() 53 vcpu->stat.emulated_inst_exits++; in kvmppc_account_exit_stat() 56 vcpu->stat.dsi_exits++; in kvmppc_account_exit_stat() 59 vcpu->stat.isi_exits++; in kvmppc_account_exit_stat() 62 vcpu->stat.syscall_exits++; in kvmppc_account_exit_stat() 65 vcpu->stat.dtlb_real_miss_exits++; in kvmppc_account_exit_stat() 68 vcpu->stat.dtlb_virt_miss_exits++; in kvmppc_account_exit_stat() 71 vcpu->stat.mmio_exits++; in kvmppc_account_exit_stat() 74 vcpu->stat.itlb_real_miss_exits++; in kvmppc_account_exit_stat() [all …]
|
/arch/x86/ia32/ |
D | sys_ia32.c | 72 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 76 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64() 77 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64() 79 __put_user(huge_encode_dev(stat->dev), &ubuf->st_dev) || in cp_stat64() 80 __put_user(stat->ino, &ubuf->__st_ino) || in cp_stat64() 81 __put_user(stat->ino, &ubuf->st_ino) || in cp_stat64() 82 __put_user(stat->mode, &ubuf->st_mode) || in cp_stat64() 83 __put_user(stat->nlink, &ubuf->st_nlink) || in cp_stat64() 86 __put_user(huge_encode_dev(stat->rdev), &ubuf->st_rdev) || in cp_stat64() 87 __put_user(stat->size, &ubuf->st_size) || in cp_stat64() [all …]
|
/arch/sparc/kernel/ |
D | sys_sparc32.c | 65 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64() argument 70 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 71 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 72 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 73 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 74 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 75 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 76 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 78 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() 79 err |= put_user(stat->blksize, &statbuf->st_blksize); in cp_compat_stat64() [all …]
|
/arch/arm/mach-dove/ |
D | irq.c | 48 u32 stat; in dove_legacy_handle_irq() local 50 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_LOW_OFF); in dove_legacy_handle_irq() 51 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_LOW_OFF); in dove_legacy_handle_irq() 52 if (stat) { in dove_legacy_handle_irq() 53 unsigned int hwirq = 1 + __fls(stat); in dove_legacy_handle_irq() 57 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_HIGH_OFF); in dove_legacy_handle_irq() 58 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_HIGH_OFF); in dove_legacy_handle_irq() 59 if (stat) { in dove_legacy_handle_irq() 60 unsigned int hwirq = 33 + __fls(stat); in dove_legacy_handle_irq()
|
/arch/s390/kernel/ |
D | compat_linux.c | 126 static int cp_stat64(struct stat64_emu31 __user *ubuf, struct kstat *stat) in cp_stat64() argument 132 tmp.st_dev = huge_encode_dev(stat->dev); in cp_stat64() 133 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() 136 tmp.st_nlink = (unsigned int)stat->nlink; in cp_stat64() 137 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_stat64() 138 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_stat64() 139 tmp.st_rdev = huge_encode_dev(stat->rdev); in cp_stat64() 140 tmp.st_size = stat->size; in cp_stat64() [all …]
|
/arch/x86/platform/uv/ |
D | tlb_uv.c | 234 struct ptc_stats *stat = bcp->statp; in bau_process_retry_msg() local 236 stat->d_retries++; in bau_process_retry_msg() 267 stat->d_canceled++; in bau_process_retry_msg() 275 stat->d_nocanceled++; in bau_process_retry_msg() 288 struct ptc_stats *stat = bcp->statp; in bau_process_message() local 297 stat->d_alltlb++; in bau_process_message() 300 stat->d_onetlb++; in bau_process_message() 302 stat->d_requestee++; in bau_process_message() 376 struct ptc_stats *stat = bcp->statp; in do_reset() local 378 stat->d_resets++; in do_reset() [all …]
|
/arch/arm/kernel/ |
D | sys_oabi-compat.c | 115 static long cp_oldabi_stat64(struct kstat *stat, in cp_oldabi_stat64() argument 120 tmp.st_dev = huge_encode_dev(stat->dev); in cp_oldabi_stat64() 122 tmp.__st_ino = stat->ino; in cp_oldabi_stat64() 123 tmp.st_mode = stat->mode; in cp_oldabi_stat64() 124 tmp.st_nlink = stat->nlink; in cp_oldabi_stat64() 125 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_oldabi_stat64() 126 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_oldabi_stat64() 127 tmp.st_rdev = huge_encode_dev(stat->rdev); in cp_oldabi_stat64() 128 tmp.st_size = stat->size; in cp_oldabi_stat64() 129 tmp.st_blocks = stat->blocks; in cp_oldabi_stat64() [all …]
|
/arch/arm/mach-orion5x/ |
D | irq.c | 32 u32 stat; in orion5x_legacy_handle_irq() local 34 stat = readl_relaxed(MAIN_IRQ_CAUSE); in orion5x_legacy_handle_irq() 35 stat &= readl_relaxed(MAIN_IRQ_MASK); in orion5x_legacy_handle_irq() 36 if (stat) { in orion5x_legacy_handle_irq() 37 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
|
/arch/s390/kvm/ |
D | sigp.c | 293 vcpu->stat.instruction_sigp_sense++; in handle_sigp_dst() 297 vcpu->stat.instruction_sigp_external_call++; in handle_sigp_dst() 301 vcpu->stat.instruction_sigp_emergency++; in handle_sigp_dst() 305 vcpu->stat.instruction_sigp_stop++; in handle_sigp_dst() 309 vcpu->stat.instruction_sigp_stop_store_status++; in handle_sigp_dst() 313 vcpu->stat.instruction_sigp_store_status++; in handle_sigp_dst() 318 vcpu->stat.instruction_sigp_prefix++; in handle_sigp_dst() 322 vcpu->stat.instruction_sigp_cond_emergency++; in handle_sigp_dst() 327 vcpu->stat.instruction_sigp_sense_running++; in handle_sigp_dst() 331 vcpu->stat.instruction_sigp_start++; in handle_sigp_dst() [all …]
|
/arch/mips/cavium-octeon/executive/ |
D | cvmx-spi.c | 433 union cvmx_spxx_clk_stat stat; in cvmx_spi_clock_detect_cb() local 449 stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); in cvmx_spi_clock_detect_cb() 450 if (stat.s.s4clk0 && stat.s.s4clk1 && clock_transitions) { in cvmx_spi_clock_detect_cb() 456 cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); 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() 474 stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); in cvmx_spi_clock_detect_cb() 475 if (stat.s.d4clk0 && stat.s.d4clk1 && clock_transitions) { in cvmx_spi_clock_detect_cb() 481 cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); in cvmx_spi_clock_detect_cb() [all …]
|
/arch/arm/mach-s3c24xx/ |
D | bast-irq.c | 89 unsigned int stat; in bast_irq_pc104_demux() local 93 stat = __raw_readb(BAST_VA_PC104_IRQREQ) & 0xf; in bast_irq_pc104_demux() 95 if (unlikely(stat == 0)) { in bast_irq_pc104_demux() 103 for (i = 0; stat != 0; i++, stat >>= 1) { in bast_irq_pc104_demux() 104 if (stat & 1) { in bast_irq_pc104_demux()
|
/arch/arm/mach-omap1/ |
D | fpga.c | 89 u32 stat; in innovator_fpga_IRQ_demux() local 92 stat = get_fpga_unmasked_irqs(); in innovator_fpga_IRQ_demux() 94 if (!stat) in innovator_fpga_IRQ_demux() 98 (fpga_irq < OMAP_FPGA_IRQ_END) && stat; in innovator_fpga_IRQ_demux() 99 fpga_irq++, stat >>= 1) { in innovator_fpga_IRQ_demux() 100 if (stat & 1) { in innovator_fpga_IRQ_demux()
|
/arch/arm/vdso/ |
D | vdsomunge.c | 123 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/powerpc/platforms/cell/ |
D | spu_base.c | 283 unsigned long stat, mask; in spu_irq_class_0() local 289 stat = spu_int_stat_get(spu, 0) & mask; in spu_irq_class_0() 291 spu->class_0_pending |= stat; in spu_irq_class_0() 297 spu_int_stat_clear(spu, 0, stat); in spu_irq_class_0() 307 unsigned long stat, mask, dar, dsisr; in spu_irq_class_1() local 314 stat = spu_int_stat_get(spu, 1) & mask; in spu_irq_class_1() 317 if (stat & CLASS1_STORAGE_FAULT_INTR) in spu_irq_class_1() 319 spu_int_stat_clear(spu, 1, stat); in spu_irq_class_1() 321 pr_debug("%s: %lx %lx %lx %lx\n", __func__, mask, stat, in spu_irq_class_1() 324 if (stat & CLASS1_SEGMENT_FAULT_INTR) in spu_irq_class_1() [all …]
|
/arch/mips/kernel/ |
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() 526 unsigned stat; in cps_cpu_die() local 556 stat = read_cpc_co_stat_conf(); in cps_cpu_die() 557 stat &= CPC_Cx_STAT_CONF_SEQSTATE; in cps_cpu_die() 558 stat >>= __ffs(CPC_Cx_STAT_CONF_SEQSTATE); in cps_cpu_die() 562 if (stat == CPC_Cx_STAT_CONF_SEQSTATE_D0 || in cps_cpu_die() 563 stat == CPC_Cx_STAT_CONF_SEQSTATE_D2 || in cps_cpu_die() [all …]
|
/arch/powerpc/platforms/cell/spufs/ |
D | fault.c | 55 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/c6x/platforms/ |
D | dscr.c | 94 struct devstate_stat_reg *stat; member 190 struct devstate_stat_reg *stat; in dscr_set_devstate() local 204 stat = info->stat; in dscr_set_devstate() 235 if (!stat) in dscr_set_devstate() 238 ctl_shift = stat->shift + stat->nbits * (id - stat->start_id); in dscr_set_devstate() 241 ctl_val = stat->enable; in dscr_set_devstate() 243 ctl_val = stat->disable; in dscr_set_devstate() 246 val = soc_readl(dscr.base + stat->reg); in dscr_set_devstate() 248 val &= ((1 << stat->nbits) - 1); in dscr_set_devstate() 550 dscr.devstate_info[j].stat = r; in dscr_parse_devstate_stat_regs()
|
/arch/powerpc/platforms/82xx/ |
D | pq2ads-pci-pic.c | 31 u32 stat; member 81 u32 stat, mask, pend; in pq2ads_pci_irq_demux() local 85 stat = in_be32(&priv->regs->stat); in pq2ads_pci_irq_demux() 88 pend = stat & ~mask; in pq2ads_pci_irq_demux()
|
/arch/powerpc/platforms/powermac/ |
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 != 0); in amd_erase_bank() [all …]
|
/arch/um/os-Linux/ |
D | process.c | 61 char stat[STAT_PATH_LEN]; in os_process_parent() local 68 snprintf(stat, sizeof(stat), "/proc/%d/stat", pid); in os_process_parent() 69 fd = open(stat, O_RDONLY, 0); in os_process_parent() 71 printk(UM_KERN_ERR "Couldn't open '%s', errno = %d\n", stat, in os_process_parent() 80 printk(UM_KERN_ERR "Couldn't read '%s', errno = %d\n", stat, in os_process_parent()
|
/arch/mips/kvm/ |
D | stats.c | 57 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/ |
D | calc_vmlinuz_load_addr.c | 17 struct stat sb; in main() 25 if (stat(argv[1], &sb) == -1) { in main()
|