Searched defs:holds (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_userhold.c121 * reported if needed, such as when all holds fail.
197 zfs_dbgmsg("couldn't release holds on pool=%s "
203 zfs_dbgmsg("couldn't release holds on pool=%s "
217 dsl_onexit_hold_cleanup(spa_t *spa, nvlist_t *holds, minor_t minor) argument
221 if (minor == 0 || nvlist_empty(holds)) {
222 fnvlist_free(holds);
232 ca->zhca_holds = holds;
281 * holds is nvl of snapname -> holdname
288 * If none of the snapshots for requested holds exist then ENOENT will be
291 * If cleanup_minor is not 0, the holds wil
304 dsl_dataset_user_hold(nvlist_t *holds, minor_t cleanup_minor, nvlist_t *errlist) argument
347 dsl_dataset_user_release_check_one(dsl_dataset_user_release_arg_t *ddura, dsl_dataset_t *ds, nvlist_t *holds, const char *snapname) argument
442 nvlist_t *holds; local
473 dsl_dataset_user_release_sync_one(dsl_dataset_t *ds, nvlist_t *holds, dmu_tx_t *tx) argument
548 dsl_dataset_user_release_impl(nvlist_t *holds, nvlist_t *errlist, dsl_pool_t *tmpdp) argument
617 dsl_dataset_user_release(nvlist_t *holds, nvlist_t *errlist) argument
626 dsl_dataset_user_release_tmp(struct dsl_pool *dp, nvlist_t *holds) argument
[all...]
H A Ddsl_pool.c557 * dsl_dir_destroy_check() will fail if there are unexpected holds.
845 * Walk through the pool-wide zap object of temporary snapshot user holds
855 nvlist_t *holds; local
861 holds = fnvlist_alloc();
872 if (nvlist_lookup_nvlist(holds, za.za_name, &tags) != 0) {
875 fnvlist_add_nvlist(holds, za.za_name, tags);
881 dsl_dataset_user_release_tmp(dp, holds);
882 fnvlist_free(holds);
887 * Create the pool-wide zap object for storing temporary snapshot holds.
915 * zap object for temporary holds migh
[all...]
H A Ddmu_tx.c876 int holds = 0; local
892 holds++;
895 return (holds);
1196 * before processing the dnode holds, due to the
1247 * Add in 'tohold' to account for our dirty holds on this memory
1468 * Go through the transaction's hold list and remove holds on
1469 * associated dnodes, notifying waiters if no holds remain.
H A Ddbuf.c314 int64_t holds; local
326 holds = refcount_count(&db->db_holds);
329 * Immediate eviction occurs when holds == dirtycnt.
330 * For normal eviction buffers, holds is zero on
335 * test the generic invariant that holds >= dirtycnt.
337 ASSERT3U(holds, >=, db->db_dirtycnt);
340 ASSERT3U(holds, >=, db->db_dirtycnt);
342 ASSERT3U(holds, >, 0);
2691 int64_t holds = refcount_add(&db->db_holds, tag); local
2692 ASSERT3S(holds, >,
2746 int64_t holds; local
[all...]
H A Dzfs_ioctl.c1228 nvlist_t *holds; local
1231 error = nvlist_lookup_nvlist(innvl, "holds", &holds);
1235 for (pair = nvlist_next_nvpair(holds, NULL); pair != NULL;
1236 pair = nvlist_next_nvpair(holds, pair)) {
5224 * "holds" -> { snapname -> holdname (string), ... }
5238 nvlist_t *holds; local
5243 error = nvlist_lookup_nvlist(args, "holds", &holds);
5248 for (pair = nvlist_next_nvpair(holds, NUL
5300 zfs_ioc_release(const char *pool, nvlist_t *holds, nvlist_t *errlist) argument
[all...]
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c251 * If 'defer' is not set, and a snapshot has user holds or clones, the
255 * If 'defer' is set, and a snapshot has user holds or clones, it will be
336 * Create "user holds" on snapshots. If there is a hold on a snapshot,
346 * termination), the holds will be released. If the system is shut down
347 * uncleanly, the holds will be released when the pool is next opened
353 * The return value will be 0 if all holds, for snapshots that existed,
357 * failed and no holds will be created.
363 lzc_hold(nvlist_t *holds, int cleanup_fd, nvlist_t **errlist) argument
371 elem = nvlist_next_nvpair(holds, NULL);
378 fnvlist_add_nvlist(args, "holds", hold
410 lzc_release(nvlist_t *holds, nvlist_t **errlist) argument
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c4496 zfs_hold_nvl(zfs_handle_t *zhp, int cleanup_fd, nvlist_t *holds) argument
4505 ret = lzc_hold(holds, cleanup_fd, &errors);
4805 dgettext(TEXT_DOMAIN, "cannot get holds for '%s'"),
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bcache.h382 int cache_aging_ct3; /* holds - aging hits which */
407 int holds; /* # holdovers - single page, fully */ member in struct:_dm_process_vars
/illumos-gate/usr/src/lib/libscf/common/
H A Dlowlevel.c5446 const uint32_t holds = RH_HOLD_SCOPE | RH_HOLD_SERVICE | local
5535 handle_hold_subhandles(h, holds);
5567 handle_rele_subhandles(h, holds);
5573 handle_rele_subhandles(h, holds);
5580 handle_rele_subhandles(h, holds);
5585 handle_rele_subhandles(h, holds);
5594 handle_rele_subhandles(h, holds);
5601 handle_rele_subhandles(h, holds);
5606 handle_rele_subhandles(h, holds);
5615 handle_rele_subhandles(h, holds);
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c4650 nvlist_t *snaps, *holds; local
4654 holds = fnvlist_alloc();
4655 fnvlist_add_boolean(holds, holdname);
4656 fnvlist_add_nvlist(snaps, snapname, holds);
4657 fnvlist_free(holds);
4677 nvlist_t *holds; local
4752 holds = fnvlist_alloc();
4753 fnvlist_add_string(holds, fullname, tag);
4754 error = dsl_dataset_user_hold(holds, 0, NULL);
4755 fnvlist_free(holds);
[all...]

Completed in 133 milliseconds