/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_impl.h | 102 uint_t (*ctfo_get_kind)(uint_t); 103 uint_t (*ctfo_get_root)(uint_t); 104 uint_t (*ctfo_get_vlen)(uint_t); 111 uint_t (*ctfo_type_info)(uint_t, uint_t, uint_t); 113 int (*ctfo_type_ischild)(uint_t); 114 uint_t (*ctfo_type_to_index)(uint_t); 115 uint_t (*ctfo_index_to_type)(uint_t, uint_t); 305 uint_t *indexp, uint_t *typep, int *ischildp); 309 uint_t *vlen, int *isroot); 318 extern int ctf_hash_insert(ctf_hash_t *, ctf_file_t *, uint_t, uint_t); [all …]
|
H A D | ctf_open.c | 47 static uint_t 53 static uint_t 59 static uint_t 65 static uint_t 71 static uint_t 77 static uint_t 83 static uint_t 96 type_info_v2(uint_t kind, uint_t isroot, uint_t len) in type_info_v2() 120 index_to_type_v2(uint_t id, uint_t child) in index_to_type_v2() 174 type_info_v3(uint_t kind, uint_t isroot, uint_t len) in type_info_v3() [all …]
|
H A D | ctf_hash.c | 32 static const uint_t _CTF_EMPTY[1] = { 0 }; 46 hp->h_buckets = (uint_t *)_CTF_EMPTY; in ctf_hash_create() 55 hp->h_buckets = ctf_alloc(sizeof (uint_t) * hp->h_nbuckets); in ctf_hash_create() 63 bzero(hp->h_buckets, sizeof (uint_t) * hp->h_nbuckets); in ctf_hash_create() 69 uint_t 95 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, uint_t type, uint_t name) in ctf_hash_insert() 132 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, uint_t type, uint_t name) in ctf_hash_define() 150 uint_t i; in ctf_hash_lookup() 170 ctf_free(hp->h_buckets, sizeof (uint_t) * hp->h_nbuckets); in ctf_hash_destroy()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | nvpair.h | 241 uint_t *); 243 uint_t *); 294 uint_t *); 305 uint_t *); 382 uint_t *); 384 uint_t *); 386 uint_t *); 388 uint_t *); 390 uint_t *); 392 uint_t *); [all …]
|
H A D | efi_partition.h | 43 (7 * sizeof (uint_t)) + \ 52 uint_t efi_gpt_Revision; 53 uint_t efi_gpt_HeaderSize; 54 uint_t efi_gpt_HeaderCRC32; 55 uint_t efi_gpt_Reserved1; 62 uint_t efi_gpt_NumberOfPartitionEntries; 63 uint_t efi_gpt_SizeOfPartitionEntry; 64 uint_t efi_gpt_PartitionEntryArrayCRC32; 323 uint_t efi_flags; 347 uint_t p_partno; [all …]
|
/freebsd/sys/cddl/dev/dtrace/x86/ |
H A D | dis_tables.h | 64 uint_t d86_mode; /* mode for immediate */ 70 uint_t d86_mode; 71 uint_t d86_error; 72 uint_t d86_len; /* instruction length */ 74 uint_t d86_memsize; /* size of memory referenced */ 77 uint_t d86_numopnds; 80 uint_t d86_opnd_size; 81 uint_t d86_addr_size; 82 uint_t d86_got_modrm; 83 uint_t d86_vsib; /* Has a VSIB */ [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | atomic.h | 104 extern void atomic_or_uint(volatile uint_t *, uint_t); 118 extern void atomic_and_uint(volatile uint_t *, uint_t); 140 extern uint_t atomic_inc_uint_nv(volatile uint_t *); 154 extern uint_t atomic_dec_uint_nv(volatile uint_t *); 168 extern uint_t atomic_add_int_nv(volatile uint_t *, int); 183 extern uint_t atomic_sub_int_nv(volatile uint_t *, int); 198 extern uint_t atomic_or_uint_nv(volatile uint_t *, uint_t); 212 extern uint_t atomic_and_uint_nv(volatile uint_t *, uint_t); 226 extern uint_t atomic_cas_uint(volatile uint_t *, uint_t, uint_t); 241 extern uint_t atomic_swap_uint(volatile uint_t *, uint_t); [all …]
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | ctf_api.h | 89 uint_t cte_offset; /* offset of value in bits */ 90 uint_t cte_bits; /* size of storage in bits */ 101 uint_t ctr_nelems; /* number of elements */ 106 uint_t ctc_argc; /* number of typed arguments to function */ 107 uint_t ctc_flags; /* function attributes (see below) */ 212 extern ctf_id_t ctf_add_const(ctf_file_t *, uint_t, ctf_id_t); 214 extern ctf_id_t ctf_add_float(ctf_file_t *, uint_t, 216 extern ctf_id_t ctf_add_forward(ctf_file_t *, uint_t, const char *, uint_t); 217 extern ctf_id_t ctf_add_function(ctf_file_t *, uint_t, 219 extern ctf_id_t ctf_add_integer(ctf_file_t *, uint_t, [all …]
|
H A D | cpupart.h | 71 uint_t cp_nrunnable; /* current # of runnable threads */ 72 uint_t cp_nrunning; /* current # of running threads */ 90 uint_t cp_attr; /* bitmask of attributes */ 125 extern uint_t cp_numparts; 126 extern uint_t cp_numparts_nonempty; 135 extern uint_t cp_haltset_fanout; 143 extern int cpupart_get_cpus(psetid_t *, processorid_t *, uint_t *); 148 extern uint_t cpupart_list(psetid_t *, uint_t, int); 149 extern int cpupart_setattr(psetid_t, uint_t); 150 extern int cpupart_getattr(psetid_t, uint_t *);
|
H A D | taskq.h | 84 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 85 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t); 87 struct proc *, uint_t); 89 struct proc *, uint_t, uint_t); 90 taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 91 void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
|
H A D | errorq.h | 58 ulong_t, size_t, uint_t, uint_t); 61 ulong_t, size_t, uint_t, uint_t); 64 extern void errorq_dispatch(errorq_t *, const void *, size_t, uint_t); 69 extern void errorq_commit(errorq_t *, errorq_elem_t *, uint_t);
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_impl.h | 78 uint_t din_kind; /* CTF type kind to instantiate */ 94 uint_t (*do_syminit)(struct dt_module *); 97 const char *, GElf_Sym *, uint_t *); 99 GElf_Addr, GElf_Sym *, uint_t *); 112 uint_t ds_symid; /* id of corresponding symbol */ 131 uint_t dm_symfree; /* index of next free hash element */ 134 uint_t dm_asrsv; /* actual reserved size of dm_asmap */ 135 uint_t dm_aslen; /* number of entries in dm_asmap */ 136 uint_t dm_flags; /* module flags (see below) */ 302 uint_t dt_lazyload; /* boolean: set via -xlazyload */ [all …]
|
H A D | dt_provider.h | 50 uint_t pv_flags; /* flags (see below) */ 63 uint_t pit_matches; /* number of matches */ 71 uint_t pi_noffs; /* number of offsets */ 72 uint_t pi_maxoffs; /* size of pi_offs allocation */ 73 uint_t pi_nenoffs; /* number of is-enabled offsets */ 74 uint_t pi_maxenoffs; /* size of pi_enoffs allocation */ 84 uint_t pr_nargc; /* native argument count */ 87 uint_t pr_xargc; /* translated argument count */ 100 dt_node_t *, uint_t, dt_node_t *, uint_t); 112 extern dt_node_t *dt_probe_tag(dt_probe_t *, uint_t, dt_node_t *);
|
H A D | dt_ident.h | 74 uint_t di_id; /* variable or subr id (see <sys/dtrace.h>) */ 76 uint_t di_vers; /* identifier version number (dt_version_t) */ 121 uint_t dh_nextid; /* next id to be returned by idhash_nextid() */ 122 uint_t dh_minid; /* min id to be returned by idhash_nextid() */ 123 uint_t dh_maxid; /* max id to be returned by idhash_nextid() */ 143 uint_t, uint_t); 147 extern int dt_idhash_nextid(dt_idhash_t *, uint_t *); 152 ushort_t, uint_t, dtrace_attribute_t, uint_t, 165 extern dt_ident_t *dt_ident_create(const char *, ushort_t, ushort_t, uint_t, 166 dtrace_attribute_t, uint_t, const dt_idops_t *, void *, ulong_t); [all …]
|
H A D | dt_inttab.h | 42 uint_t inh_index; /* index associated with this element */ 43 uint_t inh_flags; /* flags (see below) */ 49 uint_t int_hashlen; /* size of hash bucket array */ 50 uint_t int_nelems; /* number of elements hashed */ 53 uint_t int_index; /* next index to hand out */ 61 extern int dt_inttab_insert(dt_inttab_t *, uint64_t, uint_t); 62 extern uint_t dt_inttab_size(const dt_inttab_t *);
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | taskq.h | 60 uint_t tqent_type; 61 volatile uint_t tqent_rc; 89 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 91 uint_t, clock_t); 92 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t, 96 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 97 taskq_t *taskq_create_synced(const char *, int, pri_t, int, int, uint_t, 99 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t); 101 struct proc *, uint_t); 103 struct proc *, uint_t, uint_t);
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-xdr.c | 177 uint_t size = roundup(cnt, 4); in xdrmem_enc_bytes() 178 uint_t pad; in xdrmem_enc_bytes() 206 uint_t size = roundup(cnt, 4); in xdrmem_dec_bytes() 207 uint_t pad; in xdrmem_dec_bytes() 368 xdr_enc_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, in xdr_enc_array() 369 const uint_t elsize, const xdrproc_t elproc) in xdr_enc_array() 371 uint_t i; in xdr_enc_array() 390 xdr_dec_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, in xdr_dec_array() 393 uint_t i, size; in xdr_dec_array() 437 uint_t len; in xdr_enc_string() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | hkdf.c | 26 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() 27 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() 41 hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len, in hkdf_sha512_expand() 42 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() 46 uint_t i, T_len = 0, pos = 0; in hkdf_sha512_expand() 48 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand() 82 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() 83 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, in hkdf_sha512() 84 uint_t out_len) in hkdf_sha512()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/rpc/ |
H A D | xdr.h | 54 bool_t (*xdr_opaque)(XDR *, caddr_t, const uint_t); 55 bool_t (*xdr_string)(XDR *, char **, const uint_t); 56 bool_t (*xdr_array)(XDR *, caddr_t *, uint_t *, const uint_t, 57 const uint_t, const xdrproc_t); 73 void xdrmem_create(XDR *xdrs, const caddr_t addr, const uint_t size, 127 static inline bool_t xdr_opaque(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdr_opaque() 136 static inline bool_t xdr_string(XDR *xdrs, char **sp, const uint_t maxsize) in xdr_string() 144 static inline bool_t xdr_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, in xdr_array() 145 const uint_t maxsize, const uint_t elsize, const xdrproc_t elproc) in xdr_array()
|
/freebsd/sys/crypto/skein/ |
H A D | skein_debug.c | 17 uint_t skein_DebugFlag = 0; /* off by default. Must be set externally */ 57 static const char *AlgoHeader(uint_t bits) in AlgoHeader() 76 void Skein_Show_Final(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t cnt,const u08b_t *outPtr) in Skein_Show_Final() 89 void Skein_Show_Round(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X) in Skein_Show_Round() 91 static uint_t injectNum=0; /* not multi-thread safe! */ in Skein_Show_Round() 124 uint_t j; in Skein_Show_Round() 164 uint_t i; in Skein_Show_R_Ptr() 177 uint_t n; in Skein_Show_Block() 183 …printf("\n%s Block: outBits=%4d. T0=%06X.",AlgoHeader(bits),(uint_t) h->hashBitLen,(uint_t)h->T[0]… in Skein_Show_Block() 185 n = (uint_t) ((h->T[1] & SKEIN_T1_BLK_TYPE_MASK) >> SKEIN_T1_POS_BLK_TYPE); in Skein_Show_Block() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | dkio.h | 56 uint_t dki_addr; /* controller address */ 57 uint_t dki_space; /* controller bus type */ 58 uint_t dki_prio; /* interrupt priority */ 59 uint_t dki_vec; /* interrupt vector */ 61 uint_t dki_unit; /* unit number */ 297 uint_t dkt_flags; /* Flags */ 360 typedef uint_t volcapinfo_t; 362 typedef uint_t volcapset_t; 436 uint_t dkd_dtype; 460 uint_t dku_size; /* firmware buf length */ [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | atomic.c | 45 ATOMIC_INC(uint, uint_t) in ATOMIC_INC() 63 ATOMIC_DEC(uint, uint_t) 87 ATOMIC_ADD(int, uint_t, int) in ATOMIC_ADD() 111 ATOMIC_SUB(int, uint_t, int) in ATOMIC_SUB() 129 ATOMIC_OR(uint, uint_t) 147 ATOMIC_AND(uint, uint_t) 169 ATOMIC_INC_NV(uint, uint_t) 187 ATOMIC_DEC_NV(uint, uint_t) 253 ATOMIC_OR_NV(uint, uint_t) 310 ATOMIC_CAS(uint, uint_t) in ATOMIC_CAS() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | hkdf.c | 25 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() 26 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() 63 hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len, in hkdf_sha512_expand() 64 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() 71 uint_t i, T_len = 0, pos = 0; in hkdf_sha512_expand() 73 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand() 151 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() 152 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, in hkdf_sha512() 153 uint_t out_len) in hkdf_sha512()
|
H A D | vdev_queue.c | 124 uint_t zfs_vdev_max_active = 1000; 158 static uint_t zfs_vdev_trim_min_active = 1; 181 static uint_t zfs_vdev_nia_delay = 5; 193 static uint_t zfs_vdev_nia_credit = 5; 217 uint_t zfs_vdev_queue_depth_pct = 1000; 219 uint_t zfs_vdev_queue_depth_pct = 300; 229 uint_t zfs_vdev_def_queue_depth = 32; 302 static uint_t 334 static uint_t 337 uint_t writes; in vdev_queue_max_async_writes() [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | tsd.h | 35 extern int tsd_set(uint_t, void *); 36 extern void *tsd_get(uint_t); 37 extern void *tsd_get_by_thread(uint_t, kthread_t *); 38 extern void tsd_create(uint_t *, dtor_func_t); 39 extern void tsd_destroy(uint_t *);
|