Searched refs:zapobj (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_deleg.c163 uint64_t zapobj; local
167 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj;
168 if (zapobj == 0) {
170 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj = zap_create(mos,
182 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) != 0) {
184 zapobj, whokey, tx);
208 uint64_t zapobj; local
211 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj;
212 if (zapobj == 0) {
224 if (zap_lookup(mos, zapobj, whoke
408 dsl_check_access(objset_t *mos, uint64_t zapobj, char type, char checkflag, void *valp, const char *perm) argument
429 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, int checkflag, cred_t *cr) argument
473 dsl_load_sets(objset_t *mos, uint64_t zapobj, char type, char checkflag, void *valp, avl_tree_t *avl) argument
512 dsl_load_user_sets(objset_t *mos, uint64_t zapobj, avl_tree_t *avl, char checkflag, cred_t *cr) argument
580 uint64_t zapobj; local
676 uint64_t zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; local
738 dsl_deleg_destroy(objset_t *mos, uint64_t zapobj, dmu_tx_t *tx) argument
[all...]
H A Dzfeature.c248 uint64_t zapobj = feature->fi_can_readonly ? local
255 if (zapobj == 0)
258 err = zap_lookup(spa->spa_meta_objset, zapobj,
299 uint64_t zapobj = feature->fi_can_readonly ? local
302 VERIFY0(zap_update(spa->spa_meta_objset, zapobj, feature->fi_guid,
337 uint64_t zapobj = feature->fi_can_readonly ? local
340 ASSERT(0 != zapobj);
347 if (zap_contains(spa->spa_meta_objset, zapobj, feature->fi_guid) == 0)
382 uint64_t zapobj = feature->fi_can_readonly ? local
386 ASSERT(0 != zapobj);
[all...]
H A Ddsl_prop.c166 uint64_t zapobj; local
171 zapobj = dsl_dataset_phys(ds)->ds_props_obj;
173 if (zapobj != 0) {
180 err = zap_lookup(mos, zapobj, propname, intsz, numints, buf);
194 err = zap_contains(mos, zapobj, inheritstr);
204 err = zap_lookup(mos, zapobj, recvdstr,
313 uint64_t zapobj; local
329 zapobj = dsl_dir_phys(dd)->dd_props_zapobj;
343 err = zap_lookup(mos, zapobj, recvdstr, 8, 1, newvalp);
355 err = zap_lookup(mos, zapobj, propnam
535 uint64_t zapobj, intval, dummy; local
[all...]
H A Dzap_micro.c682 zap_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx) argument
690 return (dmu_object_free(os, zapobj, tx));
710 zap_count(objset_t *os, uint64_t zapobj, uint64_t *count) argument
715 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap);
773 zap_lookup(objset_t *os, uint64_t zapobj, const char *name, argument
776 return (zap_lookup_norm(os, zapobj, name, integer_size,
781 zap_lookup_norm(objset_t *os, uint64_t zapobj, const char *name, argument
791 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap);
830 zap_prefetch_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, argument
837 err = zap_lockdir(os, zapobj, NUL
853 zap_lookup_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, int key_numints, uint64_t integer_size, uint64_t num_integers, void *buf) argument
877 zap_contains(objset_t *os, uint64_t zapobj, const char *name) argument
887 zap_length(objset_t *os, uint64_t zapobj, const char *name, uint64_t *integer_size, uint64_t *num_integers) argument
922 zap_length_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, int key_numints, uint64_t *integer_size, uint64_t *num_integers) argument
988 zap_add(objset_t *os, uint64_t zapobj, const char *key, int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx) argument
1031 zap_add_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, int key_numints, int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx) argument
1056 zap_update(objset_t *os, uint64_t zapobj, const char *name, int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx) argument
1112 zap_update_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, int key_numints, int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx) argument
1137 zap_remove(objset_t *os, uint64_t zapobj, const char *name, dmu_tx_t *tx) argument
1143 zap_remove_norm(objset_t *os, uint64_t zapobj, const char *name, matchtype_t mt, dmu_tx_t *tx) argument
1178 zap_remove_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, int key_numints, dmu_tx_t *tx) argument
1204 zap_cursor_init_serialized(zap_cursor_t *zc, objset_t *os, uint64_t zapobj, uint64_t serialized) argument
1217 zap_cursor_init(zap_cursor_t *zc, objset_t *os, uint64_t zapobj) argument
1373 zap_get_stats(objset_t *os, uint64_t zapobj, zap_stats_t *zs) argument
1396 zap_count_write(objset_t *os, uint64_t zapobj, const char *name, int add, uint64_t *towrite, uint64_t *tooverwrite) argument
[all...]
H A Ddsl_userhold.c139 uint64_t zapobj; local
149 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj =
152 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj;
156 VERIFY0(zap_add(mos, zapobj, htag, 8, 1, &now, tx));
350 uint64_t zapobj; local
363 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj;
372 if (zapobj != 0)
373 error = zap_lookup(mos, zapobj, holdname, 8, 1, &tmp);
H A Ddsl_pool.c948 uint64_t zapobj = dp->dp_tmp_userrefs_obj; local
951 if (zapobj == 0)
957 for (zap_cursor_init(&zc, mos, zapobj);
1000 uint64_t zapobj = dp->dp_tmp_userrefs_obj; local
1011 if (zapobj == 0) {
1014 zapobj = dp->dp_tmp_userrefs_obj;
1022 error = zap_add(mos, zapobj, name, 8, 1, &now, tx);
1024 error = zap_remove(mos, zapobj, name, tx);
H A Dzap.c695 uint64_t zapobj = zap->zap_object; local
698 err = zap_lockdir(os, zapobj, tx,
962 zap_value_search(objset_t *os, uint64_t zapobj, uint64_t value, uint64_t mask, argument
973 for (zap_cursor_init(&zc, os, zapobj);
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzap.h36 * A "zapobj" is a DMU object which the ZAP uses to stores attributes.
37 * Users should use only zap routines to access a zapobj - they should
40 * The attributes stored in a zapobj are name-value pairs. The name is
46 * (object number) of another dmu object (which may be itself a zapobj).
67 * the same zapobj which only read data will be processed concurrently.
68 * Operations on the same zapobj which modify data will be processed
69 * concurrently when there are many attributes in the zapobj (because
121 * Create a new zapobj with no attributes and return its object number.
150 * Create a new zapobj with no attributes from the given (unallocated)
160 * The zapobj passe
[all...]
H A Ddsl_deleg.h73 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);

Completed in 175 milliseconds