Lines Matching refs:cbp

993 	destroy_cbdata_t *cbp = data;  in destroy_check_dependent()  local
994 const char *tname = zfs_get_name(cbp->cb_target); in destroy_check_dependent()
1003 if (cbp->cb_recurse) in destroy_check_dependent()
1006 if (cbp->cb_first) { in destroy_check_dependent()
1009 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1010 zfs_type_to_name(zfs_get_type(cbp->cb_target))); in destroy_check_dependent()
1013 cbp->cb_first = B_FALSE; in destroy_check_dependent()
1014 cbp->cb_error = B_TRUE; in destroy_check_dependent()
1023 if (!cbp->cb_recurse && in destroy_check_dependent()
1024 zfs_get_type(cbp->cb_target) != ZFS_TYPE_SNAPSHOT) in destroy_check_dependent()
1027 if (cbp->cb_first) { in destroy_check_dependent()
1030 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1031 zfs_type_to_name(zfs_get_type(cbp->cb_target))); in destroy_check_dependent()
1034 cbp->cb_first = B_FALSE; in destroy_check_dependent()
1035 cbp->cb_error = B_TRUE; in destroy_check_dependent()
1036 cbp->cb_dryrun = B_TRUE; in destroy_check_dependent()
1478 is_recvd_column(zprop_get_cbdata_t *cbp) in is_recvd_column() argument
1484 (col = cbp->cb_columns[i]) != GET_COL_NONE; i++) in is_recvd_column()
1519 zprop_get_cbdata_t *cbp = data; in get_callback() local
1521 zprop_list_t *pl = cbp->cb_proplist; in get_callback()
1525 boolean_t received = is_recvd_column(cbp); in get_callback()
1534 pl == cbp->cb_proplist) in get_callback()
1541 cbp->cb_literal) != 0) { in get_callback()
1557 cbp->cb_literal) == 0)) in get_callback()
1560 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
1567 buf, sizeof (buf), cbp->cb_literal) != 0) { in get_callback()
1572 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
1578 buf, sizeof (buf), cbp->cb_literal) != 0) { in get_callback()
1583 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
1613 cbp->cb_literal) == 0)) in get_callback()
1616 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
3059 list_cbdata_t *cbp = data; in list_callback() local
3061 if (cbp->cb_first) { in list_callback()
3062 if (!cbp->cb_scripted) in list_callback()
3063 print_header(cbp); in list_callback()
3064 cbp->cb_first = B_FALSE; in list_callback()
3067 print_dataset(zhp, cbp); in list_callback()
3358 rollback_cbdata_t *cbp = data; in rollback_check_dependent() local
3360 if (cbp->cb_first && cbp->cb_recurse) { in rollback_check_dependent()
3363 cbp->cb_target); in rollback_check_dependent()
3367 cbp->cb_first = 0; in rollback_check_dependent()
3368 cbp->cb_error = 1; in rollback_check_dependent()
3386 rollback_cbdata_t *cbp = data; in rollback_check() local
3388 if (cbp->cb_doclones) { in rollback_check()
3393 if (zfs_prop_get_int(zhp, ZFS_PROP_CREATETXG) > cbp->cb_create) { in rollback_check()
3394 if (cbp->cb_first && !cbp->cb_recurse) { in rollback_check()
3398 cbp->cb_target); in rollback_check()
3402 cbp->cb_first = 0; in rollback_check()
3403 cbp->cb_error = 1; in rollback_check()
3406 if (cbp->cb_recurse) { in rollback_check()
3408 rollback_check_dependent, cbp) != 0) { in rollback_check()
5570 holds_cbdata_t *cbp = data; in holds_callback() local
5571 nvlist_t *top_nvl = *cbp->cb_nvlp; in holds_callback()
5577 if (cbp->cb_recursive) { in holds_callback()
5584 if (strcmp(cbp->cb_snapname, snapname)) in holds_callback()
5591 if (znamelen > cbp->cb_max_namelen) in holds_callback()
5592 cbp->cb_max_namelen = znamelen; in holds_callback()
5597 if (taglen > cbp->cb_max_taglen) in holds_callback()
5598 cbp->cb_max_taglen = taglen; in holds_callback()
5711 get_all_cb_t *cbp = data; in get_one_dataset() local
5714 if (cbp->cb_verbose) { in get_one_dataset()
5740 libzfs_add_handle(cbp, zhp); in get_one_dataset()
5741 assert(cbp->cb_used <= cbp->cb_alloc); in get_one_dataset()