Searched refs:PCPU_MIN_ALLOC_SIZE (Results 1 – 3 of 3) sorted by relevance
131 return pages * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_nr_pages_to_map_bits()159 extra_size += size / PCPU_MIN_ALLOC_SIZE * sizeof(struct obj_cgroup *); in pcpu_obj_full_size()
54 * Each bit represents a fragment of size PCPU_MIN_ALLOC_SIZE. The chunk246 if (chunk->free_bytes < PCPU_MIN_ALLOC_SIZE || in pcpu_chunk_slot() 250 return pcpu_size_to_slot(chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in pcpu_chunk_slot() 1078 start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated() 1079 end = PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated() 1087 *next_off = end * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE; in pcpu_is_populated() 1249 chunk->free_bytes -= alloc_bits * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area() 1262 return bit_off * PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_area() 1285 bit_off = off / PCPU_MIN_ALLOC_SIZE; in pcpu_free_area() 1298 freed = bits * PCPU_MIN_ALLOC_SIZE; in pcpu_free_area() [all...]
28 #define PCPU_MIN_ALLOC_SIZE (1 << PCPU_MIN_ALLOC_SHIFT) macro