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

123

/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap_micro.c30 #include <sys/zap.h>
44 zap_getflags(zap_t *zap) argument
46 if (zap->zap_ismicro)
48 return (zap->zap_u.zap_fat.zap_phys->zap_flags);
52 zap_hashbits(zap_t *zap) argument
54 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
61 zap_maxcd(zap_t *zap) argument
63 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
72 zap_t *zap = zn->zn_zap; local
75 if (zap_getflags(zap)
130 zap_normalize(zap_t *zap, const char *name, char *namenorm) argument
173 zap_name_alloc(zap_t *zap, const char *key, matchtype_t mt) argument
203 zap_name_alloc_uint64(zap_t *zap, const uint64_t *key, int numints) argument
267 mze_insert(zap_t *zap, int chunkid, uint64_t hash) argument
319 mze_find_unused_cd(zap_t *zap, uint64_t hash) argument
345 mze_remove(zap_t *zap, mzap_ent_t *mze) argument
355 mze_destroy(zap_t *zap) argument
369 zap_t *zap; local
460 zap_t *zap; local
530 zap_unlockdir(zap_t *zap) argument
542 zap_t *zap = *zapp; local
611 zap_t *zap; local
694 zap_t *zap = vzap; local
709 zap_t *zap; local
729 mzap_normalization_conflict(zap_t *zap, zap_name_t *zn, mzap_ent_t *mze) argument
783 zap_t *zap; local
830 zap_t *zap; local
853 zap_t *zap; local
887 zap_t *zap; local
922 zap_t *zap; local
944 zap_t *zap = zn->zn_zap; local
989 zap_t *zap; local
1032 zap_t *zap; local
1056 zap_t *zap; local
1113 zap_t *zap; local
1143 zap_t *zap; local
1178 zap_t *zap; local
1373 zap_t *zap; local
1396 zap_t *zap; local
[all...]
H A Dzap.c46 #include <sys/zap.h>
54 static uint64_t zap_allocate_blocks(zap_t *zap, int nblocks);
73 fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags) argument
80 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock));
81 zap->zap_ismicro = FALSE;
83 (void) dmu_buf_update_user(zap->zap_dbuf, zap, zap,
84 &zap->zap_f.zap_phys, zap_evict);
86 mutex_init(&zap
129 zap_tryupgradedir(zap_t *zap, dmu_tx_t *tx) argument
145 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
220 zap_table_store(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t val, dmu_tx_t *tx) argument
268 zap_table_load(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t *valp) argument
320 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) argument
372 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) argument
382 zap_allocate_blocks(zap_t *zap, int nblocks) argument
392 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) argument
420 fzap_count(zap_t *zap, uint64_t *count) argument
499 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
542 zap_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t *valp) argument
558 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) argument
573 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
595 zap_t *zap = zn->zn_zap; local
682 zap_t *zap = zn->zn_zap; local
797 zap_t *zap = zn->zn_zap; local
853 zap_t *zap = zn->zn_zap; local
936 zap_t *zap = zn->zn_zap; local
1161 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za) argument
1230 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) argument
1281 fzap_get_stats(zap_t *zap, zap_stats_t *zs) argument
1339 zap_t *zap = zn->zn_zap; local
[all...]
H A Dzap_leaf.c37 #include <sys/zap.h>
412 * normalized zap objects, so this will find the
509 zap_entry_read_name(zap_t *zap, const zap_entry_handle_t *zeh, uint16_t buflen, argument
516 if (zap_getflags(zap) & ZAP_FLAG_UINT64_KEY) {
674 const char *name, zap_t *zap)
680 if (zap->zap_normflags == 0)
692 zn = zap_name_alloc(zap, name, MT_FIRST);
831 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) argument
835 n = zap->zap_f.zap_phys->zap_ptrtbl.zt_shift -
845 n = ((1<<FZAP_BLOCK_SHIFT(zap))
673 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.c50 #include <sys/zap.h>
61 * zfs_match_find() is used by zfs_dirent_lock() to peform zap lookups
103 * in dzp's directory zap object. As long as you hold a dirlock, you can
105 * can change the zap entry for (i.e. link or unlink) this name.
165 * perform zap lookups, and the "width" of our dirlocks.
179 * a zap lookup on file systems supporting case-insensitive
280 * not the dzp's z_lock, that protects the name in the zap object.)
449 * chance that the nlink list is using a fat zap (ie. has more than
475 zap_attribute_t zap; local
484 zap_cursor_retrieve(&zc, &zap)
534 zap_attribute_t zap; local
[all...]
H A Dddt_zap.c30 #include <sys/zap.h>
144 "zap",
H A Ddmu_diff.c39 #include <sys/zap.h>
H A Ddmu_object.c30 #include <sys/zap.h>
H A Dzfs_vnops.c58 #include <sys/zap.h>
2411 * Note that the low 4 bits of the cookie returned by zap is always zero.
2429 zap_attribute_t zap; local
2547 (void) strcpy(zap.za_name, ".");
2548 zap.za_normalization_conflict = 0;
2552 (void) strcpy(zap.za_name, "..");
2553 zap.za_normalization_conflict = 0;
2557 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME);
2558 zap.za_normalization_conflict = 0;
2565 if (error = zap_cursor_retrieve(&zc, &zap)) {
[all...]
H A Dspa_errlog.c54 #include <sys/zap.h>
H A Dzfeature.c30 #include <sys/zap.h>
H A Ddsl_bookmark.c27 #include <sys/zap.h>
415 * free the zap object and decrement the feature's use count.
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzap_impl.h28 #include <sys/zap.h>
40 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_f.zap_block_shift)
72 #define MZE_PHYS(zap, mze) \
73 (&(zap)->zap_m.zap_phys->mz_chunk[(mze)->mze_chunkid])
76 * The (fat) zap is stored in one object. It is an array of
99 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
104 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
106 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, id
142 typedef struct zap { struct
[all...]
H A Dzap_leaf.h28 #include <sys/zap.h>
34 struct zap;
121 * ZAP_LEAF_HASH_NUMENTRIES(zap) entries. The hash table is
122 * followed by an array of ZAP_LEAF_NUMCHUNKS(zap)
199 extern int zap_entry_read_name(struct zap *zap, const zap_entry_handle_t *zeh,
226 struct zap_name *zn, const char *name, struct zap *zap);
235 extern void zap_leaf_stats(struct zap *zap, zap_leaf_
[all...]
H A Dzap.h37 * Users should use only zap routines to access a zapobj - they should
122 * MT_EXACT will cause the zap object to only support MT_EXACT lookups,
274 * Returns (in *count) the number of attributes in the specified zap
324 struct zap;
329 struct zap *zc_zap;
357 * Initialize a zap cursor, pointing to the "first" attribute of the
375 * Get a persistent cookie pointing to the current position of the zap
379 * fewer than 2^22 (4.2 million) entries in the zap object.
389 * Initialize a zap cursor pointing to the position recorded by
409 uint64_t zs_blocksize; /* size of zap block
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/IR/
H A DUser.h56 Use::zap(OperandList, OperandList + NumOperands, true);
63 Use::zap(OperandList, OperandList + NumOperands);
H A DUse.h73 /// Destructor - Only for zap()
121 /// zap - This is used to destroy Use operands when the number of operands of
123 static void zap(Use *Start, const Use *Stop, bool del = false);
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DUse.cpp123 // Use zap Implementation
126 void Use::zap(Use *Start, const Use *Stop, bool del) { function in class:llvm::Use
/freebsd-10.1-release/lib/libprocstat/
H A Dzfs.c43 #include <sys/zap.h>
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files92 zap.o \
/freebsd-10.1-release/sys/cddl/boot/zfs/
H A Dzfsimpl.h1077 uint64_t ds_snapnames_zapobj; /* zap obj of snaps; ==0 for snaps */
1099 * The names of zap entries in the DIRECTORY_OBJECT of the MOS.
1114 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_block_shift)
1139 * The (fat) zap is stored in one object. It is an array of
1159 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
1164 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
1166 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
1167 ((uint64_t *)(zap)
[all...]
/freebsd-10.1-release/sys/kern/
H A Dvfs_cache.c84 SDT_PROBE_DEFINE3(vfs, namecache, zap, done, "struct vnode *", "char *",
421 SDT_PROBE(vfs, namecache, zap, done, ncp->nc_dvp,
719 int zap; local
779 zap = 0;
903 zap = 1;
907 if (zap)
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c40 #include <sys/zap.h>
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dgdb-events.sh516 /* Just zap any events left around from last time. */
/freebsd-10.1-release/crypto/openssl/crypto/bn/asm/
H A Dppc-mont.pl309 $STX $j,$tp,$j ; zap at once
H A Dppc64-mont.pl980 std $i,8($nap_d) ; zap nap_d
990 stdx $i,$tp,$i ; zap tp at once
1044 std $i,8($nap_d) ; zap nap_d
1056 std $i,8($tp) ; zap tp at once

Completed in 238 milliseconds

123