HomeSort by relevance Sort by last modified time
    Searched refs:zap (Results 1 - 25 of 49) sorted by null

1 2

  /onnv/onnv-gate/usr/src/uts/sun/sys/
ser_async.h 83 #define RING_INIT(zap) ((zap)->za_rput = (zap)->za_rget = 0)
84 #define RING_CNT(zap) (((zap)->za_rput - (zap)->za_rget) & RINGMASK)
85 #define RING_FRAC(zap) ((int)RING_CNT(zap) >= (int)(RINGSIZE/RINGFRAC))
86 #define RING_POK(zap, n) ((int)RING_CNT(zap) < (int)(RINGSIZE-(n))
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
zap.c 46 #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)
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->zap_f.zap_num_entries_mtx, 0, 0, 0)
590 zap_t *zap = zn->zn_zap; local
677 zap_t *zap = zn->zn_zap; local
792 zap_t *zap = zn->zn_zap; local
848 zap_t *zap = zn->zn_zap; local
1212 zap_t *zap = zn->zn_zap; local
    [all...]
zap_micro.c 30 #include <sys/zap.h>
43 zap_getflags(zap_t *zap)
45 if (zap->zap_ismicro)
47 return (zap->zap_u.zap_fat.zap_phys->zap_flags);
51 zap_hashbits(zap_t *zap)
53 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
60 zap_maxcd(zap_t *zap)
62 if (zap_getflags(zap) & ZAP_FLAG_HASH64)
71 zap_t *zap = zn->zn_zap; local
74 if (zap_getflags(zap) & ZAP_FLAG_PRE_HASHED_KEY)
361 zap_t *zap; local
447 zap_t *zap; local
529 zap_t *zap = *zapp; local
598 zap_t *zap; local
681 zap_t *zap = vzap; local
696 zap_t *zap; local
770 zap_t *zap; local
816 zap_t *zap; local
850 zap_t *zap; local
885 zap_t *zap; local
907 zap_t *zap = zn->zn_zap; local
952 zap_t *zap; local
995 zap_t *zap; local
1019 zap_t *zap; local
1067 zap_t *zap; local
1097 zap_t *zap; local
1132 zap_t *zap; local
1330 zap_t *zap; local
1353 zap_t *zap; local
    [all...]
zfs_dir.c 50 #include <sys/zap.h>
59 * zfs_match_find() is used by zfs_dirent_lock() to peform zap lookups
101 * in dzp's directory zap object. As long as you hold a dirlock, you can
103 * can change the zap entry for (i.e. link or unlink) this name.
161 * perform zap lookups, and the "width" of our dirlocks.
175 * a zap lookup on file systems supporting case-insensitive
268 * not the dzp's z_lock, that protects the name in the zap object.)
416 * chance that the nlink list is using a fat zap (ie. has more than
442 zap_attribute_t zap; local
451 zap_cursor_retrieve(&zc, &zap) == 0
501 zap_attribute_t zap; local
    [all...]
zap_leaf.c 37 #include <sys/zap.h>
411 * normalized zap objects, so this will find the
508 zap_entry_read_name(zap_t *zap, const zap_entry_handle_t *zeh, uint16_t buflen,
515 if (zap_getflags(zap) & ZAP_FLAG_UINT64_KEY) {
681 const char *name, zap_t *zap)
687 if (zap->zap_normflags == 0)
699 zn = zap_name_alloc(zap, name, MT_FIRST);
838 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs)
842 n = zap->zap_f.zap_phys->zap_ptrtbl.zt_shift -
852 n = ((1<<FZAP_BLOCK_SHIFT(zap))
    [all...]
ddt_zap.c 31 #include <sys/zap.h>
142 "zap",
zfs_vnops.c 63 #include <sys/zap.h>
1933 zap_attribute_t zap; local
    [all...]
spa_errlog.c 37 * The log is stored using a ZAP object whose key is a string form of the
54 #include <sys/zap.h>
spa_history.c 29 #include <sys/zap.h>
dsl_deleg.c 27 * DSL permissions are stored in a two level zap attribute
58 * Each of the above entities points to another zap attribute that contains one
64 * ul$12 -> ZAP OBJ -> permissions...
66 * The ZAP OBJ is referred to as the jump object.
78 #include <sys/zap.h>
391 * is lookup up in the zap object the base object points to.
zfs_fuid.c 29 #include <sys/zap.h>
vdev_label.c 138 #include <sys/zap.h>
    [all...]
dsl_prop.c 35 #include <sys/zap.h>
  /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
zap_impl.h 50 * The (fat) zap is stored in one object. It is an array of
70 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
75 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
77 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
78 ((uint64_t *)(zap)->zap_f.zap_phys) \
79 [(idx) + (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap))]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/
zap_impl.h 29 #include <sys/zap.h>
41 #define FZAP_BLOCK_SHIFT(zap) ((zap)->zap_f.zap_block_shift)
74 * The (fat) zap is stored in one object. It is an array of
97 #define ZAP_EMBEDDED_PTRTBL_SHIFT(zap) (FZAP_BLOCK_SHIFT(zap) - 3 - 1)
102 * word number (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap)).
104 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
105 ((uint64_t *)(zap)->zap_f.zap_phys) \
106 [(idx) + (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap))]
140 typedef struct zap { struct
    [all...]
zap_leaf.h 33 struct zap;
109 /* above is accessable to zap, below is zap_leaf private */
118 * ZAP_LEAF_HASH_NUMENTRIES(zap) entries. The hash table is
119 * followed by an array of ZAP_LEAF_NUMCHUNKS(zap)
161 /* below is set by zap_leaf.c and is public to zap.c */
196 extern int zap_entry_read_name(zap_t *zap, const zap_entry_handle_t *zeh,
226 zap_name_t *zn, const char *name, zap_t *zap);
235 extern void zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs);
zap.h 30 * ZAP - ZFS Attribute Processor
32 * The ZAP is a module which sits on top of the DMU (Data Management
36 * A "zapobj" is a DMU object which the ZAP uses to stores attributes.
37 * Users should use only zap routines to access a zapobj - they should
50 * The ZAP routines are thread-safe. However, you must observe the
60 * The ZAP is intended to operate most efficiently on attributes with
62 * the microzap will be used. The ZAP should be efficient enough so
65 * The ZAP's locking scheme makes its routines thread-safe. Operations
70 * the ZAP uses per-block locking - more than 128 * (number of cpus)
118 * MT_EXACT will cause the zap object to only support MT_EXACT lookups
    [all...]
  /onnv/onnv-gate/usr/src/common/crypto/ecc/
secitem.c 158 SECITEM_FreeItem(SECItem *zap, PRBool freeit)
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);
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
bop.t 57 $zap = "A" x 75;
61 is (($foo | $bar), ($Aoz x 75 . $zap));
63 is (($foo ^ $bar), ($Axz x 75 . $zap));
  /onnv/onnv-gate/usr/src/lib/libzpool/common/
llib-lzpool 43 #include <sys/zap.h>
  /onnv/onnv-gate/usr/src/ucblib/libcurses/
cr_tty.c 35 void zap(void);
138 zap(); /* get terminal description */
169 zap(void) function
  /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/
fsys_zfs.c 549 * Given a zap_leaf_phys_t, walk thru the zap leaf chunks to get the
611 * Fat ZAP lookup
618 fzap_lookup(dnode_phys_t *zap_dnode, zap_phys_t *zap,
625 /* Verify if this is a fat zap header block */
626 if (zap->zap_magic != (uint64_t)ZAP_MAGIC ||
627 zap->zap_flags != 0)
630 hash = zap_hash(zap->zap_salt, name);
635 if (zap->zap_ptrtbl.zt_numblks != 0) {
639 idx = ZAP_HASH_IDX(hash, zap->zap_ptrtbl.zt_shift);
640 blkid = ((uint64_t *)zap)[idx + (1<<(blksft-3-1))]
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/
Alias.pm 331 If you want to zap all predefined aliases, you can use
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
fields.pm 196 $var->{zap} = 42;
overload.t 1082 use overload '%{}' => sub { (caller(0))[0] eq 'Foo' ? $_[0] : die "zap" };
1093 print $@ =~ /zap/ ? "ok 227\n" : "not ok 227\n";

Completed in 300 milliseconds

1 2