Home
last modified time | relevance | path

Searched refs:ulong_t (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd-10-stable/sys/dev/nxge/xgehal/
Dxge-queue.c73 (u64)(ulong_t)queue->start_ptr, in __queue_consume()
74 (u64)(ulong_t)queue->head_ptr, in __queue_consume()
75 (u64)(ulong_t)queue->tail_ptr, in __queue_consume()
76 (u64)(ulong_t)queue->end_ptr, in __queue_consume()
77 (u64)(ulong_t)elem, in __queue_consume()
86 (u64)(ulong_t)queue->start_ptr, in __queue_consume()
87 (u64)(ulong_t)queue->head_ptr, in __queue_consume()
88 (u64)(ulong_t)queue->tail_ptr, in __queue_consume()
89 (u64)(ulong_t)queue->end_ptr, in __queue_consume()
90 (u64)(ulong_t)elem, in __queue_consume()
[all …]
Dxgehal-channel-fp.c53 (unsigned long long)(ulong_t)*dtrh, in __hal_channel_dtr_alloc()
129 (unsigned long long)(ulong_t)dtrh, channel->type, in __hal_channel_dtr_restore()
190 (unsigned long long)(ulong_t)dtrh, in __hal_channel_dtr_free()
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_regset.c43 dt_regset_create(ulong_t nregs) in dt_regset_create()
45 ulong_t n = BT_BITOUL(nregs); in dt_regset_create()
51 drp->dr_bitmap = calloc(n, sizeof (ulong_t)); in dt_regset_create()
73 bzero(drp->dr_bitmap, sizeof (ulong_t) * BT_BITOUL(drp->dr_size)); in dt_regset_reset()
98 ulong_t nbits = drp->dr_size - 1; in dt_regset_alloc()
99 ulong_t maxw = nbits >> BT_ULSHIFT; in dt_regset_alloc()
100 ulong_t wx; in dt_regset_alloc()
108 ulong_t maxb = (wx == maxw) ? nbits & BT_ULMASK : BT_NBIPUL - 1; in dt_regset_alloc()
109 ulong_t word = drp->dr_bitmap[wx]; in dt_regset_alloc()
110 ulong_t bit, bx; in dt_regset_alloc()
Ddt_strtab.h40 ulong_t str_buf; /* index of string data buffer */
48 ulong_t str_hashsz; /* size of hash bucket array */
51 ulong_t str_nbufs; /* size of buffer pointer array */
53 ulong_t str_nstrs; /* total number of strings in strtab */
66 extern ulong_t dt_strtab_hash(const char *, size_t *);
Ddt_strtab.c105 ulong_t i; in dt_strtab_destroy()
125 ulong_t
128 ulong_t g, h = 0; in dt_strtab_hash()
151 ulong_t b = hp->str_buf; in dt_strtab_compare()
178 ulong_t old_n = sp->str_nbufs; in dt_strtab_copyin()
180 ulong_t b = sp->str_nbufs - 1; in dt_strtab_copyin()
214 ulong_t h; in dt_strtab_index()
235 ulong_t h; in dt_strtab_insert()
279 ulong_t i; in dt_strtab_write()
Ddt_ident.h83 ulong_t di_gen; /* generation number (pass that created me) */
124 ulong_t dh_nelems; /* number of identifiers in hash table */
125 ulong_t dh_hashsz; /* number of entries in dh_buckets array */
148 extern ulong_t dt_idhash_size(const dt_idhash_t *);
153 const dt_idops_t *, void *, ulong_t);
166 dtrace_attribute_t, uint_t, const dt_idops_t *, void *, ulong_t);
Ddt_print.c107 static int dt_print_member(const char *, ctf_id_t, ulong_t, int, void *);
155 print_bitfield(dt_printarg_t *pap, ulong_t off, ctf_encoding_t *ep) in print_bitfield()
229 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_int()
283 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_float()
314 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_ptr()
366 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_array()
465 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) in dt_print_structlike()
476 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_enum()
518 dt_print_tag(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_tag()
523 typedef void dt_printarg_f(ctf_id_t, ulong_t, dt_printarg_t *);
[all …]
Ddt_regset.h42 ulong_t dr_size; /* number of registers in set */
43 ulong_t *dr_bitmap; /* bitmap of active registers */
46 extern dt_regset_t *dt_regset_create(ulong_t);
Ddt_provider.h46 ulong_t *pv_xrefs; /* translator reference bitmap */
47 ulong_t pv_xrmax; /* number of valid bits in pv_xrefs */
48 ulong_t pv_gen; /* generation # that created me */
Ddt_proc.h83 ulong_t dbp_instr; /* saved instruction from breakpoint */
84 ulong_t dbp_hits; /* count of breakpoint hits for debug */
Ddt_impl.h226 ulong_t dt_gen; /* compiler generation number */
627 extern ulong_t dt_popc(ulong_t);
628 extern ulong_t dt_popcb(const ulong_t *, ulong_t);
Ddt_ident.c681 ulong_t i; in dt_idhash_destroy()
706 ulong_t i; in dt_idhash_update()
728 ulong_t h = dt_strtab_hash(name, &len) % dhp->dh_hashsz; in dt_idhash_lookup()
752 ulong_t
767 const dt_idops_t *ops, void *iarg, ulong_t gen) in dt_idhash_insert()
770 ulong_t h; in dt_idhash_insert()
796 ulong_t h; in dt_idhash_xinsert()
816 ulong_t h = dt_strtab_hash(key->di_name, &len) % dhp->dh_hashsz; in dt_idhash_delete()
854 ulong_t i, j, n; in dt_idhash_iter()
909 const dt_idops_t *ops, void *iarg, ulong_t gen) in dt_ident_create()
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
Dbitmap.h107 (BT_BITOUL(nbits) * sizeof (ulong_t))
143 extern index_t bt_availbit(ulong_t *bitmap, size_t nbits);
148 extern int bt_gethighbit(ulong_t *mapp, int wx);
149 extern int bt_range(ulong_t *bitmap, size_t *pos1, size_t *pos2,
156 extern int highbit(ulong_t);
158 extern int lowbit(ulong_t);
159 extern int bt_getlowbit(ulong_t *bitmap, size_t start, size_t stop);
160 extern void bt_copy(ulong_t *, ulong_t *, ulong_t);
165 extern int odd_parity(ulong_t);
Dctf_api.h70 ulong_t cts_type; /* section type (ELF SHT_... value) */
71 ulong_t cts_flags; /* section flags (ELF SHF_... value) */
95 ulong_t ctm_offset; /* offset of member in bits */
147 typedef int ctf_visit_f(const char *, ctf_id_t, ulong_t, int, void *);
148 typedef int ctf_member_f(const char *, ctf_id_t, ulong_t, void *);
175 extern int ctf_func_info(ctf_file_t *, ulong_t, ctf_funcinfo_t *);
176 extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *);
179 extern ctf_id_t ctf_lookup_by_symbol(ctf_file_t *, ulong_t);
Derrorq.h58 ulong_t, size_t, uint_t, uint_t);
61 ulong_t, size_t, uint_t, uint_t);
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
Dstrtab.c70 ulong_t i; in strtab_destroy()
86 static ulong_t
89 ulong_t g, h = 0; in strtab_hash()
109 ulong_t b = hp->str_buf; in strtab_compare()
135 ulong_t b = sp->str_nbufs - 1; in strtab_copyin()
159 ulong_t h; in strtab_insert()
211 ulong_t i; in strtab_write()
234 ulong_t i; in strtab_print()
239 ulong_t b = hp->str_buf; in strtab_print()
242 (void) printf("[%lu] %lu \"", (ulong_t)hp->str_off, b); in strtab_print()
Dstrtab.h40 ulong_t str_buf; /* index of string data buffer */
48 ulong_t str_hashsz; /* size of hash bucket array */
51 ulong_t str_nbufs; /* size of buffer pointer array */
53 ulong_t str_nstrs; /* total number of strings in strtab */
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/dump/
Ddump.c75 ulong_t s_ndata; /* total number of data objects */
76 ulong_t s_nfunc; /* total number of functions */
77 ulong_t s_nargs; /* total number of function arguments */
78 ulong_t s_argmax; /* longest argument list */
79 ulong_t s_ntypes; /* total number of types */
80 ulong_t s_types[16]; /* number of types by kind */
81 ulong_t s_nsmem; /* total number of struct members */
82 ulong_t s_nsbytes; /* total size of all structs */
83 ulong_t s_smmax; /* largest struct in terms of members */
84 ulong_t s_sbmax; /* largest struct in terms of bytes */
[all …]
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
Dtst.basics.d60 printf("%%lo = %lo\n", (ulong_t)i);
61 printf("%%lu = %lu\n", (ulong_t)i);
62 printf("%%lx = %lx\n", (ulong_t)i);
63 printf("%%lX = %lX\n", (ulong_t)i);
/freebsd-10-stable/cddl/contrib/opensolaris/common/ctf/
Dctf_impl.h143 ulong_t dmd_offset; /* offset of this member in bits (for sou) */
195 ulong_t ctf_nsyms; /* number of entries in symtab xlate table */
198 ulong_t ctf_typemax; /* maximum valid type ID number */
208 ulong_t ctf_dthashlen; /* size of dynamic type hash bucket array */
211 ulong_t ctf_dtnextid; /* next dynamic type id to assign */
212 ulong_t ctf_dtoldid; /* oldest id that has been committed */
284 extern int ctf_hash_create(ctf_hash_t *, ulong_t);
Dctf_hash.c35 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems) in ctf_hash_create()
75 static ulong_t
78 ulong_t g, h = 0; in ctf_hash_compute()
100 ulong_t h; in ctf_hash_insert()
152 ulong_t h = ctf_hash_compute(key, len) % hp->h_nbuckets; in ctf_hash_lookup()
/freebsd-10-stable/sys/dev/nxge/include/
Dxge-defs.h122 (unsigned long long)(ulong_t) \
131 (unsigned long long)(ulong_t)_vaddr); \
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/sparc/dtrace/
Dfasttrap_isa.c224 static ulong_t fasttrap_getreg(struct regs *, uint_t);
225 static void fasttrap_putreg(struct regs *, uint_t, ulong_t);
566 ulong_t value; in fasttrap_pid_probe()
644 ulong_t value; in fasttrap_pid_probe()
666 fasttrap_putreg(rp, RD(tp->ftt_instr), (ulong_t)imm32); in fasttrap_pid_probe()
1383 static ulong_t
1386 ulong_t value; in fasttrap_getreg()
1389 extern ulong_t dtrace_getreg_win(uint_t, uint_t); in fasttrap_getreg()
1484 fasttrap_putreg(struct regs *rp, uint_t reg, ulong_t value) in fasttrap_putreg()
1488 extern void dtrace_putreg_win(uint_t, ulong_t); in fasttrap_putreg()
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libctf/common/
Dctf_lib.c53 int (*z_uncompress)(uchar_t *, ulong_t *, const uchar_t *, ulong_t);
102 …zlib.z_uncompress = (int (*)(uchar_t *, ulong_t *, const uchar_t *, ulong_t)) dlsym(zlib.z_dlp, "u… in ctf_zopen()
128 return (zlib.z_uncompress(dst, (ulong_t *)dstlen, src, srclen)); in z_uncompress()
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/i386/
Ddt_isadep.c89 ulong_t i; in dt_pid_has_jump_table()
145 ulong_t i, end; in dt_pid_create_return_probe()
295 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) in dt_pid_create_offset_probe()
306 ulong_t i; in dt_pid_create_offset_probe()
390 ulong_t i, end = symp->st_size; in dt_pid_create_glob_offset_probes()

12345