HomeSort by: relevance | last modified time | path
    Searched defs:mtab (Results 1 - 6 of 6) sorted by relevancy

  /src/lib/libc/net/
nsdispatch.c 281 (*mod->unregister)(mod->mtab, mod->mtabsize);
342 mod.mtab = (*reg_fn)(mod.name, &mod.mtabsize, &mod.unregister);
343 if (mod.mtab == NULL || mod.mtabsize == 0) {
353 qsort(mod.mtab, mod.mtabsize, sizeof(mod.mtab[0]),
559 ns_mtab *mtab, mtabkey; local in function:_nsmethod
576 mtab = bsearch(&mtabkey, mod->mtab, mod->mtabsize,
577 sizeof(mod->mtab[0]), _nsmtabcmp);
578 if (mtab != NULL)
    [all...]
  /src/include/
nsswitch.h 205 ns_mtab *mtab; /* method table */ member in struct:__anon3816cfa90508
206 unsigned int mtabsize; /* size of mtab */
  /src/sys/miscfs/procfs/
procfs_linux.c 606 procfs_format_sfs(char **mtab, size_t *mlen, char *buf, size_t blen,
627 *mtab = realloc(*mtab, *mlen + blen, M_TEMP, M_WAITOK);
628 memcpy(*mtab + *mlen, buf, blen);
637 char *bf, *mtab = NULL; local in function:procfs_domounts
651 root |= procfs_format_sfs(&mtab, &mtabsz, bf, LBFSZ,
662 (void)procfs_format_sfs(&mtab, &mtabsz, bf, LBFSZ,
668 error = uiomove_frombuf(mtab, mtabsz, uio);
669 free(mtab, M_TEMP);
  /src/usr.bin/newsyslog/
newsyslog.c 957 static int mtab[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; local in function:parse_dwm
968 nd = mtab[tm.tm_mon];
  /src/usr.sbin/pstat/
pstat.c 637 static struct mtab { struct in function:getmnt
638 struct mtab *next;
642 struct mtab *mt;
649 if ((mt = malloc(sizeof(struct mtab))) == NULL)
  /src/usr.bin/fstat/
fstat.c 910 static struct mtab { struct in function:getmnton
911 struct mtab *next;
915 struct mtab *mt;
924 if ((mt = malloc(sizeof (struct mtab))) == NULL) {
925 err(1, "malloc(%u)", (unsigned int)sizeof(struct mtab));

Completed in 15 milliseconds