/osnet-11/usr/src/lib/libfuse/common/ |
H A D | fuse_common_compat.h | 27 int fuse_mount_compat25(const char *mountpoint, struct fuse_args *args); 29 int fuse_mount_compat22(const char *mountpoint, const char *opts); 31 int fuse_mount_compat1(const char *mountpoint, const char *args[]); 33 void fuse_unmount_compat22(const char *mountpoint);
|
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_common.h | 122 * Create a FUSE mountpoint 127 * @param mountpoint the mount point path 131 struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args); 134 * Umount a FUSE mountpoint 136 * @param mountpoint the mount point path 139 void fuse_unmount(const char *mountpoint, struct fuse_chan *ch); 157 * @param mountpoint the returned mountpoint, should be freed after use 162 int fuse_parse_cmdline(struct fuse_args *args, char **mountpoint,
|
H A D | fuse_compat.h | 70 size_t op_size, char **mountpoint, 73 void fuse_teardown_compat22(struct fuse *fuse, int fd, char *mountpoint); 121 size_t op_size, char **mountpoint, 166 char **mountpoint, int *multithreaded, int *fd);
|
H A D | fuse.h | 760 char **mountpoint, int *multithreaded, 764 void fuse_teardown(struct fuse *fuse, char *mountpoint);
|
/osnet-11/usr/src/lib/libzfs/common/ |
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_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...] |
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
|
/osnet-11/usr/src/lib/libbe/common/ |
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_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...] |
/osnet-11/usr/src/lib/brand/solaris/zone/ |
H A D | poststate.ksh | 67 zfs list -H -o mountpoint "${zone.root}" 2>/dev/null | read be_mountpoint
|
H A D | common.ksh | 178 # Field 4 is the BE mountpoint. 398 # ngzbe[<ngzbe name>].mountpoint=</|zoneroot> 400 typeset name mountpoint parent active candidate 406 name,mountpoint,$PROP_PARENT,$PROP_ACTIVE,$PROP_CANDIDATE \ 408 while IFS=$'\t' read name mountpoint parent active candidate 429 ngzbe[$curbe].mountpoint=$mountpoint
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/ |
H A D | vopstat | 90 USAGE: voptrace [-t] [/mountpoint]
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/FS/ |
H A D | vopstat | 90 USAGE: voptrace [-t] [/mountpoint]
|
/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
|
/osnet-11/usr/src/cmd/hal/tools/ |
H A D | Makefile | 46 hal-storage-cleanup-mountpoint \ 118 hal-storage-cleanup-mountpoint: hal-storage-cleanup-mountpoint.c \ 120 $(LINK.c) hal-storage-cleanup-mountpoint.c \
|
/osnet-11/usr/src/lib/pylibbe/common/ |
H A D | libbe.py | 425 mountpoint of the BE, the kernel file, and the kernel arguments for the 426 menu item indexed by 'entnum'; (2) the mountpoint for the BE associated 507 # Finally, concatenate the mountpoint, kernel, and args 537 mountpoint = boot_loader.data_source_boot_instance.rootpath 538 cmd = "/usr/bin/pkg -R %s list -Hv " % mountpoint 602 mounted, mountpoint = benv["mounted"], benv["mountpoint"] 607 mounted, mountpoint = None, None 610 # We could assert that mounted and mountpoint are set here, but there's 614 mountpoint [all...] |
/osnet-11/usr/src/lib/brand/shared/zone/ |
H A D | common.ksh | 463 typeset dsn mountpoint 465 /usr/sbin/zfs list -H -o name,mountpoint "$path" 2>/dev/null | \ 466 IFS=$'\t' read dsn mountpoint 467 [[ -z $dsn || -z $mountpoint ]] && return 1 469 # If mountpoint=legacy, consult /etc/mnttab. 470 if [[ $mountpoint == legacy ]]; then 471 mountpoint=$(nawk -F$'\t' -v "dsn=$dsn" \ 473 [[ -z $mountpoint ]] && return 1 476 [[ $mountpoint -ef $path ]] || return 1 529 zfs create -o zoned=on -o mountpoint [all...] |
H A D | dsconvert.ksh | 333 set -A cmd zfs create -o mountpoint=/rpool -o zoned=on "${zone.rpool_ds}" 339 set -A cmd zfs create -o mountpoint=/export "${zone.rpool_ds}/export" 349 set -A props -- -o mountpoint=legacy -o canmount=noauto 417 if [[ ${dslist[i].props[mountpoint].value} == legacy ]]; then 418 # Create undo using existing mountpoint 437 set -A props -- -o mountpoint=/ -o canmount=noauto 529 set -A cmd zfs set mountpoint="${zone.root}" "${zone.active_ds}" 530 set -A undo zfs set mountpoint=$(/usr/sbin/zfs get -H \ 531 -o value mountpoint "${zone.active_ds}") \
|
/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/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/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
|
/osnet-11/usr/src/lib/brand/labeled/zone/ |
H A D | common.ksh | 239 mountpoint="/zone/${minzone}/home" 243 entry=$(grep ^$mountpoint $ZONE_ETC_DIR/auto_master) 245 entry="$mountpoint $am -nobrowse"
|
/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;
|
/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);
|