Home
last modified time | relevance | path

Searched refs:zap (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzap_micro.c43 extern inline mzap_phys_t *zap_m_phys(zap_t *zap);
48 zap_getflags(zap_t *zap) in zap_getflags() argument
50 if (zap->zap_ismicro) in zap_getflags()
52 return (zap_f_phys(zap)->zap_flags); in zap_getflags()
56 zap_hashbits(zap_t *zap) in zap_hashbits() argument
58 if (zap_getflags(zap) & ZAP_FLAG_HASH64) in zap_hashbits()
65 zap_maxcd(zap_t *zap) in zap_maxcd() argument
67 if (zap_getflags(zap) & ZAP_FLAG_HASH64) in zap_maxcd()
76 zap_t *zap = zn->zn_zap; in zap_hash() local
79 if (zap_getflags(zap) & ZAP_FLAG_PRE_HASHED_KEY) { in zap_hash()
[all …]
H A Dzap.c54 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) in fzap_upgrade() argument
81 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock)); in fzap_upgrade()
82 zap->zap_ismicro = FALSE; in fzap_upgrade()
84 zap->zap_dbu.dbu_evict_func_sync = zap_evict_sync; in fzap_upgrade()
85 zap->zap_dbu.dbu_evict_func_async = NULL; in fzap_upgrade()
87 mutex_init(&zap->zap_f.zap_num_entries_mtx, 0, 0, 0); in fzap_upgrade()
88 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade()
90 zp = zap_f_phys(zap); in fzap_upgrade()
[all …]
H A Dzfs_dir.c470 zap_attribute_t zap; in zfs_unlinked_drain() local
479 zap_cursor_retrieve(&zc, &zap) == 0; in zfs_unlinked_drain()
487 zap.za_first_integer, &doi); in zfs_unlinked_drain()
497 error = zfs_zget(zfsvfs, zap.za_first_integer, &zp); in zfs_unlinked_drain()
529 zap_attribute_t zap; in zfs_purgedir() local
538 (error = zap_cursor_retrieve(&zc, &zap)) == 0; in zfs_purgedir()
541 ZFS_DIRENT_OBJ(zap.za_first_integer), &xzp); in zfs_purgedir()
552 dmu_tx_hold_zap(tx, dzp->z_id, FALSE, zap.za_name); in zfs_purgedir()
567 dl.dl_name = zap.za_name; in zfs_purgedir()
H A Dzap_leaf.c517 zap_entry_read_name(zap_t *zap, const zap_entry_handle_t *zeh, uint16_t buflen, in zap_entry_read_name() argument
524 if (zap_getflags(zap) & ZAP_FLAG_UINT64_KEY) { in zap_entry_read_name()
682 const char *name, zap_t *zap) in zap_entry_normalization_conflict() argument
688 if (zap->zap_normflags == 0) in zap_entry_normalization_conflict()
700 zn = zap_name_alloc(zap, name, MT_FIRST); in zap_entry_normalization_conflict()
842 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) in zap_leaf_stats() argument
846 n = zap_f_phys(zap)->zap_ptrtbl.zt_shift - in zap_leaf_stats()
856 n = ((1<<FZAP_BLOCK_SHIFT(zap)) - in zap_leaf_stats()
858 (1<<FZAP_BLOCK_SHIFT(zap)); in zap_leaf_stats()
H A Dzfs_vnops.c2240 zap_attribute_t zap; in zfs_readdir() local
2341 (void) strcpy(zap.za_name, "."); in zfs_readdir()
2342 zap.za_normalization_conflict = 0; in zfs_readdir()
2345 (void) strcpy(zap.za_name, ".."); in zfs_readdir()
2346 zap.za_normalization_conflict = 0; in zfs_readdir()
2349 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME); in zfs_readdir()
2350 zap.za_normalization_conflict = 0; in zfs_readdir()
2356 if (error = zap_cursor_retrieve(&zc, &zap)) { in zfs_readdir()
2363 if (zap.za_integer_length != 8 || in zfs_readdir()
2364 zap.za_num_integers != 1) { in zfs_readdir()
[all …]
H A Dzfs_ioctl.c5020 zap_attribute_t zap; in zfs_smb_acl_purge() local
5025 (error = zap_cursor_retrieve(&zc, &zap)) == 0; in zfs_smb_acl_purge()
5027 if ((error = VOP_REMOVE(ZTOV(dzp), zap.za_name, kcred, in zfs_smb_acl_purge()
/titanic_41/usr/src/uts/sun/sys/
H A Dser_async.h83 #define RING_INIT(zap) ((zap)->za_rput = (zap)->za_rget = 0) argument
84 #define RING_CNT(zap) (((zap)->za_rput - (zap)->za_rget) & RINGMASK) argument
85 #define RING_FRAC(zap) ((int)RING_CNT(zap) >= (int)(RINGSIZE/RINGFRAC)) argument
86 #define RING_POK(zap, n) ((int)RING_CNT(zap) < (int)(RINGSIZE-(n))) argument
87 #define RING_PUT(zap, c) \ argument
88 ((zap)->za_ring[(zap)->za_rput++ & RINGMASK] = (uchar_t)(c))
89 #define RING_UNPUT(zap) ((zap)->za_rput--) argument
90 #define RING_GOK(zap, n) ((int)RING_CNT(zap) >= (int)(n)) argument
91 #define RING_GET(zap) ((zap)->za_ring[(zap)->za_rget++ & RINGMASK]) argument
92 #define RING_EAT(zap, n) ((zap)->za_rget += (n)) argument
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dzap_impl.h42 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_f.zap_block_shift) argument
73 #define MZE_PHYS(zap, mze) \ argument
74 (&zap_m_phys(zap)->mz_chunk[(mze)->mze_chunkid])
100 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1) argument
107 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \ argument
108 ((uint64_t *)zap_f_phys(zap)) \
109 [(idx) + (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap))]
143 typedef struct zap { struct
171 zap_f_phys(zap_t *zap) in zap_f_phys() argument
173 return (zap->zap_dbuf->db_data); in zap_f_phys()
[all …]
H A Dzap_leaf.h35 struct 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_t *l,
H A Dzap.h324 struct zap;
329 struct zap *zc_zap;
/titanic_41/usr/src/common/crypto/ecc/
H A Dsecitem.c158 SECITEM_FreeItem(SECItem *zap, PRBool freeit) in SECITEM_FreeItem() argument
160 if (zap) { in SECITEM_FreeItem()
162 kmem_free(zap->data, zap->len); in SECITEM_FreeItem()
164 free(zap->data); in SECITEM_FreeItem()
166 zap->data = 0; in SECITEM_FreeItem()
167 zap->len = 0; in SECITEM_FreeItem()
170 kmem_free(zap, sizeof (SECItem)); in SECITEM_FreeItem()
172 free(zap); in SECITEM_FreeItem()
/titanic_41/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dzap_impl.h70 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1) argument
77 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \ argument
78 ((uint64_t *)(zap)->zap_f.zap_phys) \
79 [(idx) + (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap))]
/titanic_41/usr/src/ucblib/libcurses/
H A Dcr_tty.c35 void zap(void);
138 zap(); /* get terminal description */ in setterm()
169 zap(void) in zap() function
/titanic_41/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth779 0 instance value zap-space
792 swap zap-space >leaf-chunks ( lc-off ch0 )
860 \ read zap leaf into zap-space
862 nip over dn-bsize zap-space ( xt dn bp len adr )
866 dup zap-space >leaf-hash ( xt dn hash-adr /hash )
904 \ apply xt to each entry in micro-zap
937 : zap-type ( zp -- n ) h# 7 + c@ ;
940 \ read zap block into temp-space
941 : get-zap ( dn -- zp )
949 \ find prop in zap dnode
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c717 fzap_lookup(dnode_phys_t *zap_dnode, zap_phys_t *zap, in fzap_lookup() argument
725 if (zap->zap_magic != (uint64_t)ZAP_MAGIC || in fzap_lookup()
726 zap->zap_flags != 0) in fzap_lookup()
729 hash = zap_hash(zap->zap_salt, name); in fzap_lookup()
734 if (zap->zap_ptrtbl.zt_numblks != 0) { in fzap_lookup()
738 idx = ZAP_HASH_IDX(hash, zap->zap_ptrtbl.zt_shift); in fzap_lookup()
739 blkid = ((uint64_t *)zap)[idx + (1<<(blksft-3-1))]; in fzap_lookup()
/titanic_41/usr/src/lib/libzpool/common/
H A Dllib-lzpool47 #include <sys/zap.h>
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c244 zap(KTFILEBUFP(id), BUFSIZ); in krb5_ktfile_close()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h945 #define zap(p,l) krb5int_zap_data(p,l) macro
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c1681 zap(data->buf, sizeof(data->buf)); in dereference()
/titanic_41/usr/src/uts/common/
H A DMakefile.files1394 zap.o \
/titanic_41/usr/src/cmd/ssh/doc/
H A DChangeLog1134 - zap typo
/titanic_41/usr/src/cmd/look/
H A Dwords25094 zap
/titanic_41/usr/src/cmd/spell/
H A Dlist25093 zap