Searched refs:nes_ucontext (Results 1 – 4 of 4) sorted by relevance
654 struct nes_ucontext *nes_ucontext; in nes_alloc_ucontext() local678 nes_ucontext = kzalloc(sizeof *nes_ucontext, GFP_KERNEL); in nes_alloc_ucontext()679 if (!nes_ucontext) in nes_alloc_ucontext()682 nes_ucontext->nesdev = nesdev; in nes_alloc_ucontext()683 nes_ucontext->mmap_wq_offset = uresp.max_pds; in nes_alloc_ucontext()684 nes_ucontext->mmap_cq_offset = nes_ucontext->mmap_wq_offset + in nes_alloc_ucontext()690 kfree(nes_ucontext); in nes_alloc_ucontext()694 INIT_LIST_HEAD(&nes_ucontext->cq_reg_mem_list); in nes_alloc_ucontext()695 INIT_LIST_HEAD(&nes_ucontext->qp_reg_mem_list); in nes_alloc_ucontext()696 atomic_set(&nes_ucontext->usecnt, 1); in nes_alloc_ucontext()[all …]
47 struct nes_ucontext { struct
456 static inline struct nes_ucontext *to_nesucontext(struct ib_ucontext *ibucontext) in to_nesucontext()458 return container_of(ibucontext, struct nes_ucontext, ibucontext); in to_nesucontext()
1230 struct nes_ucontext *mcrq_ucontext;