| /kernel/linux/linux-5.10/drivers/infiniband/core/ |
| D | ib_core_uverbs.c | 67 int rdma_user_mmap_io(struct ib_ucontext *ucontext, struct vm_area_struct *vma, in rdma_user_mmap_io() argument 71 struct ib_uverbs_file *ufile = ucontext->ufile; in rdma_user_mmap_io() 117 rdma_user_mmap_entry_get_pgoff(struct ib_ucontext *ucontext, in rdma_user_mmap_entry_get_pgoff() argument 125 xa_lock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff() 127 entry = xa_load(&ucontext->mmap_xa, pgoff); in rdma_user_mmap_entry_get_pgoff() 138 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff() 140 ibdev_dbg(ucontext->device, "mmap: pgoff[%#lx] npages[%#zx] returned\n", in rdma_user_mmap_entry_get_pgoff() 146 xa_unlock(&ucontext->mmap_xa); in rdma_user_mmap_entry_get_pgoff() 161 rdma_user_mmap_entry_get(struct ib_ucontext *ucontext, in rdma_user_mmap_entry_get() argument 168 entry = rdma_user_mmap_entry_get_pgoff(ucontext, vma->vm_pgoff); in rdma_user_mmap_entry_get() [all …]
|
| D | uverbs_std_types_device.c | 182 struct ib_ucontext *ucontext; in UVERBS_HANDLER() local 186 ucontext = ib_uverbs_get_ucontext(attrs); in UVERBS_HANDLER() 187 if (IS_ERR(ucontext)) in UVERBS_HANDLER() 188 return PTR_ERR(ucontext); in UVERBS_HANDLER() 189 ib_dev = ucontext->device; in UVERBS_HANDLER() 244 struct ib_ucontext *ucontext; in UVERBS_HANDLER() local 249 ucontext = ib_uverbs_get_ucontext(attrs); in UVERBS_HANDLER() 250 if (IS_ERR(ucontext)) in UVERBS_HANDLER() 251 return PTR_ERR(ucontext); in UVERBS_HANDLER() 252 ib_dev = ucontext->device; in UVERBS_HANDLER() [all …]
|
| D | rdma_core.c | 272 struct ib_ucontext *ucontext = in alloc_uobj() local 275 if (IS_ERR(ucontext)) in alloc_uobj() 276 return ERR_CAST(ucontext); in alloc_uobj() 277 attrs->context = ucontext; in alloc_uobj() 817 struct ib_ucontext *ucontext = ufile->ucontext; in ufile_destroy_ucontext() local 818 struct ib_device *ib_dev = ucontext->device; in ufile_destroy_ucontext() 828 ib_dev->ops.disassociate_ucontext(ucontext); in ufile_destroy_ucontext() 831 ib_rdmacg_uncharge(&ucontext->cg_obj, ib_dev, in ufile_destroy_ucontext() 834 rdma_restrack_del(&ucontext->res); in ufile_destroy_ucontext() 836 ib_dev->ops.dealloc_ucontext(ucontext); in ufile_destroy_ucontext() [all …]
|
| /kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
| D | ucontext.h | 22 struct ucontext *uc_link; 31 struct ucontext { struct 33 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
| D | cq.c | 80 struct c4iw_ucontext *ucontext = NULL; in create_cq() local 83 ucontext = container_of(uctx, struct c4iw_ucontext, uctx); in create_cq() 106 if (user && ucontext->is_32b_cqe) { in create_cq() 148 ((user && ucontext->is_32b_cqe) ? in create_cq() 973 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local 982 ucontext = rdma_udata_to_drv_context(udata, struct c4iw_ucontext, in c4iw_destroy_cq() 985 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx, in c4iw_destroy_cq() 1004 struct c4iw_ucontext *ucontext = rdma_udata_to_drv_context( in c4iw_create_cq() local 1019 ucontext->is_32b_cqe = 1; in c4iw_create_cq() 1059 memsize = hwentries * ((ucontext && ucontext->is_32b_cqe) ? in c4iw_create_cq() [all …]
|
| D | qp.c | 2075 struct c4iw_ucontext *ucontext; in c4iw_destroy_qp() local 2080 ucontext = qhp->ucontext; in c4iw_destroy_qp() 2101 pr_debug("qhp %p ucontext %p\n", qhp, ucontext); in c4iw_destroy_qp() 2104 ucontext ? &ucontext->uctx : &rhp->rdev.uctx, !qhp->srq); in c4iw_destroy_qp() 2122 struct c4iw_ucontext *ucontext = rdma_udata_to_drv_context( in c4iw_create_qp() local 2179 if (ucontext) { in c4iw_create_qp() 2187 ucontext ? &ucontext->uctx : &rhp->rdev.uctx, in c4iw_create_qp() 2225 if (udata && ucontext) { in c4iw_create_qp() 2272 spin_lock(&ucontext->mmap_lock); in c4iw_create_qp() 2274 uresp.ma_sync_key = ucontext->key; in c4iw_create_qp() [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
| D | uctx.h | 64 struct ucontext { struct 65 struct ucontext *uc_link; argument 70 typedef struct ucontext ucontext_t; argument
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
| D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext * uc_link; argument
|
| /kernel/linux/linux-5.10/include/uapi/asm-generic/ |
| D | ucontext.h | 5 struct ucontext { struct 7 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/parisc/include/asm/ |
| D | ucontext.h | 5 struct ucontext { struct 7 struct ucontext *uc_link; argument
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
| D | ucontext.h | 8 struct ucontext { struct 10 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
| D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/alpha/include/asm/ |
| D | ucontext.h | 5 struct ucontext { struct 7 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/arm64/include/uapi/asm/ |
| D | ucontext.h | 22 struct ucontext { struct 24 struct ucontext *uc_link; argument
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ |
| D | ucontext.h | 22 struct ucontext { struct 24 struct ucontext * uc_link; argument
|
| /kernel/linux/linux-5.10/arch/riscv/include/uapi/asm/ |
| D | ucontext.h | 13 struct ucontext { struct 15 struct ucontext *uc_link; argument
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/ |
| D | ucontext.h | 9 struct ucontext { struct 11 struct ucontext *uc_link; argument
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-riscv/asm/ |
| D | ucontext.h | 22 struct ucontext { struct 24 struct ucontext * uc_link; argument
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
| D | ucontext.h | 32 struct ucontext { struct 34 struct ucontext * uc_link; argument
|
| /kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
| D | ucontext.h | 54 struct ucontext { struct 57 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | signal_32.c | 59 #define ucontext ucontext32 macro 68 (sizeof(struct ucontext) - sizeof(elf_vsrreghalf_t32)) 222 struct ucontext uc; 224 struct ucontext uc_transact; 848 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() 878 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() 879 struct ucontext __user *tm_ucp, in do_setcontext_tm() 907 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() 908 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() 910 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/include/asm/ |
| D | ucontext.h | 22 struct ucontext { struct 24 struct ucontext *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
| D | ucontext.h | 21 struct ucontext { struct 23 struct ucontext __user *uc_link; argument
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | sigframe.h | 13 #define ucontext_ia32 ucontext 61 struct ucontext uc;
|
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| D | ucontext.h | 18 struct ucontext { struct 20 struct ucontext *uc_link; argument
|