/linux-2.6.39/arch/s390/include/asm/ |
D | ucontext.h | 18 struct ucontext *uc_link; 27 struct ucontext { struct 29 struct ucontext *uc_link; argument
|
/linux-2.6.39/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 204 static inline struct iwch_mm_entry *remove_mmap(struct iwch_ucontext *ucontext, in remove_mmap() argument 210 spin_lock(&ucontext->mmap_lock); in remove_mmap() 211 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 216 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 222 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 226 static inline void insert_mmap(struct iwch_ucontext *ucontext, in insert_mmap() argument 229 spin_lock(&ucontext->mmap_lock); in insert_mmap() 232 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap() 233 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
D | iwch_provider.c | 105 struct iwch_ucontext *ucontext = to_iwch_ucontext(context); in iwch_dealloc_ucontext() local 109 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in iwch_dealloc_ucontext() 111 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); in iwch_dealloc_ucontext() 112 kfree(ucontext); in iwch_dealloc_ucontext() 156 struct iwch_ucontext *ucontext = NULL; in iwch_create_cq() local 167 ucontext = to_iwch_ucontext(ib_context); in iwch_create_cq() 193 if (cxio_create_cq(&rhp->rdev, &chp->cq, !ucontext)) { in iwch_create_cq() 208 if (ucontext) { in iwch_create_cq() 218 spin_lock(&ucontext->mmap_lock); in iwch_create_cq() 219 uresp.key = ucontext->key; in iwch_create_cq() [all …]
|
/linux-2.6.39/drivers/infiniband/core/ |
D | uverbs_cmd.c | 266 struct ib_ucontext *ucontext; in ib_uverbs_get_context() local 278 if (file->ucontext) { in ib_uverbs_get_context() 287 ucontext = ibdev->alloc_ucontext(ibdev, &udata); in ib_uverbs_get_context() 288 if (IS_ERR(ucontext)) { in ib_uverbs_get_context() 289 ret = PTR_ERR(ucontext); in ib_uverbs_get_context() 293 ucontext->device = ibdev; in ib_uverbs_get_context() 294 INIT_LIST_HEAD(&ucontext->pd_list); in ib_uverbs_get_context() 295 INIT_LIST_HEAD(&ucontext->mr_list); in ib_uverbs_get_context() 296 INIT_LIST_HEAD(&ucontext->mw_list); in ib_uverbs_get_context() 297 INIT_LIST_HEAD(&ucontext->cq_list); in ib_uverbs_get_context() [all …]
|
/linux-2.6.39/arch/sparc/include/asm/ |
D | uctx.h | 63 struct ucontext { struct 64 struct ucontext *uc_link; argument 69 typedef struct ucontext ucontext_t; argument
|
/linux-2.6.39/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 733 struct c4iw_ucontext *ucontext; in c4iw_destroy_cq() local 742 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq() 745 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx); in c4iw_destroy_cq() 757 struct c4iw_ucontext *ucontext = NULL; in c4iw_create_cq() local 771 ucontext = to_c4iw_ucontext(ib_context); in c4iw_create_cq() 801 if (ucontext) { in c4iw_create_cq() 809 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_cq() 823 if (ucontext) { in c4iw_create_cq() 835 spin_lock(&ucontext->mmap_lock); in c4iw_create_cq() 836 uresp.key = ucontext->key; in c4iw_create_cq() [all …]
|
D | qp.c | 1335 struct c4iw_ucontext *ucontext; in c4iw_destroy_qp() local 1348 ucontext = ib_qp->uobject ? in c4iw_destroy_qp() 1351 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_destroy_qp() 1368 struct c4iw_ucontext *ucontext; in c4iw_create_qp() local 1395 ucontext = pd->uobject ? to_c4iw_ucontext(pd->uobject->context) : NULL; in c4iw_create_qp() 1406 if (ucontext) { in c4iw_create_qp() 1415 ucontext ? &ucontext->uctx : &rhp->rdev.uctx); in c4iw_create_qp() 1485 spin_lock(&ucontext->mmap_lock); in c4iw_create_qp() 1487 uresp.ma_sync_key = ucontext->key; in c4iw_create_qp() 1488 ucontext->key += PAGE_SIZE; in c4iw_create_qp() [all …]
|
D | iw_cxgb4.h | 386 static inline struct c4iw_mm_entry *remove_mmap(struct c4iw_ucontext *ucontext, in remove_mmap() argument 392 spin_lock(&ucontext->mmap_lock); in remove_mmap() 393 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 398 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 404 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 408 static inline void insert_mmap(struct c4iw_ucontext *ucontext, in insert_mmap() argument 411 spin_lock(&ucontext->mmap_lock); in insert_mmap() 414 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap() 415 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
D | provider.c | 100 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context); in c4iw_dealloc_ucontext() local 104 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in c4iw_dealloc_ucontext() 106 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx); in c4iw_dealloc_ucontext() 107 kfree(ucontext); in c4iw_dealloc_ucontext() 134 struct c4iw_ucontext *ucontext; in c4iw_mmap() local 144 ucontext = to_c4iw_ucontext(context); in c4iw_mmap() 146 mm = remove_mmap(ucontext, key, len); in c4iw_mmap()
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/avr32/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext * uc_link; argument
|
/linux-2.6.39/arch/parisc/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/m32r/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/mn10300/include/asm/ |
D | ucontext.h | 14 struct ucontext { struct 16 struct ucontext *uc_link; argument
|
/linux-2.6.39/include/asm-generic/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/cris/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/frv/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/h8300/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/alpha/include/asm/ |
D | ucontext.h | 4 struct ucontext { struct 6 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/m68k/include/asm/ |
D | ucontext.h | 25 struct ucontext { struct 27 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | signal_64.c | 57 struct ucontext uc; 274 (sizeof(struct ucontext) - 32*sizeof(long)) 279 int sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() 280 struct ucontext __user *new_ctx, in sys_swapcontext() 301 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext() 305 if (ctx_size >= sizeof(struct ucontext)) in sys_swapcontext() 355 struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1]; in sys_rt_sigreturn()
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | ucontext.h | 20 struct ucontext { struct 22 struct ucontext __user *uc_link; argument
|
/linux-2.6.39/arch/x86/include/asm/ |
D | sigframe.h | 13 #define ucontext_ia32 ucontext 64 struct ucontext uc;
|
/linux-2.6.39/arch/arm/include/asm/ |
D | ucontext.h | 16 struct ucontext { struct 18 struct ucontext *uc_link; argument
|
/linux-2.6.39/arch/tile/include/asm/ |
D | sigframe.h | 28 struct ucontext uc;
|