Lines Matching refs:tnf

51 vaddr_to_phys(TNF *tnf, tnf_ref32_t *src_cell, tnf_ref32_t src_val)  in vaddr_to_phys()  argument
60 base = tnf->file_start; in vaddr_to_phys()
61 shft = tnf->generation_shift; in vaddr_to_phys()
62 mask = tnf->address_mask; in vaddr_to_phys()
66 src_gen = _GET_BLOCK_GENERATION(tnf, _GET_BLOCK(tnf, src_cell)); in vaddr_to_phys()
87 dst_blk = _GET_BLOCK(tnf, dst_cell); in vaddr_to_phys()
90 dst_gen = _GET_BLOCK_GENERATION(tnf, dst_blk); in vaddr_to_phys()
93 bytes_valid = _GET_BLOCK_BYTES_VALID(tnf, dst_blk); in vaddr_to_phys()
110 _tnf_get_ref32(TNF *tnf, tnf_ref32_t *cell) in _tnf_get_ref32() argument
114 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref32()
120 _tnf_error(tnf, TNF_ERR_BADREFTYPE); in _tnf_get_ref32()
132 ((char *)tnf->file_start in _tnf_get_ref32()
135 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref32()
138 cell = vaddr_to_phys(tnf, cell, in _tnf_get_ref32()
142 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref32()
145 _tnf_error(tnf, TNF_ERR_BADREFTYPE); in _tnf_get_ref32()
154 cell = (tnf_ref32_t *) ((char *)tnf->file_start + reftemp); in _tnf_get_ref32()
155 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref32()
158 cell = vaddr_to_phys(tnf, cell, TNF_REF32_VALUE(ref32)); in _tnf_get_ref32()
161 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref32()
169 cell = (tnf_ref32_t *) ((char *)tnf->file_start + in _tnf_get_ref32()
174 cell = vaddr_to_phys(tnf, cell, TNF_REF32_VALUE(ref32)); in _tnf_get_ref32()
178 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref32()
190 _tnf_get_ref16(TNF *tnf, tnf_ref32_t *cell) in _tnf_get_ref16() argument
194 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref16()
205 cell = vaddr_to_phys(tnf, cell, in _tnf_get_ref16()
209 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref16()
219 cell = (tnf_ref32_t *) ((char *)tnf->file_start + in _tnf_get_ref16()
224 cell = vaddr_to_phys(tnf, cell, TNF_REF32_VALUE(ref32)); in _tnf_get_ref16()
228 ref32 = _GET_INT32(tnf, cell); in _tnf_get_ref16()