Home
last modified time | relevance | path

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

12345

/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst27 | pte_write | Tests a writable PTE |
45 | pte_mkwrite | Creates a writable PTE of the type specified by |
48 | pte_mkwrite_novma | Creates a writable PTE, of the conventional type |
49 | | of writable. |
97 | pmd_write | Tests a writable PMD |
115 | pmd_mkwrite | Creates a writable PMD of the type specified by |
118 | pmd_mkwrite_novma | Creates a writable PMD, of the conventional type |
119 | | of writable. |
170 | pud_write | Tests a writable PUD |
180 | pud_mkwrite | Creates a writable PUD |
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_module_attach.c34 struct bpf_testmod_test_writable_ctx *writable)
36 raw_tp_writable_bare_in_val = writable->val; in BPF_PROG() argument
37 writable->early_ret = raw_tp_writable_bare_early_ret; in BPF_PROG()
38 writable->val = raw_tp_writable_bare_out_val; in BPF_PROG()
/linux/arch/powerpc/kvm/
H A De500_mmu_host.c48 static inline u32 e500_shadow_mas3_attrib(u32 mas3, bool writable, int usermode) in e500_shadow_mas3_attrib() argument
53 if (!writable) in e500_shadow_mas3_attrib()
251 bool writable) in kvmppc_e500_tlbe_setup() argument
255 if (writable) in kvmppc_e500_tlbe_setup()
309 bool writable = !!(tlbe->flags & E500_TLB_WRITABLE); in kvmppc_e500_setup_stlbe() local
317 e500_shadow_mas3_attrib(gtlbe->mas7_3, writable, pr); in kvmppc_e500_setup_stlbe()
338 bool writable = false; in kvmppc_e500_shadow_map() local
355 pfn = __kvm_faultin_pfn(slot, gfn, FOLL_WRITE, &writable, &page); in kvmppc_e500_shadow_map()
455 kvmppc_e500_tlbe_setup(tlbe, gtlbe, pfn, wimg, writable); in kvmppc_e500_shadow_map()
458 writable = tlbe_is_writable(stlbe); in kvmppc_e500_shadow_map()
[all …]
/linux/security/loadpin/
H A Dloadpin.c81 static void report_writable(struct super_block *mnt_sb, bool writable) in report_writable() argument
87 writable ? "writable" : "read-only"); in report_writable()
91 if (!writable) in report_writable()
101 bool writable = true; in sb_is_writable() local
104 writable = !bdev_read_only(mnt_sb->s_bdev); in sb_is_writable()
106 return writable; in sb_is_writable()
/linux/Documentation/virt/kvm/
H A Dlocking.rst80 What we use to avoid all the races is the Host-writable bit and MMU-writable bit
83 - Host-writable means the gfn is writable in the host kernel page tables and in
85 - MMU-writable means the gfn is writable in the guest's mmu and it is not
145 - The pfn is writable and therefore it cannot be shared between different gfns
157 writable between reading spte and updating spte. Like below case:
206 If the spte is updated from writable to read-only, we should flush all TLBs,
208 writable spte might be cached on a CPU's TLB.
210 As mentioned before, the spte can be updated to writable out of mmu-lock on
/linux/drivers/mfd/
H A Dwm8350-regmap.c19 u16 writable; /* Mask of writable bits */ member
298 return wm8350_reg_io_map[reg].writable; in wm8350_writeable()
/linux/drivers/infiniband/hw/hfi1/
H 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/drivers/virt/acrn/
H 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/arch/arm/
H A DKconfig-nommu50 vectors to be mapped to writable memory, say 'n' here.
54 the writable versions located at DRAM_BASE.
/linux/Documentation/security/
H 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/mm/
H 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/arch/riscv/include/asm/
H A Dkvm_mmu.h12 unsigned long size, bool writable, bool in_atomic);
/linux/Documentation/userspace-api/media/v4l/
H A 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/rust/kernel/mm/
H A Dvirt.rs335 /// This flag indicates whether userspace is mapping this vma as writable.
337 pub fn writable(&self) -> bool {
343 /// This flag indicates whether userspace is allowed to make this vma writable with
350 if self.writable() {
339 pub fn writable(&self) -> bool { writable() method
/linux/drivers/iommu/iommufd/
H A Dpages.c716 to_unpin, pages->writable); in batch_unpin()
797 if (pages->writable) in pfn_reader_user_init()
1364 unsigned long length, bool writable) in iopt_alloc_pages() argument
1387 pages->writable = writable; in iopt_alloc_pages()
1399 unsigned long length, bool writable) in iopt_alloc_user_pages() argument
1409 pages = iopt_alloc_pages(uptr - uptr_down, length, writable); in iopt_alloc_user_pages()
1420 unsigned long length, bool writable) in iopt_alloc_file_pages() argument
1425 pages = iopt_alloc_pages(start_byte, length, writable); in iopt_alloc_file_pages()
1531 unsigned long length, bool writable) in iopt_alloc_dmabuf_pages() argument
1544 pages = iopt_alloc_pages(start_byte, length, writable); in iopt_alloc_dmabuf_pages()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-livepatch24 A writable attribute that indicates whether the patched
41 A writable attribute that allows administrator to affect the
H A Dsysfs-driver-ge-achc15 asserted. The file is read and writable.
H A Dsysfs-platform-ayaneo-ec8 turn on, 0 to turn off. File is readable and writable.
H A Dsysfs-class-net-peak_usb9 are writable and can be set per CAN interface. This means that
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.h71 int writable; member
/linux/tools/testing/selftests/kvm/include/x86/
H A Dkvm_util_arch.h15 u64 writable; member
/linux/mm/
H A Drmap.c724 tlb_ubc->writable = false; in try_to_unmap_flush()
732 if (tlb_ubc->writable) in try_to_unmap_flush_dirty()
751 bool writable = pte_dirty(pteval); in set_tlb_ubc_flush_pending() local
783 if (writable) in set_tlb_ubc_flush_pending()
784 tlb_ubc->writable = true; in set_tlb_ubc_flush_pending()
2474 bool anon_exclusive, writable, ret = true; in try_to_migrate_one() local
2631 writable = pte_write(pteval); in try_to_migrate_one()
2652 writable = pte_write(pteval); in try_to_migrate_one()
2658 writable = softleaf_is_device_private_write(entry); in try_to_migrate_one()
2661 VM_WARN_ON_FOLIO(writable && folio_test_anon(folio) && in try_to_migrate_one()
[all …]
H A Dmemory.c1166 bool writable; in __copy_present_ptes() local
1175 writable = pte_write(pte); in __copy_present_ptes()
1190 if (vma_is_cow_mapping(src_vma) && writable) { in __copy_present_ptes()
6150 bool writable, int *last_cpupid) in numa_migrate_check() argument
6162 if (!writable) in numa_migrate_check()
6197 bool writable) in numa_rebuild_single_mapping() argument
6204 if (writable) in numa_rebuild_single_mapping()
6229 bool writable = false; in numa_rebuild_large_mapping() local
6249 writable = pte_write(ptent); in numa_rebuild_large_mapping()
6250 if (!writable && pte_write_upgrade && in numa_rebuild_large_mapping()
[all …]
/linux/include/linux/mtd/
H A Dblktrans.h37 bool writable; member
/linux/virt/kvm/
H A Dkvm_main.c2788 * @writable: used to return the read/write attribute of the @slot if the hva in kvm_is_ad_tracked_page()
2789 * is valid and @writable is not NULL in kvm_is_ad_tracked_page()
2792 gfn_t gfn, bool *writable) in kvm_is_ad_tracked_page()
2796 if (!kvm_is_error_hva(hva) && writable) in kvm_set_page_dirty()
2797 *writable = !memslot_is_readonly(slot); in kvm_set_page_dirty()
2802 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in kvm_set_page_accessed()
2806 return gfn_to_hva_memslot_prot(slot, gfn, writable);
2809 unsigned long kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu *vcpu, gfn_t gfn, bool *writable) in kvm_release_page_clean()
2813 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_release_page_clean()
2858 struct follow_pfnmap_args *map, bool writable) in hva_to_pfn_fast()
2762 gfn_to_hva_memslot_prot(struct kvm_memory_slot * slot,gfn_t gfn,bool * writable) gfn_to_hva_memslot_prot() argument
2772 gfn_to_hva_prot(struct kvm * kvm,gfn_t gfn,bool * writable) gfn_to_hva_prot() argument
2779 kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu * vcpu,gfn_t gfn,bool * writable) kvm_vcpu_gfn_to_hva_prot() argument
2828 kvm_resolve_pfn(struct kvm_follow_pfn * kfp,struct page * page,struct follow_pfnmap_args * map,bool writable) kvm_resolve_pfn() argument
3050 __kvm_faultin_pfn(const struct kvm_memory_slot * slot,gfn_t gfn,unsigned int foll,bool * writable,struct page ** refcounted_page) __kvm_faultin_pfn() argument
3111 __kvm_vcpu_map(struct kvm_vcpu * vcpu,gfn_t gfn,struct kvm_host_map * map,bool writable) __kvm_vcpu_map() argument
[all...]

12345