| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_decl.c | 464 ctf_file_t *ctfp; local 469 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; 471 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; 482 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR && 483 ctf_type_kind(ctfp, type) != CTF_K_FORWARD) 487 type = ctf_add_struct(ctfp, flag, name); 489 type = ctf_add_union(ctfp, flag, name); 491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) { 493 n, ctf_errmsg(ctf_errno(ctfp))); 496 ddp->dd_ctfp = ctfp; 661 ctf_file_t *ctfp; local [all...] |
| dt_print.c | 114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) 116 if (ctf_type_name(ctfp, id, buf, buflen) == NULL) 232 ctf_file_t *ctfp = pap->pa_ctfp; local 237 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) { 286 ctf_file_t *ctfp = pap->pa_ctfp; local 290 if (ctf_type_encoding(ctfp, base, &e) == 0) { 317 ctf_file_t *ctfp = pap->pa_ctfp; local 319 size_t size = ctf_type_size(ctfp, base); 320 ctf_id_t bid = ctf_type_reference(ctfp, base); 325 if (bid == CTF_ERR || ctf_type_kind(ctfp, bid) != CTF_K_FUNCTION) 369 ctf_file_t *ctfp = pap->pa_ctfp; local 479 ctf_file_t *ctfp = pap->pa_ctfp; local 549 ctf_file_t *ctfp = pap->pa_ctfp; local 650 ctf_file_t *ctfp; local [all...] |
| dt_decl.c | 464 ctf_file_t *ctfp; local 469 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; 471 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; 482 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR && 483 ctf_type_kind(ctfp, type) != CTF_K_FORWARD) 487 type = ctf_add_struct(ctfp, flag, name); 489 type = ctf_add_union(ctfp, flag, name); 491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) { 493 n, ctf_errmsg(ctf_errno(ctfp))); 496 ddp->dd_ctfp = ctfp; 661 ctf_file_t *ctfp; local [all...] |
| dt_print.c | 114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) 116 if (ctf_type_name(ctfp, id, buf, buflen) == NULL) 232 ctf_file_t *ctfp = pap->pa_ctfp; local 237 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) { 286 ctf_file_t *ctfp = pap->pa_ctfp; local 290 if (ctf_type_encoding(ctfp, base, &e) == 0) { 317 ctf_file_t *ctfp = pap->pa_ctfp; local 319 size_t size = ctf_type_size(ctfp, base); 320 ctf_id_t bid = ctf_type_reference(ctfp, base); 325 if (bid == CTF_ERR || ctf_type_kind(ctfp, bid) != CTF_K_FUNCTION) 369 ctf_file_t *ctfp = pap->pa_ctfp; local 479 ctf_file_t *ctfp = pap->pa_ctfp; local 549 ctf_file_t *ctfp = pap->pa_ctfp; local 650 ctf_file_t *ctfp; local [all...] |
| dt_cg.c | 145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) 167 ctf_type_encoding(ctfp, type, &e) != CTF_ERR) 170 size = ctf_type_size(ctfp, type); 191 ctf_file_t *ctfp = dnp->dn_ctfp; local 199 type = ctf_type_resolve(ctfp, dnp->dn_type); 200 kind = ctf_type_kind(ctfp, type); 204 if (ctf_array_info(ctfp, type, &r) != 0) { 205 yypcb->pcb_hdl->dt_ctferr = ctf_errno(ctfp); 210 type = ctf_type_reference(ctfp, type); 212 if ((size = ctf_type_size(ctfp, type)) == 1 642 ctf_file_t *ctfp = dnp->dn_ctfp; local 699 ctf_file_t *ctfp = dnp->dn_ctfp; local 1515 ctf_file_t *ctfp = dnp->dn_ctfp; local [all...] |
| dt_cg.c | 145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) 167 ctf_type_encoding(ctfp, type, &e) != CTF_ERR) 170 size = ctf_type_size(ctfp, type); 191 ctf_file_t *ctfp = dnp->dn_ctfp; local 199 type = ctf_type_resolve(ctfp, dnp->dn_type); 200 kind = ctf_type_kind(ctfp, type); 204 if (ctf_array_info(ctfp, type, &r) != 0) { 205 yypcb->pcb_hdl->dt_ctferr = ctf_errno(ctfp); 210 type = ctf_type_reference(ctfp, type); 212 if ((size = ctf_type_size(ctfp, type)) == 1 642 ctf_file_t *ctfp = dnp->dn_ctfp; local 699 ctf_file_t *ctfp = dnp->dn_ctfp; local 1515 ctf_file_t *ctfp = dnp->dn_ctfp; local [all...] |
| dt_parser.c | 271 ctf_file_t *ctfp = tip->dtt_ctfp; local 273 ctf_id_t base = ctf_type_resolve(ctfp, type); 279 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR || 280 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) { 290 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && 291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { 312 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) 316 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp)) 318 else if (ctfp == DT_FUNC_CTFP(dtp) && type == DT_FUNC_TYPE(dtp) 3181 ctf_file_t *ctfp; local 4026 ctf_file_t *ctfp; local [all...] |
| dt_printf.c | 99 ctf_file_t *ctfp; local 108 ctfp = dnp->dn_ctfp; 109 base = ctf_type_resolve(ctfp, dnp->dn_type); 110 kind = ctf_type_kind(ctfp, base); 112 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 && 113 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR && 114 ctf_type_encoding(ctfp, base, &e) == 0 && IS_CHAR(e)); 121 ctf_file_t *ctfp = dnp->dn_ctfp; local 122 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type); 123 uint_t kind = ctf_type_kind(ctfp, base) 172 ctf_file_t *ctfp = dnp->dn_ctfp; local 185 ctf_file_t *ctfp = dnp->dn_ctfp; local 198 ctf_file_t *ctfp = dnp->dn_ctfp; local [all...] |
| dt_parser.c | 271 ctf_file_t *ctfp = tip->dtt_ctfp; local 273 ctf_id_t base = ctf_type_resolve(ctfp, type); 279 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR || 280 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) { 290 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && 291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { 312 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) 316 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp)) 318 else if (ctfp == DT_FUNC_CTFP(dtp) && type == DT_FUNC_TYPE(dtp) 3181 ctf_file_t *ctfp; local 4026 ctf_file_t *ctfp; local [all...] |
| dt_printf.c | 99 ctf_file_t *ctfp; local 108 ctfp = dnp->dn_ctfp; 109 base = ctf_type_resolve(ctfp, dnp->dn_type); 110 kind = ctf_type_kind(ctfp, base); 112 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 && 113 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR && 114 ctf_type_encoding(ctfp, base, &e) == 0 && IS_CHAR(e)); 121 ctf_file_t *ctfp = dnp->dn_ctfp; local 122 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type); 123 uint_t kind = ctf_type_kind(ctfp, base) 172 ctf_file_t *ctfp = dnp->dn_ctfp; local 185 ctf_file_t *ctfp = dnp->dn_ctfp; local 198 ctf_file_t *ctfp = dnp->dn_ctfp; local [all...] |