Home
last modified time | relevance | path

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

12

/drivers/infiniband/hw/usnic/
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 …]
Dusnic_uiom.h71 int writable; member
/drivers/crypto/ccp/
Dsev-dev.c569 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() argument
573 if (!writable) in sev_ioctl_do_reset()
618 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
623 if (!writable) in sev_ioctl_do_pek_pdh_gen()
635 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_csr() argument
644 if (!writable) in sev_ioctl_do_pek_csr()
831 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_import() argument
839 if (!writable) in sev_ioctl_do_pek_import()
982 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pdh_export() argument
994 if (!writable) in sev_ioctl_do_pdh_export()
[all …]
/drivers/mfd/
Dwm8350-regmap.c19 u16 writable; /* Mask of writable bits */ member
298 return wm8350_reg_io_map[reg].writable; in wm8350_writeable()
/drivers/infiniband/sw/siw/
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()
Dsiw_mem.h9 struct siw_umem *siw_umem_get(u64 start, u64 len, bool writable);
Dsiw.h126 bool writable; member
/drivers/infiniband/hw/hfi1/
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()
/drivers/infiniband/core/
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()
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()
Dumem_dmabuf.c147 umem->writable = ib_access_writable(access); in ib_umem_dmabuf_get()
/drivers/virt/acrn/
Dmm.c180 bool writable; in acrn_vm_ram_map() local
198 writable = !!pte_write(ptep_get(ptep)); in acrn_vm_ram_map()
202 if (!writable && in acrn_vm_ram_map()
/drivers/iommu/iommufd/
Dio_pagetable.h199 bool writable:1; member
210 bool writable);
Dpages.c643 to_unpin, pages->writable); in batch_unpin()
717 if (pages->writable) in pfn_reader_user_init()
1142 bool writable) in iopt_alloc_pages() argument
1170 pages->writable = writable; in iopt_alloc_pages()
1843 if ((flags & IOMMUFD_ACCESS_RW_WRITE) && !pages->writable) in iopt_pages_rw_access()
1923 if ((flags & IOMMUFD_ACCESS_RW_WRITE) && !pages->writable) in iopt_area_add_access()
/drivers/misc/eeprom/
Dat24.c621 bool writable; in at24_probe() local
723 writable = !(flags & AT24_FLAG_READONLY); in at24_probe()
724 if (writable) { in at24_probe()
758 nvmem_config.read_only = !writable; in at24_probe()
814 if (writable) in at24_probe()
/drivers/staging/fieldbus/Documentation/ABI/
Dfieldbus-dev-cdev25 process memory area is always readable and writable.
/drivers/power/supply/
Dsmb347-charger.c682 static int smb347_set_writable(struct smb347_charger *smb, bool writable, in smb347_set_writable() argument
688 if (writable && irq_toggle && !smb->irq_unsupported) in smb347_set_writable()
692 writable ? CMD_A_ALLOW_WRITE : 0); in smb347_set_writable()
694 if ((!writable || ret) && irq_toggle && !smb->irq_unsupported) in smb347_set_writable()
/drivers/hwtracing/intel_th/
Dgth.c231 .writable = (_w) }
240 writable : 1; member
444 if (output_parms[j].writable) { in intel_th_output_attributes()
/drivers/block/drbd/
DKconfig31 DRBD can also be used in dual-Primary mode (device writable on both
/drivers/block/rnbd/
DREADME70 contains the path to the device and access mode (read-only or writable).
/drivers/mtd/
Dmtdblock.c297 if (mbd->writable) in mtdblock_release()
Dmtd_blkdevs.c211 dev->writable = mode & BLK_OPEN_WRITE; in blktrans_open()
/drivers/char/xillybus/
Dxillyusb.c148 unsigned writable:1; member
1267 ((filp->f_mode & FMODE_WRITE) && !chan->writable)) in xillyusb_open()
1829 if (chan->writable) { in xillyusb_llseek()
1988 chan->writable = 1; in setup_channels()
/drivers/thermal/
DKconfig84 bool "Enable writable trip points"
88 writable trips need to be specified when setting up the
/drivers/mtd/parsers/
DKconfig62 1 flash resource (mtd-id "sa1100"), with 1 single writable partition:

12