Lines Matching refs:bp
44 int sfi_add_e820_entry(struct boot_params *bp, memory_map_t *mb_mmap, u64 start, u64 size, int type) in sfi_add_e820_entry() argument
50 if (!bp || !mb_mmap) { in sfi_add_e820_entry()
55 for (i=0; i < bp->e820_entries; i++) { in sfi_add_e820_entry()
56 e820_entry = &(bp->e820_map[i]); in sfi_add_e820_entry()
70 if (bp->e820_entries == E820MAX) in sfi_add_e820_entry()
73 e820_entry = &(bp->e820_map[bp->e820_entries]); in sfi_add_e820_entry()
74 mb_mmap_entry = &(mb_mmap[bp->e820_entries]); in sfi_add_e820_entry()
87 bp->e820_entries++; in sfi_add_e820_entry()
92 void sfi_setup_mmap(struct boot_params *bp, memory_map_t *mb_mmap) in sfi_setup_mmap() argument
99 if (!bp || !mb_mmap) { in sfi_setup_mmap()
104 bp->e820_entries = 0; in sfi_setup_mmap()
137 if (sfi_add_e820_entry(bp, mb_mmap, start, size, type) != 0) in sfi_setup_mmap()