Searched refs:namesz (Results 1 – 4 of 4) sorted by relevance
39 Elf32_Word namesz = NOTE_ALIGN (n->n_namesz); in elf_cvt_note() local46 if (namesz > len) in elf_cvt_note()48 len -= namesz; in elf_cvt_note()54 memcpy (dest, src, namesz + descsz); in elf_cvt_note()56 src += namesz + descsz; in elf_cvt_note()57 dest += namesz + descsz; in elf_cvt_note()
73 GElf_Word namesz = NOTE_ALIGN (n->n_namesz); in gelf_getnote() local77 || data->d_size - offset < namesz in gelf_getnote()78 || (namesz == 0 && n->n_namesz != 0))) in gelf_getnote()83 offset += namesz; in gelf_getnote()
210 int namesz; in check_for_modules() local220 namesz = strlen(fs_name); in check_for_modules()233 if (!strncmp(cp, fs_name, namesz) && in check_for_modules()234 (!strcmp(cp + namesz, ".ko") || in check_for_modules()235 !strcmp(cp + namesz, ".ko.gz"))) { in check_for_modules()
2022 size_t namesz; in kmod_module_get_sections() local2046 namesz = strlen(dent->d_name) + 1; in kmod_module_get_sections()2047 section = malloc(sizeof(*section) + namesz); in kmod_module_get_sections()2055 memcpy(section->name, dent->d_name, namesz); in kmod_module_get_sections()