Lines Matching defs:nesucontext
781 struct nes_ucontext *nesucontext;
808 nesucontext = to_nesucontext(context);
809 nespd->mmap_db_index = find_next_zero_bit(nesucontext->allocated_doorbells,
810 NES_MAX_USER_DB_REGIONS, nesucontext->first_free_db);
828 set_bit(nespd->mmap_db_index, nesucontext->allocated_doorbells);
829 nesucontext->mmap_db_index[nespd->mmap_db_index] = nespd->pd_id;
830 nesucontext->first_free_db = nespd->mmap_db_index + 1;
843 struct nes_ucontext *nesucontext;
850 nesucontext = to_nesucontext(ibpd->uobject->context);
853 clear_bit(nespd->mmap_db_index, nesucontext->allocated_doorbells);
854 nesucontext->mmap_db_index[nespd->mmap_db_index] = 0;
855 if (nesucontext->first_free_db > nespd->mmap_db_index) {
856 nesucontext->first_free_db = nespd->mmap_db_index;