Lines Matching defs:max_sz
732 u64 offset, max_sz, sz, real_sz = 0;
735 max_sz = phdr_ptr->p_memsz;
737 notes_section = kmalloc(max_sz, GFP_KERNEL);
740 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset);
750 if ((real_sz + sz) > max_sz) {
923 u64 offset, max_sz, sz, real_sz = 0;
926 max_sz = phdr_ptr->p_memsz;
928 notes_section = kmalloc(max_sz, GFP_KERNEL);
931 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset);
941 if ((real_sz + sz) > max_sz) {