Home
last modified time | relevance | path

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

/linux-3.4.99/arch/ia64/kernel/
Dcrash.c35 note->n_namesz = strlen(name) + 1; in append_elf_note()
39 memcpy(buf, name, note->n_namesz); in append_elf_note()
40 buf += (note->n_namesz + 3)/4; in append_elf_note()
/linux-3.4.99/arch/powerpc/platforms/cell/spufs/
Dcoredump.c185 en.n_namesz = strlen(fullname) + 1; in spufs_arch_write_note()
193 rc = spufs_dump_write(file, fullname, en.n_namesz, foffset); in spufs_arch_write_note()
/linux-3.4.99/arch/s390/kernel/
Dcrash_dump.c105 note->n_namesz = strlen(name) + 1; in nt_init()
110 memcpy(buf + len, name, note->n_namesz); in nt_init()
111 len = roundup(len + note->n_namesz, 4); in nt_init()
/linux-3.4.99/fs/proc/
Dvmcore.c288 if (nhdr_ptr->n_namesz == 0) in merge_note_headers_elf64()
291 ((nhdr_ptr->n_namesz + 3) & ~3) + in merge_note_headers_elf64()
369 if (nhdr_ptr->n_namesz == 0) in merge_note_headers_elf32()
372 ((nhdr_ptr->n_namesz + 3) & ~3) + in merge_note_headers_elf32()
Dkcore.c295 en.n_namesz = strlen(men->name) + 1; in storenote()
300 DUMP_WRITE(men->name, en.n_namesz); in storenote()
/linux-3.4.99/include/linux/
Delf.h395 Elf32_Word n_namesz; /* Name size */ member
402 Elf64_Word n_namesz; /* Name size */ member
/linux-3.4.99/fs/afs/
Dfsclient.c1040 size_t reqsz, o_namesz, o_padsz, n_namesz, n_padsz; in afs_fs_rename() local
1048 n_namesz = strlen(new_name); in afs_fs_rename()
1049 n_padsz = (4 - (n_namesz & 3)) & 3; in afs_fs_rename()
1054 4 + n_namesz + n_padsz; in afs_fs_rename()
1083 *bp++ = htonl(n_namesz); in afs_fs_rename()
1084 memcpy(bp, new_name, n_namesz); in afs_fs_rename()
1085 bp = (void *) bp + n_namesz; in afs_fs_rename()
/linux-3.4.99/arch/powerpc/kernel/
Dfadump.c489 note.n_namesz = strlen(name) + 1; in fadump_append_elf_note()
494 memcpy(buf, name, note.n_namesz); in fadump_append_elf_note()
495 buf += (note.n_namesz + 3)/4; in fadump_append_elf_note()
506 note.n_namesz = 0; in fadump_final_note()
/linux-3.4.99/kernel/
Dkexec.c1183 note.n_namesz = strlen(name) + 1; in append_elf_note()
1188 memcpy(buf, name, note.n_namesz); in append_elf_note()
1189 buf += (note.n_namesz + 3)/4; in append_elf_note()
1200 note.n_namesz = 0; in final_note()
/linux-3.4.99/tools/perf/util/
Dsymbol.c1466 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id()
1474 nhdr->n_namesz == sizeof("GNU")) { in elf_read_build_id()
1536 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id()
1539 nhdr.n_namesz == sizeof("GNU")) { in sysfs__read_build_id()
/linux-3.4.99/fs/
Dbinfmt_elf_fdpic.c1288 en.n_namesz = strlen(men->name) + 1; in writenote()
1293 DUMP_WRITE(men->name, en.n_namesz, foffset); in writenote()
Dbinfmt_elf.c1228 en.n_namesz = strlen(men->name) + 1; in writenote()
1233 DUMP_WRITE(men->name, en.n_namesz, foffset); in writenote()