| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | nvpair.h | 154 int nvlist_alloc(nvlist_t **, uint_t, int); 162 uint_t nvlist_nvflag(nvlist_t *); 164 int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *); 219 boolean_t **, uint_t *); 231 nvlist_t ***, uint_t *); 263 int nvpair_value_byte_array(nvpair_t *, uchar_t **, uint_t *); 264 int nvpair_value_int8_array(nvpair_t *, int8_t **, uint_t *); 265 int nvpair_value_uint8_array(nvpair_t *, uint8_t **, uint_t *); 266 int nvpair_value_int16_array(nvpair_t *, int16_t **, uint_t *); 268 int nvpair_value_int32_array(nvpair_t *, int32_t **, uint_t *); [all …]
|
| H A D | ctf.h | 123 uint_t cth_lbloff; /* offset of label section */ 124 uint_t cth_objtoff; /* offset of object section */ 126 uint_t cth_typeoff; /* offset of type section */ 127 uint_t cth_stroff; /* offset of string section */ 139 uint_t cth_objtoff; 140 uint_t cth_funcoff; 141 uint_t cth_typeoff; 142 uint_t cth_stroff; 143 uint_t cth_strlen; 158 uint_t ctl_label; /* ref to name of label */ [all …]
|
| 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);
|
| H A D | cpuvar.h | 166 uint_t cpu_deadman_countdown; /* used by deadman() */ 217 uint_t cpu_rotor; /* for cheap pseudo-random numbers */ 227 volatile uint_t cpu_generation; /* tracking on/off-line */ 403 #define CPUSET_NOTINSET ((uint_t)-1) 418 extern void cpuset_all_but(cpuset_t *, uint_t); 421 extern void cpuset_only(cpuset_t *, uint_t); 422 extern uint_t cpuset_find(cpuset_t *); 423 extern void cpuset_bounds(cpuset_t *, uint_t *, uint_t *); 514 cpu = (uint_t)(lowbit(set) - 1); \ 518 smallest = (uint_t)(lowbit(set) - 1); \ [all …]
|
| /freebsd-12.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-12.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 *);
|
| H A D | dt_pq.c | 32 dt_pq_init(dtrace_hdl_t *dtp, uint_t size, dt_pq_value_f value_cb, void *cb_arg) in dt_pq_init() 65 dt_pq_getvalue(dt_pq_t *p, uint_t index) in dt_pq_getvalue() 74 uint_t i; in dt_pq_insert() 94 dt_pq_walk(dt_pq_t *p, uint_t *cookie) in dt_pq_walk() 106 uint_t i = 1; in dt_pq_pop() 121 uint_t lc = i * 2; in dt_pq_pop() 122 uint_t rc = i * 2 + 1; in dt_pq_pop() 123 uint_t c; in dt_pq_pop()
|
| H A D | dtrace.h | 107 uint_t dpi_recgens; /* number of record generating probes in prog */ 108 uint_t dpi_matches; /* number of probes matched by program */ 128 const char *, dtrace_probespec_t, uint_t, int, char *const []); 131 FILE *, uint_t, int, char *const []); 143 uint_t, const char *, int, char *const []); 236 const dtrace_probedata_t *, const dtrace_recdesc_t *, uint_t, 240 const dtrace_probedata_t *, const dtrace_recdesc_t *, uint_t, 244 const dtrace_probedata_t *, const dtrace_recdesc_t *, uint_t, 248 const dtrace_probedata_t *, const dtrace_recdesc_t *, uint_t, 477 uint_t dto_flags; /* object flags (see below) */ [all …]
|
| H A D | dt_printf.h | 68 uint_t pdi_nbuckets; /* size of hash bucket array */ 75 uint_t pfd_flags; /* format flags (see below) */ 99 uint_t pfv_argc; /* number of argument descriptors */ 100 uint_t pfv_flags; /* flags used for validation */ 105 uint_t pfw_aid; /* aggregation variable identifier */ 119 extern void dt_printf_validate(dt_pfargv_t *, uint_t,
|
| H A D | dt_as.c | 72 uint_t 110 dvp->dtdv_name = (uint_t)stroff; in dt_copyvar() 153 uint_t i, uint_t xi, dt_node_t *dnp) in dt_as_xlate() 190 dt_as_undef(const dt_ident_t *idp, uint_t offset) in dt_as_undef() 213 uint_t *labels = NULL; in dt_as() 219 uint_t i; in dt_as() 221 uint_t kmask, kbits, umask, ubits; in dt_as() 222 uint_t krel = 0, urel = 0, xlrefs = 0; in dt_as() 325 uint_t op = DIF_INSTR_OP(instr); in dt_as() 412 uint_t nodef; in dt_as() [all …]
|
| H A D | dt_dis.c | 103 dt_dis_varname(const dtrace_difo_t *dp, uint_t id, uint_t scope) in dt_dis_varname() 106 uint_t i; in dt_dis_varname() 119 static uint_t 133 uint_t var = DIF_INSTR_R1(in); in dt_dis_lda() 146 uint_t var = DIF_INSTR_VAR(in); in dt_dis_ldv() 159 uint_t var = DIF_INSTR_VAR(in); in dt_dis_stv() 172 uint_t intptr = DIF_INSTR_INTEGER(in); in dt_dis_setx() 186 uint_t strptr = DIF_INSTR_STRING(in); in dt_dis_sets() 206 uint_t subr = DIF_INSTR_SUBR(in); in dt_dis_call() 218 uint_t type = DIF_INSTR_TYPE(in); in dt_dis_pushts() [all …]
|
| H A D | dt_pq.h | 34 uint_t dtpq_size; /* count of allocated elements */ 35 uint_t dtpq_last; /* next free slot */ 40 extern dt_pq_t *dt_pq_init(dtrace_hdl_t *, uint_t size, dt_pq_value_f, void *); 45 extern void *dt_pq_walk(dt_pq_t *, uint_t *);
|
| H A D | dt_as.h | 40 uint_t di_label; /* label number or DT_LBL_NONE */ 51 uint_t dl_len; /* number of valid instructions */ 52 uint_t dl_label; /* next label number to assign */ 58 extern uint_t dt_irlist_label(dt_irlist_t *);
|
| /freebsd-12.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 …]
|
| H A D | skein_debug.h | 15 void Skein_Show_Block(uint_t bits,const Skein_Ctxt_Hdr_t *h,const u64b_t *X,const u08b_t *blkPtr, 17 void Skein_Show_Round(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X); 18 void Skein_Show_R_Ptr(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t r,const u64b_t *X_ptr[]); 19 void Skein_Show_Final(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t cnt,const u08b_t *outPtr); 20 void Skein_Show_Key (uint_t bits,const Skein_Ctxt_Hdr_t *h,const u08b_t *key,size_t keyBytes); 22 extern uint_t skein_DebugFlag; /* flags to control debug output (0 --> none) */
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
| H A D | zmod_subr.c | 34 uint_t zch_magic; 35 uint_t zch_size; 42 zcalloc(void *opaque, uint_t items, uint_t size) in zcalloc() 69 zmemcpy(void *dest, const void *source, uint_t len) in zmemcpy() 75 zmemcmp(const void *s1, const void *s2, uint_t len) in zmemcmp() 81 zmemzero(void *dest, uint_t len) in zmemzero()
|
| /freebsd-12.1/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_impl.h | 67 uint_t h_name; /* reference to name in string table */ 77 uint_t h_free; /* index of next free hash element */ 123 uint_t cd_kind; /* type kind */ 124 uint_t cd_n; /* type dimension if array */ 194 uint_t *ctf_sxlate; /* translation table for symtab entries */ 196 uint_t *ctf_txlate; /* translation table for type IDs */ 203 uint_t ctf_refcnt; /* reference count (for parent links) */ 204 uint_t ctf_flags; /* libctf flags (see below) */ 289 extern uint_t ctf_hash_size(const ctf_hash_t *); 308 extern const char *ctf_strraw(ctf_file_t *, uint_t); [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libnvpair/ |
| H A D | nvpair_json.c | 227 uint_t valsz, i; in nvlist_print_json() 242 uint_t valsz, i; in nvlist_print_json() 257 uint_t valsz, i; in nvlist_print_json() 272 uint_t valsz, i; in nvlist_print_json() 286 uint_t valsz, i; in nvlist_print_json() 300 uint_t valsz, i; in nvlist_print_json() 314 uint_t valsz, i; in nvlist_print_json() 328 uint_t valsz, i; in nvlist_print_json() 342 uint_t valsz, i; in nvlist_print_json() 356 uint_t valsz, i; in nvlist_print_json() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/ |
| H A D | libzfs_status.c | 76 vdev_missing(vdev_stat_t *vs, uint_t vsc) in vdev_missing() 84 vdev_faulted(vdev_stat_t *vs, uint_t vsc) in vdev_faulted() 91 vdev_errors(vdev_stat_t *vs, uint_t vsc) in vdev_errors() 100 vdev_broken(vdev_stat_t *vs, uint_t vsc) in vdev_broken() 107 vdev_offlined(vdev_stat_t *vs, uint_t vsc) in vdev_offlined() 114 vdev_removed(vdev_stat_t *vs, uint_t vsc) in vdev_removed() 120 vdev_non_native_ashift(vdev_stat_t *vs, uint_t vsc) in vdev_non_native_ashift() 130 find_vdev_problem(nvlist_t *vdev, int (*func)(vdev_stat_t *, uint_t), in find_vdev_problem() argument 135 uint_t c, vsc, children; in find_vdev_problem() 201 uint_t vsc, psc; in check_status()
|