Lines Matching refs:cbp

970 	destroy_cbdata_t *cbp = data;  in destroy_check_dependent()  local
971 const char *tname = zfs_get_name(cbp->cb_target); in destroy_check_dependent()
980 if (cbp->cb_recurse) in destroy_check_dependent()
983 if (cbp->cb_first) { in destroy_check_dependent()
986 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
987 zfs_type_to_name(zfs_get_type(cbp->cb_target))); in destroy_check_dependent()
990 cbp->cb_first = B_FALSE; in destroy_check_dependent()
991 cbp->cb_error = B_TRUE; in destroy_check_dependent()
1000 if (!cbp->cb_recurse && in destroy_check_dependent()
1001 zfs_get_type(cbp->cb_target) != ZFS_TYPE_SNAPSHOT) in destroy_check_dependent()
1004 if (cbp->cb_first) { in destroy_check_dependent()
1007 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1008 zfs_type_to_name(zfs_get_type(cbp->cb_target))); in destroy_check_dependent()
1011 cbp->cb_first = B_FALSE; in destroy_check_dependent()
1012 cbp->cb_error = B_TRUE; in destroy_check_dependent()
1013 cbp->cb_dryrun = B_TRUE; in destroy_check_dependent()
1455 is_recvd_column(zprop_get_cbdata_t *cbp) in is_recvd_column() argument
1461 (col = cbp->cb_columns[i]) != GET_COL_NONE; i++) in is_recvd_column()
1496 zprop_get_cbdata_t *cbp = data; in get_callback() local
1498 zprop_list_t *pl = cbp->cb_proplist; in get_callback()
1502 boolean_t received = is_recvd_column(cbp); in get_callback()
1511 pl == cbp->cb_proplist) in get_callback()
1518 cbp->cb_literal) != 0) { in get_callback()
1534 cbp->cb_literal) == 0)) in get_callback()
1537 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
1544 buf, sizeof (buf), cbp->cb_literal) != 0) { in get_callback()
1549 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
1555 buf, sizeof (buf), cbp->cb_literal) != 0) { in get_callback()
1560 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
1590 cbp->cb_literal) == 0)) in get_callback()
1593 zprop_print_one_property(zfs_get_name(zhp), cbp, in get_callback()
3033 list_cbdata_t *cbp = data; in list_callback() local
3035 if (cbp->cb_first) { in list_callback()
3036 if (!cbp->cb_scripted) in list_callback()
3037 print_header(cbp); in list_callback()
3038 cbp->cb_first = B_FALSE; in list_callback()
3041 print_dataset(zhp, cbp); in list_callback()
3332 rollback_cbdata_t *cbp = data; in rollback_check_dependent() local
3334 if (cbp->cb_first && cbp->cb_recurse) { in rollback_check_dependent()
3337 cbp->cb_target); in rollback_check_dependent()
3341 cbp->cb_first = 0; in rollback_check_dependent()
3342 cbp->cb_error = 1; in rollback_check_dependent()
3360 rollback_cbdata_t *cbp = data; in rollback_check() local
3362 if (cbp->cb_doclones) { in rollback_check()
3367 if (zfs_prop_get_int(zhp, ZFS_PROP_CREATETXG) > cbp->cb_create) { in rollback_check()
3368 if (cbp->cb_first && !cbp->cb_recurse) { in rollback_check()
3372 cbp->cb_target); in rollback_check()
3376 cbp->cb_first = 0; in rollback_check()
3377 cbp->cb_error = 1; in rollback_check()
3380 if (cbp->cb_recurse) { in rollback_check()
3382 rollback_check_dependent, cbp) != 0) { in rollback_check()
5528 holds_cbdata_t *cbp = data; in holds_callback() local
5529 nvlist_t *top_nvl = *cbp->cb_nvlp; in holds_callback()
5535 if (cbp->cb_recursive) { in holds_callback()
5542 if (strcmp(cbp->cb_snapname, snapname)) in holds_callback()
5549 if (znamelen > cbp->cb_max_namelen) in holds_callback()
5550 cbp->cb_max_namelen = znamelen; in holds_callback()
5555 if (taglen > cbp->cb_max_taglen) in holds_callback()
5556 cbp->cb_max_taglen = taglen; in holds_callback()
5669 get_all_cb_t *cbp = data; in get_one_dataset() local
5672 if (cbp->cb_verbose) { in get_one_dataset()
5698 libzfs_add_handle(cbp, zhp); in get_one_dataset()
5699 assert(cbp->cb_used <= cbp->cb_alloc); in get_one_dataset()