| /freebsd/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_impl.h | 67 uint_t h_name; /* reference to name in string table */ 68 uint_t h_type; /* corresponding type ID number */ 69 uint_t h_next; /* index of next element in hash chain */ 73 uint_t *h_buckets; /* hash bucket array (chain indices) */ 75 uint_t h_nbuckets; /* number of elements in bucket array */ 76 uint_t h_nelems; /* number of elements in hash table */ 77 uint_t h_free; /* index of next free hash element */ 102 uint_t (*ctfo_get_kind)(uint_t); 103 uint_t (*ctfo_get_root)(uint_t); 104 uint_t (*ctfo_get_vlen)(uint_t); [all …]
|
| H A D | ctf_open.c | 47 static uint_t 48 get_kind_v2(uint_t info) in get_kind_v2() 53 static uint_t 54 get_root_v2(uint_t info) in get_root_v2() 59 static uint_t 60 get_vlen_v2(uint_t info) in get_vlen_v2() 65 static uint_t 71 static uint_t 77 static uint_t 83 static uint_t [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 | 153 _SYS_NVPAIR_H int nvlist_alloc(nvlist_t **, uint_t, int); 161 _SYS_NVPAIR_H uint_t nvlist_nvflag(nvlist_t *); 163 _SYS_NVPAIR_H int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *); 185 const boolean_t *, uint_t); 187 const uchar_t *, uint_t); 189 const int8_t *, uint_t); 191 const uint8_t *, uint_t); 193 const int16_t *, uint_t); 195 const uint16_t *, uint_t); 197 const int32_t *, uint_t); [all …]
|
| H A D | efi_partition.h | 44 (7 * sizeof (uint_t)) + \ 53 uint_t efi_gpt_Revision; 54 uint_t efi_gpt_HeaderSize; 55 uint_t efi_gpt_HeaderCRC32; 56 uint_t efi_gpt_Reserved1; 63 uint_t efi_gpt_NumberOfPartitionEntries; 64 uint_t efi_gpt_SizeOfPartitionEntry; 65 uint_t efi_gpt_PartitionEntryArrayCRC32; 307 uint_t p_resv[8]; /* future use - set to zero */ 315 uint_t efi_version; /* set to EFI_VERSION_CURRENT */ [all …]
|
| H A D | zio_crypt.h | 134 uint_t datalen, uint8_t *ivbuf, uint8_t *salt); 142 void zio_crypt_copy_dnode_bonus(abd_t *src_abd, uint8_t *dst, uint_t datalen); 145 uint_t datalen, boolean_t byteswap, uint8_t *cksum); 147 uint_t datalen, boolean_t byteswap, uint8_t *cksum); 148 int zio_crypt_do_hmac(zio_crypt_key_t *key, uint8_t *data, uint_t datalen, 149 uint8_t *digestbuf, uint_t digestlen); 150 int zio_crypt_do_objset_hmacs(zio_crypt_key_t *key, void *data, uint_t datalen, 154 uint8_t *mac, uint_t datalen, uint8_t *plainbuf, uint8_t *cipherbuf, 158 uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
|
| /freebsd/sys/cddl/dev/dtrace/x86/ |
| H A D | dis_tables.h | 64 uint_t d86_mode; /* mode for immediate */ 65 uint_t d86_value_size; /* size in bytes of d86_value */ 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; 78 uint_t d86_rex_prefix; /* value of REX prefix if !0 */ 80 uint_t d86_opnd_size; 81 uint_t d86_addr_size; [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/ |
| H A D | atomic.h | 47 extern void atomic_inc_uint(volatile uint_t *); 61 extern void atomic_dec_uint(volatile uint_t *); 75 extern void atomic_add_int(volatile uint_t *, int); 90 extern void atomic_sub_int(volatile uint_t *, int); 105 extern void atomic_or_uint(volatile uint_t *, uint_t); 119 extern void atomic_and_uint(volatile uint_t *, uint_t); 141 extern uint_t atomic_inc_uint_nv(volatile uint_t *); 155 extern uint_t atomic_dec_uint_nv(volatile uint_t *); 169 extern uint_t atomic_add_int_nv(volatile uint_t *, int); 184 extern uint_t atomic_sub_int_nv(volatile uint_t *, int); [all …]
|
| /freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | ctf_api.h | 88 uint_t cte_format; /* data format (CTF_INT_* or CTF_FP_* flags) */ 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) */ 176 extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *); 211 extern ctf_id_t ctf_add_array(ctf_file_t *, uint_t, const ctf_arinfo_t *); 212 extern ctf_id_t ctf_add_const(ctf_file_t *, uint_t, ctf_id_t); 213 extern ctf_id_t ctf_add_enum(ctf_file_t *, uint_t, const char *); [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 */ 113 uint_t ds_next; /* index of next element in hash chain */ 128 uint_t *dm_symbuckets; /* symbol table hash buckets (chain indices) */ 131 uint_t dm_symfree; /* index of next free hash element */ 132 uint_t dm_nsymbuckets; /* number of elements in bucket array */ 133 uint_t dm_nsymelems; /* number of elements in hash table */ [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 | 61 uint_t tqent_type; 62 volatile uint_t tqent_rc; 90 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 92 uint_t, clock_t); 93 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t, 97 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 98 taskq_t *taskq_create_synced(const char *, int, pri_t, int, int, uint_t, 100 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t); 102 struct proc *, uint_t); 104 struct proc *, uint_t, uint_t);
|
| /freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-xdr.c | 136 xdrmem_create(XDR *xdrs, const caddr_t addr, const uint_t size, in xdrmem_create() 176 xdrmem_enc_bytes(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdrmem_enc_bytes() 178 uint_t size = roundup(cnt, 4); in xdrmem_enc_bytes() 179 uint_t pad; in xdrmem_enc_bytes() 204 xdrmem_dec_bytes(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdrmem_dec_bytes() 207 uint_t size = roundup(cnt, 4); in xdrmem_dec_bytes() 208 uint_t pad; in xdrmem_dec_bytes() 369 xdr_enc_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, in xdr_enc_array() 370 const uint_t elsize, const xdrproc_t elproc) in xdr_enc_array() 372 uint_t i; in xdr_enc_array() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | hkdf.c | 27 hkdf_sha512_extract(uint8_t *salt, uint_t salt_len, uint8_t *key_material, in hkdf_sha512_extract() 28 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() 42 hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len, in hkdf_sha512_expand() 43 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() 47 uint_t i, T_len = 0, pos = 0; in hkdf_sha512_expand() 49 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand() 83 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() 84 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, in hkdf_sha512() 85 uint_t out_len) in hkdf_sha512()
|
| /freebsd/sys/contrib/openzfs/include/os/linux/spl/rpc/ |
| H A D | xdr.h | 55 bool_t (*xdr_opaque)(XDR *, caddr_t, const uint_t); 56 bool_t (*xdr_string)(XDR *, char **, const uint_t); 57 bool_t (*xdr_array)(XDR *, caddr_t *, uint_t *, const uint_t, 58 const uint_t, const xdrproc_t); 74 void xdrmem_create(XDR *xdrs, const caddr_t addr, const uint_t size, 128 static inline bool_t xdr_opaque(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdr_opaque() 137 static inline bool_t xdr_string(XDR *xdrs, char **sp, const uint_t maxsize) in xdr_string() 145 static inline bool_t xdr_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, in xdr_array() 146 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() 162 void Skein_Show_R_Ptr(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X_ptr[]) in Skein_Show_R_Ptr() 164 uint_t i; in Skein_Show_R_Ptr() 174 void Skein_Show_Block(uint_t bits,const Skein_Ctxt_Hdr_t *h,const u64b_t *X,const u08b_t *blkPtr, in Skein_Show_Block() 177 uint_t n; in Skein_Show_Block() [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | dkio.h | 57 uint_t dki_addr; /* controller address */ 58 uint_t dki_space; /* controller bus type */ 59 uint_t dki_prio; /* interrupt priority */ 60 uint_t dki_vec; /* interrupt vector */ 62 uint_t dki_unit; /* unit number */ 298 uint_t dkt_flags; /* Flags */ 311 uint_t dki_media_type; /* Media type or profile info */ 312 uint_t dki_lbsize; /* Logical blocksize of media */ 361 typedef uint_t volcapinfo_t; 363 typedef uint_t volcapset_t; [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libspl/ |
| H A D | atomic.c | 45 ATOMIC_INC(uint, uint_t) in ATOMIC_INC() 61 ATOMIC_DEC(uint, uint_t) 83 ATOMIC_ADD(int, uint_t, int) in ATOMIC_ADD() 105 ATOMIC_SUB(int, uint_t, int) in ATOMIC_SUB() 121 ATOMIC_OR(uint, uint_t) 137 ATOMIC_AND(uint, uint_t) 157 ATOMIC_INC_NV(uint, uint_t) 173 ATOMIC_DEC_NV(uint, uint_t) 195 ATOMIC_ADD_NV(int, uint_t, int) in ATOMIC_ADD_NV() 216 ATOMIC_SUB_NV(int, uint_t, int) in ATOMIC_SUB_NV() [all …]
|
| /freebsd/sys/contrib/openzfs/module/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() 64 hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len, in hkdf_sha512_expand() 65 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() 72 uint_t i, T_len = 0, pos = 0; in hkdf_sha512_expand() 74 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand() 152 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() 153 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, in hkdf_sha512() 154 uint_t out_len) in hkdf_sha512()
|
| /freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | tsd.h | 36 extern int tsd_set(uint_t, void *); 37 extern void *tsd_get(uint_t); 38 extern void *tsd_get_by_thread(uint_t, kthread_t *); 39 extern void tsd_create(uint_t *, dtor_func_t); 40 extern void tsd_destroy(uint_t *);
|