Home
last modified time | relevance | path

Searched refs:zret (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/quota/
H A Dquota.kshlib52 typeset -i zret=0
55 zret=$?
56 [[ $zret -ne EDQUOT ]] && \
57 log_fail "Returned error code: $zret. Expected: $EDQUOT."
80 typeset -i zret=0
87 zret=$?
88 [[ $zret -ne EDQUOT ]] && \
89 log_fail "Returned error code: $zret. Expected: EDQUOT."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremoval_reservation.ksh55 zret=$?
57 log_note "file_write returned $zret"
58 (( $zret == $ENOSPC )) || log_fail "Did not get ENOSPC during removal."
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_snapshot.c259 int zret = 0, ret = BE_SUCCESS; in be_rollback() local
306 zret = be_find_zpool_callback(zphp, &bt); in be_rollback()
309 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == in be_rollback()
314 } else if (zret < 0) { in be_rollback()
415 int zret = 0, ret = BE_SUCCESS; in _be_create_snapshot() local
431 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in _be_create_snapshot()
435 } else if (zret < 0) { in _be_create_snapshot()
H A Dbe_rename.c76 int zret = 0, ret = BE_SUCCESS; in be_rename() local
137 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in be_rename()
142 } else if (zret < 0) { in be_rename()
H A Dbe_create.c118 int zret = 0, ret = BE_SUCCESS; in be_init() local
198 if ((zret = zpool_iter(g_zfs, be_exists_callback, bt.nbe_name)) > 0) { in be_init()
202 } else if (zret < 0) { in be_init()
395 int zret; in be_destroy() local
442 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in be_destroy()
446 } else if (zret < 0) { in be_destroy()
654 int zret; in be_copy() local
699 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == in be_copy()
704 } else if (zret < 0) { in be_copy()
823 if ((zret = zpool_iter(g_zfs, be_exists_callback, in be_copy()
[all …]
H A Dbe_zones.c210 int zret = 0; in be_find_mounted_zone_root() local
236 if ((zret = zfs_iter_filesystems(zhp, in be_find_mounted_zone_root()
243 } else if (zret < 0) { in be_find_mounted_zone_root()
H A Dbe_mount.c434 int zret = 0; in _be_unmount() local
443 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in _be_unmount()
447 } else if (zret < 0) { in _be_unmount()
543 if ((zret = zfs_iter_filesystems(zhp, be_unmount_callback, in _be_unmount()
548 return (zret); in _be_unmount()
2660 int zret = 0; in be_get_ds_from_dir_callback() local
2679 zret = zfs_iter_filesystems(zhp, be_get_ds_from_dir_callback, dd); in be_get_ds_from_dir_callback()
2683 return (zret); in be_get_ds_from_dir_callback()
H A Dbe_activate.c240 int zret = 0; in _be_activate() local
257 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &cb)) == 0) { in _be_activate()
261 } else if (zret < 0) { in _be_activate()
H A Dbe_utils.c2731 int zret; in be_find_current_be() local
2733 if ((zret = zpool_iter(g_zfs, be_zpool_find_current_be_callback, in be_find_current_be()
2738 } else if (zret < 0) { in be_find_current_be()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/grow_pool/
H A Dgrow_pool_001_pos.ksh54 typeset -i zret=$?
56 if [[ $zret -ne $ENOSPC ]]; then
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c608 int zret = 0; in find_clone() local
631 if ((zret = zfs_iter_dependents(zhp, B_FALSE, get_direct_clone, in find_clone()
635 } else if (zret == 1) { in find_clone()
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c3192 zone_t *zret = NULL; in zone_find_by_path() local
3207 zret = zone; in zone_find_by_path()
3209 ASSERT(zret != NULL); in zone_find_by_path()
3210 status = zone_status_get(zret); in zone_find_by_path()
3215 zret = global_zone; in zone_find_by_path()
3217 zone_hold(zret); in zone_find_by_path()
3219 return (zret); in zone_find_by_path()