/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | secitem.c | 158 SECITEM_FreeItem(SECItem *zap, PRBool freeit) argument 160 if (zap) { 162 kmem_free(zap->data, zap->len); 164 free(zap->data); 166 zap->data = 0; 167 zap->len = 0; 170 kmem_free(zap, sizeof (SECItem)); 172 free(zap);
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | cr_tty.c | 35 void zap(void); 138 zap(); /* get terminal description */ 169 zap(void) function
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_dir.c | 50 #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 287 * not the dzp's z_lock, that protects the name in the zap object.) 444 * chance that the nlink list is using a fat zap (ie. has more than 470 zap_attribute_t zap; local 479 zap_cursor_retrieve(&zc, &zap) 529 zap_attribute_t zap; local [all...] |
H A D | zap_leaf.c | 37 #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 D | zap.c | 47 #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_sync = zap_evict_sync; 85 zap->zap_dbu.dbu_evict_func_async = NULL; 87 mutex_init(&zap->zap_f.zap_num_entries_mtx, 0, 0, 0); 88 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 221 zap_table_store(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t val, dmu_tx_t *tx) argument 269 zap_table_load(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t *valp) argument 331 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) argument 383 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) argument 393 zap_allocate_blocks(zap_t *zap, int nblocks) argument 412 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) argument 440 fzap_count(zap_t *zap, uint64_t *count) argument 509 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument 553 zap_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t *valp) argument 569 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) argument 584 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) argument 615 zap_t *zap = zn->zn_zap; local 703 zap_t *zap = zn->zn_zap; local 818 zap_t *zap = zn->zn_zap; local 875 zap_t *zap = zn->zn_zap; local 958 zap_t *zap = zn->zn_zap; local 1184 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za) argument 1254 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) argument 1280 fzap_get_stats(zap_t *zap, zap_stats_t *zs) argument 1339 zap_t *zap = zn->zn_zap; local [all...] |
H A D | zap_micro.c | 32 #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 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 465 zap_t *zap; local 577 zap_unlockdir(zap_t *zap, void *tag) argument 589 zap_t *zap = *zapp; local 659 zap_t *zap; local 741 zap_t *zap = dbu; local 756 zap_t *zap; local 776 mzap_normalization_conflict(zap_t *zap, zap_name_t *zn, mzap_ent_t *mze) argument 825 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 872 zap_t *zap; local 898 zap_t *zap; local 915 zap_t *zap; local 938 zap_t *zap; local 972 zap_t *zap; local 1007 zap_t *zap; local 1029 zap_t *zap = zn->zn_zap; local 1074 zap_t *zap; local 1119 zap_t *zap; local 1143 zap_t *zap; local 1202 zap_t *zap; local 1232 zap_t *zap; local 1267 zap_t *zap; local 1422 zap_t *zap; local 1445 zap_t *zap; local [all...] |
H A D | vdev.c | 43 #include <sys/zap.h> 1969 uint64_t zap = zap_create(spa->spa_meta_objset, DMU_OTN_ZAP_METADATA, local 1972 ASSERT(zap != 0); 1974 zap, tx)); 1976 return (zap);
|
H A D | zfs_vnops.c | 68 #include <sys/zap.h> 2179 * Note that the low 4 bits of the cookie returned by zap is always zero. 2198 zap_attribute_t zap; local 2299 (void) strcpy(zap.za_name, "."); 2300 zap.za_normalization_conflict = 0; 2303 (void) strcpy(zap.za_name, ".."); 2304 zap.za_normalization_conflict = 0; 2307 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME); 2308 zap.za_normalization_conflict = 0; 2314 if (error = zap_cursor_retrieve(&zc, &zap)) { [all...] |
H A D | spa.c | 47 #include <sys/zap.h> 6208 uint64_t zap = za.za_first_integer; local 6209 VERIFY0(zap_destroy(spa->spa_meta_objset, zap, tx));
|
H A D | zfs_ioctl.c | 152 #include <sys/zap.h> 2222 * zc_cookie zap cursor 2227 * zc_cookie zap cursor 2279 * zc_cookie zap cursor 4759 * zc_cookie zap cursor 4765 * zc_cookie zap cursor 5079 zap_attribute_t zap; local 5084 (error = zap_cursor_retrieve(&zc, &zap)) == 0; 5086 if ((error = VOP_REMOVE(ZTOV(dzp), zap.za_name, kcred,
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap_impl.h | 31 #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...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 652 * Given a zap_leaf_phys_t, walk thru the zap leaf chunks to get the 721 fzap_lookup(dnode_phys_t *zap_dnode, zap_phys_t *zap, argument 728 /* Verify if this is a fat zap header block */ 729 if (zap->zap_magic != (uint64_t)ZAP_MAGIC || 730 zap->zap_flags != 0) 733 hash = zap_hash(zap->zap_salt, name); 738 if (zap->zap_ptrtbl.zt_numblks != 0) { 742 idx = ZAP_HASH_IDX(hash, zap->zap_ptrtbl.zt_shift); 743 blkid = ((uint64_t *)zap)[idx + (1<<(blksft-3-1))]; 757 * Read in the data of a zap objec [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 945 #define zap(p,l) krb5int_zap_data(p,l) macro
|