Lines Matching full:note

241  * Note that /proc/vmcore might also be available in "standard zfcp/nvme dump"
251 * Initialize ELF note
256 Elf64_Nhdr *note; in nt_init_name() local
259 note = (Elf64_Nhdr *)buf; in nt_init_name()
260 note->n_namesz = strlen(name) + 1; in nt_init_name()
261 note->n_descsz = d_len; in nt_init_name()
262 note->n_type = type; in nt_init_name()
265 memcpy(buf + len, name, note->n_namesz); in nt_init_name()
266 len = roundup(len + note->n_namesz, 4); in nt_init_name()
268 memcpy(buf + len, desc, note->n_descsz); in nt_init_name()
269 len = roundup(len + note->n_descsz, 4); in nt_init_name()
278 * Calculate the size of ELF note
301 /* Prepare prstatus note */ in fill_cpu_elf_notes()
307 /* Prepare fpregset (floating point) note */ in fill_cpu_elf_notes()
350 * Initialize prpsinfo note (new kernel)
369 Elf64_Nhdr note; in get_vmcoreinfo_old() local
374 if (copy_oldmem_kernel(&note, addr, sizeof(note))) in get_vmcoreinfo_old()
376 if (copy_oldmem_kernel(nt_name, addr + sizeof(note), in get_vmcoreinfo_old()
381 vmcoreinfo = kzalloc(note.n_descsz, GFP_KERNEL); in get_vmcoreinfo_old()
384 if (copy_oldmem_kernel(vmcoreinfo, addr + 24, note.n_descsz)) { in get_vmcoreinfo_old()
388 *size = note.n_descsz; in get_vmcoreinfo_old()
393 * Initialize vmcoreinfo note (new kernel)
432 * Initialize final note (needed for /proc/vmcore code)
436 Elf64_Nhdr *note; in nt_final() local
438 note = (Elf64_Nhdr *) ptr; in nt_final()
439 note->n_namesz = 0; in nt_final()
440 note->n_descsz = 0; in nt_final()
441 note->n_type = 0; in nt_final()