Lines Matching defs:cell

31  * Unoptimized versions, always dereference a cell through _GET_INT32()
40 * Return target cell referred to via src_val from src_cell, after
46 * the block containing the target cell may have been copied out
47 * before the block containing the source cell.
64 /* Generation of source cell */
67 /* Physical file offset of source cell */
69 /* Expected (unadjusted) file offset of destination cell */
79 /* Physical file offset of destination cell */
82 /* Destination cell */
88 /* Generation of destination cell */
105 * Return the target referent of a cell, chasing forwarding references.
106 * Return TNF_NULL if cell is a TNF_NULL forwarding reference.
110 _tnf_get_ref32(TNF *tnf, tnf_ref32_t *cell)
114 ref32 = _GET_INT32(tnf, cell);
131 cell = (tnf_ref32_t *)
135 ref32 = _GET_INT32(tnf, cell);
138 cell = vaddr_to_phys(tnf, cell,
140 if (cell == TNF_NULL)
142 ref32 = _GET_INT32(tnf, cell);
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));
159 if (cell == TNF_NULL)
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));
175 if (cell == TNF_NULL)
178 ref32 = _GET_INT32(tnf, cell);
181 return (cell);
185 * Return the target referent of ref16 contained in cell.
186 * Return TNF_NULL if cell doesn't have a ref16.
190 _tnf_get_ref16(TNF *tnf, tnf_ref32_t *cell)
194 ref32 = _GET_INT32(tnf, cell);
205 cell = vaddr_to_phys(tnf, cell,
207 if (cell == TNF_NULL)
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));
225 if (cell == TNF_NULL)
228 ref32 = _GET_INT32(tnf, cell);
231 return (cell);