Home
last modified time | relevance | path

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

/kernel/
Dcrash_core.c298 struct elf_note *note = (struct elf_note *)buf; in append_elf_note() local
300 note->n_namesz = strlen(name) + 1; in append_elf_note()
301 note->n_descsz = data_len; in append_elf_note()
302 note->n_type = type; in append_elf_note()
303 buf += DIV_ROUND_UP(sizeof(*note), sizeof(Elf_Word)); in append_elf_note()
304 memcpy(buf, name, note->n_namesz); in append_elf_note()
305 buf += DIV_ROUND_UP(note->n_namesz, sizeof(Elf_Word)); in append_elf_note()