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

123

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap.c47 #include <sys/zap.h>
54 extern inline zap_phys_t *zap_f_phys(zap_t *zap);
56 static uint64_t zap_allocate_blocks(zap_t *zap, int nblocks);
72 fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags) argument
74 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock));
75 zap->zap_ismicro = FALSE;
77 zap->zap_dbu.dbu_evict_func_sync = zap_evict_sync;
78 zap->zap_dbu.dbu_evict_func_async = NULL;
80 mutex_init(&zap->zap_f.zap_num_entries_mtx, 0, 0, 0);
81 zap
123 zap_tryupgradedir(zap_t *zap, dmu_tx_t *tx) argument
139 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
215 zap_table_store(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t val, dmu_tx_t *tx) argument
261 zap_table_load(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t *valp) argument
319 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) argument
368 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) argument
378 zap_allocate_blocks(zap_t *zap, int nblocks) argument
396 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) argument
422 fzap_count(zap_t *zap, uint64_t *count) argument
489 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
531 zap_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t *valp) argument
547 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) argument
562 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
592 zap_t *zap = zn->zn_zap; local
679 zap_t *zap = zn->zn_zap; local
791 zap_t *zap = zn->zn_zap; local
849 zap_t *zap = zn->zn_zap; local
932 zap_t *zap = zn->zn_zap; local
1154 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za) argument
1224 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) argument
1274 fzap_get_stats(zap_t *zap, zap_stats_t *zs) argument
[all...]
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
774 zap_t *zap = dbu; local
789 zap_t *zap; local
809 mzap_normalization_conflict(zap_t *zap, zap_name_t *zn, mzap_ent_t *mze) argument
857 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
902 zap_t *zap; local
928 zap_t *zap; local
944 zap_t *zap; local
966 zap_t *zap; local
999 zap_t *zap; local
1032 zap_t *zap; local
1052 zap_t *zap = zn->zn_zap; local
1092 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
1134 zap_t *zap; local
1150 zap_t *zap; local
1166 zap_t *zap; local
1189 zap_t *zap; local
1246 zap_t *zap; local
1272 zap_remove_impl(zap_t *zap, const char *name, matchtype_t mt, dmu_tx_t *tx) argument
1301 zap_t *zap; local
1315 zap_t *zap; local
1330 zap_t *zap; local
1524 zap_t *zap; local
[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.c30 #include <sys/zap.h>
144 "zap",
H A Dzfs_vnops.c60 #include <sys/zap.h>
2312 * Note that the low 4 bits of the cookie returned by zap is always zero.
2330 zap_attribute_t zap; local
2448 (void) strcpy(zap.za_name, ".");
2449 zap.za_normalization_conflict = 0;
2453 (void) strcpy(zap.za_name, "..");
2454 zap.za_normalization_conflict = 0;
2458 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME);
2459 zap.za_normalization_conflict = 0;
2466 if (error = zap_cursor_retrieve(&zc, &zap)) {
[all...]
H A Ddmu_object.c31 #include <sys/zap.h>
H A Ddmu_diff.c39 #include <sys/zap.h>
H A Dspa_errlog.c54 #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 Dzfeature.c30 #include <sys/zap.h>
/freebsd-11-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
270 * Returns (in *count) the number of attributes in the specified zap
320 struct zap;
325 struct zap *zc_zap;
353 * Initialize a zap cursor, pointing to the "first" attribute of the
371 * Get a persistent cookie pointing to the current position of the zap
375 * fewer than 2^22 (4.2 million) entries in the zap object.
385 * Initialize a zap cursor pointing to the position recorded by
405 uint64_t zs_blocksize; /* size of zap blocks */
430 uint64_t zs_num_entries; /* The number of zap entrie
[all...]
/freebsd-11-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-11-stable/lib/libprocstat/
H A Dzfs.c43 #include <sys/zap.h>
/freebsd-11-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-11-stable/sys/cddl/boot/zfs/
H A Dzfsimpl.h1184 uint64_t ds_snapnames_zapobj; /* zap obj of snaps; ==0 for snaps */
1206 * The names of zap entries in the DIRECTORY_OBJECT of the MOS.
1223 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_block_shift)
1248 * The (fat) zap is stored in one object. It is an array of
1268 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
1273 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
1275 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
1276 ((uint64_t *)(zap)
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files135 zap.o \
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dvis3-mont.pl318 stx %g0, [$tp] ! zap
320 stx %g0, [$anp] ! zap
H A Dppc-mont.pl308 $STX $j,$tp,$j ; zap at once
/freebsd-11-stable/secure/lib/libcrypto/arm/
H A Darmv4-mont.S156 str sp,[r4],#4 @ zap tp
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb-events.sh516 /* Just zap any events left around from last time. */
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c40 #include <sys/zap.h>

Completed in 317 milliseconds

123