Searched refs:gtnd (Results 1 – 1 of 1) sorted by relevance
3187 redact_snaps_match(zfs_handle_t *zhp, guid_to_name_data_t *gtnd) in redact_snaps_match() argument3199 if (bmark_num_snaps != gtnd->num_redact_snaps) in redact_snaps_match()3205 if (bmark_snaps[i] == gtnd->redact_snap_guids[j]) in redact_snaps_match()3217 guid_to_name_data_t *gtnd = arg; in guid_to_name_cb() local3221 if (gtnd->skip != NULL && in guid_to_name_cb()3223 strcmp(slash + 1, gtnd->skip) == 0) { in guid_to_name_cb()3228 if (zfs_prop_get_int(zhp, ZFS_PROP_GUID) == gtnd->guid && in guid_to_name_cb()3229 (gtnd->num_redact_snaps == -1 || redact_snaps_match(zhp, gtnd))) { in guid_to_name_cb()3230 (void) strcpy(gtnd->name, zhp->zfs_name); in guid_to_name_cb()3235 err = zfs_iter_children_v2(zhp, 0, guid_to_name_cb, gtnd); in guid_to_name_cb()[all …]