Searched refs:mmap_db_index (Results 1 – 3 of 3) sorted by relevance
70 __u32 mmap_db_index; member100 __u32 mmap_db_index; member
54 u16 mmap_db_index[NES_MAX_USER_DB_REGIONS]; member69 u16 mmap_db_index; member
762 ((nes_ucontext->mmap_db_index[index] - nesdev->base_doorbell_index) * 4096)) in nes_mmap()811 nespd->mmap_db_index = find_next_zero_bit(nesucontext->allocated_doorbells, in nes_alloc_pd()814 nespd->mmap_db_index, nespd->pd_id); in nes_alloc_pd()815 if (nespd->mmap_db_index >= NES_MAX_USER_DB_REGIONS) { in nes_alloc_pd()823 uresp.mmap_db_index = nespd->mmap_db_index; in nes_alloc_pd()830 set_bit(nespd->mmap_db_index, nesucontext->allocated_doorbells); in nes_alloc_pd()831 nesucontext->mmap_db_index[nespd->mmap_db_index] = nespd->pd_id; in nes_alloc_pd()832 nesucontext->first_free_db = nespd->mmap_db_index + 1; in nes_alloc_pd()854 nespd->mmap_db_index); in nes_dealloc_pd()855 clear_bit(nespd->mmap_db_index, nesucontext->allocated_doorbells); in nes_dealloc_pd()[all …]