/linux-master/usr/include/ |
H A D | Makefile | 67 no-header-test += asm/uctx.h
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | device.c | 748 struct c4iw_dev_ucontext *uctx) 753 mutex_lock(&uctx->lock); 754 list_for_each_safe(pos, nxt, &uctx->qpids) { 767 list_for_each_safe(pos, nxt, &uctx->cqids) { 772 mutex_unlock(&uctx->lock); 776 struct c4iw_dev_ucontext *uctx) 778 INIT_LIST_HEAD(&uctx->qpids); 779 INIT_LIST_HEAD(&uctx->cqids); 780 mutex_init(&uctx->lock); 789 c4iw_init_dev_ucontext(rdev, &rdev->uctx); 747 c4iw_release_dev_ucontext(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) argument 775 c4iw_init_dev_ucontext(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) argument [all...] |
H A D | provider.c | 73 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); 87 c4iw_init_dev_ucontext(&rhp->rdev, &context->uctx);
|
/linux-master/net/xfrm/ |
H A D | xfrm_user.c | 117 struct xfrm_user_sec_ctx *uctx; local 122 uctx = nla_data(rt); 123 if (uctx->len > nla_len(rt) || 124 uctx->len != (sizeof(struct xfrm_user_sec_ctx) + uctx->ctx_len)) { 928 struct xfrm_user_sec_ctx *uctx; local 930 int ctx_size = sizeof(*uctx) + s->ctx_len; 936 uctx = nla_data(attr); 937 uctx->exttype = XFRMA_SEC_CTX; 938 uctx 1747 struct xfrm_user_sec_ctx *uctx; local 2327 struct xfrm_user_sec_ctx *uctx = nla_data(rt); local 2639 struct xfrm_user_sec_ctx *uctx = nla_data(rt); local [all...] |
H A D | xfrm_state.c | 1634 struct xfrm_user_sec_ctx *uctx; local 1635 int size = sizeof(*uctx) + security->ctx_len; 1638 uctx = kmalloc(size, GFP_KERNEL); 1639 if (!uctx) 1642 uctx->exttype = XFRMA_SEC_CTX; 1643 uctx->len = size; 1644 uctx->ctx_doi = security->ctx_doi; 1645 uctx->ctx_alg = security->ctx_alg; 1646 uctx->ctx_len = security->ctx_len; 1647 memcpy(uctx [all...] |
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.c | 308 * @uctx: the uverbs countext 313 int pvrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) argument 315 struct ib_device *ibdev = uctx->device; 317 struct pvrdma_ucontext *context = to_vucontext(uctx);
|
H A D | pvrdma_verbs.h | 364 int pvrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
|
/linux-master/security/ |
H A D | security.c | 776 * @uctx: a userspace LSM context to be filled 777 * @uctx_len: available uctx size (input), used uctx size (output) 783 * Fill all of the fields in a userspace lsm_ctx structure. If @uctx is NULL 790 int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, u32 *uctx_len, argument 805 if (!uctx) 819 if (copy_to_user(uctx, nctx, nctx_len)) 3926 * @uctx: the user-space destination for the information, or NULL 3932 * A NULL value for @uctx can be used to get both the number of attributes 3939 int security_getselfattr(unsigned int attr, struct lsm_ctx __user *uctx, argument 4032 security_setselfattr(unsigned int attr, struct lsm_ctx __user *uctx, u32 size, u32 flags) argument [all...] |
/linux-master/drivers/infiniband/hw/qedr/ |
H A D | verbs.c | 261 int qedr_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) argument 263 struct ib_device *ibdev = uctx->device; 265 struct qedr_ucontext *ctx = get_qedr_ucontext(uctx); 310 rc = rdma_user_mmap_entry_insert(uctx, &entry->rdma_entry, 367 struct qedr_ucontext *uctx = get_qedr_ucontext(ibctx); local 369 DP_DEBUG(uctx->dev, QEDR_MSG_INIT, "Deallocating user context %p\n", 370 uctx); 372 rdma_user_mmap_entry_remove(uctx->db_mmap_entry); 472 pd->uctx = context; 473 pd->uctx 747 struct qedr_ucontext *uctx = local [all...] |
H A D | qedr.h | 310 struct qedr_ucontext *uctx; member in struct:qedr_pd
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 286 static int mthca_alloc_ucontext(struct ib_ucontext *uctx, argument 289 struct ib_device *ibdev = uctx->device; 291 struct mthca_ucontext *context = to_mucontext(uctx);
|
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma.h | 346 struct ocrdma_ucontext *uctx; member in struct:ocrdma_pd
|
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | vt.c | 242 * @uctx: Verbs context 245 static int rvt_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) argument
|
/linux-master/drivers/vdpa/mlx5/core/ |
H A D | resources.c | 71 MLX5_SET(create_uctx_in, in, uctx.cap, MLX5_UCTX_CAP_RAW_TX);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | devx.c | 116 void *uctx; local 125 uctx = MLX5_ADDR_OF(create_uctx_in, in, uctx); 135 MLX5_SET(uctx, uctx, cap, cap);
|
H A D | main.c | 1799 static int set_ucontext_resp(struct ib_ucontext *uctx, argument 1802 struct ib_device *ibdev = uctx->device; 1804 struct mlx5_ib_ucontext *context = to_mucontext(uctx); 1877 static int mlx5_ib_alloc_ucontext(struct ib_ucontext *uctx, argument 1880 struct ib_device *ibdev = uctx->device; 1884 struct mlx5_ib_ucontext *context = to_mucontext(uctx); 1973 err = set_ucontext_resp(uctx, &resp);
|
/linux-master/include/linux/ |
H A D | security.h | 510 int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, u32 *uctx_len, 1480 static inline int lsm_fill_user_ctx(struct lsm_ctx __user *uctx, argument
|
/linux-master/arch/sparc/kernel/ |
H A D | signal_64.c | 29 #include <asm/uctx.h>
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 1093 static int mlx4_ib_alloc_ucontext(struct ib_ucontext *uctx, argument 1096 struct ib_device *ibdev = uctx->device; 1098 struct mlx4_ib_ucontext *context = to_mucontext(uctx);
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 264 * @uctx: uverbs context pointer 270 static int irdma_alloc_ucontext(struct ib_ucontext *uctx, argument 275 struct ib_device *ibdev = uctx->device; 279 struct irdma_ucontext *ucontext = to_ucontext(uctx);
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 4480 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, local 4600 (uctx->config & HNS_ROCE_RQ_INLINE_FLAGS)) { 4609 (uctx->config & HNS_ROCE_CQE_INLINE_FLAGS)) {
|
/linux-master/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 11794 struct mlx5_ifc_uctx_bits uctx; member in struct:mlx5_ifc_create_uctx_in_bits
|