/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_module_attach.c | 36 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/include/trace/events/ |
H A D | huge_memory.h | 58 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 D | mm_types_task.h | 69 bool writable; member in struct:tlbflush_unmap_batch
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | user_pages.c | 81 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 D | usnic_uiom.c | 84 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 D | usnic_uiom.h | 71 int writable; member in struct:usnic_uiom_reg
|
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_exit.c | 18 bool writable; local 25 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable); 28 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writable)) {
|
H A D | mmu.c | 348 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); 615 bool writable; local 670 hfn = gfn_to_pfn_prot(kvm, gfn, is_write, &writable); 680 * If logging is active then we allow writable pages only 684 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 D | vcpu_sbi_sta.c | 89 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 D | loadpin.c | 84 static void report_writable(struct super_block *mnt_sb, bool writable) argument 90 writable ? "writable" : "read-only"); 92 pr_info("mnt_sb lacks block device, treating as: writable\n"); 94 if (!writable) 104 bool writable = true; local 107 writable = !bdev_read_only(mnt_sb->s_bdev); 109 return writable;
|
/linux-master/include/linux/mtd/ |
H A D | blktrans.h | 37 bool writable; member in struct:mtd_blktrans_dev
|
/linux-master/virt/kvm/ |
H A D | kvm_mm.h | 24 bool *async, bool write_fault, bool *writable);
|
H A D | kvm_main.c | 2756 * @writable: used to return the read/write attribute of the @slot if the hva 2757 * is valid and @writable is not NULL 2760 gfn_t gfn, bool *writable) 2764 if (!kvm_is_error_hva(hva) && writable) 2765 *writable = !memslot_is_readonly(slot); 2770 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) argument 2774 return gfn_to_hva_memslot_prot(slot, gfn, writable); 2777 unsigned long kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu *vcpu, gfn_t gfn, bool *writable) argument 2781 return gfn_to_hva_memslot_prot(slot, gfn, writable); 2793 * The fast path to get the writable pf 2759 gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn, bool *writable) argument 2797 hva_to_pfn_fast(unsigned long addr, bool write_fault, bool *writable, kvm_pfn_t *pfn) argument 2825 hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, bool interruptible, bool *writable, kvm_pfn_t *pfn) argument 2894 hva_to_pfn_remapped(struct vm_area_struct *vma, unsigned long addr, bool write_fault, bool *writable, kvm_pfn_t *p_pfn) argument 2977 hva_to_pfn(unsigned long addr, bool atomic, bool interruptible, bool *async, bool write_fault, bool *writable) argument 3028 __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 3060 gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, bool *writable) argument [all...] |
/linux-master/drivers/iommu/iommufd/ |
H A D | io_pagetable.h | 199 bool writable:1; member in struct:iopt_pages 210 bool writable);
|
/linux-master/drivers/infiniband/core/ |
H A D | umem.c | 50 bool make_dirty = umem->writable && dirty; 181 umem->writable = ib_access_writable(access); 208 if (umem->writable)
|
H A D | umem_odp.c | 131 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 D | sev-dev.c | 49 * 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 D | book3s_32_mmu_host.c | 145 bool writable; local 148 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); 198 if (orig_pte->may_write && writable) {
|
H A D | book3s_64_mmu_host.c | 85 bool writable; local 97 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); 125 if (!orig_pte->may_write || !writable)
|
/linux-master/fs/fuse/ |
H A D | dax.c | 56 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 D | block-map.h | 175 bool writable; member in struct:vdo_page_completion 303 bool writable, void *parent, vdo_action_fn callback,
|
/linux-master/drivers/misc/eeprom/ |
H A D | at24.c | 598 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/include/rdma/ |
H A D | ib_umem.h | 25 u32 writable : 1; member in struct:ib_umem
|
/linux-master/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 288 /* Magic number to enable writable tp */ 290 struct bpf_testmod_test_writable_ctx writable = { local 293 trace_bpf_testmod_test_writable_bare(&writable); 294 if (writable.early_ret) 295 return snprintf(buf, len, "%d\n", writable.val);
|
/linux-master/arch/arm64/kvm/ |
H A D | mmu.c | 1064 * @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; 1556 if (writable) 1586 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 1631 bool is_iabt, write_fault, writable; local [all...] |