Searched refs:gapsize (Results 1 – 2 of 2) sorted by relevance
621 static int __init e820_search_gap(unsigned long *gapstart, unsigned long *gapsize) in e820_search_gap() argument638 if (gap >= *gapsize) { in e820_search_gap()639 *gapsize = gap; in e820_search_gap()660 unsigned long gapstart, gapsize; in e820__setup_pci_gap() local663 gapsize = 0x400000; in e820__setup_pci_gap()664 found = e820_search_gap(&gapstart, &gapsize); in e820__setup_pci_gap()682 gapstart, gapstart + gapsize - 1); in e820__setup_pci_gap()
173 #define OS_MEM_GET_ALIGNED_GAPSIZE(gapsize) \ argument174 ((gapsize) & ~OS_MEM_GAPSIZE_ALIGNED_FLAG)175 #define OS_MEM_GET_GAPSIZE_ALIGNED_FLAG(gapsize) \ argument176 ((gapsize) & OS_MEM_GAPSIZE_ALIGNED_FLAG)177 #define OS_MEM_SET_GAPSIZE_ALIGNED_FLAG(gapsize) \ argument178 (gapsize) = ((gapsize) | OS_MEM_GAPSIZE_ALIGNED_FLAG)179 #define OS_MEM_GET_GAPSIZE_USED_FLAG(gapsize) \ argument180 ((gapsize) & OS_MEM_GAPSIZE_USED_FLAG)181 #define OS_MEM_GAPSIZE_CHECK(gapsize) \ argument182 (OS_MEM_GET_GAPSIZE_ALIGNED_FLAG(gapsize) && \[all …]