Searched refs:gtnd (Results 1 – 1 of 1) sorted by relevance
3203 redact_snaps_match(zfs_handle_t *zhp, guid_to_name_data_t *gtnd) in redact_snaps_match() argument3215 if (bmark_num_snaps != gtnd->num_redact_snaps) in redact_snaps_match()3221 if (bmark_snaps[i] == gtnd->redact_snap_guids[j]) in redact_snaps_match()3233 guid_to_name_data_t *gtnd = arg; in guid_to_name_cb() local3237 if (gtnd->skip != NULL && in guid_to_name_cb()3239 strcmp(slash + 1, gtnd->skip) == 0) { in guid_to_name_cb()3244 if (zfs_prop_get_int(zhp, ZFS_PROP_GUID) == gtnd->guid && in guid_to_name_cb()3245 (gtnd->num_redact_snaps == -1 || redact_snaps_match(zhp, gtnd))) { in guid_to_name_cb()3246 (void) strcpy(gtnd->name, zhp->zfs_name); in guid_to_name_cb()3251 err = zfs_iter_children_v2(zhp, 0, guid_to_name_cb, gtnd); in guid_to_name_cb()[all …]