/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | atomic.h | 47 extern void atomic_inc_ulong(volatile ulong_t *); 61 extern void atomic_dec_ulong(volatile ulong_t *); 76 extern void atomic_add_long(volatile ulong_t *, long); 91 extern void atomic_sub_long(volatile ulong_t *, long); 105 extern void atomic_or_ulong(volatile ulong_t *, ulong_t); 119 extern void atomic_and_ulong(volatile ulong_t *, ulong_t); 141 extern ulong_t atomic_inc_ulong_nv(volatile ulong_t *); 155 extern ulong_t atomic_dec_ulong_nv(volatile ulong_t *); 170 extern ulong_t atomic_add_long_nv(volatile ulong_t *, long); 185 extern ulong_t atomic_sub_long_nv(volatile ulong_t *, long); [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | atomic.c | 45 ATOMIC_INC(ulong, ulong_t) in ATOMIC_INC() 61 ATOMIC_DEC(ulong, ulong_t) 83 ATOMIC_ADD(long, ulong_t, long) in ATOMIC_ADD() 105 ATOMIC_SUB(long, ulong_t, long) in ATOMIC_SUB() 121 ATOMIC_OR(ulong, ulong_t) 137 ATOMIC_AND(ulong, ulong_t) 157 ATOMIC_INC_NV(ulong, ulong_t) 173 ATOMIC_DEC_NV(ulong, ulong_t) 195 ATOMIC_ADD_NV(long, ulong_t, long) in ATOMIC_ADD_NV() 216 ATOMIC_SUB_NV(long, ulong_t, long) in ATOMIC_SUB_NV() [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_regset.c | 43 dt_regset_create(ulong_t nregs) in dt_regset_create() 45 ulong_t n = BT_BITOUL(nregs); in dt_regset_create() 51 drp->dr_bitmap = calloc(n, sizeof (ulong_t)); in dt_regset_create() 73 bzero(drp->dr_bitmap, sizeof (ulong_t) * BT_BITOUL(drp->dr_size)); in dt_regset_reset() 98 ulong_t nbits = drp->dr_size - 1; in dt_regset_alloc() 99 ulong_t maxw = nbits >> BT_ULSHIFT; in dt_regset_alloc() 100 ulong_t wx; in dt_regset_alloc() 108 ulong_t maxb = (wx == maxw) ? nbits & BT_ULMASK : BT_NBIPUL - 1; in dt_regset_alloc() 109 ulong_t word = drp->dr_bitmap[wx]; in dt_regset_alloc() 110 ulong_t bit, bx; in dt_regset_alloc()
|
H A D | dt_strtab.h | 40 ulong_t str_buf; /* index of string data buffer */ 48 ulong_t str_hashsz; /* size of hash bucket array */ 51 ulong_t str_nbufs; /* size of buffer pointer array */ 53 ulong_t str_nstrs; /* total number of strings in strtab */ 67 extern ulong_t dt_strtab_hash(const char *, size_t *);
|
H A D | dt_strtab.c | 105 ulong_t i; in dt_strtab_destroy() 125 ulong_t 128 ulong_t g, h = 0; in dt_strtab_hash() 151 ulong_t b = hp->str_buf; in dt_strtab_compare() 178 ulong_t old_n = sp->str_nbufs; in dt_strtab_copyin() 180 ulong_t b = sp->str_nbufs - 1; in dt_strtab_copyin() 221 ulong_t h; in dt_strtab_index() 242 ulong_t h; in dt_strtab_insert() 288 ulong_t i; in dt_strtab_write()
|
H A D | dt_ident.h | 83 ulong_t di_gen; /* generation number (pass that created me) */ 124 ulong_t dh_nelems; /* number of identifiers in hash table */ 125 ulong_t dh_hashsz; /* number of entries in dh_buckets array */ 148 extern ulong_t dt_idhash_size(const dt_idhash_t *); 153 const dt_idops_t *, void *, ulong_t); 166 dtrace_attribute_t, uint_t, const dt_idops_t *, void *, ulong_t);
|
H A D | dt_print.c | 109 static int dt_format_member(const char *, ctf_id_t, ulong_t, int, void *); 110 static int dt_print_member(const char *, ctf_id_t, ulong_t, int, void *); 158 print_bitfield(dt_printarg_t *pap, ulong_t off, ctf_encoding_t *ep) in print_bitfield() 236 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_int() 298 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_float() 327 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_ptr() 378 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_array() 515 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) in dt_print_structlike() 527 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_enum() 575 dt_print_tag(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_tag() [all …]
|
H A D | dt_regset.h | 42 ulong_t dr_size; /* number of registers in set */ 43 ulong_t *dr_bitmap; /* bitmap of active registers */ 46 extern dt_regset_t *dt_regset_create(ulong_t);
|
H A D | dt_provider.h | 46 ulong_t *pv_xrefs; /* translator reference bitmap */ 47 ulong_t pv_xrmax; /* number of valid bits in pv_xrefs */ 48 ulong_t pv_gen; /* generation # that created me */
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | bitmap.h | 108 (BT_BITOUL(nbits) * sizeof (ulong_t)) 144 extern index_t bt_availbit(ulong_t *bitmap, size_t nbits); 149 extern int bt_gethighbit(ulong_t *mapp, int wx); 150 extern int bt_range(ulong_t *bitmap, size_t *pos1, size_t *pos2, 157 extern int highbit(ulong_t); 159 extern int lowbit(ulong_t); 160 extern int bt_getlowbit(ulong_t *bitmap, size_t start, size_t stop); 161 extern void bt_copy(ulong_t *, ulong_t *, ulong_t); 166 extern int odd_parity(ulong_t);
|
H A D | ctf_api.h | 70 ulong_t cts_type; /* section type (ELF SHT_... value) */ 71 ulong_t cts_flags; /* section flags (ELF SHF_... value) */ 95 ulong_t ctm_offset; /* offset of member in bits */ 147 typedef int ctf_visit_f(const char *, ctf_id_t, ulong_t, int, void *); 148 typedef int ctf_member_f(const char *, ctf_id_t, ulong_t, void *); 175 extern int ctf_func_info(ctf_file_t *, ulong_t, ctf_funcinfo_t *); 176 extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *); 179 extern ctf_id_t ctf_lookup_by_symbol(ctf_file_t *, ulong_t);
|
H A D | errorq.h | 58 ulong_t, size_t, uint_t, uint_t); 61 ulong_t, size_t, uint_t, uint_t);
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-tsd.c | 103 ulong_t hash; in tsd_hash_search() 105 hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); in tsd_hash_search() 160 ulong_t hash; in tsd_hash_add() 188 hash = hash_long((ulong_t)key * (ulong_t)pid, table->ht_bits); in tsd_hash_add() 219 ulong_t hash; in tsd_hash_add_key() 254 hash = hash_long((ulong_t)*keyp * (ulong_t)DTOR_PID, table->ht_bits); in tsd_hash_add_key() 280 ulong_t hash; in tsd_hash_add_pid() 296 hash = hash_long((ulong_t)PID_KEY * (ulong_t)pid, table->ht_bits); in tsd_hash_add_pid() 407 ulong_t hash; in tsd_remove_entry() 415 hash = hash_long((ulong_t)entry->he_key * in tsd_remove_entry() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/crypto/ |
H A D | common.h | 56 ulong_t ulMACSize; 57 ulong_t ulNonceSize; 58 ulong_t ulAuthDataSize; 59 ulong_t ulDataSize; /* used for plaintext or ciphertext */ 67 ulong_t ulIvLen; 68 ulong_t ulIvBits; 70 ulong_t ulAADLen; 71 ulong_t ulTagBits;
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dbuf_stats.c | 93 (ulong_t)zfs_refcount_count(&db->db_holds), in __dbuf_stats_hash_table_data() 99 (ulong_t)abi.abi_bufcnt, in __dbuf_stats_hash_table_data() 102 (ulong_t)abi.abi_mru_hits, in __dbuf_stats_hash_table_data() 103 (ulong_t)abi.abi_mru_ghost_hits, in __dbuf_stats_hash_table_data() 104 (ulong_t)abi.abi_mfu_hits, in __dbuf_stats_hash_table_data() 105 (ulong_t)abi.abi_mfu_ghost_hits, in __dbuf_stats_hash_table_data() 106 (ulong_t)abi.abi_l2arc_hits, in __dbuf_stats_hash_table_data() 110 (ulong_t)abi.abi_holds, in __dbuf_stats_hash_table_data() 114 (ulong_t)doi.doi_data_block_size, in __dbuf_stats_hash_table_data() 115 (ulong_t)doi.doi_metadata_block_size, in __dbuf_stats_hash_table_data() [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | strtab.c | 70 ulong_t i; in strtab_destroy() 86 static ulong_t 89 ulong_t g, h = 0; in strtab_hash() 109 ulong_t b = hp->str_buf; in strtab_compare() 135 ulong_t b = sp->str_nbufs - 1; in strtab_copyin() 159 ulong_t h; in strtab_insert() 211 ulong_t i; in strtab_write() 234 ulong_t i; in strtab_print() 239 ulong_t b = hp->str_buf; in strtab_print() 242 (void) printf("[%lu] %lu \"", (ulong_t)hp->str_off, b); in strtab_print()
|
H A D | strtab.h | 40 ulong_t str_buf; /* index of string data buffer */ 48 ulong_t str_hashsz; /* size of hash bucket array */ 51 ulong_t str_nbufs; /* size of buffer pointer array */ 53 ulong_t str_nstrs; /* total number of strings in strtab */
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_solaris.h | 30 ulong_t rt_padstart; 31 ulong_t rt_padimlen; 32 ulong_t rt_msize; 35 ulong_t rt_tlsmodid;
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/dump/ |
H A D | dump.c | 74 ulong_t s_ndata; /* total number of data objects */ 75 ulong_t s_nfunc; /* total number of functions */ 76 ulong_t s_nargs; /* total number of function arguments */ 77 ulong_t s_argmax; /* longest argument list */ 78 ulong_t s_ntypes; /* total number of types */ 79 ulong_t s_types[16]; /* number of types by kind */ 80 ulong_t s_nsmem; /* total number of struct members */ 81 ulong_t s_nsbytes; /* total size of all structs */ 82 ulong_t s_smmax; /* largest struct in terms of members */ 83 ulong_t s_sbmax; /* largest struct in terms of bytes */ [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.basics.d | 60 printf("%%lo = %lo\n", (ulong_t)i); 61 printf("%%lu = %lu\n", (ulong_t)i); 62 printf("%%lx = %lx\n", (ulong_t)i); 63 printf("%%lX = %lX\n", (ulong_t)i);
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_impl.h | 154 ulong_t dmd_offset; /* offset of this member in bits (for sou) */ 206 ulong_t ctf_nsyms; /* number of entries in symtab xlate table */ 209 ulong_t ctf_typemax; /* maximum valid type ID number */ 220 ulong_t ctf_dthashlen; /* size of dynamic type hash bucket array */ 223 ulong_t ctf_dtnextid; /* next dynamic type id to assign */ 224 ulong_t ctf_dtoldid; /* oldest id that has been committed */ 312 size_t *incrementp, uint_t *typep, ulong_t *offsetp, const char **namep); 317 extern int ctf_hash_create(ctf_hash_t *, ulong_t);
|
H A D | ctf_hash.c | 35 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems) in ctf_hash_create() 75 static ulong_t 78 ulong_t g, h = 0; in ctf_hash_compute() 100 ulong_t h; in ctf_hash_insert() 152 ulong_t h = ctf_hash_compute(key, len) % hp->h_nbuckets; in ctf_hash_lookup()
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | stdtypes.h | 34 typedef unsigned long ulong_t; typedef 43 typedef ulong_t pgcnt_t; /* number of pages */
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | types.h | 37 typedef unsigned long ulong_t; typedef 54 typedef ulong_t pgcnt_t;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_md5.cpp | 32 typedef unsigned long ulong_t; typedef 41 static const void *body(MD5_CTX *ctx, const void *data, ulong_t size) { in body() 159 void MD5_Update(MD5_CTX *ctx, const void *data, ulong_t size) { in MD5_Update() 161 ulong_t used, free; in MD5_Update() 185 data = body(ctx, data, size & ~(ulong_t)0x3f); in MD5_Update() 193 ulong_t used, free; in MD5_Final()
|