Home
last modified time | relevance | path

Searched refs:size_index (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/mm/
Dslab_common.c692 static u8 size_index[24] __ro_after_init = { variable
736 index = size_index[size_index_elem(size)]; in kmalloc_slab()
870 if (elem >= ARRAY_SIZE(size_index)) in setup_kmalloc_cache_index_table()
872 size_index[elem] = KMALLOC_SHIFT_LOW; in setup_kmalloc_cache_index_table()
881 size_index[size_index_elem(i)] = 7; in setup_kmalloc_cache_index_table()
892 size_index[size_index_elem(i)] = 8; in setup_kmalloc_cache_index_table()
/linux-6.6.21/arch/x86/pci/
Dmmconfig-shared.c272 int start, size_index, end; in pci_mmcfg_nvidia_mcp55() local
287 size_index = (extcfg & extcfg_size_mask) >> extcfg_size_shift; in pci_mmcfg_nvidia_mcp55()
288 base = extcfg & extcfg_base_mask[size_index]; in pci_mmcfg_nvidia_mcp55()
292 end = start + extcfg_sizebus[size_index] - 1; in pci_mmcfg_nvidia_mcp55()
/linux-6.6.21/kernel/bpf/
Dmemalloc.c39 static u8 size_index[24] __ro_after_init = { variable
72 return size_index[(size - 1) / 8] - 1; in bpf_mem_cache_idx()