Lines Matching refs:ida
453 iter_dependents_arg_t *ida = arg; in iter_dependents_cb() local
455 boolean_t first = ida->first; in iter_dependents_cb()
456 ida->first = B_FALSE; in iter_dependents_cb()
459 err = zfs_iter_clones(zhp, iter_dependents_cb, ida); in iter_dependents_cb()
468 for (f = ida->stack; f != NULL; f = f->next) { in iter_dependents_cb()
471 if (ida->allowrecursion) { in iter_dependents_cb()
491 isf.next = ida->stack; in iter_dependents_cb()
492 ida->stack = &isf; in iter_dependents_cb()
493 err = zfs_iter_filesystems(zhp, iter_dependents_cb, ida); in iter_dependents_cb()
495 err = zfs_iter_snapshots(zhp, iter_dependents_cb, ida); in iter_dependents_cb()
496 ida->stack = isf.next; in iter_dependents_cb()
500 err = ida->func(zhp, ida->data); in iter_dependents_cb()
511 iter_dependents_arg_t ida; in zfs_iter_dependents() local
512 ida.allowrecursion = allowrecursion; in zfs_iter_dependents()
513 ida.stack = NULL; in zfs_iter_dependents()
514 ida.func = func; in zfs_iter_dependents()
515 ida.data = data; in zfs_iter_dependents()
516 ida.first = B_TRUE; in zfs_iter_dependents()
517 return (iter_dependents_cb(zfs_handle_dup(zhp), &ida)); in zfs_iter_dependents()