Home
last modified time | relevance | path

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

123456

/linux/include/trace/events/
H 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/
H 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/
H A Dusnic_uiom.c84 static int usnic_uiom_get_pages(unsigned long addr, size_t size, int writable, in usnic_uiom_get_pages() argument
134 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()
[all …]
H A Dusnic_uiom.h71 int writable; member
/linux/tools/testing/selftests/bpf/progs/
H 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/
H 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/drivers/crypto/ccp/
H A Dsev-dev.c1392 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() argument
1396 if (!writable) in sev_ioctl_do_reset()
1441 static int sev_ioctl_do_pek_pdh_gen(int cmd, struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_pdh_gen() argument
1446 if (!writable) in sev_ioctl_do_pek_pdh_gen()
1458 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_csr() argument
1467 if (!writable) in sev_ioctl_do_pek_csr()
1724 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_import() argument
1732 if (!writable) in sev_ioctl_do_pek_import()
1875 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pdh_export() argument
1887 if (!writable) in sev_ioctl_do_pdh_export()
[all …]
/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/arch/riscv/kvm/
H 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()
H 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/iommu/iommufd/
H A Dio_pagetable.h212 bool writable:1; member
223 unsigned long length, bool writable);
225 unsigned long length, bool writable);
H A Dpages.c693 to_unpin, pages->writable); in batch_unpin()
774 if (pages->writable) in pfn_reader_user_init()
1291 bool writable) in iopt_alloc_pages() argument
1314 pages->writable = writable; in iopt_alloc_pages()
1326 unsigned long length, bool writable) in iopt_alloc_user_pages() argument
1336 pages = iopt_alloc_pages(uptr - uptr_down, length, writable); in iopt_alloc_user_pages()
1345 unsigned long length, bool writable) in iopt_alloc_file_pages() argument
1355 pages = iopt_alloc_pages(start - start_down, length, writable); in iopt_alloc_file_pages()
2032 if ((flags & IOMMUFD_ACCESS_RW_WRITE) && !pages->writable) in iopt_pages_rw_access()
2121 if ((flags & IOMMUFD_ACCESS_RW_WRITE) && !pages->writable) in iopt_area_add_access()
/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/drivers/infiniband/core/
H 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()
H 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/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/drivers/md/dm-vdo/
H A Dblock-map.h175 bool writable; member
303 bool writable, void *parent, vdo_action_fn callback,
/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
/linux/arch/arm64/include/asm/
H A Dkvm_nested.h86 bool writable; member
115 return trans->writable; in kvm_s2_trans_writable()
/linux/include/linux/
H A Dmm_types_task.h87 bool writable; member
/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/virt/kvm/
H A Dkvm_mm.h41 * If non-NULL, try to get a writable mapping even for a read fault.
42 * Set to true if a writable mapping was obtained.

123456