Home
last modified time | relevance | path

Searched refs:zap_lookup (Results 1 – 23 of 23) sorted by relevance

/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddsl_deleg.c182 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) != 0) { in dsl_deleg_set_sync()
224 if (zap_lookup(mos, zapobj, whokey, 8, in dsl_deleg_unset_sync()
234 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) != 0) in dsl_deleg_unset_sync()
416 error = zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj); in dsl_check_access()
418 error = zap_lookup(mos, jumpobj, perm, 8, 1, &zero); in dsl_check_access()
486 error = zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj); in dsl_load_sets()
684 if (zap_lookup(mos, pzapobj, whokey, 8, 1, &pjumpobj) != 0) in copy_create_perms()
696 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) == ENOENT) { in copy_create_perms()
H A Ddsl_prop.c108 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
127 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
179 err = zap_lookup(mos, zapobj, propname, intsz, numints, buf); in dsl_prop_get_ds()
203 err = zap_lookup(mos, zapobj, recvdstr, in dsl_prop_get_ds()
399 err = zap_lookup(mos, zapobj, recvdstr, 8, 1, newvalp); in dsl_prop_predict()
411 err = zap_lookup(mos, zapobj, propname, 8, 1, newvalp); in dsl_prop_predict()
420 err = zap_lookup(mos, zapobj, propname, 8, 1, newvalp); in dsl_prop_predict()
1023 err = zap_lookup(mos, propobj, in dsl_prop_get_all_impl()
H A Dzfeature.c204 if (zap_lookup(os, spa->spa_feat_desc_obj, in spa_features_check()
258 err = zap_lookup(spa->spa_meta_objset, zapobj, in feature_get_refcount_from_disk()
285 VERIFY0(zap_lookup(spa->spa_meta_objset, spa->spa_feat_enabled_txg_obj, in feature_get_enabled_txg()
H A Ddsl_dir.c204 err = zap_lookup(dp->dp_meta_objset, in dsl_dir_hold_obj()
450 err = zap_lookup(dp->dp_meta_objset, in dsl_dir_hold()
554 VERIFY0(zap_lookup(os, chld_dd->dd_object, in dsl_dir_init_fs_ss_count()
557 VERIFY0(zap_lookup(os, chld_dd->dd_object, in dsl_dir_init_fs_ss_count()
812 if (!dsl_dir_is_zapified(dd) || zap_lookup(os, dd->dd_object, in dsl_fs_ss_limit_check()
974 if (zap_lookup(os, dd->dd_object, DD_FIELD_FILESYSTEM_COUNT, in dsl_dir_stats()
979 if (zap_lookup(os, dd->dd_object, DD_FIELD_SNAPSHOT_COUNT, in dsl_dir_stats()
1780 err = zap_lookup(os, dd->dd_object, in dsl_dir_rename_check()
1795 err = zap_lookup(os, dd->dd_object, in dsl_dir_rename_check()
1855 VERIFY0(zap_lookup(os, dd->dd_object, in dsl_dir_rename_sync()
[all …]
H A Ddsl_pool.c240 err = zap_lookup(dp->dp_meta_objset, in dsl_pool_open_special_dir()
304 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_pool_open()
342 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_pool_open()
358 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_pool_open()
366 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_pool_open()
373 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_pool_open()
H A Dzfs_vfsops.c1049 err = zap_lookup(zfsvfs->z_os, obj, buf, 8, 1, valp); in zfs_userspace_one()
1130 err = zap_lookup(zfsvfs->z_os, quotaobj, buf, 8, 1, &quota); in zfs_fuid_overquota()
1134 err = zap_lookup(zfsvfs->z_os, usedobj, buf, 8, 1, &used); in zfs_fuid_overquota()
1211 error = zap_lookup(os, MASTER_NODE_OBJ, ZFS_SA_ATTRS, 8, 1, in zfsvfs_init()
1225 error = zap_lookup(os, MASTER_NODE_OBJ, ZFS_ROOT_OBJ, 8, 1, in zfsvfs_init()
1231 error = zap_lookup(os, MASTER_NODE_OBJ, ZFS_UNLINKED_SET, 8, 1, in zfsvfs_init()
1236 error = zap_lookup(os, MASTER_NODE_OBJ, in zfsvfs_init()
1244 error = zap_lookup(os, MASTER_NODE_OBJ, in zfsvfs_init()
1252 error = zap_lookup(os, MASTER_NODE_OBJ, ZFS_FUID_TABLES, 8, 1, in zfsvfs_init()
1259 error = zap_lookup(os, MASTER_NODE_OBJ, ZFS_SHARES_DIR, 8, 1, in zfsvfs_init()
[all …]
H A Ddsl_userhold.c70 error = zap_lookup(mos, dsl_dataset_phys(ds)->ds_userrefs_obj, in dsl_dataset_user_hold_check_one()
373 error = zap_lookup(mos, zapobj, holdname, 8, 1, &tmp); in dsl_dataset_user_release_check_one()
H A Dzap.c1080 err = zap_lookup(os, intoobj, za.za_name, 8, 1, &delta); in zap_join_increment()
1116 return (zap_lookup(os, obj, name, 8, 1, &value)); in zap_lookup_int()
1145 return (zap_lookup(os, obj, name, 8, 1, valuep)); in zap_lookup_int_key()
1158 err = zap_lookup(os, obj, name, 8, 1, &value); in zap_increment()
H A Dzvol.c372 error = zap_lookup(os, ZVOL_ZAP_OBJ, "size", 8, 1, &val); in zvol_get_stats()
1010 error = zap_lookup(os, ZVOL_ZAP_OBJ, "size", 8, 1, &volsize); in zvol_first_open()
2838 if (zap_lookup(zv->zv_objset, ZVOL_ZAP_OBJ, ZVOL_DUMPSIZE, in zvol_dumpify()
2907 (void) zap_lookup(zv->zv_objset, ZVOL_ZAP_OBJ, in zvol_dump_fini()
2909 (void) zap_lookup(zv->zv_objset, ZVOL_ZAP_OBJ, in zvol_dump_fini()
2911 (void) zap_lookup(zv->zv_objset, ZVOL_ZAP_OBJ, in zvol_dump_fini()
2913 (void) zap_lookup(zv->zv_objset, ZVOL_ZAP_OBJ, in zvol_dump_fini()
2924 zap_lookup(zv->zv_objset, ZVOL_ZAP_OBJ, in zvol_dump_fini()
H A Dddt.c119 error = zap_lookup(ddt->ddt_os, DMU_POOL_DIRECTORY_OBJECT, name, in ddt_object_load()
125 VERIFY0(zap_lookup(ddt->ddt_os, ddt->ddt_spa->spa_ddt_stat_object, name, in ddt_object_load()
835 error = zap_lookup(spa->spa_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in ddt_load()
H A Ddmu_send.c1246 error = zap_lookup(dp->dp_meta_objset, in recv_begin_check_existing_impl()
1253 error = zap_lookup(dp->dp_meta_objset, in recv_begin_check_existing_impl()
1622 error = zap_lookup(dp->dp_meta_objset, ds->ds_object, in dmu_recv_resume_begin_check()
1652 (void) zap_lookup(dp->dp_meta_objset, ds->ds_object, in dmu_recv_resume_begin_check()
2834 VERIFY0(zap_lookup(mos, dsobj, in resume_check()
2838 VERIFY0(zap_lookup(mos, dsobj, in resume_check()
2875 (void) zap_lookup(drc->drc_ds->ds_dir->dd_pool->dp_meta_objset, in dmu_recv_stream()
H A Ddsl_dataset.c378 err = zap_lookup(mos, snapobj, name, 8, 1, value); in dsl_dataset_snap_lookup()
513 int zaperr = zap_lookup(mos, ds->ds_object, in dsl_dataset_hold_obj()
1853 if (zap_lookup(dp->dp_meta_objset, ds->ds_object, in get_receive_resume_stats()
1857 if (zap_lookup(dp->dp_meta_objset, ds->ds_object, in get_receive_resume_stats()
1861 if (zap_lookup(dp->dp_meta_objset, ds->ds_object, in get_receive_resume_stats()
1865 if (zap_lookup(dp->dp_meta_objset, ds->ds_object, in get_receive_resume_stats()
1869 if (zap_lookup(dp->dp_meta_objset, ds->ds_object, in get_receive_resume_stats()
1874 if (zap_lookup(dp->dp_meta_objset, ds->ds_object, in get_receive_resume_stats()
H A Dsa.c889 error = zap_lookup(os, sa->sa_reg_attr_obj, in sa_attr_table_setup()
1027 error = zap_lookup(os, sa_obj, SA_LAYOUTS, in sa_setup()
1031 error = zap_lookup(os, sa_obj, SA_REGISTRY, in sa_setup()
1064 if ((error = (zap_lookup(os, sa->sa_layout_attr_obj, in sa_setup()
H A Ddsl_scan.c142 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_scan_init()
158 (void) zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_scan_init()
162 err = zap_lookup(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in dsl_scan_init()
H A Dzfs_fuid.c210 (void) zap_lookup(zfsvfs->z_os, MASTER_NODE_OBJ, in zfs_fuid_init()
H A Dzap_micro.c828 zap_lookup(objset_t *os, uint64_t zapobj, const char *name, in zap_lookup() function
1168 (void) zap_lookup(os, zapobj, name, 8, 1, &oldval); in zap_update()
H A Dzfs_dir.c82 error = zap_lookup(zfsvfs->z_os, dzp->z_id, name, 8, 1, zoid); in zfs_match_find()
H A Dspa.c394 err = zap_lookup(mos, spa->spa_pool_props_object, in spa_prop_get()
2092 (void) zap_lookup(spa->spa_meta_objset, spa->spa_pool_props_object, in spa_prop_find()
2102 return (zap_lookup(spa->spa_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in spa_dir_prop()
2668 error = zap_lookup(spa->spa_meta_objset, DMU_POOL_DIRECTORY_OBJECT, in spa_load_impl()
H A Dzfs_znode.c2183 error = zap_lookup(osp, MASTER_NODE_OBJ, ZFS_SA_ATTRS, 8, 1, &sa_obj); in zfs_sa_setup()
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzap.h199 int zap_lookup(objset_t *ds, uint64_t zapobj, const char *name,
/netbsd/external/cddl/osnet/dist/cmd/zhack/
H A Dzhack.c236 VERIFY(zap_lookup(os, obj, za.za_name, in dump_obj()
/netbsd/external/cddl/osnet/dist/cmd/zdb/
H A Dzdb.c408 (void) zap_lookup(os, object, attr.za_name, in dump_zap()
569 VERIFY(zap_lookup(os, object, attr.za_name, in dump_sa_layouts()
1643 VERIFY(zap_lookup(os, MASTER_NODE_OBJ, ZFS_FUID_TABLES, in dump_uidgid()
1674 VERIFY(zap_lookup(os, MASTER_NODE_OBJ, ZPL_VERSION_STR, in dump_znode()
1677 VERIFY(zap_lookup(os, MASTER_NODE_OBJ, ZFS_SA_ATTRS, in dump_znode()
/netbsd/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c1516 zap_lookup(os, lr->lr_doid, name, sizeof (object), 1, &object)); in ztest_replay_remove()
1953 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, in ztest_lookup()
4170 VERIFY(zap_lookup(os, object, txgname, zl_intsize, in ztest_zap()
4179 VERIFY(zap_lookup(os, object, propname, zl_intsize, in ztest_zap()
4361 error = zap_lookup(os, object, name, wsize, wc, data); in ztest_zap_parallel()