| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| D | ctf.h | 114 ushort_t ctp_magic; /* magic number (CTF_MAGIC) */ 164 ushort_t ctt_info; /* encoded kind, variant length (see below) */ 166 ushort_t _size; /* size of entire type in bytes */ 167 ushort_t _type; /* reference to another type */ 181 ushort_t ctt_info; /* encoded kind, variant length (see below) */ 183 ushort_t _size; /* always CTF_LSIZE_SENT */ 184 ushort_t _type; /* do not use */ 317 ushort_t cta_contents; /* reference to type of array contents */ 318 ushort_t cta_index; /* reference to type of array index */ 334 ushort_t ctm_type; /* reference to type of member */ [all …]
|
| /freebsd-10-stable/cddl/contrib/opensolaris/common/ctf/ |
| D | ctf_impl.h | 68 ushort_t h_type; /* corresponding type ID number */ 69 ushort_t h_next; /* index of next element in hash chain */ 73 ushort_t *h_buckets; /* hash bucket array (chain indices) */ 75 ushort_t h_nbuckets; /* number of elements in bucket array */ 76 ushort_t h_nelems; /* number of elements in hash table */ 102 ushort_t (*ctfo_get_kind)(ushort_t); 103 ushort_t (*ctfo_get_root)(ushort_t); 104 ushort_t (*ctfo_get_vlen)(ushort_t); 197 ushort_t *ctf_ptrtab; /* translation table for pointer-to lookups */ 285 extern int ctf_hash_insert(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t); [all …]
|
| D | ctf_hash.c | 32 static const ushort_t _CTF_EMPTY[1] = { 0 }; 46 hp->h_buckets = (ushort_t *)_CTF_EMPTY; in ctf_hash_create() 55 hp->h_buckets = ctf_alloc(sizeof (ushort_t) * hp->h_nbuckets); in ctf_hash_create() 63 bzero(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets); in ctf_hash_create() 95 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_insert() 132 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_define() 150 ushort_t i; in ctf_hash_lookup() 170 ctf_free(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets); in ctf_hash_destroy()
|
| D | ctf_open.c | 47 static ushort_t 48 get_kind_v1(ushort_t info) in get_kind_v1() 53 static ushort_t 54 get_kind_v2(ushort_t info) in get_kind_v2() 59 static ushort_t 60 get_root_v1(ushort_t info) in get_root_v1() 65 static ushort_t 66 get_root_v2(ushort_t info) in get_root_v2() 71 static ushort_t 72 get_vlen_v1(ushort_t info) in get_vlen_v1() [all …]
|
| D | ctf_lookup.c | 203 type = *(ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_symbol() 244 const ushort_t *dp; in ctf_func_info() 245 ushort_t info, kind, n; in ctf_func_info() 266 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_func_info() 297 const ushort_t *dp; in ctf_func_args() 307 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2; in ctf_func_args()
|
| D | ctf_create.c | 102 ctm.ctm_type = (ushort_t)dmd->dmd_type; in ctf_copy_smembers() 103 ctm.ctm_offset = (ushort_t)dmd->dmd_offset; in ctf_copy_smembers() 125 ctlm.ctlm_type = (ushort_t)dmd->dmd_type; in ctf_copy_lmembers() 291 size += sizeof (ushort_t) * (vlen + (vlen & 1)); in ctf_update() 374 cta.cta_contents = (ushort_t) in ctf_update() 376 cta.cta_index = (ushort_t) in ctf_update() 384 ushort_t *argv = (ushort_t *)(uintptr_t)t; in ctf_update() 388 *argv++ = (ushort_t)dtd->dtd_u.dtu_argv[argc]; in ctf_update() 694 dtd->dtd_data.ctt_type = (ushort_t)ref; in ctf_add_reftype() 826 dtd->dtd_data.ctt_type = (ushort_t)ctc->ctc_return; in ctf_add_function() [all …]
|
| /freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_ident.h | 72 ushort_t di_kind; /* identifier kind (see below) */ 73 ushort_t di_flags; /* identifier flags (see below) */ 151 extern dt_ident_t *dt_idhash_insert(dt_idhash_t *, const char *, ushort_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, 168 extern void dt_ident_morph(dt_ident_t *, ushort_t, const dt_idops_t *, void *);
|
| D | dt_decl.h | 46 ushort_t dd_kind; /* declaration kind (CTF_K_* kind) */ 47 ushort_t dd_attr; /* attributes (DT_DA_* flags) */ 87 extern dt_decl_t *dt_decl_alloc(ushort_t, char *); 106 extern dt_decl_t *dt_decl_spec(ushort_t, char *); 107 extern dt_decl_t *dt_decl_attr(ushort_t);
|
| D | dt_pcb.h | 57 ushort_t *pcb_sflagv; /* script argument flags (DT_IDFLG_* bits) */
|
| D | dt_ident.c | 765 dt_idhash_insert(dt_idhash_t *dhp, const char *name, ushort_t kind, in dt_idhash_insert() 766 ushort_t flags, uint_t id, dtrace_attribute_t attr, uint_t vers, in dt_idhash_insert() 907 dt_ident_create(const char *name, ushort_t kind, ushort_t flags, uint_t id, in dt_ident_create() 951 dt_ident_morph(dt_ident_t *idp, ushort_t kind, in dt_ident_morph()
|
| D | dt_parser.h | 55 ushort_t dn_op; /* operator (DT_TOK_*, defined by lex) */
|
| D | dt_decl.c | 78 dt_decl_alloc(ushort_t kind, char *name) in dt_decl_alloc() 233 dt_decl_spec(ushort_t kind, char *name) in dt_decl_spec() 263 dt_decl_attr(ushort_t attr) in dt_decl_attr()
|
| D | dt_parser.c | 1558 ushort_t idflags; in dt_node_decl() 1900 dnp->dn_op = (ushort_t)op; in dt_node_op1() 2103 dnp->dn_op = (ushort_t)op; in dt_node_op2()
|
| D | dt_cc.c | 2466 pcb.pcb_sflagv = argc ? calloc(argc, sizeof (ushort_t)) : NULL; in dt_compile()
|
| /freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/ |
| D | tst.basics.d | 52 printf("%%ho = %ho\n", (ushort_t)i); 53 printf("%%hu = %hu\n", (ushort_t)i); 54 printf("%%hx = %hx\n", (ushort_t)i); 55 printf("%%hX = %hX\n", (ushort_t)i);
|
| D | tst.uints.d | 43 printf("%u\n", (ushort_t)123);
|
| /freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| D | ctf.c | 170 ushort_t id = (idp ? idp->ii_dtype->t_id : 0); in write_objects() 184 ushort_t fdata[2]; in write_functions() 185 ushort_t id; in write_functions() 256 cts->ctt_size = (ushort_t)size; in write_sized_type_rec() 302 ushort_t id; in write_type() 806 dptr += sizeof (ushort_t) * (vlen + (vlen & 1)); in count_types() 906 ushort_t id = *((ushort_t *)v); in resurrect_objects() 946 ushort_t info; in resurrect_functions() 947 ushort_t retid; in resurrect_functions() 954 info = *((ushort_t *)v); in resurrect_functions() [all …]
|
| /freebsd-10-stable/sys/cddl/dev/fbt/ |
| D | fbt_powerpc.c | 506 ushort_t info; in fbt_ctfoff_init() 507 ushort_t vlen; in fbt_ctfoff_init() 540 objtoff += sizeof (ushort_t); in fbt_ctfoff_init() 551 info = *((const ushort_t *)(ctfdata + funcoff)); in fbt_ctfoff_init() 560 funcoff += sizeof (ushort_t); /* skip pad */ in fbt_ctfoff_init() 562 funcoff += sizeof (ushort_t) * (vlen + 2); in fbt_ctfoff_init() 624 ushort_t kind = CTF_INFO_KIND(tp->ctt_info); in fbt_typoff_init() 642 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in fbt_typoff_init() 713 ushort_t kind = CTF_INFO_KIND(tp->ctt_info); in fbt_typoff_init() 731 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in fbt_typoff_init() [all …]
|
| D | fbt.c | 576 ushort_t info; in fbt_ctfoff_init() 577 ushort_t vlen; in fbt_ctfoff_init() 610 objtoff += sizeof (ushort_t); in fbt_ctfoff_init() 621 info = *((const ushort_t *)(ctfdata + funcoff)); in fbt_ctfoff_init() 630 funcoff += sizeof (ushort_t); /* skip pad */ in fbt_ctfoff_init() 632 funcoff += sizeof (ushort_t) * (vlen + 2); in fbt_ctfoff_init() 694 ushort_t kind = CTF_INFO_KIND(tp->ctt_info); in fbt_typoff_init() 712 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in fbt_typoff_init() 783 ushort_t kind = CTF_INFO_KIND(tp->ctt_info); in fbt_typoff_init() 801 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in fbt_typoff_init() [all …]
|
| /freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/dump/ |
| D | dump.c | 270 const ushort_t *idp = v; in read_data() 271 ulong_t n = (hp->cth_funcoff - hp->cth_objtoff) / sizeof (ushort_t); in read_data() 314 const ushort_t *fp = v; in read_funcs() 317 const ushort_t *end = v; in read_funcs() 335 ushort_t info = *fp++; in read_funcs() 336 ushort_t kind = CTF_INFO_KIND(info); in read_funcs() 337 ushort_t n = CTF_INFO_VLEN(info); in read_funcs() 338 ushort_t i; in read_funcs() 425 const ushort_t *argp; in read_types() 505 vlen = sizeof (ushort_t) * (n + (n & 1)); in read_types()
|
| /freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print/ |
| D | tst.struct.d.out | 8 ushort_t d = 0x5
|
| D | tst.struct.d | 37 ushort_t d;
|
| /freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
| D | types.h | 51 typedef u_short ushort_t; typedef
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zfs_vnops.c | 2417 ushort_t reclen; in zfs_readdir()
|