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