Searched refs:thrmisc (Results 1 – 3 of 3) sorted by relevance
704 thrmisc_t *thrmisc; in elf_note_thrmisc() local707 thrmisc = calloc(1, sizeof(*thrmisc)); in elf_note_thrmisc()708 if (thrmisc == NULL) in elf_note_thrmisc()712 memset(&thrmisc->_pad, 0, sizeof(thrmisc->_pad)); in elf_note_thrmisc()713 strcpy(thrmisc->pr_tname, lwpinfo.pl_tdname); in elf_note_thrmisc()715 *sizep = sizeof(*thrmisc); in elf_note_thrmisc()716 return (thrmisc); in elf_note_thrmisc()
89 typedef struct thrmisc { struct
2391 elf_thrmisc_t thrmisc; in __elfN() local2395 KASSERT(*sizep == sizeof(thrmisc), ("invalid size")); in __elfN()2396 bzero(&thrmisc, sizeof(thrmisc)); in __elfN()2397 strcpy(thrmisc.pr_tname, td->td_name); in __elfN()2398 sbuf_bcat(sb, &thrmisc, sizeof(thrmisc)); in __elfN()2400 *sizep = sizeof(thrmisc); in __elfN()