Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/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,
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dnbd-multiconn81 def add_export(self, name, writable=None): argument
88 if writable is not None:
89 args['writable'] = writable
96 self.add_export('w', writable=True)
105 self.add_export('w', writable=True)
113 self.add_export('w', writable=True)
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c134 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()
374 (writable) ? IOMMU_WRITE : 0, in usnic_uiom_reg_get()
[all …]
/openbmc/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst29 | pte_write | Tests a writable PTE |
49 | pte_mkwrite | Creates a writable PTE of the type specified by |
52 | pte_mkwrite_novma | Creates a writable PTE, of the conventional type |
53 | | of writable. |
105 | pmd_write | Tests a writable PMD |
125 | pmd_mkwrite | Creates a writable PMD of the type specified by |
128 | pmd_mkwrite_novma | Creates a writable PMD, of the conventional type |
129 | | of writable. |
184 | pud_write | Tests a writable PUD |
196 | pud_mkwrite | Creates a writable PUD |
[all …]
/openbmc/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()
/openbmc/linux/drivers/char/ipmi/
H A Dkcs_bmc_cdev_raw.c24 bool writable; member
75 priv->writable = true; in kcs_bmc_raw_event()
112 bool writable; in kcs_bmc_raw_prepare_obe() local
118 writable = !(kcs_bmc_read_status(priv->client.dev) & KCS_BMC_STR_OBF); in kcs_bmc_raw_prepare_obe()
121 if (writable) in kcs_bmc_raw_prepare_obe()
124 return writable; in kcs_bmc_raw_prepare_obe()
307 priv->writable = kcs_bmc_raw_prepare_obe(priv); in kcs_bmc_raw_write()
311 wait_event_interruptible_locked(priv->queue, priv->writable); in kcs_bmc_raw_write()
369 priv->writable = false; in kcs_bmc_raw_add_device()
/openbmc/qemu/tests/qemu-iotests/
H A D30769 writable=True)
85 iothread='iothread1', fixed_iothread=True, writable=True)
90 iothread='iothread1', fixed_iothread=False, writable=True)
96 name='export1', writable=True, writethrough=True,
108 name='export1', writable=True, writethrough=True,
H A D307.out32 …ck-export-add", "arguments": {"id": "export1", "node-name": "ro", "type": "nbd", "writable": true}}
33 {"error": {"class": "GenericError", "desc": "Cannot export read-only node as writable"}}
59 …e, "id": "export1", "iothread": "iothread1", "node-name": "null", "type": "nbd", "writable": true}}
61 …e, "id": "export1", "iothread": "iothread1", "node-name": "null", "type": "nbd", "writable": true}}
64 === Add a writable export ===
65 …cription": "This is the writable second export", "id": "export1", "name": "export1", "node-name": …
72 …cription": "This is the writable second export", "id": "export1", "name": "export1", "node-name": …
87 description: This is the writable second export
114 description: This is the writable second export
/openbmc/phosphor-led-sysfs/
H A DREADME.md40 … property s "xyz.openbmc_project.Led.Physical.Pal... emits-change writable
41 … property y 50 emits-change writable
42 … property q 1000 emits-change writable
43 … property s "xyz.openbmc_project.Led.Physical.Act... emits-change writable
/openbmc/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()
/openbmc/qemu/hw/nvram/
H A Deeprom93xx.c80 uint8_t writable; member
138 VMSTATE_UINT8(writable, eeprom_t),
173 if (eeprom->writable) { in eeprom93xx_write()
240 eeprom->writable = 0; in eeprom93xx_write()
250 eeprom->writable = 1; in eeprom93xx_write()
H A Deeprom_at24c.c51 bool writable; member
132 if (ee->writable) { in at24c_eeprom_send()
240 DEFINE_PROP_BOOL("writable", EEPROMState, writable, true),
/openbmc/linux/drivers/crypto/ccp/
H A Dsev-dev.c573 if (!writable) in sev_ioctl_do_reset()
623 if (!writable) in sev_ioctl_do_pek_pdh_gen()
644 if (!writable) in sev_ioctl_do_pek_csr()
839 if (!writable) in sev_ioctl_do_pek_import()
994 if (!writable) in sev_ioctl_do_pdh_export()
1078 bool writable = file->f_mode & FMODE_WRITE; in sev_ioctl() local
1097 ret = sev_ioctl_do_reset(&input, writable); in sev_ioctl()
1103 ret = sev_ioctl_do_pek_pdh_gen(SEV_CMD_PEK_GEN, &input, writable); in sev_ioctl()
1109 ret = sev_ioctl_do_pek_csr(&input, writable); in sev_ioctl()
1112 ret = sev_ioctl_do_pek_import(&input, writable); in sev_ioctl()
[all …]
/openbmc/qemu/block/export/
H A Dfuse.c57 bool writable; member
129 if (args->growable || blk_exp_args->writable) { in fuse_export_create()
179 exp->writable = blk_exp_args->writable; in fuse_export_create()
188 if (exp->writable) { in fuse_export_create()
453 add_resize_perm = !exp->growable && !exp->writable; in fuse_do_truncate()
527 if (!exp->writable && in fuse_setattr()
536 if (!exp->writable) { in fuse_setattr()
636 if (!exp->writable) { in fuse_write()
682 if (!exp->writable) { in fuse_fallocate()
/openbmc/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()
/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c348 bool writable, bool in_atomic) in kvm_riscv_gstage_ioremap() argument
365 if (!writable) in kvm_riscv_gstage_ioremap()
454 bool writable; in kvm_arch_prepare_memory_region() local
473 writable = !(new->flags & KVM_MEM_READONLY); in kvm_arch_prepare_memory_region()
500 if (writable && !(vma->vm_flags & VM_WRITE)) { in kvm_arch_prepare_memory_region()
524 writable, false); in kvm_arch_prepare_memory_region()
615 bool writable; in kvm_riscv_gstage_map() local
670 hfn = gfn_to_pfn_prot(kvm, gfn, is_write, &writable); in kvm_riscv_gstage_map()
684 writable = false; in kvm_riscv_gstage_map()
691 if (writable) { in kvm_riscv_gstage_map()
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()
/openbmc/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()
/openbmc/linux/Documentation/virt/kvm/
H A Dlocking.rst77 What we use to avoid all the races is the Host-writable bit and MMU-writable bit
80 - Host-writable means the gfn is writable in the host kernel page tables and in
82 - MMU-writable means the gfn is writable in the guest's mmu and it is not
142 - The pfn is writable and therefore it cannot be shared between different gfns
154 writable between reading spte and updating spte. Like below case:
201 If the spte is updated from writable to read-only, we should flush all TLBs,
203 writable spte might be cached on a CPU's TLB.
205 As mentioned before, the spte can be updated to writable out of mmu-lock on
/openbmc/linux/Documentation/devicetree/bindings/nvmem/
H A Dqcom,qfprom.yaml48 # needs to be provided. If the QFPROM is writable then all 4 regions
59 # Clock must be provided if QFPROM is writable from the OS image.
65 # Supply reference must be provided if QFPROM is writable from the OS image.
/openbmc/qemu/docs/system/
H A Dimages.rst42 state, RAM, device state and the content of all the writable disks. In
44 writable block device using the ``qcow2`` disk image format. Normally
64 ``info snapshots``) and a snapshot of every writable disk image. The VM
65 state info is stored in the first ``qcow2`` non removable and writable
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A Dgcc-6.patch17 - si.wants.writable = writecb;
20 + si.wants.writable = static_cast<bool>(writecb);
/openbmc/linux/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()
/openbmc/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()
/openbmc/linux/fs/fuse/
H A Ddax.c56 bool writable; member
183 struct fuse_dax_mapping *dmap, bool writable, in fuse_setup_one_mapping() argument
203 if (writable) in fuse_setup_one_mapping()
213 dmap->writable = writable; in fuse_setup_one_mapping()
440 bool writable = flags & IOMAP_WRITE; in fuse_setup_new_dax_mapping() local
488 writable, false); in fuse_setup_new_dax_mapping()
542 if (dmap->writable) { in fuse_upgrade_dax_mapping()
568 bool writable = flags & IOMAP_WRITE; in fuse_iomap_begin() local
592 if (writable && !dmap->writable) { in fuse_iomap_begin()

12345678910>>...12