/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_open.c | 28 * Open a handle to the given mountpoint. If this is not a mountpoint, then 34 shadow_open(const char *mountpoint) argument 44 if ((shp->sh_mountpoint = shadow_strdup(mountpoint)) == NULL) 57 dgettext(TEXT_DOMAIN, "no such mountpoint")); 86 "mountpoint is not a shadow mount")); 107 * Close the handle to this shadow migration mountpoint, freeing up any
|
H A D | shadow_conspiracy.c | 849 const char *mountpoint, const char *source, boolean_t *is_new) 882 if ((scep->swe_shadow = shadow_open(mountpoint)) == NULL) { 848 shadcons_start(shadow_conspiracy_t *scp, const char *dataset, const char *mountpoint, const char *source, boolean_t *is_new) argument
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_shadow.c | 389 char mountpoint[PATH_MAX]; local 391 if (zfs_prop_get(zhp, ZFS_PROP_MOUNTPOINT, mountpoint, 392 sizeof (mountpoint), NULL, NULL, 0, B_FALSE) != 0) 395 (void) mount(zfs_get_name(zhp), mountpoint, MS_REMOUNT, MNTTYPE_ZFS, local
|
H A D | libzfs_mount.c | 30 * mountpoint. 120 * search the sharetab cache for the given mountpoint and protocol, returning 124 is_shared(const char *mountpoint, zfs_share_proto_t proto) argument 134 if (sa_share_find_init(mountpoint, sa_prot, &sa_hdl) != SA_OK) 188 * in 'where' with the current mountpoint, and return 1. Otherwise, we return 221 * mountpoint in 'buf'. 261 char mountpoint[ZFS_MAXPROPLEN]; local 289 static char *type_subopts[] = { "mountpoint", NULL }; 302 * "mountpoint", "canmount", and "zoned" properties are consistent 306 if (!zfs_is_mountable(zhp, mountpoint, sizeo 551 unmount_one(libzfs_handle_t *hdl, const char *mountpoint, int flags) argument 567 zfs_unmount(zfs_handle_t *zhp, const char *mountpoint, int flags) argument 700 char *mountpoint; local 740 char mountpoint[ZFS_MAXPROPLEN]; local 825 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t *proto) argument 855 zfs_unshare_proto(zfs_handle_t *zhp, const char *mountpoint, zfs_share_proto_t *proto) argument 881 zfs_unshare_nfs(zfs_handle_t *zhp, const char *mountpoint) argument 887 zfs_unshare_smb(zfs_handle_t *zhp, const char *mountpoint) argument 932 zfs_unshareall_bypath(zfs_handle_t *zhp, const char *mountpoint) argument 951 char mountpoint[ZFS_MAXPROPLEN]; local 1290 zfs_get_mountpoint(zfs_handle_t *zhp, char *mountpoint, size_t len) argument [all...] |
H A D | libzfs_dataset.c | 867 * zoned=on mountpoint (no) mountpoint (yes) 1479 * If the mountpoint property is being set to a value 1540 char mountpoint[MAXPATHLEN]; local 1559 if ((err = zfs_prop_get(mntp_zhp, mntp_prop, mountpoint, 1560 sizeof (mountpoint), NULL, NULL, 0, B_FALSE)) != 0) 1564 mountpoint, ret, &propval); 1579 "%s %s is outside the mountpoint %s"), 1580 propname, propval, mountpoint); 2210 "child dataset with inherited mountpoint i [all...] |
H A D | libzfs_sendrecv.c | 1784 * mountpoint (and therefore need their resource updated). 2789 #define MOUNTPOINT_NAME "mountpoint" 2794 * mountpoint, we want to unmount the dataset before the receive so we can mount 2795 * it at the new mountpoint after the receive. If the mountpoint changes after 2798 * mountpoint) or we remount unnecessarily (updating atime). 2799 * Return B_TRUE in *changed if mountpoint or property related to mountpoint 2806 char *mountpoint = NULL; local 2823 * mountpoint [all...] |
H A D | libzfs_share.c | 208 * Check if zfs-arbitrated sharing is possible at the mountpoint level. 214 char mountpoint[MAXPATHLEN]; local 219 VERIFY(zfs_get_mountpoint(zhp, mountpoint, 220 sizeof (mountpoint)) == 0); 222 if ((strcmp(mountpoint, ZFS_MOUNTPOINT_NONE) == 0) || 223 strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) == 0) 229 * Called for a share or a filesystem to check if the mountpoint is in a 230 * state where shares under this mountpoint could be shared. 238 * We make a best effort to set "mountpoint" to the accurate mountpoint 242 zfs_is_shareable(zfs_handle_t *zhp, char *mountpoint, size_t mpsize, boolean_t validation) argument 274 mountpoint); local 293 zfs_get_name(ds_zhp), mountpoint); local 484 char *mountpoint; local 518 char *mountpoint; local 606 char *mountpoint; local 1043 zfs_get_validated_share(zfs_handle_t *zhp, sa_share_props_t *sp, const char *mountpoint, zfs_sharing_whatsnew_t whatsnew, boolean_t is_auto, nvlist_t **share1p, nvlist_t **share2p) argument 3312 zfs_share_filter(zfs_handle_t *zhp, nvlist_t *props, const char *mountpoint, const char *newsharename) argument 3417 char mountpoint[MAXPATHLEN]; local 3510 char mountpoint[MAXPATHLEN]; local 3590 char mountpoint[MAXPATHLEN]; local 3700 zfs_specify_share_path(const char *propname, const char *share_path, const char *mountpoint, nvlist_t *props, const char **value) argument 4670 char mountpoint[ZFS_MAXPROPLEN]; local 4687 zfs_sharing_upgrade_impl(zfs_handle_t *zhp, const char *mountpoint) argument [all...] |
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_fs.c | 148 * legacy file systems. So we must check the mountpoint property for all 179 * zfs mountpoint property. This is most 474 const char *mountpoint, sa_notify_op_t notify_op, nvlist_t *notify_list) 478 if (mountpoint == NULL || nvlist_empty(notify_list)) 485 ops->saf_share_notify(shdl, mountpoint, notify_op, notify_list); 473 safs_share_notify(libshare_handle_t *shdl, sa_fs_t fstype, const char *mountpoint, sa_notify_op_t notify_op, nvlist_t *notify_list) argument
|
H A D | libshare.c | 41 * path=/path/to/share, and in some cases mntpnt=/path/to/mountpoint. In 54 * mountpoint of the filesystem and the "path" property is relative to that. 913 case SA_PIDX_MNTPNT: /* mountpoint */ 1086 * "name" and "path" values. This function obtains the mountpoint using the 1088 * The mountpoint may be returned for logging purposes even if the error 1089 * code indicates that the mountpoint is not found. 1122 const char *mountpoint = NULL; local 1128 sizeof (mpbuf), &fstype, &mountpoint)) != SA_OK) 1139 safs_share_notify(shdl, fstype, mountpoint, notify_op, notifications); 1427 char *mountpoint local [all...] |
/osnet-11/usr/src/lib/libfuse/common/ |
H A D | util.c | 77 char *mountpoint; member in struct:helper_opts 181 (void) fprintf(stderr, gettext("usage: %s mountpoint [opts]\n\n"), 220 if (!hopts->mountpoint) { 221 char mountpoint[PATH_MAX]; local 222 if (realpath(arg, mountpoint) == NULL) { 229 return (fuse_opt_add_opt(&hopts->mountpoint, 230 mountpoint)); 248 fuse_parse_cmdline(struct fuse_args *args, char **mountpoint, argument 260 if (mountpoint) 261 *mountpoint 343 fuse_unmount(const char *mountpoint, struct fuse_chan *chan) argument [all...] |
H A D | fuse_uvfs.c | 1765 char *mountpoint; local 1772 mountpoint = ""; 1773 fch = fuse_uvfs_fs_create(mountpoint, B_TRUE); 1777 if (error = fuse_parse_cmdline(&args, &mountpoint, 1780 if ((fch = fuse_mount(mountpoint, &args)) == NULL) 1787 fuse_unmount(mountpoint, fch); 1797 fuse_unmount(mountpoint, fch);
|
/osnet-11/usr/src/lib/libbe/tbeadm/ |
H A D | tbeadm.c | 70 {"libbe:prop3", "mountpoint"}, 85 {"libbe:prop7", "mountpoint"}}; 104 "\ttbeadm mount [-s ro|rw] beName mountpoint\n" 848 char *mountpoint; local 884 mountpoint = argv[1]; 887 * XXX - Need to generate a random mountpoint here; 906 if (nvlist_add_string(be_attrs, BE_ATTR_MOUNTPOINT, mountpoint) 909 "BE_ATTR_MOUNTPOINT (%s).\n", mountpoint);
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | svc.c | 220 const char *mountpoint, uint64_t fsid, const char *options) 293 rc = libuvfs_set_trans_astring(trans, "mountpoint", mountpoint); 219 libuvfs_daemon_launch(libuvfs_fs_t *fs, const char *special, const char *mountpoint, uint64_t fsid, const char *options) argument
|
/osnet-11/usr/src/lib/pam_modules/zfs_key/ |
H A D | zfs_key.c | 268 char mountpoint[MAXPATHLEN]; local 309 err = zfs_prop_get(zhp, ZFS_PROP_MOUNTPOINT, mountpoint, 310 sizeof (mountpoint), NULL, NULL, 0, B_FALSE); 314 err = chown(mountpoint, pw.pw_uid, pw.pw_gid);
|
/osnet-11/usr/src/lib/libshare_plugins/zfs/ |
H A D | libshare_zfs.c | 152 * Add the mountpoint to the share path. 154 * since share paths are stored relative to the mountpoint 155 * in case the dataset mountpoint is modified after the 158 * The mountpoint itself is also added to the share in the 185 * add mountpoint property to share 233 * shares are stored with paths relative to the mountpoint. 234 * So prefix mountpoint to beginning of share path and update share. 284 * shares are stored with paths relative to the mountpoint. 285 * So prefix mountpoint to beginning of share path and update share. 459 * Return the mountpoint an 532 char mountpoint[ZFS_MAXPROPLEN]; local 677 sa_zfs_share_notify(libshare_handle_t *shdl, const char *mountpoint, sa_notify_op_t notify_op, nvlist_t *notifications) argument [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_doorclnt.c | 350 * publish all smb administrative shares for this mountpoint 359 smb_share_publish_admin(const char *mountpoint) argument 365 if (mountpoint == NULL || *mountpoint == '\0') 368 mntpnt.buf = (char *)mountpoint;
|
H A D | smb_util.c | 752 * Resolve the ZFS mountpoint from a path. The ZFS mountpoint property 755 * dataset is mounted on / the mountpoint property may still contain some 762 smb_getmountpoint(const char *path, char *mountpoint, size_t len) argument 768 (void) strlcpy(mountpoint, mnttab.mnt_mountp, len);
|
/osnet-11/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 628 * mountpoint - The path of the mountpoint to mount the 642 char *mountpoint = NULL; local 646 if (!PyArg_ParseTuple(args, "zz", &beName, &mountpoint)) { 652 BE_ATTR_MOUNTPOINT, mountpoint)) {
|
/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_create.c | 408 /* Set the mountpoint property for the root dataset */ 650 * If the mountpoint property isn't specified in this shared 653 * implicitly set its mountpoint to its own name. 674 char mountpoint[MAXPATHLEN]; local 677 (void) strlcpy(mountpoint, 679 sizeof (mountpoint)); 681 (void) snprintf(mountpoint, 682 sizeof (mountpoint), "/%s", 687 mountpoint) != 0) { 3377 char mountpoint[MAXPATHLE local [all...] |
H A D | be_mount.c | 88 * Description: Mounts a BE and its subordinate datasets at a given mountpoint. 107 char *mountpoint = NULL; local 140 /* Get mountpoint */ 141 if (nvlist_lookup_string(be_attrs, BE_ATTR_MOUNTPOINT, &mountpoint) 164 ret = _be_mount(be_name, altpool, &mountpoint, flags); 253 * will generate a temporary mountpoint to mount the BE at. It 254 * will return this temporary mountpoint to the caller via the 336 * Fix this BE's mountpoint if its root dataset isn't set to 340 be_print_err(gettext("be_mount: mountpoint check " 354 "make temporary mountpoint\ 449 char mountpoint[MAXPATHLEN]; local 604 char mountpoint[MAXPATHLEN]; local 671 char mountpoint[MAXPATHLEN]; local 735 char mountpoint[MAXPATHLEN]; local 1062 char mountpoint[MAXPATHLEN]; local 1255 char mountpoint[MAXPATHLEN]; local 1477 char mountpoint[MAXPATHLEN]; local 1826 get_mountpoint_from_vfstab(char *altroot, const char *fs, char *mountpoint, size_t size_mp, boolean_t get_alt_mountpoint) argument 1893 char mountpoint[MAXPATHLEN]; local 2028 char mountpoint[MAXPATHLEN]; local 2092 char mountpoint[MAXPATHLEN]; local [all...] |
H A D | be_utils.c | 135 * mounts the BE, and returns the BE mountpoint. 142 * mountp - caller-allocated string into which the mountpoint 147 * mountp will contain the mountpoint of the BE. 429 * mountpoint - directory of where BE is currently mounted. 439 be_fs_list_data_t *fld, char *mountpoint) 450 if (mountpoint == NULL) { 459 tmp_mountpoint = mountpoint; 471 if (mountpoint == NULL) { 474 /* Remove temporary mountpoint */ 1270 return (gettext("Unexpected mountpoint 438 be_update_vfstab(char *be_name, char *old_rc_loc, char *new_rc_loc, be_fs_list_data_t *fld, char *mountpoint) argument [all...] |