Home
last modified time | relevance | path

Searched refs:rec_off (Results 1 – 4 of 4) sorted by relevance

/fs/hfs/
Dbrec.c179 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
184 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
209 if (rec_off == end_off) in hfs_brec_remove()
214 data_off = hfs_bnode_read_u16(node, rec_off); in hfs_brec_remove()
215 hfs_bnode_write_u16(node, rec_off + 2, data_off - size); in hfs_brec_remove()
216 rec_off -= 2; in hfs_brec_remove()
217 } while (rec_off >= end_off); in hfs_brec_remove()
355 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
380 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
396 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
[all …]
Dbnode.c320 int i, rec_off, off, next_off; in hfs_bnode_find() local
368 rec_off = tree->node_size - 2; in hfs_bnode_find()
369 off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
373 rec_off -= 2; in hfs_bnode_find()
374 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
/fs/hfsplus/
Dbrec.c181 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
186 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
213 if (rec_off == end_off) in hfs_brec_remove()
218 data_off = hfs_bnode_read_u16(node, rec_off); in hfs_brec_remove()
219 hfs_bnode_write_u16(node, rec_off + 2, data_off - size); in hfs_brec_remove()
220 rec_off -= 2; in hfs_brec_remove()
221 } while (rec_off >= end_off); in hfs_brec_remove()
359 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
385 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
401 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
[all …]
Dbnode.c488 int i, rec_off, off, next_off; in hfs_bnode_find() local
538 rec_off = tree->node_size - 2; in hfs_bnode_find()
539 off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
543 rec_off -= 2; in hfs_bnode_find()
544 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()