Lines Matching refs:idx
188 unsigned long idx, vec; in free_all_bootmem_core() local
191 idx = start - bdata->node_min_pfn; in free_all_bootmem_core()
192 shift = idx & (BITS_PER_LONG - 1); in free_all_bootmem_core()
197 vec = ~map[idx / BITS_PER_LONG]; in free_all_bootmem_core()
202 vec |= ~map[idx / BITS_PER_LONG + 1] << in free_all_bootmem_core()
291 unsigned long idx; in __free() local
300 for (idx = sidx; idx < eidx; idx++) in __free()
301 if (!test_and_clear_bit(idx, bdata->node_bootmem_map)) in __free()
308 unsigned long idx; in __reserve() local
317 for (idx = sidx; idx < eidx; idx++) in __reserve()
318 if (test_and_set_bit(idx, bdata->node_bootmem_map)) { in __reserve()
320 __free(bdata, sidx, idx); in __reserve()
324 idx + bdata->node_min_pfn); in __reserve()
471 unsigned long idx, unsigned long step) in align_idx() argument
480 return ALIGN(base + idx, step) - base; in align_idx()