Searched refs:zap (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap_micro.c34 #include <sys/zap.h>
46 extern inline mzap_phys_t *zap_m_phys(zap_t *zap);
52 zap_getflags(zap_t *zap) argument
54 if (zap->zap_ismicro)
56 return (zap_f_phys(zap)->zap_flags);
60 zap_hashbits(zap_t *zap) argument
62 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
69 zap_maxcd(zap_t *zap) argument
71 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
80 zap_t *zap local
136 zap_normalize(zap_t *zap, const char *name, char *namenorm, int normflags) argument
176 zap_name_alloc(zap_t *zap, const char *key, matchtype_t mt) argument
235 zap_name_alloc_uint64(zap_t *zap, const uint64_t *key, int numints) argument
292 mze_insert(zap_t *zap, int chunkid, uint64_t hash) argument
339 mze_find_unused_cd(zap_t *zap, uint64_t hash) argument
363 mze_remove(zap_t *zap, mzap_ent_t *mze) argument
373 mze_destroy(zap_t *zap) argument
393 zap_t *zap = kmem_zalloc(sizeof (zap_t), KM_SLEEP); local
495 zap_t *zap = dmu_buf_get_user(db); local
603 zap_unlockdir(zap_t *zap, void *tag) argument
613 zap_t *zap = *zapp; local
689 zap_t *zap; local
820 zap_t *zap = dbu; local
835 zap_t *zap; local
855 mzap_normalization_conflict(zap_t *zap, zap_name_t *zn, mzap_ent_t *mze) argument
903 zap_lookup_impl(zap_t *zap, const char *name, uint64_t integer_size, uint64_t num_integers, void *buf, matchtype_t mt, char *realname, int rn_len, boolean_t *ncp) argument
948 zap_t *zap; local
974 zap_t *zap; local
990 zap_t *zap; local
1012 zap_t *zap; local
1045 zap_t *zap; local
1078 zap_t *zap; local
1098 zap_t *zap = zn->zn_zap; local
1138 zap_add_impl(zap_t *zap, const char *key, int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx, void *tag) argument
1180 zap_t *zap; local
1196 zap_t *zap; local
1212 zap_t *zap; local
1235 zap_t *zap; local
1292 zap_t *zap; local
1318 zap_remove_impl(zap_t *zap, const char *name, matchtype_t mt, dmu_tx_t *tx) argument
1347 zap_t *zap; local
1361 zap_t *zap; local
1376 zap_t *zap; local
1591 zap_t *zap; local
[all...]
H A Dzap.c47 #include <sys/zap.h>
84 extern inline zap_phys_t *zap_f_phys(zap_t *zap);
86 static uint64_t zap_allocate_blocks(zap_t *zap, int nblocks);
102 fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags) argument
104 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock));
105 zap->zap_ismicro = FALSE;
107 zap->zap_dbu.dbu_evict_func_sync = zap_evict_sync;
108 zap->zap_dbu.dbu_evict_func_async = NULL;
110 mutex_init(&zap->zap_f.zap_num_entries_mtx, 0, 0, 0);
111 zap
153 zap_tryupgradedir(zap_t *zap, dmu_tx_t *tx) argument
169 zap_table_grow(zap_t *zap, zap_table_phys_t *tbl, void (*transfer_func)(const uint64_t *src, uint64_t *dst, int n), dmu_tx_t *tx) argument
245 zap_table_store(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t val, dmu_tx_t *tx) argument
291 zap_table_load(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t *valp) argument
349 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) argument
398 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) argument
408 zap_allocate_blocks(zap_t *zap, int nblocks) argument
426 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) argument
452 fzap_count(zap_t *zap, uint64_t *count) argument
519 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
561 zap_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t *valp) argument
577 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) argument
592 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
622 zap_t *zap = zn->zn_zap; local
709 zap_t *zap = zn->zn_zap; local
821 zap_t *zap = zn->zn_zap; local
879 zap_t *zap = zn->zn_zap; local
962 zap_t *zap = zn->zn_zap; local
1193 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za) argument
1277 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) argument
1327 fzap_get_stats(zap_t *zap, zap_stats_t *zs) argument
[all...]
H A Dzap_leaf.c39 #include <sys/zap.h>
409 * normalized zap objects, so this will find the
495 zap_entry_read_name(zap_t *zap, const zap_entry_handle_t *zeh, uint16_t buflen, argument
502 if (zap_getflags(zap) & ZAP_FLAG_UINT64_KEY) {
654 const char *name, zap_t *zap)
659 if (zap->zap_normflags == 0)
671 zn = zap_name_alloc(zap, name, MT_NORMALIZE);
809 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) argument
811 int n = zap_f_phys(zap)->zap_ptrtbl.zt_shift -
821 n = ((1<<FZAP_BLOCK_SHIFT(zap))
653 zap_entry_normalization_conflict(zap_entry_handle_t *zeh, zap_name_t *zn, const char *name, zap_t *zap) argument
[all...]
H A Dzfs_dir.c52 #include <sys/zap.h>
63 * zfs_match_find() is used by zfs_dirent_lookup() to peform zap lookups
133 * affect how we perform zap lookups.
255 * chance that the nlink list is using a fat zap (ie. has more than
281 zap_attribute_t zap; local
291 zap_cursor_retrieve(&zc, &zap) == 0;
299 zap.za_first_integer, &doi);
309 error = zfs_zget(zfsvfs, zap.za_first_integer, &zp);
362 zap_attribute_t zap; local
370 (error = zap_cursor_retrieve(&zc, &zap))
[all...]
H A Dddt_zap.c31 #include <sys/zap.h>
156 "zap",
H A Dzfs_vnops.c60 #include <sys/zap.h>
2318 * Note that the low 4 bits of the cookie returned by zap is always zero.
2336 zap_attribute_t zap; local
2454 (void) strcpy(zap.za_name, ".");
2455 zap.za_normalization_conflict = 0;
2459 (void) strcpy(zap.za_name, "..");
2460 zap.za_normalization_conflict = 0;
2464 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME);
2465 zap.za_normalization_conflict = 0;
2472 if (error = zap_cursor_retrieve(&zc, &zap)) {
[all...]
H A Ddmu_diff.c39 #include <sys/zap.h>
H A Ddmu_object.c31 #include <sys/zap.h>
H A Dspa_checkpoint.c148 #include <sys/zap.h>
310 * and remove its entry from its vdev's top zap. This allows
H A Dspa_errlog.c54 #include <sys/zap.h>
H A Dzfeature.c30 #include <sys/zap.h>
H A Dzcp_iter.c30 #include <sys/zap.h>
H A Dbpobj.c33 #include <sys/zap.h>
H A Ddsl_bookmark.c29 #include <sys/zap.h>
420 * free the zap object and decrement the feature's use count.
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzap_impl.h33 #include <sys/zap.h>
45 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_f.zap_block_shift)
76 #define MZE_PHYS(zap, mze) \
77 (&zap_m_phys(zap)->mz_chunk[(mze)->mze_chunkid])
80 * The (fat) zap is stored in one object. It is an array of
103 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
108 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
110 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, id
146 typedef struct zap { struct
174 zap_f_phys(zap_t *zap) argument
180 zap_m_phys(zap_t *zap) argument
[all...]
H A Dzap_leaf.h29 #include <sys/zap.h>
35 struct zap;
122 * ZAP_LEAF_HASH_NUMENTRIES(zap) entries. The hash table is
123 * followed by an array of ZAP_LEAF_NUMCHUNKS(zap)
205 extern int zap_entry_read_name(struct zap *zap, const zap_entry_handle_t *zeh,
232 struct zap_name *zn, const char *name, struct zap *zap);
241 extern void zap_leaf_stats(struct zap *zap, zap_leaf_
[all...]
H A Dzap.h39 * Users should use only zap routines to access a zapobj - they should
291 * Returns (in *count) the number of attributes in the specified zap
341 struct zap;
346 struct zap *zc_zap;
375 * Initialize a zap cursor, pointing to the "first" attribute of the
395 * Get a persistent cookie pointing to the current position of the zap
399 * fewer than 2^22 (4.2 million) entries in the zap object.
409 * Initialize a zap cursor pointing to the position recorded by
429 uint64_t zs_blocksize; /* size of zap blocks */
454 uint64_t zs_num_entries; /* The number of zap entrie
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp82 Use::zap(OldOps, OldOps + OldNumUses, true);
176 Use::zap(*HungOffOperandList, *HungOffOperandList + Obj->NumUserOperands,
181 Use::zap(UseBegin, UseBegin + Obj->NumUserOperands, /* Delete */ false);
188 Use::zap(Storage, Storage + Obj->NumUserOperands,
H A DUse.cpp86 void Use::zap(Use *Start, const Use *Stop, bool del) { function in class:llvm::Use
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DUse.h92 /// Destructor - Only for zap()
136 static void zap(Use *Start, const Use *Stop, bool del = false);
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files137 zap.o \
/freebsd-12-stable/sys/cddl/boot/zfs/
H A Dzfsimpl.h1288 uint64_t ds_snapnames_zapobj; /* zap obj of snaps; ==0 for snaps */
1310 * The names of zap entries in the DIRECTORY_OBJECT of the MOS.
1330 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_block_shift)
1355 * The (fat) zap is stored in one object. It is an array of
1375 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
1380 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
1382 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
1383 ((uint64_t *)(zap)
[all...]
/freebsd-12-stable/crypto/openssl/crypto/bn/asm/
H A Dvis3-mont.pl329 stx %g0, [$tp] ! zap
331 stx %g0, [$anp] ! zap
/freebsd-12-stable/contrib/gdb/gdb/
H A Dgdb-events.sh516 /* Just zap any events left around from last time. */
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c40 #include <sys/zap.h>

Completed in 139 milliseconds

123