/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 244 struct mnttab mtab; local 254 while (getmntent(file, &mtab) == 0) { 255 item = mtab.mnt_special; 256 if ((item == NULL) || (mtab.mnt_mountp == NULL)) 283 safe_strdup(mtab.mnt_mountp); 476 char *name, char **mtab) 523 if (mtab && mtab[idx]) 524 (void) printf(" %s", mtab[idx]); 534 char **mtab) 475 puttable(struct dk_geom *geom, struct extvtoc *vtoc, freemap_t *freemap, char *name, char **mtab) argument 533 puttable64(struct dk_gpt *efi, freemap_t *freemap, char *name, char **mtab) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 94 FILE *mtab, *vfstab, *tmp; local 204 mtab = fopen(MNTTAB, "r"); 205 if (mtab == NULL) { 211 while ((status = getmntent(mtab, &mntp)) == 0) 215 rewind(mtab); 225 while ((status = getmntent(mtab, &mntp)) == NULL) { 233 fclose(mtab);
|
/illumos-gate/usr/src/cmd/file/ |
H A D | magicutils.c | 193 * f_mkmtab - fills mtab array of magic table entries with 225 Entry *mtab; /* generic magic table pointer */ local 227 Entry *mend; /* one past last-allocated entry of mtab */ 235 mtab = mtab1; 239 mtab = mtab2; 244 /* mtab may have been allocated on a previous f_mkmtab call */ 245 if (mtab == (Entry *)NULL) { 246 if ((mtab = calloc(sizeof (Entry), NENT)) == NULL) { 253 ep = mtab; 254 mend = &mtab[NEN 541 Entry *mtab; local 1069 Entry *mtab; local 1100 Entry *mtab; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | main.c | 803 struct mnttab mtab; local 807 mtab.mnt_mntopts = vfs->vfs_mntopts; 808 return (hasmntopt(&mtab, opt));
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 107 FILE *mtab, *vfstab; local 204 if ((mtab = fopen(MNTTAB, "r")) == NULL) { 209 while (getmntent(mtab, &mntp) == 0) { 220 (void) fclose(mtab);
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-shared.c | 74 struct mtab_handle *mtab; local 76 mtab = g_new0 (struct mtab_handle, 1); 77 mtab->n_mounts = getmntinfo (&mtab->mounts, MNT_NOWAIT); 78 if (mtab->n_mounts == 0) { 79 g_free (mtab); 83 *handle = mtab; 98 struct mtab_handle *mtab = handle; local 100 if (mtab->iter < mtab [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 663 FILE *mtab; local 666 if ((mtab = fopen(MNTTAB, "r")) == (FILE *)0) { 670 while (getmntent(mtab, &mntp) == 0) { 698 (void) fclose(mtab);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 243 FILE *mtab; local 266 mtab = fopen(MNTTAB, "r"); 267 while (getmntent(mtab, &mnt) == NULL) { 434 fclose(mtab);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 127 FILE *mtab, *vfstab; local 231 if ((mtab = fopen(MNTTAB, "r")) == NULL) { 236 while (getmntent(mtab, &mntp) == NULL) { 248 fclose(mtab); 276 FILE *mtab; local 281 if ((mtab = fopen(MNTTAB, "r")) == NULL) { 304 rewind(mtab); 306 if (getmntany(mtab, &mntp, &mpref) == 0 && 329 rewind(mtab); 331 if (getmntany(mtab, [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 1513 struct mnttab *mtab; local 1522 mtab = mounts->root_mnttab; 1523 if (mtab == NULL) 1540 if (mtab->mnt_mountp != NULL) { 1543 if ((zhp = zfs_open(g_zfs, mtab->mnt_special, 1556 if (zfs_mount(zhp, mtab->mnt_mntopts, 0) != 0) { 1561 mtab->mnt_mountp) != 0) 1575 if (mtab->mnt_mntopts != NULL) 1579 if (mount(mtab->mnt_special, zoneroot, flags, mtab 1604 struct mnttab *mtab; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 520 struct extmnttab mtab; local 531 while ((status = getextmntent(fp, &mtab, sizeof (struct extmnttab))) 542 mtep->mte_mount = mntdup(&mtab); 544 mtep->mte_ignore = (hasmntopt((struct mnttab *)&mtab,
|