Lines Matching refs:ud

445 	be_unmount_data_t	ud = { 0 };
547 ud.altroot = mountpoint;
548 ud.force = flags & BE_UNMOUNT_FLAG_FORCE;
553 if ((ret = be_unmount_zones(&ud)) != BE_SUCCESS) {
562 if ((ret = unmount_shared_fs(&ud)) != BE_SUCCESS) {
571 &ud)) != 0) {
579 if ((ret = be_unmount_root(zhp, &ud)) != BE_SUCCESS) {
661 * ud - be_unmount_data_t pointer to data for zone to be unmounted
669 be_unmount_zone_root(zfs_handle_t *zhp, be_unmount_data_t *ud)
674 if (zfs_unmount(zhp, NULL, ud->force ? MS_FORCE : 0) != 0) {
1198 be_unmount_data_t *ud = data;
1203 if (zfs_iter_filesystems(zhp, be_unmount_callback, ud)) {
1213 if (zfs_unmount(zhp, NULL, ud->force ? MS_FORCE : 0) != 0) {
1713 * ud - be_unmount_data_t pointer
1721 unmount_shared_fs(be_unmount_data_t *ud)
1768 altroot_len = strlen(ud->altroot);
1777 if (strncmp(entp->mnt_mountp, ud->altroot, altroot_len) == 0 &&
2017 * ud - be_unmount_data_t pointer providing unmount data
2026 be_unmount_root(zfs_handle_t *zhp, be_unmount_data_t *ud)
2032 if (get_mountpoint_from_vfstab(ud->altroot, zfs_get_name(zhp),
2039 if (zfs_unmount(zhp, NULL, ud->force ? MS_FORCE : 0) != 0) {
2090 be_unmount_data_t ud = { 0 };
2144 ud.altroot = altroot;
2145 if ((ret = be_unmount_root(zhp, &ud)) != BE_SUCCESS) {
2283 * ud - unmount_data_t pointer data for the global BE.
2291 be_unmount_zones(be_unmount_data_t *ud)
2302 z_set_zone_root(ud->altroot);
2323 "%s%s", ud->altroot, zonepath);
2349 ret = be_unmount_one_zone(ud, zonename, zonepath,
2358 "altroot %s\n"), zonename, ud->altroot);
2470 * ud - be_unmount_data_t pointer to data for global BE
2481 be_unmount_one_zone(be_unmount_data_t *ud, char *zonename, char *zonepath,
2497 (void) strlcpy(zone_altroot, ud->altroot, sizeof (zone_altroot));
2501 (void) strlcpy(zone_altpath, ud->altroot, sizeof (zone_altpath));
2506 zone_ud.force = ud->force;