/arch/mips/lasat/ |
D | sysctl.c | 42 int proc_dolasatstring(ctl_table *table, int write, in proc_dolasatstring() argument 47 r = proc_dostring(table, write, buffer, lenp, ppos); in proc_dolasatstring() 48 if ((!write) || r) in proc_dolasatstring() 57 int proc_dolasatint(ctl_table *table, int write, in proc_dolasatint() argument 62 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatint() 63 if ((!write) || r) in proc_dolasatint() 75 int proc_dolasatrtc(ctl_table *table, int write, in proc_dolasatrtc() argument 81 if (!write) { in proc_dolasatrtc() 88 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatrtc() 92 if (write) in proc_dolasatrtc() [all …]
|
/arch/powerpc/mm/ |
D | gup.c | 25 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument 31 if (write) in gup_pte_range() 59 int write, struct page **pages, int *nr) in gup_pmd_range() argument 73 addr, next, write, pages, nr)) in gup_pmd_range() 75 } else if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 83 int write, struct page **pages, int *nr) in gup_pud_range() argument 97 addr, next, write, pages, nr)) in gup_pud_range() 99 } else if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range() 106 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast() argument 115 pr_devel("%s(%lx,%x,%s)\n", __func__, start, nr_pages, write ? "write" : "read"); in get_user_pages_fast() [all …]
|
/arch/mips/mm/ |
D | gup.c | 37 int write, struct page **pages, int *nr) in gup_pte_range() argument 45 pte_special(pte) || (write && !pte_write(pte))) { in gup_pte_range() 71 int write, struct page **pages, int *nr) in gup_huge_pmd() argument 77 if (write && !pte_write(pte)) in gup_huge_pmd() 101 int write, struct page **pages, int *nr) in gup_pmd_range() argument 125 if (!gup_huge_pmd(pmd, addr, next, write, pages,nr)) in gup_pmd_range() 128 if (!gup_pte_range(pmd, addr, next, write, pages,nr)) in gup_pmd_range() 137 int write, struct page **pages, int *nr) in gup_huge_pud() argument 143 if (write && !pte_write(pte)) in gup_huge_pud() 167 int write, struct page **pages, int *nr) in gup_pud_range() argument [all …]
|
D | tlbex-fault.S | 14 .macro tlb_do_page_fault, write argument 15 NESTED(tlb_do_page_fault_\write, PT_SIZE, sp) 21 li a1, \write 24 END(tlb_do_page_fault_\write)
|
D | fault.c | 35 asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, unsigned long write, in do_page_fault() argument 45 (write ? FAULT_FLAG_WRITE : 0); in do_page_fault() 49 current->comm, current->pid, field, address, write, in do_page_fault() 113 if (write) { in do_page_fault() 123 field, address, write, in do_page_fault() 133 field, address, write, in do_page_fault() 199 tsk->thread.error_code = write; in do_page_fault() 204 write ? "write access to" : "read access from", in do_page_fault() 260 write ? "write access to" : "read access from", in do_page_fault()
|
/arch/sh/mm/ |
D | gup.c | 75 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument 82 if (write) in gup_pte_range() 86 if (write) in gup_pte_range() 90 if (write) in gup_pte_range() 118 int write, struct page **pages, int *nr) in gup_pmd_range() argument 130 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 138 int write, struct page **pages, int *nr) in gup_pud_range() argument 150 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range() 161 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() argument 175 if (unlikely(!access_ok(write ? VERIFY_WRITE : VERIFY_READ, in __get_user_pages_fast() [all …]
|
/arch/x86/mm/ |
D | gup.c | 72 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument 78 if (write) in gup_pte_range() 112 unsigned long end, int write, struct page **pages, int *nr) in gup_huge_pmd() argument 120 if (write) in gup_huge_pmd() 146 int write, struct page **pages, int *nr) in gup_pmd_range() argument 170 if (!gup_huge_pmd(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 173 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 182 unsigned long end, int write, struct page **pages, int *nr) in gup_huge_pud() argument 190 if (write) in gup_huge_pud() 216 int write, struct page **pages, int *nr) in gup_pud_range() argument [all …]
|
/arch/sparc/mm/ |
D | gup.c | 21 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument 28 if (write) in gup_pte_range() 32 if (write) in gup_pte_range() 70 int write, struct page **pages, int *nr) in gup_pmd_range() argument 82 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 90 int write, struct page **pages, int *nr) in gup_pud_range() argument 102 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range() 109 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast() argument 149 if (!gup_pud_range(pgd, addr, next, write, pages, &nr)) in get_user_pages_fast() 170 (end - start) >> PAGE_SHIFT, write, 0, pages, NULL); in get_user_pages_fast()
|
D | fault_32.c | 218 asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, in do_sparc_fault() argument 229 (write ? FAULT_FLAG_WRITE : 0)); in do_sparc_fault() 281 if(write) { in do_sparc_fault() 428 asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write, in do_sun4c_fault() argument 441 } else if (!write && in do_sun4c_fault() 448 write = 1; in do_sun4c_fault() 454 do_sparc_fault(regs, text_fault, write, address); in do_sun4c_fault() 462 if (write) { in do_sun4c_fault() 500 if (pgd_val(*pgdp) && !(write && !(pte_val(*ptep) & _SUN4C_PAGE_WRITE)) in do_sun4c_fault() 511 do_sparc_fault(regs, text_fault, write, address); in do_sun4c_fault() [all …]
|
/arch/arm/mach-omap2/ |
D | vp.c | 25 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 28 voltdm->write((vpconfig | vp->common->vpconfig_initvdd), in _vp_set_init_voltage() 32 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 49 if (!voltdm->read || !voltdm->write) { in omap_vp_init() 76 voltdm->write(val, vp->vpconfig); in omap_vp_init() 81 voltdm->write(val, vp->vstepmin); in omap_vp_init() 86 voltdm->write(val, vp->vstepmax); in omap_vp_init() 92 voltdm->write(val, vp->vlimitto); in omap_vp_init() 149 voltdm->write(vpconfig | vp->common->vpconfig_forceupdate, in omap_vp_forceupdate_scale() 184 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_forceupdate_scale() [all …]
|
D | vc.c | 125 if (!voltdm->read || !voltdm->write) { in omap_vc_pre_scale() 138 voltdm->write(vc_cmdval, vc->cmdval_reg); in omap_vc_pre_scale() 178 voltdm->write(vc_bypass_value, vc_bypass_val_reg); in omap_vc_bypass_scale() 179 voltdm->write(vc_bypass_value | vc_valid, vc_bypass_val_reg); in omap_vc_bypass_scale() 213 voltdm->write(OMAP3_CLKSETUP, OMAP3_PRM_CLKSETUP_OFFSET); in omap3_vfsm_init() 214 voltdm->write(OMAP3_VOLTOFFSET, OMAP3_PRM_VOLTOFFSET_OFFSET); in omap3_vfsm_init() 215 voltdm->write(OMAP3_VOLTSETUP2, OMAP3_PRM_VOLTSETUP2_OFFSET); in omap3_vfsm_init() 242 voltdm->write(vc_val, OMAP4_PRM_VC_CFG_I2C_CLK_OFFSET); in omap4_vc_init_channel() 300 if (!voltdm->read || !voltdm->write) { in omap_vc_init_channel() 348 voltdm->write(val, vc->cmdval_reg); in omap_vc_init_channel()
|
D | voltagedomains44xx_data.c | 51 .write = omap4_prm_vcvp_write, 62 .write = omap4_prm_vcvp_write, 73 .write = omap4_prm_vcvp_write,
|
/arch/s390/mm/ |
D | gup.c | 21 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument 27 mask = (write ? _PAGE_RO : 0) | _PAGE_INVALID | _PAGE_SPECIAL; in gup_pte_range() 52 unsigned long end, int write, struct page **pages, int *nr) in gup_huge_pmd() argument 58 result = write ? 0 : _SEGMENT_ENTRY_RO; in gup_huge_pmd() 103 unsigned long end, int write, struct page **pages, int *nr) in gup_pmd_range() argument 122 write, pages, nr)) in gup_pmd_range() 125 write, pages, nr)) in gup_pmd_range() 133 unsigned long end, int write, struct page **pages, int *nr) in gup_pud_range() argument 150 if (!gup_pmd_range(pudp, pud, addr, next, write, pages, nr)) in gup_pud_range() 173 int get_user_pages_fast(unsigned long start, int nr_pages, int write, in get_user_pages_fast() argument [all …]
|
/arch/frv/kernel/ |
D | pm.c | 153 static int sysctl_pm_do_suspend(ctl_table *ctl, int write, in sysctl_pm_do_suspend() argument 201 static int cmode_procctl(ctl_table *ctl, int write, in cmode_procctl() argument 206 if (!write) in cmode_procctl() 207 return proc_dointvec(ctl, write, buffer, lenp, fpos); in cmode_procctl() 273 static int p0_procctl(ctl_table *ctl, int write, in p0_procctl() argument 278 if (!write) in p0_procctl() 279 return proc_dointvec(ctl, write, buffer, lenp, fpos); in p0_procctl() 286 static int cm_procctl(ctl_table *ctl, int write, in cm_procctl() argument 291 if (!write) in cm_procctl() 292 return proc_dointvec(ctl, write, buffer, lenp, fpos); in cm_procctl()
|
D | sysctl.c | 49 static int procctl_frv_cachemode(ctl_table *table, int write, in procctl_frv_cachemode() argument 59 if (write) { in procctl_frv_cachemode() 124 static int procctl_frv_pin_cxnr(ctl_table *table, int write, in procctl_frv_pin_cxnr() argument 134 if (write) { in procctl_frv_pin_cxnr()
|
/arch/frv/lib/ |
D | insl_sw.S | 30 stbu.p gr5,@(gr9,gr4) ; write 0xDD 32 stbu.p gr5,@(gr9,gr4) ; write 0xCC 34 stbu.p gr5,@(gr9,gr4) ; write 0xBB 36 stbu.p gr5,@(gr9,gr4) ; write 0xAA
|
/arch/parisc/kernel/ |
D | perf_asm.S | 1398 sync ; RDR 0 write sequence 1407 sync ; RDR 1 write sequence 1416 sync ; RDR 2 write sequence 1425 sync ; RDR 3 write sequence 1434 sync ; RDR 4 write sequence 1443 sync ; RDR 5 write sequence 1452 sync ; RDR 6 write sequence 1461 sync ; RDR 7 write sequence 1470 sync ; RDR 8 write sequence 1479 sync ; RDR 9 write sequence [all …]
|
/arch/tile/mm/ |
D | fault.c | 214 int is_kernel_mode, int write) in handle_migrating_pte() argument 246 } else if (write) { in handle_migrating_pte() 266 int write) in handle_page_fault() argument 279 write = 1; in handle_page_fault() 311 is_kernel_mode, write)) in handle_page_fault() 414 } else if (write) { in handle_page_fault() 432 fault = handle_mm_fault(mm, vma, address, write); in handle_page_fault() 598 int write = info & 1; in do_page_fault_ics() local 603 do_page_fault, fault_num, address, write, 1 in do_page_fault_ics() 614 old_pc, fault_num, write, address); in do_page_fault_ics() [all …]
|
/arch/sparc/kernel/ |
D | nmi.c | 112 pcr_ops->write(PCR_PIC_PRIV); in perfctr_irq() 130 pcr_ops->write(pcr_enable); in perfctr_irq() 169 pcr_ops->write(PCR_PIC_PRIV); in stop_nmi_watchdog() 226 pcr_ops->write(PCR_PIC_PRIV); in start_nmi_watchdog() 229 pcr_ops->write(pcr_enable); in start_nmi_watchdog() 237 pcr_ops->write(PCR_PIC_PRIV); in nmi_adjust_hz_one() 240 pcr_ops->write(pcr_enable); in nmi_adjust_hz_one()
|
/arch/mn10300/boot/tools/ |
D | build.c | 116 if (write(1, buf, 512) != 512) in main() 123 if (write(1, buf, c) != c) in main() 140 if (write(1, buf, c) != c) in main() 170 if (write(1, buf, l) != l) in main() 180 if (write(1, buf, 1) != 1) in main() 186 if (write(1, buf, 2) != 2) in main()
|
/arch/arm/mm/ |
D | cache-v6.S | 144 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 209 strb r2, [r0] @ write for ownership 221 strneb r2, [r1, #-1] @ write for ownership 239 strlo r2, [r0] @ write for ownership 243 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 266 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 282 strb r2, [r0] @ write for ownership 295 strlob r2, [r0] @ write for ownership 299 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 310 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
|
D | cache-fa.S | 72 mcrne p15, 0, ip, c7, c10, 4 @ drain write buffer 100 mcrne p15, 0, ip, c7, c10, 4 @ data write barrier 136 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 157 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 183 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 201 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer 216 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_lpbfifo.c | 72 int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_kick() local 94 if (write) { in mpc52xx_lpbfifo_kick() 111 if (write) { in mpc52xx_lpbfifo_kick() 135 if (!write) { in mpc52xx_lpbfifo_kick() 157 if (write && (!poll_dma)) in mpc52xx_lpbfifo_kick() 168 if (!write) in mpc52xx_lpbfifo_kick() 229 int dma, write, poll_dma; in mpc52xx_lpbfifo_irq() local 242 write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_irq() 245 if (dma && !write) { in mpc52xx_lpbfifo_irq() 266 if (!dma && !write) { in mpc52xx_lpbfifo_irq() [all …]
|
/arch/tile/kernel/ |
D | early_printk.c | 30 .write = early_hv_write, 44 early_console->write(early_console, buf, n); in early_vprintk() 62 early_console->write(early_console, "\n", 1); in early_panic()
|
/arch/alpha/lib/ |
D | ev6-memset.S | 56 addq $18,$16,$6 # E : max address to write to 63 xor $16,$6,$1 # E : will complete write be within one quadword? 101 sra $18,3,$3 # U : Number of remaining quads to write 102 and $18,7,$18 # E : Number of trailing bytes to write 159 wh64 ($4) # L1 : memory subsystem write hint 243 addq $18,$16,$6 # E : max address to write to 245 xor $16,$6,$1 # E : will complete write be within one quadword? 278 sra $18,3,$3 # U : Number of remaining quads to write 279 and $18,7,$18 # E : Number of trailing bytes to write 336 wh64 ($4) # L1 : memory subsystem write hint [all …]
|