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

/freebsd-10.0-release/sys/sys/
H A Dprocfs.h85 typedef struct thrmisc { struct
/freebsd-10.0-release/usr.bin/gcore/
H A Delfcore.c565 thrmisc_t *thrmisc; local
568 thrmisc = calloc(1, sizeof(*thrmisc));
569 if (thrmisc == NULL)
573 memset(&thrmisc->_pad, 0, sizeof(thrmisc->_pad));
574 strcpy(thrmisc->pr_tname, lwpinfo.pl_tdname);
576 *sizep = sizeof(*thrmisc);
577 return (thrmisc);
/freebsd-10.0-release/sys/kern/
H A Dimgact_elf.c1718 elf_thrmisc_t thrmisc; local
1722 KASSERT(*sizep == sizeof(thrmisc), ("invalid size"));
1723 bzero(&thrmisc._pad, sizeof(thrmisc._pad));
1724 strcpy(thrmisc.pr_tname, td->td_name);
1725 sbuf_bcat(sb, &thrmisc, sizeof(thrmisc));
1727 *sizep = sizeof(thrmisc);

Completed in 124 milliseconds