Home
last modified time | relevance | path

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

/linux/fs/hfs/
H A 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()
211 if (rec_off == end_off) in hfs_brec_remove()
216 data_off = hfs_bnode_read_u16(node, rec_off); in hfs_brec_remove()
217 hfs_bnode_write_u16(node, rec_off + 2, data_off - size); in hfs_brec_remove()
218 rec_off -= 2; in hfs_brec_remove()
219 } while (rec_off >= end_off); in hfs_brec_remove()
357 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
384 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
400 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
[all …]
H A Dbnode.c321 int i, rec_off, off, next_off; in hfs_bnode_find() local
370 rec_off = tree->node_size - 2; in hfs_bnode_find()
371 off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
375 rec_off -= 2; in hfs_bnode_find()
376 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
/linux/fs/hfsplus/
H A Dbrec.c183 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
188 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
215 if (rec_off == end_off) in hfs_brec_remove()
220 data_off = hfs_bnode_read_u16(node, rec_off); in hfs_brec_remove()
221 hfs_bnode_write_u16(node, rec_off + 2, data_off - size); in hfs_brec_remove()
222 rec_off -= 2; in hfs_brec_remove()
223 } while (rec_off >= end_off); in hfs_brec_remove()
361 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
389 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
405 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
[all …]
H A Dbnode.c471 int i, rec_off, off, next_off; in hfs_bnode_find() local
521 rec_off = tree->node_size - 2; in hfs_bnode_find()
522 off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
526 rec_off -= 2; in hfs_bnode_find()
527 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()