/titanic_44/usr/src/lib/libtnf/ |
H A D | libtnf.h | 69 tnf_ref32_t *tag; /* tag record in file */ 114 #define TAGDIRCNT(x) ((x) / sizeof (tnf_ref32_t)) 146 tnf_ref32_t *file_header; /* first record in file */ 163 tnf_ref32_t *root_tag; 199 tnf_ref32_t * _tnf_get_ref32(TNF *, tnf_ref32_t *); 200 tnf_ref32_t * _tnf_get_ref16(TNF *, tnf_ref32_t *); 211 ((tnf_ref32_t *)((unsigned)(ptr) & (tnf)->block_mask)) 217 ((tnf_ref32_t *)((tnf)->data_start + ((index) << (tnf)->block_shift))) 254 ((tnf_ref32_t *)DATUM_VAL(x)) 285 tnf_ref32_t * _tnf_get_tag(TNF *, tnf_ref32_t *); [all …]
|
H A D | abi.c | 65 static caddr_t fetch_slot(TNF *, caddr_t, tnf_ref32_t *); 71 tnf_ref32_t * 72 _tnf_get_tag(TNF *tnf, tnf_ref32_t *record) in _tnf_get_tag() 81 tnf_ref32_t * 82 _tnf_get_tag_arg(TNF *tnf, tnf_ref32_t *record) in _tnf_get_tag_arg() 92 _tnf_get_self_size(TNF *tnf, tnf_ref32_t *array) in _tnf_get_self_size() 102 _tnf_get_element_count(TNF *tnf, tnf_ref32_t *array, unsigned eltsize) in _tnf_get_element_count() 106 tnf_ref32_t *base_tag; in _tnf_get_element_count() 125 _tnf_get_elements(TNF *tnf, tnf_ref32_t *array) in _tnf_get_elements() 129 tnf_ref32_t *base_tag; in _tnf_get_elements() [all …]
|
H A D | ref.c | 37 static tnf_ref32_t *vaddr_to_phys(TNF *, tnf_ref32_t *, tnf_ref32_t); 50 static tnf_ref32_t * 51 vaddr_to_phys(TNF *tnf, tnf_ref32_t *src_cell, tnf_ref32_t src_val) in vaddr_to_phys() 57 tnf_ref32_t src_off, exp_off, dst_off, *dst_blk, *dst_cell; in vaddr_to_phys() 68 src_off = (tnf_ref32_t)((char *)src_cell - base); in vaddr_to_phys() 80 dst_off = (tnf_ref32_t)((unsigned)exp_off & mask); in vaddr_to_phys() 84 dst_cell = (tnf_ref32_t *)(base + dst_off); in vaddr_to_phys() 101 return ((tnf_ref32_t *)NULL); in vaddr_to_phys() 109 tnf_ref32_t * 110 _tnf_get_ref32(TNF *tnf, tnf_ref32_t *cell) in _tnf_get_ref32() [all …]
|
H A D | info.c | 30 #define TAG_INDEX(x) (TNF_TAG16_ABS16(x) / sizeof (tnf_ref32_t)) 36 static struct taginfo * add_info(TNF *, tnf_ref32_t *); 39 init_abstract_info(TNF *, tnf_ref32_t *, struct taginfo *); 42 init_derived_info(TNF *, tnf_ref32_t *, struct taginfo *); 45 init_scalar_info(TNF *, tnf_ref32_t *, struct taginfo *); 48 init_struct_info(TNF *, tnf_ref32_t *, struct taginfo *); 51 init_array_info(TNF *, tnf_ref32_t *, struct taginfo *); 53 static void init_slots(TNF *, tnf_ref32_t *, struct taginfo *); 115 _tnf_get_info(TNF *tnf, tnf_ref32_t *tag) in _tnf_get_info() 134 _tnf_record_info(TNF *tnf, tnf_ref32_t *record) in _tnf_record_info() [all …]
|
H A D | access.c | 72 tnf_ref32_t *bhdr; in tnf_get_block_relative() 89 tnf_ref32_t *bhdr; in tnf_is_block_header() 125 tnf_ref32_t *bhdr, *cell, ref32; in tnf_get_next_record() 155 cell = (tnf_ref32_t *)nval; in tnf_get_next_record() 160 nval += sizeof (tnf_ref32_t); in tnf_get_next_record() 176 if (*(tnf_ref32_t *)bval != TNF_NULL) in tnf_get_next_record() 178 return (RECORD_DATUM(tnf, (tnf_ref32_t *)bval)); in tnf_get_next_record()
|
H A D | util.c | 72 _tnf_get_props(TNF *tnf, tnf_ref32_t *tag) in _tnf_get_props() 95 _tnf_get_kind(TNF *tnf, tnf_ref32_t *tag) in _tnf_get_kind() 97 tnf_ref32_t *base_tag; in _tnf_get_kind()
|
H A D | reader.c | 40 tnf_ref32_t *fhdr, *bhdr; in tnf_reader_begin() 75 fhdr = (tnf_ref32_t *)(base + sizeof (magic)); /* second word */ in tnf_reader_begin() 146 bhdr = (tnf_ref32_t *)tnf->data_start; in tnf_reader_begin()
|
H A D | array.c | 143 tnf_ref32_t *rec; in tnf_get_element() 147 rec = _GET_REF32(tnf, (tnf_ref32_t *) in tnf_get_element()
|
H A D | struct.c | 111 tnf_ref32_t *rec; in get_slot() 115 rec = _GET_REF32(tnf, (tnf_ref32_t *) in get_slot()
|
H A D | record.c | 52 tnf_ref32_t *arg; in tnf_get_tag_arg()
|
H A D | type.c | 124 tnf_ref32_t *property; in tnf_type_get_property()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | tnf_com.h | 73 typedef tnf_int32_t tnf_ref32_t; /* self-relative, 32 bits */ typedef 97 ((tnf_ref32_t)((tnf_uint32_t)(x) | TNF_SPACE_MASK)) : \ 126 ((tnf_ref32_t)(((tnf_uint32_t)(x) & ~TNF_REF32_TYPE_MASK) & \ 168 tnf_ref32_t tag; /* type record */ 172 tnf_ref32_t tag; /* type record */ 177 tnf_ref32_t tag; /* type record */ 178 tnf_ref32_t name; /* string record */ 179 tnf_ref32_t properties; /* array of type records */ 183 tnf_ref32_t tag; /* type record */ 184 tnf_ref32_t name; /* string record */ [all …]
|
H A D | tnf_writer.h | 54 typedef tnf_ref32_t tnf_reference_t; /* generic reference */ 233 typedef tnf_ref32_t tnf_tag_t; 283 typedef tnf_ref32_t tnf_probe_event_t; 285 ((tnf_ref32_t)(item) | TNF_REF32_T_PAIR) 327 typedef tnf_ref32_t tnf_symbols_t; 397 extern tnf_ref32_t tnf_ref32_1(tnf_ops_t *,
|
H A D | tnf_probe.h | 51 tnf_ref32_t t;
|
/titanic_44/usr/src/uts/common/tnf/ |
H A D | trace_funcs.c | 73 ((tnf_ref32_t)((tnf_record_p)(item) - (tnf_record_p)(ref))) 106 tnf_ref32_t *fwd_p; in tnf_trace_alloc() 133 asize = size + sizeof (tnf_ref32_t); /* one fwd ptr */ in tnf_trace_alloc() 141 asize += sizeof (tnf_ref32_t); in tnf_trace_alloc() 153 fwd_p = (tnf_ref32_t *)((char *)buffer + size); in tnf_trace_alloc()
|
H A D | tnf_types.h | 156 TNF_ALIGN(tnf_ref32_t), \ 157 sizeof (tnf_ref32_t), \ 200 TNF_ALIGN(tnf_ref32_t), \ 201 sizeof (tnf_ref32_t), \ 225 TNF_ALIGN(tnf_ref32_t), \ 226 sizeof (tnf_ref32_t), \ 237 typedef tnf_ref32_t tnf_tag_arg_t; /* tag qualifier */
|
H A D | tnf_writer.c | 360 tnf_ref32_t 363 tnf_ref32_t offset_delta, gen_delta; in tnf_ref32_1() 365 tnf_ref32_t result; in tnf_ref32_1() 377 offset_delta = (tnf_ref32_t)(item - tnf_buf); in tnf_ref32_1() 383 offset_delta = (tnf_ref32_t)(item - reference); in tnf_ref32_1() 398 tnf_ref32_t 402 tnf_ref32_t offset_delta, gen_delta; in tnf_ref32_1() 404 tnf_ref32_t result; in tnf_ref32_1() 416 offset_delta = (tnf_ref32_t)(item - (tnf_record_p) file_start); in tnf_ref32_1() 422 offset_delta = (tnf_ref32_t)(item - reference); in tnf_ref32_1()
|
H A D | mkprobehdr.sh | 54 * Alignment of tnf_ref32_t 59 tnf_ref32_t t;
|
H A D | tnf_buf.c | 324 fh->next_fw_alloc = next + sizeof (tnf_ref32_t); in tnfw_b_fw_alloc() 400 block->tag = (tnf_ref32_t)TNF_BLOCK_HEADER_TAG; in tnfw_b_init_buffer()
|
H A D | tnf.c | 923 sizeof (tnf_ref32_t), (caddr_t)parms.dst_addr, in tnf_getfwzone() 924 parms.slots * (int)(sizeof (tnf_ref32_t)), mode)) in tnf_getfwzone()
|
/titanic_44/usr/src/lib/libtnfprobe/ |
H A D | trace_funcs.c | 79 ((tnf_ref32_t)((tnf_record_p)(item) - (tnf_record_p)(ref))) 112 tnf_ref32_t *fwd_p; in tnf_trace_alloc() 169 asize = size + sizeof (tnf_ref32_t); /* one fwd ptr */ in tnf_trace_alloc() 176 asize += sizeof (tnf_ref32_t); in tnf_trace_alloc() 199 fwd_p = (tnf_ref32_t *) ((char *)(buffer) + size); in tnf_trace_alloc()
|
H A D | tnf_buf.c | 75 ((TNF_REF32_MAKE_PERMANENT((tnf_ref32_t) \ 370 sizeof (tnf_ref32_t); in tnfw_b_init_buffer() 372 (2 * sizeof (tnf_ref32_t)); in tnfw_b_init_buffer() 374 fh->next_fw_alloc = block_size + (3 * sizeof (tnf_ref32_t)); in tnfw_b_init_buffer()
|
/titanic_44/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 208 read_tnf_fwzone(tnf_ref32_t *dest, int start, int slots) in read_tnf_fwzone() 217 offset = tnf_header->block_size + start * sizeof (tnf_ref32_t); in read_tnf_fwzone() 219 len = slots * sizeof (tnf_ref32_t); in read_tnf_fwzone() 250 tnf_ref32_t *fwzone; in main() 395 fwzone = (tnf_ref32_t *)(local_buf + tnf_header->block_size); in main()
|