Home
last modified time | relevance | path

Searched refs:is_write (Results 1 – 17 of 17) sorted by relevance

/arch/powerpc/platforms/cell/
Dspu_fault.c39 unsigned long is_write; in spu_handle_mm_fault() local
65 is_write = dsisr & MFC_DSISR_ACCESS_PUT; in spu_handle_mm_fault()
66 if (is_write) { in spu_handle_mm_fault()
76 *flt = handle_mm_fault(mm, vma, ea, is_write); in spu_handle_mm_fault()
/arch/um/kernel/skas/
Duaccess.c40 static pte_t *maybe_map(unsigned long virt, int is_write) in maybe_map() argument
46 (is_write && !pte_write(*pte))) { in maybe_map()
47 err = handle_page_fault(virt, 0, is_write, 1, &dummy_code); in maybe_map()
58 static int do_op_one_page(unsigned long addr, int len, int is_write, in do_op_one_page() argument
66 pte = maybe_map(addr, is_write); in do_op_one_page()
89 static int buffer_op(unsigned long addr, int len, int is_write, in buffer_op() argument
97 n = do_op_one_page(addr, size, is_write, op, arg); in buffer_op()
109 n = do_op_one_page(addr, PAGE_SIZE, is_write, op, arg); in buffer_op()
121 n = do_op_one_page(addr, remain, is_write, op, arg); in buffer_op()
/arch/um/kernel/
Dtrap.c24 int is_write, int is_user, int *code_out) in handle_page_fault() argument
58 if (is_write && !(vma->vm_flags & VM_WRITE)) in handle_page_fault()
62 if (!is_write && !(vma->vm_flags & (VM_READ | VM_EXEC))) in handle_page_fault()
68 fault = handle_mm_fault(mm, vma, address, is_write); in handle_page_fault()
98 WARN_ON(!pte_young(*pte) || (is_write && !pte_dirty(*pte))); in handle_page_fault()
162 int is_write = FAULT_WRITE(fi); in segv() local
175 err = handle_page_fault(address, ip, is_write, is_user, in segv()
/arch/xtensa/mm/
Dfault.c46 int is_write, is_exec; in do_page_fault() local
65 is_write = (exccause == EXCCAUSE_STORE_CACHE_ATTRIBUTE) ? 1 : 0; in do_page_fault()
72 address, exccause, regs->pc, is_write? "w":"", is_exec? "x":""); in do_page_fault()
94 if (is_write) { in do_page_fault()
109 fault = handle_mm_fault(mm, vma, address, is_write); in do_page_fault()
132 current->thread.error_code = is_write; in do_page_fault()
/arch/powerpc/mm/
Dfault.c124 int is_write = 0, ret; in do_page_fault() local
138 is_write = error_code & DSISR_ISSTORE; in do_page_fault()
140 is_write = error_code & ESR_DST; in do_page_fault()
296 } else if (is_write) { in do_page_fault()
314 ret = handle_mm_fault(mm, vma, address, is_write); in do_page_fault()
/arch/um/sys-i386/shared/sysdep/
Dskas_ptrace.h10 int is_write; member
/arch/um/sys-ppc/shared/sysdep/
Dskas_ptrace.h10 int is_write; member
/arch/um/sys-ia64/sysdep/
Dskas_ptrace.h10 int is_write; member
/arch/um/sys-x86_64/shared/sysdep/
Dskas_ptrace.h10 int is_write; member
/arch/um/include/shared/
Dkern_util.h31 int is_write, int is_user, int *code_out);
/arch/powerpc/kvm/
Dpowerpc.c304 run->mmio.is_write = 0; in kvmppc_handle_load()
326 run->mmio.is_write = 1; in kvmppc_handle_store()
D44x_emulate.c132 run->dcr.is_write = 0; in kvmppc_core_emulate_op()
153 run->dcr.is_write = 1; in kvmppc_core_emulate_op()
/arch/x86/kvm/
Di8254.c474 int len, int is_write) in pit_in_range() argument
516 int len, int is_write) in speaker_in_range() argument
Di8259.c421 int len, int is_write) in picdev_in_range() argument
Dx86.c1937 int is_write) in vcpu_find_pervcpu_dev() argument
1943 if (dev->in_range(dev, addr, len, is_write)) in vcpu_find_pervcpu_dev()
1952 int is_write) in vcpu_find_mmio_dev() argument
1956 dev = vcpu_find_pervcpu_dev(vcpu, addr, len, is_write); in vcpu_find_mmio_dev()
1959 is_write); in vcpu_find_mmio_dev()
2306 run->mmio.is_write = vcpu->mmio_is_write; in emulate_instruction()
2454 int is_write) in vcpu_find_pio_dev() argument
2456 return kvm_io_bus_find_dev(&vcpu->kvm->pio_bus, addr, len, is_write); in vcpu_find_pio_dev()
Dlapic.c547 run->tpr_access.is_write = write; in __report_tpr_access()
/arch/ia64/kvm/
Dkvm-ia64.c202 gpa_t addr, int len, int is_write) in vcpu_find_mmio_dev() argument
206 dev = kvm_io_bus_find_dev(&vcpu->kvm->mmio_bus, addr, len, is_write); in vcpu_find_mmio_dev()
230 vcpu->mmio_is_write = kvm_run->mmio.is_write = !p->dir; in handle_mmio()