Lines Matching defs:context
61 static void c4iw_dealloc_ucontext(struct ib_ucontext *context)
63 struct c4iw_ucontext *ucontext = to_c4iw_ucontext(context);
67 pr_debug("context %p\n", context);
79 struct c4iw_ucontext *context = to_c4iw_ucontext(ucontext);
86 c4iw_init_dev_ucontext(&rhp->rdev, &context->uctx);
87 INIT_LIST_HEAD(&context->mmaps);
88 spin_lock_init(&context->mmap_lock);
102 spin_lock(&context->mmap_lock);
103 uresp.status_page_key = context->key;
104 context->key += PAGE_SIZE;
105 spin_unlock(&context->mmap_lock);
115 insert_mmap(context, mm);
124 static int c4iw_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
140 rdev = &(to_c4iw_dev(context->device)->rdev);
141 ucontext = to_c4iw_ucontext(context);