Searched defs:mountp (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c50 char *mountp = NULL; local
63 while ((!mountp) && (getmntent(mfp, &m) == 0)) {
89 mountp = mnt_mountp;
94 return (mountp? Strdup(mountp): NULL);
/illumos-gate/usr/src/cmd/fs.d/bootfs/
H A Dmount.c56 * usage: mount [-Ormq] [-o options] special mountp
66 char *mountp; /* Entity being mounted on */ local
119 mountp = argv[argc - 1];
127 if (mount(special, mountp, flags | MS_OPTIONSTR, MNTTYPE_BOOTFS, NULL,
135 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/lofs/mount/
H A Dmount.c60 * usage: mount [-Ormq] [-o options] special mountp
70 char *mountp; /* Entity being mounted on */ local
122 mountp = argv[argc - 1];
129 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
137 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/ctfs/
H A Dmount.c55 * usage: mount [-Ormq] [-o options] special mountp
65 char *mountp; /* Entity being mounted on */ local
137 mountp = argv[argc - 1];
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
154 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/fd/
H A Dmount.c65 char *special, *mountp; local
130 mountp = argv[optind++];
139 do_mount(special, mountp, flags);
199 do_mount(char *special, char *mountp, int rflag) argument
208 if (mount(special, mountp, rflag | MS_OPTIONSTR,
210 rpterr(special, mountp);
215 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/mntfs/
H A Dmount.c68 char *special, *mountp; local
130 mountp = argv[optind++];
137 do_mount(special, mountp, flags);
190 do_mount(char *special, char *mountp, int rflag) argument
201 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0,
203 rpterr(special, mountp);
209 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/objfs/
H A Dmount.c55 * usage: mount [-Ormq] [-o options] special mountp
65 char *mountp; /* Entity being mounted on */ local
137 mountp = argv[argc - 1];
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
154 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/proc/
H A Dmount.c68 char *special, *mountp; local
132 mountp = argv[optind++];
137 do_mount(special, mountp, roflag ? MS_RDONLY : 0);
195 do_mount(char *special, char *mountp, int rflag) argument
209 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0,
211 rpterr(special, mountp);
216 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/sharefs/
H A Dmount.c55 * usage: mount [-Ormq] [-o options] special mountp
65 char *mountp; /* Entity being mounted on */ local
137 mountp = argv[argc - 1];
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
154 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c48 in_mnttab(char *mountp) argument
58 strcmp(mntent.mnt_mountp, mountp) == 0 &&
74 char *mountp; local
154 mountp = argv[optind++];
160 special, mountp, mflg, MNTTYPE_TMPFS);
174 again: if (mount(special, mountp, mflg, MNTTYPE_TMPFS, NULL, 0,
185 if (!in_mnttab(mountp) && mount_attempts-- > 0) {
191 myname, mountp, special);
200 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c63 char *special, *mountp; local
118 mountp = argv[optind++];
140 do_mount(special, mountp, flags);
201 do_mount(char *special, char *mountp, int flag) argument
210 if (mount(special, mountp, flag | MS_DATA | MS_OPTIONSTR,
212 rpterr(special, mountp);
217 special, mountp);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetvfsent.c99 getvfsfile(FILE *fd, struct vfstab *vp, char *mountp) argument
104 vv.vfs_mountp = mountp;
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c82 char *special, *mountp; local
166 mountp = argv[optind++];
224 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
226 rpterr(special, mountp);
232 special, mountp);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dhomedir.c310 get_mnt_special(char *mountp, char *fstype) argument
317 search.mnt_mountp = mountp;
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c56 char *mountp; member in struct:vfstab_list
136 char *mountp = ""; local
138 if (listp->mountp != NULL)
139 mountp = listp->mountp;
142 libdiskmgt_add_str(attrs, DM_USED_NAME, mountp, errp);
323 vfsp->mountp = strdup(vp->vfs_mountp);
324 if (vfsp->mountp == NULL) {
329 vfsp->mountp = NULL;
346 free((void *)listp->mountp);
[all...]
H A Dinuse_mnt.c54 char *mountp; member in struct:mntpnt_list
109 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp);
171 free((void *)listp->mountp);
185 libdiskmgt_str_eq(elementp->mountp, listp->mountp)) {
265 currp->mountp = strdup(entry.mnt_mountp);
266 if (currp->mountp == NULL) {
325 currp->mountp = strdup("swap");
326 if (currp->mountp == NULL) {
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h59 char *mountp; member in struct:mount_default_list
72 char *mountp; member in struct:mount_list
508 * char *mountp - The pathname of the directory on which the filesystem
521 char *mountp, char *fstype, char *mntopts,
1010 * char *mountp - The pathname of the directory on which the filesystem
1022 nfs_mntlist_t *nfs_get_filtered_mount_list(char *resource, char *mountp,
H A Dnfs_mntinfo.c99 nfs_get_filtered_mount_list(char *resource, char *mountp, char *mntopts, argument
105 fs_mount_list = fs_get_filtered_mount_list(resource, mountp,
329 if ((stat(fsmnt_list->mountp, &stat_buf) == 0)) {
412 if ((mrp->nml_mountp = strdup(fsmnt_list->mountp)) == NULL) {
H A Dfs_mounts.c52 static struct mnttab *create_mnttab_filter(char *resource, char *mountp,
59 char *mountp);
73 free(headp->mountp);
159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, argument
175 search_entry = create_mnttab_filter(resource, mountp, fstype,
554 newp->mountp = strdup(mnttab_entry.mnt_mountp);
555 if (newp->mountp == NULL) {
614 newp->mountp = strdup(mnttab_entry.mnt_mountp);
615 if (newp->mountp == NULL) {
656 create_mnttab_filter(char *resource, char *mountp, cha argument
918 is_overlayed(fs_mntlist_t *mnt_list, char *mountp) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPzone.c112 lookup_lofs_mount_point(const char *mountp) argument
119 if (strcmp(lmt->l_mountp, mountp) == 0)
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c546 char *mountp = mnt->mnt_mountp; local
553 if ((res = umount(mountp)) < 0)
556 newargv[2] = mountp;
564 if ((res = umount(mountp)) < 0)
571 mountp, res ? "failed" : "OK");
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c294 * mountp - mount point (only used in error messages).
298 char *special, char *mountp)
374 "\"%s\"\n"), special, mountp, option_ptr);
297 cmp_requested_to_actual_options(char *requested_opts, char *actual_opts, char *special, char *mountp) argument
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c125 in_mnttab(char *mountp) argument
135 strcmp(mntent.mnt_mountp, mountp) == 0 &&
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c664 quotactl(int cmd, char *mountp, uid_t uid, caddr_t addr) argument
675 if ((mountp == NULL) && (cmd == Q_ALLSYNC)) {
709 if (mountp == NULL || mountp[0] == '\0') {
713 if ((strlcpy(qfile, mountp, sizeof (qfile)) >= sizeof
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c702 quotactl(int cmd, char *mountp, uid_t uid, caddr_t addr) argument
712 if ((mountp == NULL) && (cmd == Q_ALLSYNC)) {
743 if (mountp == NULL || mountp[0] == '\0') {
747 if ((strlcpy(qfile, mountp, sizeof (qfile)) >=

Completed in 86 milliseconds

12