Searched refs:writable (Results 1 - 25 of 64) sorted by relevance

123

/linux-master/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;
83 TP_printk("mm=%p, scan_pfn=0x%lx, writable=%d, referenced=%d, none_or_zero=%d, status=%s, unmapped=%d",
86 __entry->writable,
120 int referenced, bool writable, int status),
122 TP_ARGS(page, none_or_zero, referenced, writable, status),
128 __field(bool, writable)
[all...]
/linux-master/include/linux/
H A Dmm_types_task.h69 bool writable; member in struct:tlbflush_unmap_batch
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_module_attach.c36 struct bpf_testmod_test_writable_ctx *writable)
38 raw_tp_writable_bare_in_val = writable->val;
39 writable->early_ret = raw_tp_writable_bare_early_ret;
40 writable->val = raw_tp_writable_bare_out_val;
35 BPF_PROG(handle_raw_tp_writable_bare, struct bpf_testmod_test_writable_ctx *writable) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_pages.c81 bool writable, struct page **pages)
84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0);
80 hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages, bool writable, struct page **pages) argument
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c84 static int usnic_uiom_get_pages(unsigned long addr, size_t size, int writable, argument
134 if (writable)
216 int writable = 0; local
230 writable = 1;
235 usnic_uiom_put_pages(&uiomr->chunk_list, dirty & writable);
254 flags |= (uiomr->writable) ? IOMMU_WRITE : 0;
331 int writable, int dmasync)
344 * Hence, make all entries to be writable.
346 writable = 1;
361 uiomr->writable
329 usnic_uiom_reg_get(struct usnic_uiom_pd *pd, unsigned long addr, size_t size, int writable, int dmasync) argument
[all...]
H A Dusnic_uiom.h71 int writable; member in struct:usnic_uiom_reg
/linux-master/arch/riscv/kvm/
H A Dvcpu_exit.c18 bool writable; local
25 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable);
28 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writable)) {
H A Dmmu.c348 bool writable, bool in_atomic)
365 if (!writable)
454 bool writable; local
473 writable = !(new->flags & KVM_MEM_READONLY);
500 if (writable && !(vma->vm_flags & VM_WRITE)) {
524 writable, false);
595 bool writable; local
650 hfn = gfn_to_pfn_prot(kvm, gfn, is_write, &writable);
660 * If logging is active then we allow writable pages only
664 writable
346 kvm_riscv_gstage_ioremap(struct kvm *kvm, gpa_t gpa, phys_addr_t hpa, unsigned long size, bool writable, bool in_atomic) argument
[all...]
H A Dvcpu_sbi_sta.c89 bool writable; local
114 hva = kvm_vcpu_gfn_to_hva_prot(vcpu, shmem >> PAGE_SHIFT, &writable);
115 if (kvm_is_error_hva(hva) || !writable)
/linux-master/security/loadpin/
H A Dloadpin.c83 static void report_writable(struct super_block *mnt_sb, bool writable) argument
89 writable ? "writable" : "read-only");
91 pr_info("mnt_sb lacks block device, treating as: writable\n");
93 if (!writable)
103 bool writable = true; local
106 writable = !bdev_read_only(mnt_sb->s_bdev);
108 return writable;
/linux-master/include/linux/mtd/
H A Dblktrans.h37 bool writable; member in struct:mtd_blktrans_dev
/linux-master/virt/kvm/
H A Dkvm_mm.h24 bool *async, bool write_fault, bool *writable);
H A Dkvm_main.c2717 * @writable: used to return the read/write attribute of the @slot if the hva
2718 * is valid and @writable is not NULL
2721 gfn_t gfn, bool *writable)
2725 if (!kvm_is_error_hva(hva) && writable)
2726 *writable = !memslot_is_readonly(slot);
2731 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) argument
2735 return gfn_to_hva_memslot_prot(slot, gfn, writable);
2738 unsigned long kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu *vcpu, gfn_t gfn, bool *writable) argument
2742 return gfn_to_hva_memslot_prot(slot, gfn, writable);
2754 * The fast path to get the writable pf
2720 gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn, bool *writable) argument
2758 hva_to_pfn_fast(unsigned long addr, bool write_fault, bool *writable, kvm_pfn_t *pfn) argument
2786 hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, bool interruptible, bool *writable, kvm_pfn_t *pfn) argument
2855 hva_to_pfn_remapped(struct vm_area_struct *vma, unsigned long addr, bool write_fault, bool *writable, kvm_pfn_t *p_pfn) argument
2938 hva_to_pfn(unsigned long addr, bool atomic, bool interruptible, bool *async, bool write_fault, bool *writable) argument
2989 __gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn, bool atomic, bool interruptible, bool *async, bool write_fault, bool *writable, hva_t *hva) argument
3017 gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, bool *writable) argument
[all...]
/linux-master/drivers/iommu/iommufd/
H A Dio_pagetable.h199 bool writable:1; member in struct:iopt_pages
210 bool writable);
/linux-master/drivers/infiniband/core/
H A Dumem.c50 bool make_dirty = umem->writable && dirty;
181 umem->writable = ib_access_writable(access);
208 if (umem->writable)
H A Dumem_odp.c131 umem->writable = ib_access_writable(access);
180 umem->writable = root->umem.writable;
240 umem_odp->umem.writable = ib_access_writable(access);
308 * a non-invalidating trasition, like read-only to writable.
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c49 * Maximum number of firmware-writable buffers that might be specified
1381 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) argument
1385 if (!writable)
1430 static int sev_ioctl_do_pek_pdh_gen(int cmd, struct sev_issue_cmd *argp, bool writable) argument
1435 if (!writable)
1447 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) argument
1456 if (!writable)
1709 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) argument
1717 if (!writable)
1860 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) argument
2013 sev_ioctl_do_snp_set_config(struct sev_issue_cmd *argp, bool writable) argument
2035 bool writable = file->f_mode & FMODE_WRITE; local
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c145 bool writable; local
148 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable);
198 if (orig_pte->may_write && writable) {
H A Dbook3s_64_mmu_host.c85 bool writable; local
97 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable);
125 if (!orig_pte->may_write || !writable)
/linux-master/drivers/virt/acrn/
H A Dmm.c181 bool writable; local
198 writable = !!pte_write(ptep_get(ptep));
201 /* Disallow write access if the PTE is not writable. */
202 if (!writable &&
/linux-master/fs/fuse/
H A Ddax.c56 bool writable; member in struct:fuse_dax_mapping
183 struct fuse_dax_mapping *dmap, bool writable,
203 if (writable)
213 dmap->writable = writable;
440 bool writable = flags & IOMAP_WRITE; local
488 writable, false);
542 if (dmap->writable) {
568 bool writable = flags & IOMAP_WRITE; local
592 if (writable
182 fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, struct fuse_dax_mapping *dmap, bool writable, bool upgrade) argument
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dblock-map.h175 bool writable; member in struct:vdo_page_completion
303 bool writable, void *parent, vdo_action_fn callback,
/linux-master/drivers/misc/eeprom/
H A Dat24.c598 bool writable; local
700 writable = !(flags & AT24_FLAG_READONLY);
701 if (writable) {
735 nvmem_config.read_only = !writable;
791 if (writable)
792 dev_info(dev, "%u byte %s EEPROM, writable, %u bytes/write\n",
/linux-master/arch/arm64/kvm/
H A Dmmu.c1064 * @writable: Whether or not to create a writable mapping
1067 phys_addr_t pa, unsigned long size, bool writable)
1076 (writable ? KVM_PGTABLE_PROT_W : 0);
1382 bool write_fault, writable, force_pte = false; local
1492 write_fault, &writable, NULL);
1514 * Only actually map the page as writable if this was a write
1517 writable = false;
1558 if (writable)
1590 if (writable
1066 kvm_phys_addr_ioremap(struct kvm *kvm, phys_addr_t guest_ipa, phys_addr_t pa, unsigned long size, bool writable) argument
1633 bool is_iabt, write_fault, writable; local
[all...]
/linux-master/include/rdma/
H A Dib_umem.h25 u32 writable : 1; member in struct:ib_umem

Completed in 570 milliseconds

123