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

123

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap_micro.c32 #include <sys/zap.h>
44 extern inline mzap_phys_t *zap_m_phys(zap_t *zap);
50 zap_getflags(zap_t *zap) argument
52 if (zap->zap_ismicro)
54 return (zap_f_phys(zap)->zap_flags);
58 zap_hashbits(zap_t *zap) argument
60 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
67 zap_maxcd(zap_t *zap) argument
69 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
78 zap_t *zap local
136 zap_normalize(zap_t *zap, const char *name, char *namenorm) argument
179 zap_name_alloc(zap_t *zap, const char *key, matchtype_t mt) argument
209 zap_name_alloc_uint64(zap_t *zap, const uint64_t *key, int numints) argument
273 mze_insert(zap_t *zap, int chunkid, uint64_t hash) argument
325 mze_find_unused_cd(zap_t *zap, uint64_t hash) argument
351 mze_remove(zap_t *zap, mzap_ent_t *mze) argument
361 mze_destroy(zap_t *zap) argument
375 zap_t *zap; local
467 zap_t *zap; local
571 zap_unlockdir(zap_t *zap, void *tag) argument
583 zap_t *zap = *zapp; local
653 zap_t *zap; local
735 zap_t *zap = dbu; local
750 zap_t *zap; local
770 mzap_normalization_conflict(zap_t *zap, zap_name_t *zn, mzap_ent_t *mze) argument
819 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
866 zap_t *zap; local
892 zap_t *zap; local
909 zap_t *zap; local
932 zap_t *zap; local
966 zap_t *zap; local
1001 zap_t *zap; local
1023 zap_t *zap = zn->zn_zap; local
1068 zap_t *zap; local
1113 zap_t *zap; local
1137 zap_t *zap; local
1196 zap_t *zap; local
1226 zap_t *zap; local
1261 zap_t *zap; local
1456 zap_t *zap; local
1479 zap_t *zap; local
[all...]
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);
74 fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags) argument
81 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock));
82 zap->zap_ismicro = FALSE;
84 zap->zap_dbu.dbu_evict_func = zap_evict;
86 mutex_init(&zap->zap_f.zap_num_entries_mtx, 0, 0, 0);
87 zap->zap_f.zap_block_shift = highbit64(zap
128 zap_tryupgradedir(zap_t *zap, dmu_tx_t *tx) argument
144 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
330 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) argument
382 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) argument
392 zap_allocate_blocks(zap_t *zap, int nblocks) argument
411 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) argument
439 fzap_count(zap_t *zap, uint64_t *count) argument
508 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
552 zap_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t *valp) argument
568 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) argument
583 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument
607 zap_t *zap = zn->zn_zap; local
695 zap_t *zap = zn->zn_zap; local
810 zap_t *zap = zn->zn_zap; local
867 zap_t *zap = zn->zn_zap; local
950 zap_t *zap = zn->zn_zap; local
1176 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za) argument
1246 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) argument
1297 fzap_get_stats(zap_t *zap, zap_stats_t *zs) argument
1356 zap_t *zap = zn->zn_zap; local
[all...]
H A Dzap_leaf.c37 #include <sys/zap.h>
420 * normalized zap objects, so this will find the
517 zap_entry_read_name(zap_t *zap, const zap_entry_handle_t *zeh, uint16_t buflen, argument
524 if (zap_getflags(zap) & ZAP_FLAG_UINT64_KEY) {
682 const char *name, zap_t *zap)
688 if (zap->zap_normflags == 0)
700 zn = zap_name_alloc(zap, name, MT_FIRST);
842 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) argument
846 n = zap_f_phys(zap)->zap_ptrtbl.zt_shift -
856 n = ((1<<FZAP_BLOCK_SHIFT(zap))
681 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_lookup() to peform zap lookups
132 * affect how we perform zap lookups.
135 * a zap lookup on file systems supporting case-insensitive
230 * chance that the nlink list is using a fat zap (ie. has more than
256 zap_attribute_t zap; local
265 zap_cursor_retrieve(&zc, &zap) == 0;
273 zap.za_first_integer, &doi);
283 error = zfs_zget(zfsvfs, zap.za_first_integer, &zp);
316 zap_attribute_t zap; local
[all...]
H A Dddt_zap.c30 #include <sys/zap.h>
144 "zap",
H A Dzfs_vnops.c59 #include <sys/zap.h>
2288 * Note that the low 4 bits of the cookie returned by zap is always zero.
2306 zap_attribute_t zap; local
2424 (void) strcpy(zap.za_name, ".");
2425 zap.za_normalization_conflict = 0;
2429 (void) strcpy(zap.za_name, "..");
2430 zap.za_normalization_conflict = 0;
2434 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME);
2435 zap.za_normalization_conflict = 0;
2442 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 Dzfeature.c30 #include <sys/zap.h>
H A Ddsl_bookmark.c27 #include <sys/zap.h>
422 * free the zap object and decrement the feature's use count.
H A Dspa_history.c30 #include <sys/zap.h>
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzap_impl.h31 #include <sys/zap.h>
43 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_f.zap_block_shift)
74 #define MZE_PHYS(zap, mze) \
75 (&zap_m_phys(zap)->mz_chunk[(mze)->mze_chunkid])
78 * The (fat) zap is stored in one object. It is an array of
101 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
106 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
108 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, id
144 typedef struct zap { struct
172 zap_f_phys(zap_t *zap) argument
178 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.h37 * Users should use only zap routines to access a zapobj - they should
123 * MT_EXACT will cause the zap object to only support MT_EXACT lookups,
281 * Returns (in *count) the number of attributes in the specified zap
331 struct zap;
336 struct zap *zc_zap;
364 * Initialize a zap cursor, pointing to the "first" attribute of the
382 * Get a persistent cookie pointing to the current position of the zap
386 * fewer than 2^22 (4.2 million) entries in the zap object.
396 * Initialize a zap cursor pointing to the position recorded by
416 uint64_t zs_blocksize; /* size of zap block
[all...]
/freebsd-10-stable/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-stable/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-stable/lib/libprocstat/
H A Dzfs.c43 #include <sys/zap.h>
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files96 zap.o \
/freebsd-10-stable/sys/cddl/boot/zfs/
H A Dzfsimpl.h1074 uint64_t ds_snapnames_zapobj; /* zap obj of snaps; ==0 for snaps */
1096 * The names of zap entries in the DIRECTORY_OBJECT of the MOS.
1111 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_block_shift)
1136 * The (fat) zap is stored in one object. It is an array of
1156 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
1161 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
1163 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
1164 ((uint64_t *)(zap)
[all...]
/freebsd-10-stable/sys/kern/
H A Dvfs_cache.c84 SDT_PROBE_DEFINE3(vfs, namecache, zap, done, "struct vnode *", "char *",
419 SDT_PROBE3(vfs, namecache, zap, done, ncp->nc_dvp,
707 int zap; local
766 zap = 0;
890 zap = 1;
894 if (zap)
/freebsd-10-stable/contrib/gdb/gdb/
H A Dgdb-events.sh516 /* Just zap any events left around from last time. */
/freebsd-10-stable/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 322 milliseconds

123