M_PROC
uihashtbl = hashinit(maxprocess / 16, M_PROC, M_NOWAIT, &uihash);
nuip = malloc(sizeof(*nuip), M_PROC, M_WAITOK|M_ZERO);
free(nuip, M_PROC, sizeof(*nuip));
tidhashtbl = hashinit(maxthread / 4, M_PROC, M_NOWAIT, &tidhash);
pidhashtbl = hashinit(maxprocess / 4, M_PROC, M_NOWAIT, &pidhash);
pgrphashtbl = hashinit(maxprocess / 4, M_PROC, M_NOWAIT, &pgrphash);
free(ps->ps_uvpaths, M_PROC, UNVEIL_MAX_VNODES *
sizeof(struct unveil), M_PROC, M_WAITOK|M_ZERO);
sizeof(struct unveil), M_PROC, M_WAITOK|M_ZERO);
struct unvname *ret = malloc(sizeof(struct unvname), M_PROC, M_WAITOK);
ret->un_name = malloc(size, M_PROC, M_WAITOK);
free(name->un_name, M_PROC, name->un_namesize);
free(name, M_PROC, sizeof(struct unvname));