Searched refs:mountp (Results 26 - 46 of 46) sorted by relevance

12

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c290 char mountp[MNT_LINE_MAX]; local
319 (void) strcpy(mountp, m.mnt_mountp);
329 np->dev, mountp, np->cname);
335 np->cname, mountp, mnp->cname);
358 char mountp[MNT_LINE_MAX]; local
387 (void) strcpy(mountp, m.mnt_mountp);
396 mountp, dnp->cname);
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c78 free(headp->mountp);
524 newp->mountp = strdup(vfstab_entry.vfs_mountp);
525 if (newp->mountp == NULL) {
630 if (filter->mountp != NULL) {
631 search_entry->vfs_mountp = strdup(filter->mountp);
712 ret_val = cmp_fields(mntdftp->mountp, vp->vfs_mountp, ret_val);
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) {
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c406 quotactl(cmd, mountp, uid, dqp)
408 char *mountp;
419 if ((mountp == NULL) && (cmd == Q_ALLSYNC)) {
447 if (mountp == NULL || mountp[0] == '\0') {
451 (void) strlcpy(mountpoint, mountp, sizeof (mountpoint));
/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/oamuser/user/
H A Dhomedir.c310 get_mnt_special(char *mountp, char *fstype) argument
317 search.mnt_mountp = mountp;
/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/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)) >=
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c1400 zone_mounts_cb(const struct mnttab *mountp, void *cookiep) argument
1405 assert(mountp != NULL);
1409 zone_mount_dir = mountp->mnt_mountp + mounts->zonepath_len;
1424 if ((mounts->root_mnttab = mnttab_dup(mountp)) == NULL) {
1436 if (strcmp(mountp->mnt_fstype, MNTTYPE_ZFS) == 0 &&
1437 get_zfs_non_legacy_mountpoint(mountp->mnt_special,
1450 (void) zfm_print(mountp, NULL);
/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
H A Ddf.c781 char *path, *mountp; local
794 mountp = entryp->mnt_mountp;
800 while ((p = *path++) == (m = *mountp++)) {
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1436 caddr_t mountp; local
1448 mountp = fs;
1453 mountp = mntent->mnt_mountp;
1454 if (mountp == NULL) /* theoretically a can't-happen */
1480 elock_mountp = strdup(mountp);
1485 if ((mountfd = open64(mountp, O_RDONLY)) == -1)
1554 key.st_mount = mountp; \
1574 search_vfstab(caddr_t mountp, caddr_t special, caddr_t devstr, size_t str_size)
1579 search_mnttab(caddr_t mountp, caddr_t special, caddr_t devstr, size_t str_size)
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c806 char *mountp; local
853 mountp = rmm_get_mnttab_mount_point(dev);
854 if (mountp != NULL) {
856 dev_str, mountp);
857 free(mountp);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c585 fs_tab_init(char *mountp, char *fstype) argument
624 nfte->namlen = strlen(mountp);
632 (void) strcpy(nfte->name, mountp);
/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/ufs/mount/
H A Dmount.c125 in_mnttab(char *mountp) argument
135 strcmp(mntent.mnt_mountp, mountp) == 0 &&
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c89 static int my_umount(char *mountp);
1019 my_umount(char *mountp) argument
1043 DPRINTF1("call_unmount_prog: calling %s \n", mountp);
1048 if (execl("/usr/sbin/umount", "/usr/sbin/umount", mountp,
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c7776 get_special(char *mountp) argument
7785 INJECT_ERROR1("GET_SPECIAL_MNTPT", mountp = NULL);
7786 if (mountp == NULL) {
7800 if (*mountp == '\0')
7803 mpref.mnt_mountp = mountp;
7810 "not in mnttab\n", fcn, mountp));
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc593 int getvfsfile(FILE *fd, struct vfstab *vp, char *mountp);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c871 const char *mountp, const char *mntopts)
879 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, mountp);
870 libzfs_mnttab_add(libzfs_handle_t *hdl, const char *special, const char *mountp, const char *mntopts) argument

Completed in 141 milliseconds

12