Home
last modified time | relevance | path

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

12345678

/linux/include/trace/events/
A Dhuge_memory.h58 TP_PROTO(struct mm_struct *mm, struct page *page, bool writable,
61 TP_ARGS(mm, page, writable, referenced, none_or_zero, status, unmapped),
66 __field(bool, writable)
76 __entry->writable = writable;
86 __entry->writable,
120 int referenced, bool writable, int status),
122 TP_ARGS(page, none_or_zero, referenced, writable, status),
128 __field(bool, writable)
136 __entry->writable = writable;
144 __entry->writable,
/linux/Documentation/mm/
A Darch_pgtable_helpers.rst27 | pte_write | Tests a writable PTE |
47 | pte_mkwrite | Creates a writable PTE of the type specified by |
50 | pte_mkwrite_novma | Creates a writable PTE, of the conventional type |
51 | | of writable. |
101 | pmd_write | Tests a writable PMD |
121 | pmd_mkwrite | Creates a writable PMD of the type specified by |
124 | pmd_mkwrite_novma | Creates a writable PMD, of the conventional type |
125 | | of writable. |
178 | pud_write | Tests a writable PUD |
190 | pud_mkwrite | Creates a writable PUD |
[all …]
/linux/drivers/infiniband/hw/usnic/
A Dusnic_uiom.c134 if (writable) in usnic_uiom_get_pages()
216 int writable = 0; in __usnic_uiom_reg_release() local
230 writable = 1; in __usnic_uiom_reg_release()
235 usnic_uiom_put_pages(&uiomr->chunk_list, dirty & writable); in __usnic_uiom_reg_release()
254 flags |= (uiomr->writable) ? IOMMU_WRITE : 0; in usnic_uiom_map_sorted_intervals()
331 int writable, int dmasync) in usnic_uiom_reg_get() argument
346 writable = 1; in usnic_uiom_reg_get()
361 uiomr->writable = writable; in usnic_uiom_reg_get()
364 err = usnic_uiom_get_pages(addr, size, writable, dmasync, in usnic_uiom_reg_get()
374 (writable) ? IOMMU_WRITE : 0, in usnic_uiom_reg_get()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_module_attach.c36 struct bpf_testmod_test_writable_ctx *writable) in BPF_PROG() argument
38 raw_tp_writable_bare_in_val = writable->val; in BPF_PROG()
39 writable->early_ret = raw_tp_writable_bare_early_ret; in BPF_PROG()
40 writable->val = raw_tp_writable_bare_out_val; in BPF_PROG()
/linux/security/loadpin/
A Dloadpin.c83 static void report_writable(struct super_block *mnt_sb, bool writable) in report_writable() argument
89 writable ? "writable" : "read-only"); in report_writable()
93 if (!writable) in report_writable()
103 bool writable = true; in sb_is_writable() local
106 writable = !bdev_read_only(mnt_sb->s_bdev); in sb_is_writable()
108 return writable; in sb_is_writable()
/linux/arch/riscv/kvm/
A Dmmu.c348 bool writable, bool in_atomic) in kvm_riscv_gstage_ioremap() argument
365 if (!writable) in kvm_riscv_gstage_ioremap()
454 bool writable; in kvm_arch_prepare_memory_region() local
473 writable = !(new->flags & KVM_MEM_READONLY); in kvm_arch_prepare_memory_region()
500 if (writable && !(vma->vm_flags & VM_WRITE)) { in kvm_arch_prepare_memory_region()
524 writable, false); in kvm_arch_prepare_memory_region()
595 bool writable; in kvm_riscv_gstage_map() local
650 hfn = gfn_to_pfn_prot(kvm, gfn, is_write, &writable); in kvm_riscv_gstage_map()
664 writable = false; in kvm_riscv_gstage_map()
671 if (writable) { in kvm_riscv_gstage_map()
A Dvcpu_exit.c18 bool writable; in gstage_page_fault() local
25 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable); in gstage_page_fault()
28 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writable)) { in gstage_page_fault()
A Dvcpu_sbi_sta.c89 bool writable; in kvm_sbi_sta_steal_time_set_shmem() local
114 hva = kvm_vcpu_gfn_to_hva_prot(vcpu, shmem >> PAGE_SHIFT, &writable); in kvm_sbi_sta_steal_time_set_shmem()
115 if (kvm_is_error_hva(hva) || !writable) in kvm_sbi_sta_steal_time_set_shmem()
/linux/drivers/crypto/ccp/
A Dsev-dev.c1396 if (!writable) in sev_ioctl_do_reset()
1446 if (!writable) in sev_ioctl_do_pek_pdh_gen()
1467 if (!writable) in sev_ioctl_do_pek_csr()
1732 if (!writable) in sev_ioctl_do_pek_import()
1887 if (!writable) in sev_ioctl_do_pdh_export()
2036 if (!writable) in sev_ioctl_do_snp_set_config()
2055 if (!writable) in sev_ioctl_do_snp_vlek_load()
2083 bool writable = file->f_mode & FMODE_WRITE; in sev_ioctl() local
2102 ret = sev_ioctl_do_reset(&input, writable); in sev_ioctl()
2114 ret = sev_ioctl_do_pek_csr(&input, writable); in sev_ioctl()
[all …]
/linux/drivers/mfd/
A Dwm8350-regmap.c19 u16 writable; /* Mask of writable bits */ member
298 return wm8350_reg_io_map[reg].writable; in wm8350_writeable()
/linux/Documentation/virt/kvm/
A Dlocking.rst78 What we use to avoid all the races is the Host-writable bit and MMU-writable bit
81 - Host-writable means the gfn is writable in the host kernel page tables and in
83 - MMU-writable means the gfn is writable in the guest's mmu and it is not
143 - The pfn is writable and therefore it cannot be shared between different gfns
155 writable between reading spte and updating spte. Like below case:
202 If the spte is updated from writable to read-only, we should flush all TLBs,
204 writable spte might be cached on a CPU's TLB.
206 As mentioned before, the spte can be updated to writable out of mmu-lock on
/linux/drivers/infiniband/hw/hfi1/
A Duser_pages.c81 bool writable, struct page **pages) in hfi1_acquire_user_pages() argument
84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/linux/Documentation/devicetree/bindings/nvmem/
A Dqcom,qfprom.yaml53 # needs to be provided. If the QFPROM is writable then all 4 regions
64 # Clock must be provided if QFPROM is writable from the OS image.
70 # Supply reference must be provided if QFPROM is writable from the OS image.
/linux/drivers/virt/acrn/
A Dmm.c180 bool writable; in acrn_vm_ram_map() local
200 writable = args.writable; in acrn_vm_ram_map()
204 if (!writable && in acrn_vm_ram_map()
/linux/fs/fuse/
A Ddax.c56 bool writable; member
183 struct fuse_dax_mapping *dmap, bool writable, in fuse_setup_one_mapping() argument
203 if (writable) in fuse_setup_one_mapping()
213 dmap->writable = writable; in fuse_setup_one_mapping()
440 bool writable = flags & IOMAP_WRITE; in fuse_setup_new_dax_mapping() local
488 writable, false); in fuse_setup_new_dax_mapping()
542 if (dmap->writable) { in fuse_upgrade_dax_mapping()
568 bool writable = flags & IOMAP_WRITE; in fuse_iomap_begin() local
592 if (writable && !dmap->writable) { in fuse_iomap_begin()
/linux/drivers/infiniband/core/
A Dumem.c50 bool make_dirty = umem->writable && dirty; in __ib_umem_release()
181 umem->writable = ib_access_writable(access); in ib_umem_get()
208 if (umem->writable) in ib_umem_get()
A Dumem_odp.c131 umem->writable = ib_access_writable(access); in ib_umem_odp_alloc_implicit()
180 umem->writable = root->umem.writable; in ib_umem_odp_alloc_child()
240 umem_odp->umem.writable = ib_access_writable(access); in ib_umem_odp_get()
/linux/drivers/iommu/iommufd/
A Dio_pagetable.h199 bool writable:1; member
210 bool writable);
/linux/arch/arm/
A DKconfig-nommu50 vectors to be mapped to writable memory, say 'n' here.
54 the writable versions located at DRAM_BASE.
/linux/arch/arm64/kvm/
A Dmmu.c1109 phys_addr_t pa, unsigned long size, bool writable) in kvm_phys_addr_ioremap() argument
1118 (writable ? KVM_PGTABLE_PROT_W : 0); in kvm_phys_addr_ioremap()
1428 bool write_fault, writable, force_pte = false; in user_mem_abort() local
1574 write_fault, &writable, NULL); in user_mem_abort()
1599 writable = false; in user_mem_abort()
1617 writable &= kvm_s2_trans_writable(nested); in user_mem_abort()
1659 if (writable) in user_mem_abort()
1699 if (writable && !ret) { in user_mem_abort()
1744 bool is_iabt, write_fault, writable; in kvm_handle_guest_abort() local
1837 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable); in kvm_handle_guest_abort()
[all …]
/linux/include/linux/
A Dmm_types_task.h66 bool writable; member
/linux/Documentation/admin-guide/mm/
A Dsoft-dirty.rst22 Internally, to do this tracking, the writable bit is cleared from PTEs
30 the kernel does is finds this fact out and puts both writable and soft-dirty
/linux/Documentation/security/
A 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/Documentation/admin-guide/sysctl/
A Dfs.rst180 in world writable sticky directories, unless they are owned by the
183 When set to "2" it also applies to group writable sticky directories.
192 time-of-check-time-of-use race, most commonly seen in world-writable
218 don't own in world writable sticky directories, unless they are
221 When set to "2" it also applies to group writable sticky directories.
228 time-of-check-time-of-use race, most commonly seen in world-writable
238 a sticky world-writable directory, or when the uid of the symlink and
/linux/arch/powerpc/kvm/
A Dbook3s_32_mmu_host.c145 bool writable; in kvmppc_mmu_map_page() local
148 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
198 if (orig_pte->may_write && writable) { in kvmppc_mmu_map_page()

Completed in 47 milliseconds

12345678