Searched refs:thrmisc (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/sys/sys/
H A Dprocfs.h87 typedef struct thrmisc { struct
/freebsd-10-stable/usr.bin/gcore/
H A Delfcore.c643 thrmisc_t *thrmisc; local
646 thrmisc = calloc(1, sizeof(*thrmisc));
647 if (thrmisc == NULL)
651 memset(&thrmisc->_pad, 0, sizeof(thrmisc->_pad));
652 strcpy(thrmisc->pr_tname, lwpinfo.pl_tdname);
654 *sizep = sizeof(*thrmisc);
655 return (thrmisc);
/freebsd-10-stable/sys/kern/
H A Dimgact_elf.c1923 elf_thrmisc_t thrmisc; local
1927 KASSERT(*sizep == sizeof(thrmisc), ("invalid size"));
1928 bzero(&thrmisc._pad, sizeof(thrmisc._pad));
1929 strcpy(thrmisc.pr_tname, td->td_name);
1930 sbuf_bcat(sb, &thrmisc, sizeof(thrmisc));
1932 *sizep = sizeof(thrmisc);

Completed in 105 milliseconds