Lines Matching refs:qbh

211 			struct quad_buffer_head qbh;  in fix_up_ptrs()  local
213 if ((dd = hpfs_map_dnode(s, de_down_pointer(de), &qbh))) { in fix_up_ptrs()
217 hpfs_mark_4buffers_dirty(&qbh); in fix_up_ptrs()
219 hpfs_brelse4(&qbh); in fix_up_ptrs()
230 struct quad_buffer_head qbh, qbh1, qbh2; in hpfs_add_to_dnode() local
252 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) { in hpfs_add_to_dnode()
260 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
272 hpfs_mark_4buffers_dirty(&qbh); in hpfs_add_to_dnode()
273 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
285 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
295 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
324 hpfs_mark_4buffers_dirty(&qbh); in hpfs_add_to_dnode()
325 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
332 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
344 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
357 hpfs_mark_4buffers_dirty(&qbh); in hpfs_add_to_dnode()
358 hpfs_brelse4(&qbh); in hpfs_add_to_dnode()
361 qbh = qbh2; in hpfs_add_to_dnode()
383 struct quad_buffer_head qbh; in hpfs_add_dirent() local
391 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) return 1; in hpfs_add_dirent()
395 hpfs_brelse4(&qbh); in hpfs_add_dirent()
401 hpfs_brelse4(&qbh); in hpfs_add_dirent()
407 hpfs_brelse4(&qbh); in hpfs_add_dirent()
428 struct quad_buffer_head qbh; in move_to_top() local
438 if (!(dnode = hpfs_map_dnode(i->i_sb, dno, &qbh))) return 0; in move_to_top()
443 hpfs_brelse4(&qbh); in move_to_top()
450 hpfs_brelse4(&qbh); in move_to_top()
455 hpfs_brelse4(&qbh); in move_to_top()
459 hpfs_brelse4(&qbh); in move_to_top()
465 if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return 0; in move_to_top()
468 hpfs_brelse4(&qbh); in move_to_top()
474 hpfs_brelse4(&qbh); in move_to_top()
480 hpfs_mark_4buffers_dirty(&qbh); in move_to_top()
488 hpfs_brelse4(&qbh); in move_to_top()
495 hpfs_mark_4buffers_dirty(&qbh); in move_to_top()
496 hpfs_brelse4(&qbh); in move_to_top()
511 struct quad_buffer_head qbh; in delete_empty_dnode() local
519 if (!(dnode = hpfs_map_dnode(i->i_sb, dno, &qbh))) return; in delete_empty_dnode()
531 hpfs_brelse4(&qbh); in delete_empty_dnode()
562 if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return; in delete_empty_dnode()
605 hpfs_mark_4buffers_dirty(&qbh); in delete_empty_dnode()
606 hpfs_brelse4(&qbh); in delete_empty_dnode()
627 hpfs_mark_4buffers_dirty(&qbh); in delete_empty_dnode()
628 hpfs_brelse4(&qbh); in delete_empty_dnode()
676 hpfs_mark_4buffers_dirty(&qbh); in delete_empty_dnode()
677 hpfs_brelse4(&qbh); in delete_empty_dnode()
691 hpfs_mark_4buffers_dirty(&qbh); in delete_empty_dnode()
693 hpfs_brelse4(&qbh); in delete_empty_dnode()
700 struct quad_buffer_head *qbh, int depth) in hpfs_remove_dirent() argument
702 struct dnode *dnode = qbh->data; in hpfs_remove_dirent()
707 hpfs_brelse4(qbh); in hpfs_remove_dirent()
713 hpfs_brelse4(qbh); in hpfs_remove_dirent()
720 hpfs_mark_4buffers_dirty(qbh); in hpfs_remove_dirent()
721 hpfs_brelse4(qbh); in hpfs_remove_dirent()
736 struct quad_buffer_head qbh; in hpfs_count_dnodes() local
747 if (!(dnode = hpfs_map_dnode(s, dno, &qbh))) return; in hpfs_count_dnodes()
754 hpfs_brelse4(&qbh); in hpfs_count_dnodes()
765 hpfs_brelse4(&qbh); in hpfs_count_dnodes()
775 hpfs_brelse4(&qbh); in hpfs_count_dnodes()
778 hpfs_brelse4(&qbh); in hpfs_count_dnodes()
786 struct quad_buffer_head *qbh, struct dnode **dn) in map_nth_dirent() argument
791 dnode = hpfs_map_dnode(s, dno, qbh); in map_nth_dirent()
802 hpfs_brelse4(qbh); in map_nth_dirent()
809 struct quad_buffer_head qbh; in hpfs_de_as_down_as_possible() local
819 if (!(de = map_nth_dirent(s, d, 1, &qbh, NULL))) return dno; in hpfs_de_as_down_as_possible()
821 if (up && le32_to_cpu(((struct dnode *)qbh.data)->up) != up) in hpfs_de_as_down_as_possible()
822 …ointer; dnode %08x, down %08x points to %08x", up, d, le32_to_cpu(((struct dnode *)qbh.data)->up)); in hpfs_de_as_down_as_possible()
824 hpfs_brelse4(&qbh); in hpfs_de_as_down_as_possible()
829 hpfs_brelse4(&qbh); in hpfs_de_as_down_as_possible()
834 struct quad_buffer_head *qbh) in map_pos_dirent() argument
849 if (!(de = map_nth_dirent(inode->i_sb, dno, pos, qbh, &dnode))) in map_pos_dirent()
900 dnode_secno *dd, struct quad_buffer_head *qbh) in map_dirent() argument
911 if (!(dnode = hpfs_map_dnode(inode->i_sb, dno, qbh))) return NULL; in map_dirent()
923 hpfs_brelse4(qbh); in map_dirent()
929 hpfs_brelse4(qbh); in map_dirent()
941 struct quad_buffer_head qbh; in hpfs_remove_dtree() local
946 if (!(dnode = hpfs_map_dnode(s, dno, &qbh))) return; in hpfs_remove_dtree()
951 hpfs_brelse4(&qbh); in hpfs_remove_dtree()
961 hpfs_brelse4(&qbh); in hpfs_remove_dtree()
965 if (!(dnode = hpfs_map_dnode(s, dno = d1, &qbh))) return; in hpfs_remove_dtree()
969 hpfs_brelse4(&qbh); in hpfs_remove_dtree()
977 hpfs_brelse4(&qbh); in hpfs_remove_dtree()
988 struct fnode *f, struct quad_buffer_head *qbh) in map_fnode_dirent() argument
1029 if (!(d = hpfs_map_dnode(s, dno, qbh))) { in map_fnode_dirent()
1041 hpfs_brelse4(qbh); in map_fnode_dirent()
1053 hpfs_brelse4(qbh); in map_fnode_dirent()
1072 hpfs_brelse4(qbh); in map_fnode_dirent()
1080 hpfs_brelse4(qbh); in map_fnode_dirent()