| /freebsd-13.1/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-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | nvpair.h | 151 int nvlist_alloc(nvlist_t **, uint_t, int); 159 uint_t nvlist_nvflag(nvlist_t *); 161 int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *); 216 boolean_t **, uint_t *); 228 nvlist_t ***, uint_t *); 260 int nvpair_value_byte_array(nvpair_t *, uchar_t **, uint_t *); 261 int nvpair_value_int8_array(nvpair_t *, int8_t **, uint_t *); 262 int nvpair_value_uint8_array(nvpair_t *, uint8_t **, uint_t *); 263 int nvpair_value_int16_array(nvpair_t *, int16_t **, uint_t *); 265 int nvpair_value_int32_array(nvpair_t *, int32_t **, 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; 326 uint_t efi_flags; 350 uint_t p_partno; [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
| H A D | ioctladmin.h | 46 uint_t dl_return_value; 47 uint_t dl_dev_count; 52 uint_t sl_return_value; 53 uint_t sl_soft_count; 59 uint_t di_return_value; 62 uint_t di_count; 69 uint_t si_count; 77 uint_t dd_count; 84 uint_t sd_count; 96 uint_t sc_count; [all …]
|
| H A D | ioctl.h | 213 uint_t co_pin_len; 254 uint_t ce_flags; 287 uint_t cd_flags; 911 uint_t oc_count; 920 uint_t oc_count; 934 uint_t og_count; 949 uint_t sa_count; 956 uint_t fi_count; 964 uint_t fu_count; 1063 uint_t gk_count; [all …]
|
| H A D | spi.h | 417 crypto_object_attribute_t *, uint_t, void **, 420 crypto_object_id_t *, uint_t, uint_t *, crypto_req_handle_t); 444 crypto_object_attribute_t *, uint_t, 482 uint_t, crypto_req_handle_t); 486 uint_t, crypto_object_attribute_t *, uint_t, 490 uint_t, crypto_object_attribute_t *, uint_t, crypto_req_handle_t); 643 typedef uint_t crypto_kcf_provider_handle_t; 652 uint_t pi_interface_version; 657 uint_t pi_mech_list_count; 659 uint_t pi_logical_provider_count; [all …]
|
| /freebsd-13.1/sys/cddl/dev/dtrace/x86/ |
| H A D | dis_tables.h | 65 uint_t d86_mode; /* mode for immediate */ 71 uint_t d86_mode; 72 uint_t d86_error; 73 uint_t d86_len; /* instruction length */ 75 uint_t d86_memsize; /* size of memory referenced */ 78 uint_t d86_numopnds; 81 uint_t d86_opnd_size; 82 uint_t d86_addr_size; 83 uint_t d86_got_modrm; 84 uint_t d86_vsib; /* Has a VSIB */ [all …]
|
| /freebsd-13.1/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-13.1/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-13.1/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) */ 300 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-13.1/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-xdr.c | 176 uint_t size = roundup(cnt, 4); in xdrmem_enc_bytes() 177 uint_t pad; in xdrmem_enc_bytes() 205 uint_t size = roundup(cnt, 4); in xdrmem_dec_bytes() 206 uint_t pad; in xdrmem_dec_bytes() 367 xdr_enc_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, in xdr_enc_array() 368 const uint_t elsize, const xdrproc_t elproc) in xdr_enc_array() 370 uint_t i; in xdr_enc_array() 389 xdr_dec_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, in xdr_dec_array() 392 uint_t i, size; in xdr_dec_array() 436 uint_t len; in xdr_enc_string() [all …]
|
| /freebsd-13.1/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() 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() 84 hkdf_sha512(uint8_t *key_material, uint_t km_len, uint8_t *salt, in hkdf_sha512() 85 uint_t salt_len, uint8_t *info, uint_t info_len, uint8_t *output_key, in hkdf_sha512() 86 uint_t out_len) in hkdf_sha512()
|
| /freebsd-13.1/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, 131 static inline bool_t xdr_opaque(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdr_opaque() 140 static inline bool_t xdr_string(XDR *xdrs, char **sp, const uint_t maxsize) in xdr_string() 148 static inline bool_t xdr_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, in xdr_array() 149 const uint_t maxsize, const uint_t elsize, const xdrproc_t elproc) in xdr_array()
|
| /freebsd-13.1/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-13.1/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-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | taskq.h | 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, 95 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 96 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t); 98 struct proc *, uint_t); 100 struct proc *, uint_t, uint_t);
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libspl/ |
| H A D | atomic.c | 44 ATOMIC_INC(uint, uint_t) in ATOMIC_INC() 60 ATOMIC_DEC(uint, uint_t) 76 ATOMIC_ADD(int, uint_t, int) 98 ATOMIC_SUB(int, uint_t, int) in ATOMIC_SUB() 120 ATOMIC_OR(uint, uint_t) in ATOMIC_OR() 136 ATOMIC_AND(uint, uint_t) 156 ATOMIC_INC_NV(uint, uint_t) 172 ATOMIC_DEC_NV(uint, uint_t) 232 ATOMIC_OR_NV(uint, uint_t) in ATOMIC_OR_NV() 276 ATOMIC_CAS(uint, uint_t) [all …]
|