Home
last modified time | relevance | path

Searched refs:gapsize (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/
De820.c621 static int __init e820_search_gap(unsigned long *gapstart, unsigned long *gapsize) in e820_search_gap() argument
638 if (gap >= *gapsize) { in e820_search_gap()
639 *gapsize = gap; in e820_search_gap()
660 unsigned long gapstart, gapsize; in e820__setup_pci_gap() local
663 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()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c173 #define OS_MEM_GET_ALIGNED_GAPSIZE(gapsize) \ argument
174 ((gapsize) & ~OS_MEM_GAPSIZE_ALIGNED_FLAG)
175 #define OS_MEM_GET_GAPSIZE_ALIGNED_FLAG(gapsize) \ argument
176 ((gapsize) & OS_MEM_GAPSIZE_ALIGNED_FLAG)
177 #define OS_MEM_SET_GAPSIZE_ALIGNED_FLAG(gapsize) \ argument
178 (gapsize) = ((gapsize) | OS_MEM_GAPSIZE_ALIGNED_FLAG)
179 #define OS_MEM_GET_GAPSIZE_USED_FLAG(gapsize) \ argument
180 ((gapsize) & OS_MEM_GAPSIZE_USED_FLAG)
181 #define OS_MEM_GAPSIZE_CHECK(gapsize) \ argument
182 (OS_MEM_GET_GAPSIZE_ALIGNED_FLAG(gapsize) && \
[all …]