Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 15 of 15) sorted by relevance

/drivers/s390/crypto/
Dzcrypt_api.c129 struct ap_perms perms; member
175 for (i = 0; i < sizeof(zcdndev->perms.ioctlm) / sizeof(long); i++) in ioctlmask_show()
178 "%016lx", zcdndev->perms.ioctlm[i]); in ioctlmask_show()
195 rc = ap_parse_mask_str(buf, zcdndev->perms.ioctlm, in ioctlmask_store()
217 for (i = 0; i < sizeof(zcdndev->perms.apm) / sizeof(long); i++) in apmask_show()
220 "%016lx", zcdndev->perms.apm[i]); in apmask_show()
237 rc = ap_parse_mask_str(buf, zcdndev->perms.apm, in apmask_store()
259 for (i = 0; i < sizeof(zcdndev->perms.aqm) / sizeof(long); i++) in aqmask_show()
262 "%016lx", zcdndev->perms.aqm[i]); in aqmask_show()
279 rc = ap_parse_mask_str(buf, zcdndev->perms.aqm, in aqmask_store()
[all …]
/drivers/soc/qcom/
Drmtfs_mem.c33 unsigned int perms; member
174 struct qcom_scm_vmperm perms[2]; in qcom_rmtfs_mem_probe() local
239 perms[0].vmid = QCOM_SCM_VMID_HLOS; in qcom_rmtfs_mem_probe()
240 perms[0].perm = QCOM_SCM_PERM_RW; in qcom_rmtfs_mem_probe()
241 perms[1].vmid = vmid; in qcom_rmtfs_mem_probe()
242 perms[1].perm = QCOM_SCM_PERM_RW; in qcom_rmtfs_mem_probe()
244 rmtfs_mem->perms = BIT(QCOM_SCM_VMID_HLOS); in qcom_rmtfs_mem_probe()
246 &rmtfs_mem->perms, perms, 2); in qcom_rmtfs_mem_probe()
270 if (rmtfs_mem->perms) { in qcom_rmtfs_mem_remove()
275 &rmtfs_mem->perms, &perm, 1); in qcom_rmtfs_mem_remove()
/drivers/infiniband/sw/siw/
Dsiw_mem.c106 mem->perms = rights & IWARP_ACCESS_MASK; in siw_mr_add_mem()
169 enum ib_access_flags perms, int len) in siw_check_mem() argument
182 if ((mem->perms & perms) < perms) { in siw_check_mem()
184 mem->perms, perms); in siw_check_mem()
223 enum ib_access_flags perms, u32 off, int len) in siw_check_sge() argument
248 rv = siw_check_mem(pd, *mem, sge->laddr + off, perms, len); in siw_check_sge()
Dsiw_mem.h17 enum ib_access_flags perms, int len);
19 struct siw_mem *mem[], enum ib_access_flags perms,
Dsiw_qp_tx.c762 enum ib_access_flags perms) in siw_check_sgl_tx() argument
775 int rv = siw_check_sge(pd, sge, &wqe->mem[i], perms, 0, in siw_check_sgl_tx()
966 mem->perms = sqe->access; in siw_fastreg_mr()
Dsiw.h155 enum ib_access_flags perms; /* local/remote READ & WRITE */ member
/drivers/net/wireless/rsi/
Drsi_debugfs.h36 umode_t perms; member
Drsi_91x_debugfs.c304 files->perms, in rsi_init_dbgfs()
/drivers/usb/gadget/function/
Df_fs.c1386 struct ffs_file_perms *perms) in ffs_sb_make_inode() argument
1398 inode->i_mode = perms->mode; in ffs_sb_make_inode()
1399 inode->i_uid = perms->uid; in ffs_sb_make_inode()
1400 inode->i_gid = perms->gid; in ffs_sb_make_inode()
1446 struct ffs_file_perms perms; member
1471 data->perms.mode = data->root_mode; in ffs_sb_fill()
1475 &data->perms); in ffs_sb_fill()
1527 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param()
1531 data->perms.mode = (result.uint_32 & 0666) | S_IFREG; in ffs_fs_parse_param()
1535 data->perms.uid = make_kuid(current_user_ns(), result.uint_32); in ffs_fs_parse_param()
[all …]
/drivers/misc/lkdtm/
DMakefile7 lkdtm-$(CONFIG_LKDTM) += perms.o
/drivers/remoteproc/
Dqcom_q6v5_mss.c390 int perms = 0; in q6v5_xfer_mem_ownership() local
400 next[perms].vmid = QCOM_SCM_VMID_HLOS; in q6v5_xfer_mem_ownership()
401 next[perms].perm = QCOM_SCM_PERM_RWX; in q6v5_xfer_mem_ownership()
402 perms++; in q6v5_xfer_mem_ownership()
406 next[perms].vmid = QCOM_SCM_VMID_MSS_MSA; in q6v5_xfer_mem_ownership()
407 next[perms].perm = QCOM_SCM_PERM_RW; in q6v5_xfer_mem_ownership()
408 perms++; in q6v5_xfer_mem_ownership()
412 current_perm, next, perms); in q6v5_xfer_mem_ownership()
/drivers/infiniband/hw/cxgb4/
Dmem.c415 mhp->attr.perms : 0, in register_mem()
476 mhp->attr.perms = c4iw_ib_to_tpt_access(acc); in c4iw_get_dma_mr()
485 FW_RI_STAG_NSMR, mhp->attr.perms, in c4iw_get_dma_mr()
589 mhp->attr.perms = c4iw_ib_to_tpt_access(acc); in c4iw_reg_user_mr()
Diw_cxgb4.h380 enum fw_ri_mem_perms perms; member
/drivers/scsi/cxlflash/
Dsuperpipe.c826 void *ctx, int ctxid, struct file *file, u32 perms, in init_context() argument
831 ctxi->rht_perms = perms; in init_context()
1327 u32 perms; in cxlflash_disk_attach() local
1441 perms = SISL_RHT_PERM(attach->hdr.flags + 1); in cxlflash_disk_attach()
1444 init_context(ctxi, cfg, ctx, ctxid, file, perms, irqs); in cxlflash_disk_attach()
Dvlun.c1204 u32 perms; in cxlflash_disk_clone() local
1276 perms = ctxi_dst->rht_perms; in cxlflash_disk_clone()
1299 SISL_RHT_FP_CLONE(ctxi_src->rht_start[i].fp, perms); in cxlflash_disk_clone()