Home
last modified time | relevance | path

Searched refs:mze (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_micro.c297 mzap_ent_t *mze = kmem_alloc(sizeof (mzap_ent_t), KM_SLEEP); in mze_insert() local
298 mze->mze_chunkid = chunkid; in mze_insert()
299 mze->mze_hash = hash; in mze_insert()
300 mze->mze_cd = MZE_PHYS(zap, mze)->mze_cd; in mze_insert()
301 ASSERT(MZE_PHYS(zap, mze)->mze_name[0] != 0); in mze_insert()
302 avl_add(&zap->zap_m.zap_avl, mze); in mze_insert()
309 mzap_ent_t *mze; in mze_find() local
319 mze = avl_find(avl, &mze_tofind, &idx); in mze_find()
320 if (mze == NULL) in mze_find()
321 mze = avl_nearest(avl, idx, AVL_AFTER); in mze_find()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzap_impl.h76 #define MZE_PHYS(zap, mze) \ argument
77 (&zap_m_phys(zap)->mz_chunk[(mze)->mze_chunkid])
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfs.c207 mzap_ent_phys_t mze; in zfs_readdir() local
252 rc = dnode_read(spa, &fp->f_dnode, fp->f_seekp, &mze, in zfs_readdir()
253 sizeof (mze)); in zfs_readdir()
256 fp->f_seekp += sizeof (mze); in zfs_readdir()
258 if (!mze.mze_name[0]) in zfs_readdir()
261 d->d_fileno = ZFS_DIRENT_OBJ(mze.mze_value); in zfs_readdir()
262 d->d_type = ZFS_DIRENT_TYPE(mze.mze_value); in zfs_readdir()
263 strcpy(d->d_name, mze.mze_name); in zfs_readdir()
H A Dzfsimpl.c2433 const mzap_ent_phys_t *mze; in mzap_lookup() local
2442 mze = &mz->mz_chunk[i]; in mzap_lookup()
2443 if (strcmp(mze->mze_name, name) == 0) { in mzap_lookup()
2444 *value = mze->mze_value; in mzap_lookup()
2789 const mzap_ent_phys_t *mze; in mzap_list() local
2799 mze = &mz->mz_chunk[i]; in mzap_list()
2800 if (mze->mze_name[0]) { in mzap_list()
2801 rc = callback(mze->mze_name, mze->mze_value); in mzap_list()
2944 const mzap_ent_phys_t *mze; in mzap_rlookup() local
2953 mze = &mz->mz_chunk[i]; in mzap_rlookup()
[all …]