Home
last modified time | relevance | path

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

/drivers/infiniband/hw/usnic/
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 …]
Dusnic_uiom.h71 int writable; member
/drivers/crypto/ccp/
Dsev-dev.c353 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() argument
357 if (!writable) in sev_ioctl_do_reset()
402 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
407 if (!writable) in sev_ioctl_do_pek_pdh_gen()
419 static int sev_ioctl_do_pek_csr(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_csr() argument
428 if (!writable) in sev_ioctl_do_pek_csr()
602 static int sev_ioctl_do_pek_import(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_import() argument
610 if (!writable) in sev_ioctl_do_pek_import()
753 static int sev_ioctl_do_pdh_export(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pdh_export() argument
765 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.h125 bool writable; member
/drivers/infiniband/hw/hfi1/
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()
Dhfi.h2151 size_t npages, bool writable, struct page **pages);
/drivers/infiniband/core/
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()
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()
/drivers/misc/eeprom/
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()
/drivers/staging/fieldbus/Documentation/ABI/
Dfieldbus-dev-cdev25 process memory area is always readable and 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/power/supply/
Dsmb347-charger.c676 static int smb347_set_writable(struct smb347_charger *smb, bool writable) in smb347_set_writable() argument
679 writable ? CMD_A_ALLOW_WRITE : 0); in smb347_set_writable()
/drivers/mtd/parsers/
DKconfig52 1 flash resource (mtd-id "sa1100"), with 1 single writable partition:
/drivers/thermal/
DKconfig80 bool "Enable writable trip points"
84 writable trips need to be specified when setting up the
/drivers/infiniband/hw/mlx4/
Dmr.c488 !mmr->umem->writable) { in mlx4_ib_rereg_user_mr()
/drivers/md/
DKconfig315 Allow volume managers to take writable snapshots of a device.
387 device into a writable destination device. The cloned device is
/drivers/infiniband/hw/mlx5/
Dodp.c688 if (odp->umem.writable && !downgrade) in pagefault_real_mr()
1768 !odp->umem.writable) in get_prefetchable_mr()
Ddevx.c2149 (obj->umem->writable ? MLX5_IB_MTT_WRITE : 0) | in devx_umem_reg_cmd_build()