• Home
  • Raw
  • Download

Lines Matching refs:mem

389 			 i, ksegment->buf, ksegment->bufsz, ksegment->mem,  in SYSCALL_DEFINE5()
451 kbuf->mem = temp_start; in locate_mem_hole_top_down()
485 kbuf->mem = temp_start; in locate_mem_hole_bottom_up()
609 if (kbuf->mem != KEXEC_BUF_MEM_UNKNOWN) in kexec_locate_mem_hole()
667 ksegment->mem = kbuf->mem; in kexec_add_buffer()
758 sha_regions[j].start = ksegment->mem; in kexec_calculate_store_digests()
882 bss_addr = kbuf->mem + kbuf->bufsz; in kexec_purgatory_setup_sechdrs()
918 kbuf->image->start += kbuf->mem + offset; in kexec_purgatory_setup_sechdrs()
925 sechdrs[i].sh_addr = kbuf->mem + offset; in kexec_purgatory_setup_sechdrs()
1151 int crash_exclude_mem_range(struct crash_mem *mem, in crash_exclude_mem_range() argument
1158 for (i = 0; i < mem->nr_ranges; i++) { in crash_exclude_mem_range()
1159 start = mem->ranges[i].start; in crash_exclude_mem_range()
1160 end = mem->ranges[i].end; in crash_exclude_mem_range()
1175 mem->ranges[i].start = 0; in crash_exclude_mem_range()
1176 mem->ranges[i].end = 0; in crash_exclude_mem_range()
1177 if (i < mem->nr_ranges - 1) { in crash_exclude_mem_range()
1179 for (j = i; j < mem->nr_ranges - 1; j++) { in crash_exclude_mem_range()
1180 mem->ranges[j].start = in crash_exclude_mem_range()
1181 mem->ranges[j+1].start; in crash_exclude_mem_range()
1182 mem->ranges[j].end = in crash_exclude_mem_range()
1183 mem->ranges[j+1].end; in crash_exclude_mem_range()
1192 mem->nr_ranges--; in crash_exclude_mem_range()
1195 mem->nr_ranges--; in crash_exclude_mem_range()
1201 mem->ranges[i].end = p_start - 1; in crash_exclude_mem_range()
1205 mem->ranges[i].end = p_start - 1; in crash_exclude_mem_range()
1207 mem->ranges[i].start = p_end + 1; in crash_exclude_mem_range()
1216 if (i == mem->max_nr_ranges - 1) in crash_exclude_mem_range()
1221 if (j < mem->nr_ranges) { in crash_exclude_mem_range()
1223 for (i = mem->nr_ranges - 1; i >= j; i--) in crash_exclude_mem_range()
1224 mem->ranges[i + 1] = mem->ranges[i]; in crash_exclude_mem_range()
1227 mem->ranges[j].start = temp_range.start; in crash_exclude_mem_range()
1228 mem->ranges[j].end = temp_range.end; in crash_exclude_mem_range()
1229 mem->nr_ranges++; in crash_exclude_mem_range()
1233 int crash_prepare_elf64_headers(struct crash_mem *mem, int need_kernel_map, in crash_prepare_elf64_headers() argument
1246 nr_phdr += mem->nr_ranges; in crash_prepare_elf64_headers()
1308 for (i = 0; i < mem->nr_ranges; i++) { in crash_prepare_elf64_headers()
1309 mstart = mem->ranges[i].start; in crash_prepare_elf64_headers()
1310 mend = mem->ranges[i].end; in crash_prepare_elf64_headers()