Home
last modified time | relevance | path

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

/linux-5.19.10/fs/hfs/
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 …]
Dbnode.c331 int i, rec_off, off, next_off; in hfs_bnode_find() local
379 rec_off = tree->node_size - 2; in hfs_bnode_find()
380 off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
384 rec_off -= 2; in hfs_bnode_find()
385 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
/linux-5.19.10/fs/hfsplus/
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 …]
Dbnode.c482 int i, rec_off, off, next_off; in hfs_bnode_find() local
532 rec_off = tree->node_size - 2; in hfs_bnode_find()
533 off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()
537 rec_off -= 2; in hfs_bnode_find()
538 next_off = hfs_bnode_read_u16(node, rec_off); in hfs_bnode_find()