Searched refs:UVM_AMAP_CHUNK (Results 1 – 2 of 2) sorted by relevance
231 #define UVM_AMAP_CHUNK 16 /* # of slots to chunk large amaps in */ macro233 #define UVM_AMAP_SMALL(amap) ((amap)->am_nslot <= UVM_AMAP_CHUNK)234 #define UVM_AMAP_SLOTIDX(slot) ((slot) % UVM_AMAP_CHUNK)236 (((slot) / UVM_AMAP_CHUNK) >> (amap)->am_hashshift)256 (((slot) / UVM_AMAP_CHUNK) * UVM_AMAP_CHUNK)
54 struct pool uvm_small_amap_pool[UVM_AMAP_CHUNK];62 static char amap_small_pool_names[UVM_AMAP_CHUNK][9];136 if (amap->am_nslot - baseslot >= UVM_AMAP_CHUNK) in amap_chunk_get()137 n = UVM_AMAP_CHUNK; in amap_chunk_get()277 UVM_AMAP_CHUNK * sizeof(struct vm_anon *), in amap_init()302 chunks = roundup((unsigned int)slots, UVM_AMAP_CHUNK) / UVM_AMAP_CHUNK; in amap_alloc1()339 if (slots > UVM_AMAP_CHUNK) in amap_alloc1()376 n = slots % UVM_AMAP_CHUNK; in amap_alloc1()378 n = UVM_AMAP_CHUNK; in amap_alloc1()380 n = UVM_AMAP_CHUNK; in amap_alloc1()[all …]