Home
last modified time | relevance | path

Searched refs:writable (Results 1 – 25 of 120) sorted by relevance

12345

/Linux-v4.19/include/trace/events/
Dhuge_memory.h50 TP_PROTO(struct mm_struct *mm, struct page *page, bool writable,
53 TP_ARGS(mm, page, writable, referenced, none_or_zero, status, unmapped),
58 __field(bool, writable)
68 __entry->writable = writable;
78 __entry->writable,
112 int referenced, bool writable, int status),
114 TP_ARGS(page, none_or_zero, referenced, writable, status),
120 __field(bool, writable)
128 __entry->writable = writable;
136 __entry->writable,
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_uiom.c101 static int usnic_uiom_get_pages(unsigned long addr, size_t size, int writable, in usnic_uiom_get_pages() argument
150 flags |= (writable) ? IOMMU_WRITE : 0; in usnic_uiom_get_pages()
152 gup_flags |= (writable) ? 0 : FOLL_FORCE; in usnic_uiom_get_pages()
233 int writable = 0; in __usnic_uiom_reg_release() local
247 writable = 1; in __usnic_uiom_reg_release()
252 usnic_uiom_put_pages(&uiomr->chunk_list, dirty & writable); in __usnic_uiom_reg_release()
271 flags |= (uiomr->writable) ? IOMMU_WRITE : 0; in usnic_uiom_map_sorted_intervals()
348 int writable, int dmasync) in usnic_uiom_reg_get() argument
363 writable = 1; in usnic_uiom_reg_get()
378 uiomr->writable = writable; in usnic_uiom_reg_get()
[all …]
Dusnic_uiom.h71 int writable; member
/Linux-v4.19/tools/testing/selftests/kvm/lib/
Dx86.c22 uint64_t writable:1; member
37 uint64_t writable:1; member
52 uint64_t writable:1; member
67 uint64_t writable:1; member
298 pml4e[index[3]].writable = true; in virt_pg_map()
309 pdpe[index[2]].writable = true; in virt_pg_map()
320 pde[index[1]].writable = true; in virt_pg_map()
328 pte[index[0]].writable = true; in virt_pg_map()
372 pml4e->writable, pml4e->execute_disable); in virt_dump()
385 (uint64_t) pdpe->address, pdpe->writable, in virt_dump()
[all …]
/Linux-v4.19/drivers/mfd/
Dwm8350-regmap.c23 u16 writable; /* Mask of writable bits */ member
302 return wm8350_reg_io_map[reg].writable; in wm8350_writeable()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Duser_pages.c106 bool writable, struct page **pages) in hfi1_acquire_user_pages() argument
110 ret = get_user_pages_fast(vaddr, npages, writable, pages); in hfi1_acquire_user_pages()
/Linux-v4.19/virt/kvm/
Dkvm_main.c1318 gfn_t gfn, bool *writable) in gfn_to_hva_memslot_prot() argument
1322 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
1323 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
1328 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
1332 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
1335 unsigned long kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu *vcpu, gfn_t gfn, bool *writable) in kvm_vcpu_gfn_to_hva_prot() argument
1339 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
1356 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
1366 if (!(write_fault || writable)) in hva_to_pfn_fast()
1373 if (writable) in hva_to_pfn_fast()
[all …]
/Linux-v4.19/Documentation/virtual/kvm/
Dlocking.txt42 - SPTE_HOST_WRITEABLE means the gfn is writable on host.
43 - SPTE_MMU_WRITEABLE means the gfn is writable on mmu. The bit is set when
44 the gfn is writable on guest mmu and it is not write-protected by shadow
88 - The pfn is writable that means it can not be shared between different gfns
102 writable between reading spte and updating spte. Like below case:
140 If the spte is updated from writable to readonly, we should flush all TLBs,
142 writable spte might be cached on a CPU's TLB.
144 As mentioned before, the spte can be updated to writable out of mmu-lock on
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-kernel-livepatch24 A writable attribute that indicates whether the patched
41 A writable attribute that allows administrator to affect the
53 A writable attribute that allows administrator to affect the
/Linux-v4.19/drivers/infiniband/core/
Dumem.c61 if (!PageDirty(page) && umem->writable && dirty) in __ib_umem_release()
118 umem->writable = ib_access_writable(access); in ib_umem_get()
170 if (!umem->writable) in ib_umem_get()
/Linux-v4.19/arch/arm/
DKconfig-nommu48 vectors to be mapped to writable memory, say 'n' here.
52 the writable versions located at DRAM_BASE.
/Linux-v4.19/drivers/misc/eeprom/
Dat24.c625 bool writable; in at24_probe() local
686 writable = !(pdata.flags & AT24_FLAG_READONLY); in at24_probe()
687 if (writable) { in at24_probe()
722 nvmem_config.read_only = !writable; in at24_probe()
742 writable ? "writable" : "read-only", at24->write_max); in at24_probe()
/Linux-v4.19/virt/kvm/arm/
Dmmu.c1194 phys_addr_t pa, unsigned long size, bool writable) in kvm_phys_addr_ioremap() argument
1207 if (writable) in kvm_phys_addr_ioremap()
1474 bool write_fault, exec_fault, writable, hugetlb = false, force_pte = false; in user_mem_abort() local
1540 pfn = gfn_to_pfn_prot(kvm, gfn, write_fault, &writable); in user_mem_abort()
1565 writable = false; in user_mem_abort()
1578 if (writable) { in user_mem_abort()
1599 if (writable) { in user_mem_abort()
1687 bool is_iabt, write_fault, writable; in kvm_handle_guest_abort() local
1728 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable); in kvm_handle_guest_abort()
1730 if (kvm_is_error_hva(hva) || (write_fault && !writable)) { in kvm_handle_guest_abort()
[all …]
/Linux-v4.19/Documentation/admin-guide/mm/
Dsoft-dirty.rst24 Internally, to do this tracking, the writable bit is cleared from PTEs
32 the kernel does is finds this fact out and puts both writable and soft-dirty
/Linux-v4.19/include/linux/
Dmm_types_task.h91 bool writable; member
/Linux-v4.19/Documentation/security/
Dself-protection.rst37 APIs hard to use incorrectly, minimizing the areas of writable kernel
43 When all of kernel memory is writable, it becomes trivial for attacks
47 Executable code and read-only data must not be writable
50 Any areas of the kernel with executable memory must not be writable.
56 made writable during the update, and then returned to the original
61 writable, data is not executable, and read-only data is neither writable
70 Function pointers and sensitive variables must not be writable
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c157 bool writable; in kvmppc_mmu_map_page() local
160 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
210 if (orig_pte->may_write && writable) { in kvmppc_mmu_map_page()
Dbook3s_64_mmu_host.c96 bool writable; in kvmppc_mmu_map_page() local
108 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
136 if (!orig_pte->may_write || !writable) in kvmppc_mmu_map_page()
/Linux-v4.19/mm/
Dkhugepaged.c527 bool writable = false; in __collapse_huge_page_isolate() local
582 writable = true; in __collapse_huge_page_isolate()
616 if (likely(writable)) { in __collapse_huge_page_isolate()
620 referenced, writable, result); in __collapse_huge_page_isolate()
630 referenced, writable, result); in __collapse_huge_page_isolate()
1111 bool writable = false; in khugepaged_scan_pmd() local
1148 writable = true; in khugepaged_scan_pmd()
1201 if (writable) { in khugepaged_scan_pmd()
1219 trace_mm_khugepaged_scan_pmd(mm, page, writable, referenced, in khugepaged_scan_pmd()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-g-audioout.rst45 Audio outputs have no writable properties. Nevertheless, to select the
47 ``reserved`` array (which in the future may contain writable properties)
/Linux-v4.19/Documentation/sysctl/
Dfs.txt196 in world writable sticky directories, unless they are owned by the
199 When set to "2" it also applies to group writable sticky directories.
208 time-of-check-time-of-use race, most commonly seen in world-writable
234 don't own in world writable sticky directories, unless they are
237 When set to "2" it also applies to group writable sticky directories.
244 time-of-check-time-of-use race, most commonly seen in world-writable
254 a sticky world-writable directory, or when the uid of the symlink and
/Linux-v4.19/include/rdma/
Dib_umem.h48 int writable; member
/Linux-v4.19/arch/arm64/include/asm/
Dhugetlb.h71 struct page *page, int writable);
/Linux-v4.19/Documentation/w1/slaves/
Dw1_ds240621 work with. output is writable; bits 0 and 1 control PIO A and B,
/Linux-v4.19/fs/nilfs2/
DKconfig18 its writable mount, and this feature is convenient for online backup.

12345