Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/include/trace/events/
H A Dhuge_memory.h53 TP_PROTO(struct mm_struct *mm, struct page *page, bool writable,
56 TP_ARGS(mm, page, writable, referenced, none_or_zero, status, unmapped),
61 __field(bool, writable)
71 __entry->writable = writable;
81 __entry->writable,
115 int referenced, bool writable, int status),
117 TP_ARGS(page, none_or_zero, referenced, writable, status),
123 __field(bool, writable)
131 __entry->writable = writable;
139 __entry->writable,
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c85 static int usnic_uiom_get_pages(unsigned long addr, size_t size, int writable, in usnic_uiom_get_pages() argument
137 flags |= (writable) ? IOMMU_WRITE : 0; in usnic_uiom_get_pages()
139 gup_flags |= (writable) ? 0 : FOLL_FORCE; in usnic_uiom_get_pages()
221 int writable = 0; in __usnic_uiom_reg_release() local
235 writable = 1; in __usnic_uiom_reg_release()
240 usnic_uiom_put_pages(&uiomr->chunk_list, dirty & writable); in __usnic_uiom_reg_release()
259 flags |= (uiomr->writable) ? IOMMU_WRITE : 0; in usnic_uiom_map_sorted_intervals()
336 int writable, int dmasync) in usnic_uiom_reg_get() argument
351 writable = 1; in usnic_uiom_reg_get()
366 uiomr->writable = writable; in usnic_uiom_reg_get()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqabstractgeotilecache.cpp122 static bool writable = false; in baseCacheDirectory() local
128 writable = writeTestFile.open(QIODevice::WriteOnly); in baseCacheDirectory()
129 if (writable) in baseCacheDirectory()
132 if (!writable) in baseCacheDirectory()
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dsev-dev.c319 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() argument
323 if (!writable) in sev_ioctl_do_reset()
367 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
372 if (!writable) in sev_ioctl_do_pek_pdh_gen()
384 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_csr() argument
393 if (!writable) in sev_ioctl_do_pek_csr()
576 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_import() argument
584 if (!writable) in sev_ioctl_do_pek_import()
731 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pdh_export() argument
743 if (!writable) in sev_ioctl_do_pdh_export()
[all …]
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Darch_pgtable_helpers.rst31 | pte_write | Tests a writable PTE |
51 | pte_mkwrite | Creates a writable PTE |
101 | pmd_write | Tests a writable PMD |
121 | pmd_mkwrite | Creates a writable PMD |
175 | pud_write | Tests a writable PUD |
187 | pud_mkwrite | Creates a writable PUD |
221 | huge_pte_write | Tests a writable HugeTLB |
225 | huge_pte_mkwrite | Creates a writable HugeTLB |
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dlocking.rst44 - SPTE_HOST_WRITEABLE means the gfn is writable on host.
45 - SPTE_MMU_WRITEABLE means the gfn is writable on mmu. The bit is set when
46 the gfn is writable on guest mmu and it is not write-protected by shadow
106 - The pfn is writable and therefore it cannot be shared between different gfns
118 writable between reading spte and updating spte. Like below case:
165 If the spte is updated from writable to readonly, we should flush all TLBs,
167 writable spte might be cached on a CPU's TLB.
169 As mentioned before, the spte can be updated to writable out of mmu-lock on
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm64/kvm/
H A Dmmu.c583 phys_addr_t pa, unsigned long size, bool writable) in kvm_phys_addr_ioremap() argument
591 (writable ? KVM_PGTABLE_PROT_W : 0); in kvm_phys_addr_ioremap()
829 bool write_fault, writable, force_pte = false; in user_mem_abort() local
931 pfn = gfn_to_pfn_prot(kvm, gfn, write_fault, &writable); in user_mem_abort()
947 writable = false; in user_mem_abort()
965 if (writable) in user_mem_abort()
995 if (writable && !ret) { in user_mem_abort()
1043 bool is_iabt, write_fault, writable; in kvm_handle_guest_abort() local
1081 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable); in kvm_handle_guest_abort()
1083 if (kvm_is_error_hva(hva) || (write_fault && !writable)) { in kvm_handle_guest_abort()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/
H A Dsiw_mem.c78 umem->writable && dirty); in siw_umem_release()
365 struct siw_umem *siw_umem_get(u64 start, u64 len, bool writable) in siw_umem_get() argument
390 umem->writable = writable; in siw_umem_get()
394 if (!writable) in siw_umem_get()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c30 uint64_t writable:1; member
45 uint64_t writable:1; member
60 uint64_t writable:1; member
75 uint64_t writable:1; member
263 pml4e[index[3]].writable = true; in virt_pg_map()
274 pdpe[index[2]].writable = true; in virt_pg_map()
285 pde[index[1]].writable = true; in virt_pg_map()
293 pte[index[0]].writable = true; in virt_pg_map()
323 pml4e->writable, pml4e->execute_disable); in virt_dump()
336 (uint64_t) pdpe->address, pdpe->writable, in virt_dump()
[all …]
H A Dvmx.c25 uint64_t writable:1; member
434 pml4e[index[3]].writable = true; in nested_pg_map()
446 pdpe[index[2]].writable = true; in nested_pg_map()
458 pde[index[1]].writable = true; in nested_pg_map()
467 pte[index[0]].writable = true; in nested_pg_map()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Duser_pages.c104 bool writable, struct page **pages) in hfi1_acquire_user_pages() argument
107 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/OK3568_Linux_fs/kernel/fs/fuse/
H A Ddax.c55 bool writable; member
182 struct fuse_dax_mapping *dmap, bool writable, in fuse_setup_one_mapping() argument
202 if (writable) in fuse_setup_one_mapping()
212 dmap->writable = writable; in fuse_setup_one_mapping()
439 bool writable = flags & IOMAP_WRITE; in fuse_setup_new_dax_mapping() local
487 writable, false); in fuse_setup_new_dax_mapping()
541 if (dmap->writable) { in fuse_upgrade_dax_mapping()
567 bool writable = flags & IOMAP_WRITE; in fuse_iomap_begin() local
591 if (writable && !dmap->writable) { in fuse_iomap_begin()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A Dgcc-6.patch15 - si.wants.writable = writecb;
18 + si.wants.writable = static_cast<bool>(writecb);
/OK3568_Linux_fs/kernel/virt/kvm/
H A Dkvm_main.c1814 gfn_t gfn, bool *writable) in gfn_to_hva_memslot_prot() argument
1818 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
1819 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
1824 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
1828 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
1831 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
1835 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
1852 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
1861 if (!(write_fault || writable)) in hva_to_pfn_fast()
1867 if (writable) in hva_to_pfn_fast()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dumem.c58 unpin_user_pages_dirty_lock(&page, 1, 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.c133 umem->writable = ib_access_writable(access); in ib_umem_odp_alloc_implicit()
182 umem->writable = root->umem.writable; in ib_umem_odp_alloc_child()
243 umem_odp->umem.writable = ib_access_writable(access); in ib_umem_odp_get()
/OK3568_Linux_fs/buildroot/package/pppd/
H A DConfig.in38 writable in your rootfs customizations (e.g. by linking it to
39 a file in tmpfs or by mounting a writable filesystem on it).
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/eject/eject/
H A Deject-2.1.5-spaces.patch7 occurrences off '\0##' with the ASCII value of 0##. Requires a writable
20 + * occurrences off '\0##' with the ASCII value of 0##. Requires a writable
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/
H A Dchange-secure_chroot_dir.patch36 valid home directory (which is NOT owned or writable by the user "ftp").
55 directory should not be writable by the ftp user. This directory is used
/OK3568_Linux_fs/kernel/arch/arm/
H A DKconfig-nommu50 vectors to be mapped to writable memory, say 'n' here.
54 the writable versions located at DRAM_BASE.
/OK3568_Linux_fs/kernel/drivers/misc/eeprom/
H A Dat24.c599 bool writable; in at24_probe() local
701 writable = !(flags & AT24_FLAG_READONLY); in at24_probe()
702 if (writable) { in at24_probe()
736 nvmem_config.read_only = !writable; in at24_probe()
782 if (writable) in at24_probe()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H 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()

123456789