Searched refs:ushort_t (Results 1 - 24 of 24) sorted by relevance

/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
H A Dtst.uints.d43 printf("%u\n", (ushort_t)123);
H A Dtst.basics.d52 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);
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_decl.h46 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);
H A Ddt_ident.h72 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 *);
H A Ddt_pcb.h57 ushort_t *pcb_sflagv; /* script argument flags (DT_IDFLG_* bits) */
H A Ddt_ident.c765 dt_idhash_insert(dt_idhash_t *dhp, const char *name, ushort_t kind,
766 ushort_t flags, uint_t id, dtrace_attribute_t attr, uint_t vers,
907 dt_ident_create(const char *name, ushort_t kind, ushort_t flags, uint_t id,
951 dt_ident_morph(dt_ident_t *idp, ushort_t kind,
H A Ddt_parser.h55 ushort_t dn_op; /* operator (DT_TOK_*, defined by lex) */
H A Ddt_decl.c78 dt_decl_alloc(ushort_t kind, char *name)
233 dt_decl_spec(ushort_t kind, char *name)
263 dt_decl_attr(ushort_t attr)
H A Ddt_parser.c1558 ushort_t idflags;
1900 dnp->dn_op = (ushort_t)op;
2103 dnp->dn_op = (ushort_t)op;
H A Ddt_cc.c2466 pcb.pcb_sflagv = argc ? calloc(argc, sizeof (ushort_t)) : NULL;
/freebsd-10.3-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_impl.h68 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_vle
[all...]
H A Dctf_hash.c32 static const ushort_t _CTF_EMPTY[1] = { 0 };
46 hp->h_buckets = (ushort_t *)_CTF_EMPTY;
55 hp->h_buckets = ctf_alloc(sizeof (ushort_t) * hp->h_nbuckets);
63 bzero(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets);
95 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name)
132 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name)
150 ushort_t i;
170 ctf_free(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets);
H A Dctf_open.c47 static ushort_t
48 get_kind_v1(ushort_t info)
53 static ushort_t
54 get_kind_v2(ushort_t info)
59 static ushort_t
60 get_root_v1(ushort_t info)
65 static ushort_t
66 get_root_v2(ushort_t info)
71 static ushort_t
72 get_vlen_v1(ushort_t inf
[all...]
H A Dctf_lookup.c203 type = *(ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]);
244 const ushort_t *dp;
245 ushort_t info, kind, n;
266 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]);
297 const ushort_t *dp;
304 * The argument data is two ushort_t's past the translation table
307 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2;
H A Dctf_create.c102 ctm.ctm_type = (ushort_t)dmd->dmd_type;
103 ctm.ctm_offset = (ushort_t)dmd->dmd_offset;
125 ctlm.ctlm_type = (ushort_t)dmd->dmd_type;
291 size += sizeof (ushort_t) * (vlen + (vlen & 1));
374 cta.cta_contents = (ushort_t)
376 cta.cta_index = (ushort_t)
384 ushort_t *argv = (ushort_t *)(uintptr_t)t;
388 *argv++ = (ushort_t)dtd->dtd_u.dtu_argv[argc];
694 dtd->dtd_data.ctt_type = (ushort_t)re
[all...]
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dctf.h114 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 */
262 /* list of argument types (ushort_t's) */
317 ushort_t cta_contents; /* reference to type of array contents */
318 ushort_t cta_inde
[all...]
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print/
H A Dtst.struct.d37 ushort_t d;
/freebsd-10.3-release/sys/cddl/compat/opensolaris/sys/
H A Dtypes.h51 typedef u_short ushort_t; typedef
/freebsd-10.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c170 ushort_t id = (idp ? idp->ii_dtype->t_id : 0);
184 ushort_t fdata[2];
185 ushort_t id;
256 cts->ctt_size = (ushort_t)size;
302 ushort_t id;
806 dptr += sizeof (ushort_t) * (vlen + (vlen & 1));
906 ushort_t id = *((ushort_t *)v);
946 ushort_t info;
947 ushort_t reti
[all...]
/freebsd-10.3-release/sys/cddl/dev/fbt/
H A Dfbt_powerpc.c506 ushort_t info;
507 ushort_t vlen;
540 objtoff += sizeof (ushort_t);
551 info = *((const ushort_t *)(ctfdata + funcoff));
560 funcoff += sizeof (ushort_t); /* skip pad */
562 funcoff += sizeof (ushort_t) * (vlen + 2);
624 ushort_t kind = CTF_INFO_KIND(tp->ctt_info);
642 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1));
713 ushort_t kind = CTF_INFO_KIND(tp->ctt_info);
731 vbytes = sizeof (ushort_t) * (vle
[all...]
H A Dfbt.c576 ushort_t info;
577 ushort_t vlen;
610 objtoff += sizeof (ushort_t);
621 info = *((const ushort_t *)(ctfdata + funcoff));
630 funcoff += sizeof (ushort_t); /* skip pad */
632 funcoff += sizeof (ushort_t) * (vlen + 2);
694 ushort_t kind = CTF_INFO_KIND(tp->ctt_info);
712 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1));
783 ushort_t kind = CTF_INFO_KIND(tp->ctt_info);
801 vbytes = sizeof (ushort_t) * (vle
[all...]
/freebsd-10.3-release/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c270 const ushort_t *idp = v;
271 ulong_t n = (hp->cth_funcoff - hp->cth_objtoff) / sizeof (ushort_t);
314 const ushort_t *fp = v;
317 const ushort_t *end = v;
335 ushort_t info = *fp++;
336 ushort_t kind = CTF_INFO_KIND(info);
337 ushort_t n = CTF_INFO_VLEN(info);
338 ushort_t i;
425 const ushort_t *argp;
505 vlen = sizeof (ushort_t) * (
[all...]
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dgfs.c289 edp->ed_reclen = (ushort_t)reclen;
292 dp->d_reclen = (ushort_t)reclen;
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c2595 ushort_t reclen;

Completed in 290 milliseconds