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

  /src/external/bsd/am-utils/dist/conf/checkmount/
checkmount_default.c 48 #define _PATH_MTAB "/etc/mtab"
57 FILE *mtab; local
61 /* scan mtab for path */
62 if (!(mtab = setmntent(_PATH_MTAB, "r"))) {
70 * Well, our patched amd rewrites mtab in place to avoid NFS lossage, so
74 if (flock(fileno(mtab), LOCK_SH) < 0) {
76 if (lockf(fileno(mtab), F_LOCK, 0) < 0) {
82 while (!found && (ment = getmntent(mtab))) {
94 (void) endmntent(mtab);
99 /* swap files never show up in mtab, only root fs *
    [all...]
checkmount_svr4.c 53 FILE *mtab; local
58 /* scan mtab for path */
59 if (!(mtab = fopen(MNTTAB, "r"))) {
64 while (!found && (err = getmntent(mtab, &ment)) == 0) {
84 (void) fclose(mtab);
90 /* swap files never show up in mtab, only root fs */
  /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
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:__anon134
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
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
968 nd = mtab[tm.tm_mon];
  /src/usr.bin/fstat/
fstat.c 910 static struct mtab { struct
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));
  /src/usr.sbin/pstat/
pstat.c 637 static struct mtab { struct
638 struct mtab *next;
642 struct mtab *mt;
649 if ((mt = malloc(sizeof(struct mtab))) == NULL)
  /src/external/apache2/mDNSResponder/nss/
nss_mdnsd.c 208 static ns_mtab mtab[] = { variable
220 *nelems = sizeof(mtab) / sizeof(mtab[0]);
229 return mtab;
  /src/external/gpl3/binutils/dist/gprofng/src/
gp-display-text.cc 2490 Vector<bool> *mtab = NULL; local
2493 mtab = dbev->get_MemTabState ();
2520 if (mtab)
2521 fprintf (outf, NTXT (" %c %s\n"), mtab->fetch (i) ? 'T' : 'F',
  /src/external/gpl3/binutils.old/dist/gprofng/src/
gp-display-text.cc 2490 Vector<bool> *mtab = NULL; local
2493 mtab = dbev->get_MemTabState ();
2520 if (mtab)
2521 fprintf (outf, NTXT (" %c %s\n"), mtab->fetch (i) ? 'T' : 'F',

Completed in 67 milliseconds