Home
last modified time | relevance | path

Searched refs:uint_t (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_impl.h67 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 Dctf_open.c47 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 Dctf_hash.c32 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 Dnvpair.h152 _SYS_NVPAIR_H int nvlist_alloc(nvlist_t **, uint_t, int);
160 _SYS_NVPAIR_H uint_t nvlist_nvflag(nvlist_t *);
162 _SYS_NVPAIR_H int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *);
184 const boolean_t *, uint_t);
186 const uchar_t *, uint_t);
188 const int8_t *, uint_t);
190 const uint8_t *, uint_t);
192 const int16_t *, uint_t);
194 const uint16_t *, uint_t);
196 const int32_t *, uint_t);
[all …]
H A Defi_partition.h43 (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;
306 uint_t p_resv[8]; /* future use - set to zero */
314 uint_t efi_version; /* set to EFI_VERSION_CURRENT */
[all …]
/freebsd/sys/contrib/openzfs/lib/libspl/include/
H A Datomic.h46 extern void atomic_inc_uint(volatile uint_t *);
60 extern void atomic_dec_uint(volatile uint_t *);
74 extern void atomic_add_int(volatile uint_t *, int);
89 extern void atomic_sub_int(volatile uint_t *, int);
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);
[all …]
/freebsd/sys/cddl/dev/dtrace/x86/
H A Ddis_tables.h64 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/cddl/contrib/opensolaris/uts/common/sys/
H A Dctf_api.h88 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 Dcpupart.h71 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 Dtaskq.h84 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 Derrorq.h58 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 Ddt_impl.h78 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 Ddt_provider.h50 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 Ddt_ident.h74 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 Ddt_inttab.h42 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 Dtaskq.h60 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 Dspl-xdr.c135 xdrmem_create(XDR *xdrs, const caddr_t addr, const uint_t size, in xdrmem_create()
175 xdrmem_enc_bytes(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdrmem_enc_bytes()
177 uint_t size = roundup(cnt, 4); in xdrmem_enc_bytes()
178 uint_t pad; in xdrmem_enc_bytes()
203 xdrmem_dec_bytes(XDR *xdrs, caddr_t cp, const uint_t cnt) in xdrmem_dec_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 elsiz in xdr_enc_array()
[all...]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dhkdf.c26 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 Dxdr.h54 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)
136 static inline bool_t xdr_string(XDR *xdrs, char **sp, const uint_t maxsize)
144 static inline bool_t xdr_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep,
145 const uint_t maxsiz
[all...]
/freebsd/sys/crypto/skein/
H A Dskein_debug.c17 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 Ddkio.h56 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 */
310 uint_t dki_media_type; /* Media type or profile info */
311 uint_t dki_lbsize; /* Logical blocksize of media */
360 typedef uint_t volcapinfo_t;
362 typedef uint_t volcapset_t;
[all …]
/freebsd/sys/contrib/openzfs/lib/libspl/
H A Datomic.c44 ATOMIC_INC(uint, uint_t) in ATOMIC_INC()
60 ATOMIC_DEC(uint, uint_t)
82 ATOMIC_ADD(int, uint_t, int) in ATOMIC_ADD()
104 ATOMIC_SUB(int, uint_t, int) in ATOMIC_SUB()
120 ATOMIC_OR(uint, uint_t)
136 ATOMIC_AND(uint, uint_t)
156 ATOMIC_INC_NV(uint, uint_t)
172 ATOMIC_DEC_NV(uint, uint_t)
194 ATOMIC_ADD_NV(int, uint_t, int) in ATOMIC_ADD_NV()
215 ATOMIC_SUB_NV(int, uint_t, int) in ATOMIC_SUB_NV()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_queue.c124 uint_t zfs_vdev_max_active = 1000;
144 static uint_t zfs_vdev_sync_read_min_active = 10;
145 static uint_t zfs_vdev_sync_read_max_active = 10;
146 static uint_t zfs_vdev_sync_write_min_active = 10;
147 static uint_t zfs_vdev_sync_write_max_active = 10;
148 static uint_t zfs_vdev_async_read_min_active = 1;
149 /* */ uint_t zfs_vdev_async_read_max_active = 3;
150 static uint_t zfs_vdev_async_write_min_active = 2;
151 /* */ uint_t zfs_vdev_async_write_max_active = 10;
152 static uint_t zfs_vdev_scrub_min_active = 1;
[all …]
H A Dhkdf.c25 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()
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dfnvpair.c216 const boolean_t *val, uint_t n) in fnvlist_add_boolean_array()
223 uint_t n) in fnvlist_add_byte_array()
230 uint_t n) in fnvlist_add_int8_array()
237 uint_t n) in fnvlist_add_uint8_array()
244 uint_t n) in fnvlist_add_int16_array()
251 const uint16_t *val, uint_t n) in fnvlist_add_uint16_array()
258 uint_t n) in fnvlist_add_int32_array()
265 const uint32_t *val, uint_t n) in fnvlist_add_uint32_array()
272 uint_t n) in fnvlist_add_int64_array()
279 const uint64_t *val, uint_t n) in fnvlist_add_uint64_array()
[all …]

12345678910>>...14