Home
last modified time | relevance | path

Searched +defs:access +defs:key (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.14.4/drivers/infiniband/sw/rxe/
Drxe_mr.c18 u8 key; in rxe_get_next_key() local
48 static void rxe_mr_init(int access, struct rxe_mr *mr) in rxe_mr_init()
50 u32 key = mr->elem.index << 8 | rxe_get_next_key(-1); in rxe_mr_init() local
67 void rxe_mr_init_dma(int access, struct rxe_mr *mr) in rxe_mr_init_dma()
130 int access, struct rxe_mr *mr) in rxe_mr_init_user()
334 int access, in copy_data()
616 struct rxe_mr *lookup_mr(struct rxe_pd *pd, int access, u32 key, in lookup_mr()
638 int rxe_invalidate_mr(struct rxe_qp *qp, u32 key) in rxe_invalidate_mr()
691 u32 key = wqe->wr.wr.reg.key; in rxe_reg_fast_mr() local
692 u32 access = wqe->wr.wr.reg.access; in rxe_reg_fast_mr() local
Drxe_mw.c51 struct rxe_mw *mw, struct rxe_mr *mr, int access) in rxe_check_bind_mw()
136 struct rxe_mw *mw, struct rxe_mr *mr, int access) in rxe_do_bind_mw()
138 u32 key = wqe->wr.wr.mw.rkey & 0xff; in rxe_do_bind_mw() local
172 int access = wqe->wr.wr.mw.access; in rxe_bind_mw() local
290 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw()
/linux-6.14.4/drivers/infiniband/hw/mthca/
Dmthca_mr.c53 __be32 key; member
388 static inline u32 tavor_key_to_hw_index(u32 key) in tavor_key_to_hw_index()
398 static inline u32 arbel_key_to_hw_index(u32 key) in arbel_key_to_hw_index()
411 static inline u32 key_to_hw_index(struct mthca_dev *dev, u32 key) in key_to_hw_index()
419 static inline u32 adjust_key(struct mthca_dev *dev, u32 key) in adjust_key()
428 u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) in mthca_mr_alloc()
432 u32 key; in mthca_mr_alloc() local
510 u32 access, struct mthca_mr *mr) in mthca_mr_alloc_notrans()
519 u32 access, struct mthca_mr *mr) in mthca_mr_alloc_phys()
/linux-6.14.4/fs/afs/
Dsecurity.c25 struct key *key; in afs_request_key() local
53 struct key *key; in afs_request_key_rcu() local
143 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, in afs_cache_permit()
303 static bool afs_check_permit_rcu(struct afs_vnode *vnode, struct key *key, in afs_check_permit_rcu()
342 int afs_check_permit(struct afs_vnode *vnode, struct key *key, in afs_check_permit()
402 afs_access_t access; in afs_permission() local
403 struct key *key; in afs_permission() local
Dflock.c114 struct key *key = vnode->lock_key; in afs_next_locker() local
191 static int afs_set_lock(struct afs_vnode *vnode, struct key *key, in afs_set_lock()
223 static int afs_extend_lock(struct afs_vnode *vnode, struct key *key) in afs_extend_lock()
254 static int afs_release_lock(struct afs_vnode *vnode, struct key *key) in afs_release_lock()
285 struct key *key; in afs_lock_work() local
411 static int afs_do_setlk_check(struct afs_vnode *vnode, struct key *key, in afs_do_setlk_check()
414 afs_access_t access; in afs_do_setlk_check() local
457 struct key *key = afs_file_key(file); in afs_do_setlk() local
725 struct key *key = afs_file_key(file); in afs_do_getlk() local
Dinternal.h62 struct key *key; /* key to use for secure mounting */ member
136 struct key *key; /* security for this call */ member
223 struct key *key; member
231 struct key *key; /* The key this file was opened with */ member
759 struct key *key; /* RxRPC ticket holding a security context */ member
760 afs_access_t access; /* CallerAccess value for this key */ member
795 struct key *key; /* Key for the server */ member
861 struct key *key; /* Key for the cell */ member
/linux-6.14.4/drivers/infiniband/core/
Duverbs_uapi.c16 static void *uapi_add_elm(struct uverbs_api *uapi, u32 key, size_t alloc_size) in uapi_add_elm()
36 static void *uapi_add_get_elm(struct uverbs_api *uapi, u32 key, in uapi_add_get_elm()
147 u8 access = attr->attr.u2.objs_arr.access; in uapi_merge_method() local
383 u8 access = elm->spec.u.obj.access; in uapi_finalize_ioctl_method() local
509 static void uapi_key_okay(u32 key) in uapi_key_okay()
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx4/
Dmr.c271 static u32 key_to_hw_index(u32 key) in key_to_hw_index()
297 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_get_mpt() local
360 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_write_mpt() local
407 u32 access) in mlx4_mr_hw_change_access()
418 u64 iova, u64 size, u32 access, int npages, in mlx4_mr_alloc_reserved()
527 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, in mlx4_mr_alloc()
/linux-6.14.4/security/landlock/
Druleset.h35 access_mask_t access; member
77 union landlock_key key; member
99 union landlock_key key; member
/linux-6.14.4/include/linux/
Dbpf-cgroup.h96 struct bpf_cgroup_storage_key key; member
358 #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(atype, major, minor, access) \ argument
479 static inline int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, in bpf_percpu_cgroup_storage_copy()
484 void *key, void *value, u64 flags) { in bpf_percpu_cgroup_storage_update()
511 #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(atype, major, minor, access) ({ 0; }) argument
/linux-6.14.4/arch/arm64/kvm/
Dsys_regs.h70 bool (*access)(struct kvm_vcpu *, member
198 static inline int match_sys_reg(const void *key, const void *elt) in match_sys_reg()
/linux-6.14.4/include/rdma/
Duverbs_ioctl.h73 u8 access; member
100 u8 access; member
174 static inline __attribute_const__ bool uapi_key_is_object(u32 key) in uapi_key_is_object()
216 static inline __attribute_const__ bool uapi_key_is_ioctl_method(u32 key) in uapi_key_is_ioctl_method()
224 static inline __attribute_const__ bool uapi_key_is_write_method(u32 key) in uapi_key_is_write_method()
229 static inline __attribute_const__ bool uapi_key_is_write_ex_method(u32 key) in uapi_key_is_write_ex_method()
265 static inline __attribute_const__ bool uapi_key_is_attr(u32 key) in uapi_key_is_attr()
/linux-6.14.4/include/uapi/rdma/
Drdma_user_rxe.h119 __u32 access; member
128 __u32 key; member
129 __u32 access; member
/linux-6.14.4/tools/testing/selftests/alsa/
Dpcm-test.c154 char name[32], key[64]; in find_pcms() local
293 snd_pcm_access_t access = SND_PCM_ACCESS_RW_INTERLEAVED; in test_pcm_time() local
/linux-6.14.4/drivers/vhost/
Dvhost.c165 void *key) in vhost_poll_wakeup()
1433 static bool umem_access_ok(u64 uaddr, u64 size, int access) in umem_access_ok()
1646 static int vhost_iotlb_miss(struct vhost_virtqueue *vq, u64 iova, int access) in vhost_iotlb_miss()
1693 int access = (type == VHOST_ADDR_USED) ? in vhost_vq_meta_update() local
1701 int access, u64 addr, u64 len, int type) in iotlb_access_ok()
2415 struct iovec iov[], int iov_size, int access) in translate_desc()
2485 int ret, access; in get_indirect() local
2585 int ret, access; in vhost_get_vq_desc() local
/linux-6.14.4/drivers/infiniband/sw/rdmavt/
Dmr.c614 int rvt_fast_reg_mr(struct rvt_qp *qp, struct ib_mr *ibmr, u32 key, in rvt_fast_reg_mr()
615 int access) in rvt_fast_reg_mr()
/linux-6.14.4/drivers/infiniband/hw/irdma/
Dverbs.c2244 static inline u16 irdma_get_mr_access(int access) in irdma_get_mr_access()
2787 u16 access) in irdma_hwreg_mr()
2843 static int irdma_reg_user_mr_type_mem(struct irdma_mr *iwmr, int access, in irdma_reg_user_mr_type_mem()
3019 u64 virt, int access, in irdma_reg_user_mr()
3087 int fd, int access, in irdma_reg_user_mr_dmabuf()
3289 struct ib_mr *irdma_reg_phys_mr(struct ib_pd *pd, u64 addr, u64 size, int access, in irdma_reg_phys_mr()
4528 u32 key = new_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_ah_exists() local
4613 u32 key = parent_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_create_user_ah() local
/linux-6.14.4/security/smack/
Dsmack_lsm.c2190 static int smk_curacc_on_task(struct task_struct *p, int access, in smk_curacc_on_task()
3132 static int smk_curacc_shm(struct kern_ipc_perm *isp, int access) in smk_curacc_shm()
3221 static int smk_curacc_sem(struct kern_ipc_perm *isp, int access) in smk_curacc_sem()
3316 static int smk_curacc_msq(struct kern_ipc_perm *isp, int access) in smk_curacc_msq()
4482 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc()
4576 static int smack_key_getsecurity(struct key *key, char **_buffer) in smack_key_getsecurity()
4606 static int smack_watch_key(struct key *key) in smack_watch_key()
/linux-6.14.4/arch/x86/kvm/
Dx86.c7538 gpa_t translate_nested_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u64 access, in translate_nested_gpa()
7558 u64 access = (kvm_x86_call(get_cpl)(vcpu) == 3) ? PFERR_USER_MASK : 0; in kvm_mmu_gva_to_gpa_read() local
7568 u64 access = (kvm_x86_call(get_cpl)(vcpu) == 3) ? PFERR_USER_MASK : 0; in kvm_mmu_gva_to_gpa_write() local
7584 struct kvm_vcpu *vcpu, u64 access, in kvm_read_guest_virt_helper()
7621 u64 access = (kvm_x86_call(get_cpl)(vcpu) == 3) ? PFERR_USER_MASK : 0; in kvm_fetch_guest_virt() local
7646 u64 access = (kvm_x86_call(get_cpl)(vcpu) == 3) ? PFERR_USER_MASK : 0; in kvm_read_guest_virt() local
7665 u64 access = 0; in emulator_read_std() local
7676 struct kvm_vcpu *vcpu, u64 access, in kvm_write_guest_virt_helper()
7710 u64 access = PFERR_WRITE_MASK; in emulator_write_std() local
7786 u64 access = ((kvm_x86_call(get_cpl)(vcpu) == 3) ? PFERR_USER_MASK : 0) in vcpu_mmio_gva_to_gpa() local
[all …]
/linux-6.14.4/sound/pci/hda/
Dhda_local.h135 #define snd_hda_add_vmaster(codec, name, tlv, followers, suffix, access) \ argument
596 const char *snd_hda_get_hint(struct hda_codec *codec, const char *key) in snd_hda_get_hint()
602 int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key) in snd_hda_get_bool_hint()
608 int snd_hda_get_int_hint(struct hda_codec *codec, const char *key, int *valp) in snd_hda_get_int_hint()
/linux-6.14.4/drivers/infiniband/hw/mlx5/
Dwr.c191 u32 key, int access) in set_reg_mkey_seg()
Ddevx.c1328 u8 key; in devx_handle_mkey_indirect() local
2269 int access) in devx_umem_reg_cmd_alloc()
/linux-6.14.4/drivers/net/dsa/sja1105/
Dsja1105.h211 struct sja1105_key key; member
289 u64 access; member
/linux-6.14.4/drivers/net/ethernet/intel/ice/
Dice_common.c1890 enum ice_aq_res_access_type access, u8 sdp_number, u32 *timeout, in ice_aq_req_res()
1985 enum ice_aq_res_access_type access, u32 timeout) in ice_acquire_res()
4372 struct ice_aqc_get_set_rss_keys *key, bool set) in __ice_aq_get_set_rss_key()
4401 struct ice_aqc_get_set_rss_keys *key) in ice_aq_get_rss_key()
/linux-6.14.4/kernel/bpf/
Dcgroup.c230 struct bpf_cgroup_storage_key key; in bpf_cgroup_storages_alloc() local
1550 short access, enum cgroup_bpf_attach_type atype) in __cgroup_bpf_check_dev_permission()

12