Lines Matching defs:context
62 static void c4iw_dealloc_ucontext(struct ib_ucontext *context)
64 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context);
68 pr_debug("context %p\n", context);
80 struct c4iw_ucontext *context = to_c4iw_ucontext(ucontext);
87 c4iw_init_dev_ucontext(&rhp->rdev, &context->uctx);
88 INIT_LIST_HEAD(&context->mmaps);
89 spin_lock_init(&context->mmap_lock);
103 spin_lock(&context->mmap_lock);
104 uresp.status_page_key = context->key;
105 context->key += PAGE_SIZE;
106 spin_unlock(&context->mmap_lock);
116 insert_mmap(context, mm);
125 static int c4iw_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
141 rdev = &(to_c4iw_dev(context->device)->rdev);
142 ucontext = to_c4iw_ucontext(context);