Home
last modified time | relevance | path

Searched refs:extmnttab (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/smbclnt/umount/
H A Dumount.c57 static struct extmnttab *mnttab_find();
140 struct extmnttab *mntp; in smbfs_unmount()
167 static struct extmnttab *
171 struct extmnttab mnt; in mnttab_find()
172 struct extmnttab *res = NULL; in mnttab_find()
179 while (getextmntent(fp, &mnt, sizeof (struct extmnttab)) == 0) { in mnttab_find()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.h43 struct extmnttab *mntl_mnt;
56 void fsfreemnttab(struct extmnttab *);
57 struct extmnttab *fsdupmnttab(struct extmnttab *);
H A Dfslib.c79 static struct extmnttab zmnttab = { 0 };
81 struct extmnttab *
82 fsdupmnttab(struct extmnttab *mnt) in fsdupmnttab()
84 struct extmnttab *new; in fsdupmnttab()
86 new = (struct extmnttab *)malloc(sizeof (*new)); in fsdupmnttab()
128 fsfreemnttab(struct extmnttab *mnt) in fsfreemnttab()
166 struct extmnttab mnt; in fsmkmntlist()
173 while ((ret = getextmntent(mfp, &mnt, sizeof (struct extmnttab))) in fsmkmntlist()
H A Ddf.c160 struct extmnttab *mte_mount;
481 static struct extmnttab *
482 mntdup(struct extmnttab *old) in mntdup()
484 struct extmnttab *new = NEW(struct extmnttab); in mntdup()
526 struct extmnttab mtab; in mtab_read_file()
537 while ((status = getextmntent(fp, &mtab, sizeof (struct extmnttab))) in mtab_read_file()
724 struct extmnttab *mtp = mtep->mte_mount; in devid_matches()
785 struct extmnttab *entryp; in path_mount_entry()
1776 struct extmnttab *mtp = mount_table[i].mte_mount; in create_request_list()
H A Dmount.c177 struct extmnttab *ment;
601 struct extmnttab mget; in print_mnttab()
609 while ((ret = getextmntent(fd, &mget, sizeof (struct extmnttab))) in print_mnttab()
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c76 static struct extmnttab *mnttab_find();
79 static int is_v4_mount(struct extmnttab *);
163 struct extmnttab *mntp; in nfs_unmount()
206 static struct extmnttab *
211 struct extmnttab mnt;
212 struct extmnttab *res = NULL;
219 while (getextmntent(fp, &mnt, sizeof (struct extmnttab)) == 0) {
359 is_v4_mount(struct extmnttab *mntp) in is_v4_mount()
/illumos-gate/usr/src/uts/common/sys/
H A Dmnttab.h71 struct extmnttab { struct
82 struct extmnttab *mbuf_emp; argument
90 extern int getextmntent(FILE *, struct extmnttab *, size_t);
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c112 struct extmnttab mnt; in build_mnt_list()
131 (void) memset(&mnt, 0, sizeof (struct extmnttab)); in build_mnt_list()
135 sizeof (struct extmnttab))) != -1) { in build_mnt_list()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c62 static struct extmnttab *find_mount();
94 struct extmnttab mnt, *mntp; in main()
350 static struct extmnttab *
356 struct extmnttab *found = NULL;
483 struct extmnttab *mnt; in do_unmounts()
H A Dauto_mnttab.c58 struct extmnttab *mnt; in get_devid()
H A Dautomount.h274 extern dev_t get_devid(struct extmnttab *);
H A Dautod_nfs.c4010 static struct extmnttab *
4014 struct extmnttab mnt; in mnttab_find()
4015 struct extmnttab *res = NULL; in mnttab_find()
4023 while (getextmntent(fp, &mnt, sizeof (struct extmnttab)) == 0) { in mnttab_find()
4054 struct extmnttab *mntp; in is_v4_mount()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c187 embuf.mbuf_emp = (struct extmnttab *)mgetp; in getmntany()
223 getmntent_common(FILE *fp, struct extmnttab *emp, int command) in getmntent_common()
274 return (getmntent_common(fp, (struct extmnttab *)mp, MNTIOC_GETMNTENT)); in getmntent()
278 getextmntent(FILE *fp, struct extmnttab *emp, size_t len __unused) in getextmntent()
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c249 struct extmnttab *tabp = &elemp->mnte_tab; in mntfs_populate_text()
472 bcmp(&a->mnte_tab, &b->mnte_tab, sizeof (struct extmnttab)) == 0) in mntfs_is_same_element()
1398 mntfs_copyout_elem(mntelem_t *elemp, struct extmnttab *uemp, in mntfs_copyout_elem()
1401 STRUCT_DECL(extmnttab, ktab); in mntfs_copyout_elem()
1404 struct extmnttab *dbtabp = &elemp->mnte_tab; in mntfs_copyout_elem()
1439 ssize = SIZEOF_STRUCT(extmnttab, datamodel); in mntfs_copyout_elem()
1608 STRUCT_DECL(extmnttab, ktab); /* Out copy of user's emp */ in mntioctl()
1609 struct extmnttab *uemp; /* uaddr of user's emp */ in mntioctl()
1612 struct extmnttab preftab; /* our version of user's emp */ in mntioctl()
1615 struct extmnttab *dbtabp; /* element's extmnttab */ in mntioctl()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c90 free_xmnt(struct extmnttab *xmnt) in free_xmnt()
98 copy_xmnt(const struct extmnttab *xmnt, struct extmnttab *saved) in copy_xmnt()
161 struct extmnttab xmnt; in pkgfindrealsadmdir()
164 struct extmnttab saved = {NULL, NULL, NULL, NULL, NULL, 0, 0}; in pkgfindrealsadmdir()
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c49 static fs_mntlist_t *create_extmntlist_entry(struct extmnttab mnttab_entry);
337 struct extmnttab mnttab_entry; in fs_get_mount_list()
347 sizeof (struct extmnttab)) == 0) { in fs_get_mount_list()
590 create_extmntlist_entry(struct extmnttab mnttab_entry) { in create_extmntlist_entry()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dmntdata.h49 struct extmnttab mnte_tab;
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c87 struct extmnttab mp; in parse_pathname()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c1026 struct extmnttab mnt; in mkmntlist()
1034 while (getextmntent(mounted, &mnt, sizeof (struct extmnttab)) == 0) { in mkmntlist()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c1036 struct extmnttab m; in mi_print()
1062 while (getextmntent(mt, &m, sizeof (struct extmnttab)) == 0) { in mi_print()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c1239 struct extmnttab ent; in get_zfsvolname()
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent.c1820 struct extmnttab m; in sysevent_open_channel()
1838 while (getextmntent(fp, &m, sizeof (struct extmnttab)) == 0) { in sysevent_open_channel()
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c895 struct extmnttab ent; in check_mount()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c1040 struct extmnttab ent; in create_lock()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c791 struct extmnttab entry; in zfs_path_to_zhandle()

12