Home
last modified time | relevance | path

Searched refs:nvlist_next_nvpair (Results 1 – 25 of 60) sorted by relevance

123

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_userhold.c100 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check()
101 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) { in dsl_dataset_user_hold_check()
115 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check()
116 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) { in dsl_dataset_user_hold_check()
285 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_chkholds, NULL); in dsl_dataset_user_hold_sync()
287 pair = nvlist_next_nvpair(dduha->dduha_chkholds, pair)) { in dsl_dataset_user_hold_sync()
332 pair = nvlist_next_nvpair(holds, NULL); in dsl_dataset_user_hold()
389 for (nvpair_t *pair = nvlist_next_nvpair(holds, NULL); pair != NULL; in dsl_dataset_user_release_check_one()
390 pair = nvlist_next_nvpair(holds, pair)) { in dsl_dataset_user_release_check_one()
461 for (nvpair_t *pair = nvlist_next_nvpair(ddura->ddura_holds, NULL); in dsl_dataset_user_release_check()
[all …]
H A Ddsl_bookmark.c168 for (nvpair_t *pair = nvlist_next_nvpair(bmarks, NULL); in dsl_bookmark_create_nvl_validate()
169 pair != NULL; pair = nvlist_next_nvpair(bmarks, pair)) { in dsl_bookmark_create_nvl_validate()
199 for (nvpair_t *pair2 = nvlist_next_nvpair(bmarks, pair); in dsl_bookmark_create_nvl_validate()
200 pair2 != NULL; pair2 = nvlist_next_nvpair(bmarks, pair2)) { in dsl_bookmark_create_nvl_validate()
308 for (nvpair_t *pair = nvlist_next_nvpair(dbca->dbca_bmarks, NULL); in dsl_bookmark_create_check()
309 pair != NULL; pair = nvlist_next_nvpair(dbca->dbca_bmarks, pair)) { in dsl_bookmark_create_check()
608 for (nvpair_t *pair = nvlist_next_nvpair(dbca->dbca_bmarks, NULL); in dsl_bookmark_create_sync()
609 pair != NULL; pair = nvlist_next_nvpair(dbca->dbca_bmarks, pair)) { in dsl_bookmark_create_sync()
635 pair = nvlist_next_nvpair(bmarks, NULL); in dsl_bookmark_create()
1103 for (nvpair_t *pair = nvlist_next_nvpair(dbda->dbda_bmarks, NULL); in dsl_bookmark_destroy_check()
[all …]
H A Ddsl_deleg.c101 while ((whopair = nvlist_next_nvpair(nvp, whopair))) { in dsl_deleg_can_allow()
107 while ((permpair = nvlist_next_nvpair(perms, permpair))) { in dsl_deleg_can_allow()
138 while ((whopair = nvlist_next_nvpair(nvp, whopair))) { in dsl_deleg_can_unallow()
175 while ((whopair = nvlist_next_nvpair(dda->dda_nvlist, whopair))) { in dsl_deleg_set_sync()
188 while ((permpair = nvlist_next_nvpair(perms, permpair))) { in dsl_deleg_set_sync()
218 while ((whopair = nvlist_next_nvpair(dda->dda_nvlist, whopair))) { in dsl_deleg_unset_sync()
238 while ((permpair = nvlist_next_nvpair(perms, permpair))) { in dsl_deleg_unset_sync()
H A Dzfs_ioctl.c791 for (pair = nvlist_next_nvpair(snaps, NULL); pair != NULL; in zfs_secpolicy_destroy_snaps()
793 nextpair = nvlist_next_nvpair(snaps, pair); in zfs_secpolicy_destroy_snaps()
945 for (pair = nvlist_next_nvpair(snaps, NULL); pair != NULL; in zfs_secpolicy_snapshot()
946 pair = nvlist_next_nvpair(snaps, pair)) { in zfs_secpolicy_snapshot()
972 for (nvpair_t *pair = nvlist_next_nvpair(innvl, NULL); in zfs_secpolicy_bookmark()
973 pair != NULL; pair = nvlist_next_nvpair(innvl, pair)) { in zfs_secpolicy_bookmark()
998 for (pair = nvlist_next_nvpair(innvl, NULL); pair != NULL; in zfs_secpolicy_destroy_bookmarks()
1002 nextpair = nvlist_next_nvpair(innvl, pair); in zfs_secpolicy_destroy_bookmarks()
1194 for (pair = nvlist_next_nvpair(holds, NULL); pair != NULL; in zfs_secpolicy_hold()
1195 pair = nvlist_next_nvpair(holds, pair)) { in zfs_secpolicy_hold()
[all …]
H A Dzcp.c483 for (pair = nvlist_next_nvpair(nvl, NULL); in zcp_nvlist_to_lua()
484 pair != NULL; pair = nvlist_next_nvpair(nvl, pair)) { in zcp_nvlist_to_lua()
492 for (pair = nvlist_next_nvpair(nvl, NULL); in zcp_nvlist_to_lua()
493 pair != NULL; pair = nvlist_next_nvpair(nvl, pair)) { in zcp_nvlist_to_lua()
500 for (pair = nvlist_next_nvpair(nvl, NULL); in zcp_nvlist_to_lua()
501 pair != NULL; pair = nvlist_next_nvpair(nvl, pair)) { in zcp_nvlist_to_lua()
1171 for (nvpair_t *pair = nvlist_next_nvpair(runinfo.zri_new_zvols, NULL); in zcp_eval()
1173 pair = nvlist_next_nvpair(runinfo.zri_new_zvols, pair)) { in zcp_eval()
H A Ddsl_destroy.c607 if (nvlist_next_nvpair(snaps, NULL) == NULL) in dsl_destroy_snapshots_nvl()
616 for (nvpair_t *pair = nvlist_next_nvpair(snaps, NULL); in dsl_destroy_snapshots_nvl()
617 pair != NULL; pair = nvlist_next_nvpair(snaps, pair)) { in dsl_destroy_snapshots_nvl()
657 int error = zcp_eval(nvpair_name(nvlist_next_nvpair(snaps, NULL)), in dsl_destroy_snapshots_nvl()
682 for (nvpair_t *pair = nvlist_next_nvpair(errlist_raw, NULL); in dsl_destroy_snapshots_nvl()
683 pair != NULL; pair = nvlist_next_nvpair(errlist_raw, pair)) { in dsl_destroy_snapshots_nvl()
H A Ddsl_dataset.c1620 for (pair = nvlist_next_nvpair(ddsa->ddsa_snaps, NULL); in dsl_dataset_snapshot_check()
1622 pair = nvlist_next_nvpair(ddsa->ddsa_snaps, pair)) { in dsl_dataset_snapshot_check()
1652 for (pair = nvlist_next_nvpair(cnt_track, NULL); in dsl_dataset_snapshot_check()
1653 pair != NULL; pair = nvlist_next_nvpair(cnt_track, pair)) { in dsl_dataset_snapshot_check()
1683 for (pair = nvlist_next_nvpair(ddsa->ddsa_snaps, NULL); in dsl_dataset_snapshot_check()
1684 pair != NULL; pair = nvlist_next_nvpair(ddsa->ddsa_snaps, pair)) { in dsl_dataset_snapshot_check()
1909 for (pair = nvlist_next_nvpair(ddsa->ddsa_snaps, NULL); in dsl_dataset_snapshot_sync()
1910 pair != NULL; pair = nvlist_next_nvpair(ddsa->ddsa_snaps, pair)) { in dsl_dataset_snapshot_sync()
1944 pair = nvlist_next_nvpair(snaps, NULL); in dsl_dataset_snapshot()
1957 for (pair = nvlist_next_nvpair(snaps, NULL); pair != NULL; in dsl_dataset_snapshot()
[all …]
/freebsd/sbin/bectl/
H A Dbectl_list.c165 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_snapshots()
166 cur = nvlist_next_nvpair(props, cur)) { in print_snapshots()
304 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_headers()
305 cur = nvlist_next_nvpair(props, cur)) { in print_headers()
356 nvp = nvlist_next_nvpair(nvl, NULL); in prop_list_sort()
361 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) { in prop_list_sort()
484 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in bectl_cmd_list()
485 cur = nvlist_next_nvpair(props, cur)) { in bectl_cmd_list()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_deleg.c165 who = nvlist_next_nvpair(nvp, NULL); in zfs_deleg_verify_nvlist()
180 perm_name = nvlist_next_nvpair(perms, NULL); in zfs_deleg_verify_nvlist()
189 } while ((perm_name = nvlist_next_nvpair(perms, perm_name)) in zfs_deleg_verify_nvlist()
191 } while ((who = nvlist_next_nvpair(nvp, who)) != NULL); in zfs_deleg_verify_nvlist()
H A Dzfs_comutil.c114 while ((elem = nvlist_next_nvpair(nvl, elem)) != NULL) { in zpool_get_load_policy()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_iter.c52 for (pair = nvlist_next_nvpair(nvl, NULL); pair != NULL; in zfs_iter_clones()
53 pair = nvlist_next_nvpair(nvl, pair)) { in zfs_iter_clones()
246 for (pair = nvlist_next_nvpair(bmarks, NULL); in zfs_iter_bookmarks_v2()
247 pair != NULL; pair = nvlist_next_nvpair(bmarks, pair)) { in zfs_iter_bookmarks_v2()
H A Dlibzfs_dataset.c249 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) { in process_user_props()
1054 while ((elem = nvlist_next_nvpair(nvl, elem)) != NULL) { in zfs_valid_proplist()
1824 for (elem = nvlist_next_nvpair(nvl, NULL); in zfs_prop_set_list_flags()
1826 elem = nvlist_next_nvpair(nvl, elem)) { in zfs_prop_set_list_flags()
1842 for (elem = nvlist_next_nvpair(nvl, NULL); in zfs_prop_set_list_flags()
1844 elem = nvlist_next_nvpair(nvl, elem)) in zfs_prop_set_list_flags()
1850 for (elem = nvlist_next_nvpair(nvl, NULL); in zfs_prop_set_list_flags()
1852 elem = nvlist_next_nvpair(nvl, elem)) { in zfs_prop_set_list_flags()
1910 for (nvpair_t *elem = nvlist_next_nvpair(errorprops, NULL); in zfs_prop_set_list_flags()
1912 elem = nvlist_next_nvpair(errorprops, elem)) { in zfs_prop_set_list_flags()
[all …]
H A Dlibzfs_sendrecv.c189 while ((fselem = nvlist_next_nvpair(fss, fselem)) != NULL) { in fsavl_create()
197 nvlist_next_nvpair(snaps, snapelem)) != NULL) { in fsavl_create()
388 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) { in send_iterate_prop()
1428 for (fspair = nvlist_next_nvpair(sdd->fss, NULL); fspair; in dump_filesystems()
1429 fspair = nvlist_next_nvpair(sdd->fss, fspair)) { in dump_filesystems()
1452 for (fspair = nvlist_next_nvpair(sdd->fss, NULL); fspair; in dump_filesystems()
1453 fspair = nvlist_next_nvpair(sdd->fss, fspair)) { in dump_filesystems()
1509 for (fspair = nvlist_next_nvpair(sdd->fss, NULL); fspair; in dump_filesystems()
1510 fspair = nvlist_next_nvpair(sdd->fss, fspair)) { in dump_filesystems()
1717 for (pair = nvlist_next_nvpair(bmarks, NULL); pair; in find_redact_pair()
[all …]
H A Dlibzfs_pool.c547 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) { in zpool_valid_proplist()
979 while ((nvp = nvlist_next_nvpair(zhp->zpool_props, nvp)) != in zpool_expand_proplist()
1010 for (nvp = nvlist_next_nvpair(features, NULL); in zpool_expand_proplist()
1011 nvp != NULL; nvp = nvlist_next_nvpair(features, nvp)) { in zpool_expand_proplist()
1111 while ((elem = nvlist_next_nvpair(vprops, elem)) != NULL) { in vdev_expand_proplist()
2156 for (nvpair_t *nvp = nvlist_next_nvpair(unsup_feat, NULL); in zpool_collect_unsup_feat()
2157 nvp != NULL; nvp = nvlist_next_nvpair(unsup_feat, nvp)) { in zpool_collect_unsup_feat()
2416 for (nvpair_t *elem = nvlist_next_nvpair(vds, NULL); elem != NULL; in zpool_translate_vdev_guids()
2417 elem = nvlist_next_nvpair(vds, elem)) { in zpool_translate_vdev_guids()
2516 for (elem = nvlist_next_nvpair(vdev_guids, NULL); elem != NULL; in zpool_initialize_impl()
[all …]
/freebsd/sys/modules/zfs/
H A Dstatic_ccompile.h19 #define nvlist_next_nvpair spl_nvlist_next_nvpair macro
/freebsd/lib/libbe/
H A Dbe_info.c288 be_pair = nvlist_next_nvpair(be_list, NULL); in be_prop_list_free()
292 while ((be_pair = nvlist_next_nvpair(be_list, be_pair)) != NULL) { in be_prop_list_free()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dlibzfs_input_check.c192 for (nvpair_t *pair = nvlist_next_nvpair(required, NULL); in lzc_ioctl_test()
193 pair != NULL; pair = nvlist_next_nvpair(required, pair)) { in lzc_ioctl_test()
198 for (nvpair_t *pair = nvlist_next_nvpair(optional, NULL); in lzc_ioctl_test()
199 pair != NULL; pair = nvlist_next_nvpair(optional, pair)) { in lzc_ioctl_test()
238 for (nvpair_t *pair = nvlist_next_nvpair(input, NULL); in lzc_ioctl_test()
239 pair != NULL; pair = nvlist_next_nvpair(input, pair)) { in lzc_ioctl_test()
H A Dnvlist_to_lua.c41 for (nvpair_t *pair = nvlist_next_nvpair(nvla, NULL); in nvlist_equal()
42 pair != NULL; pair = nvlist_next_nvpair(nvla, pair)) { in nvlist_equal()
/freebsd/sys/contrib/openzfs/lib/libnvpair/
H A Dlibnvpair_json.c123 for (curr = nvlist_next_nvpair(nvl, NULL); curr; in nvlist_print_json()
124 curr = nvlist_next_nvpair(nvl, curr)) { in nvlist_print_json()
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_nvlist.py234 pair = _lib.nvlist_next_nvpair(nvlist, _ffi.NULL)
263 pair = _lib.nvlist_next_nvpair(nvlist, pair)
/freebsd/stand/libsa/zfs/
H A Dnvlist.h137 nvp_header_t *nvlist_next_nvpair(nvlist_t *, nvp_header_t *);
/freebsd/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.c373 elem = nvlist_next_nvpair(snaps, NULL); in lzc_snapshot()
423 elem = nvlist_next_nvpair(snaps, NULL); in lzc_destroy_snaps()
533 elem = nvlist_next_nvpair(holds, NULL); in lzc_hold()
578 elem = nvlist_next_nvpair(holds, NULL); in lzc_release()
1390 elem = nvlist_next_nvpair(bookmarks, NULL); in lzc_bookmark()
1494 elem = nvlist_next_nvpair(bmarks, NULL); in lzc_destroy_bookmarks()
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dioctl.c82 for (nvp = nvlist_next_nvpair(nvl, NULL); nvp; in nvl2py()
83 nvp = nvlist_next_nvpair(nvl, nvp)) { in nvl2py()
/freebsd/sys/contrib/libnv/
H A Dnvlist.c386 nvp = nvlist_next_nvpair(nvl, nvp)) { in nvlist_find()
449 nvp = nvlist_next_nvpair(nvl, nvp)) { in nvlist_clone()
647 while ((nvp = nvlist_next_nvpair(nvl, nvp)) == NULL) { in nvlist_dump()
960 while ((nvp = nvlist_next_nvpair(nvl, nvp)) == NULL) { in nvlist_xpack()
1362 nvlist_next_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp) in nvlist_next_nvpair() function
1402 nvp = nvlist_next_nvpair(nvl, *cookiep); in nvlist_next()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_sysevent.c58 while ((elem = nvlist_next_nvpair(event, elem)) != NULL) { in log_sysevent()

123