Lines Matching refs:qbh
18 struct quad_buffer_head qbh; in chk_if_allocated() local
20 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
25 hpfs_brelse4(&qbh); in chk_if_allocated()
28 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; in chk_if_allocated()
33 hpfs_brelse4(&qbh); in chk_if_allocated()
37 hpfs_brelse4(&qbh); in chk_if_allocated()
64 struct quad_buffer_head qbh; in alloc_in_bmp() local
77 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls; in alloc_in_bmp()
79 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls; in alloc_in_bmp()
134 hpfs_mark_4buffers_dirty(&qbh); in alloc_in_bmp()
137 hpfs_brelse4(&qbh); in alloc_in_bmp()
238 struct quad_buffer_head qbh; in hpfs_alloc_if_possible() local
240 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "aip"))) goto end; in hpfs_alloc_if_possible()
243 hpfs_mark_4buffers_dirty(&qbh); in hpfs_alloc_if_possible()
244 hpfs_brelse4(&qbh); in hpfs_alloc_if_possible()
247 hpfs_brelse4(&qbh); in hpfs_alloc_if_possible()
256 struct quad_buffer_head qbh; in hpfs_free_sectors() local
268 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "free"))) { in hpfs_free_sectors()
274 hpfs_brelse4(&qbh); in hpfs_free_sectors()
279 hpfs_mark_4buffers_dirty(&qbh); in hpfs_free_sectors()
280 hpfs_brelse4(&qbh); in hpfs_free_sectors()
284 hpfs_mark_4buffers_dirty(&qbh); in hpfs_free_sectors()
285 hpfs_brelse4(&qbh); in hpfs_free_sectors()
303 struct quad_buffer_head qbh; in hpfs_check_free_dnodes() local
304 if ((bmp = hpfs_map_dnode_bitmap(s, &qbh))) { in hpfs_check_free_dnodes()
309 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
314 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
317 bmp = hpfs_map_bitmap(s, b, &qbh, "chkdn1"); in hpfs_check_free_dnodes()
323 bmp = hpfs_map_bitmap(s, i, &qbh, "chkdn2"); in hpfs_check_free_dnodes()
332 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
337 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
353 struct quad_buffer_head qbh; in hpfs_free_dnode() local
356 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) { in hpfs_free_dnode()
360 hpfs_mark_4buffers_dirty(&qbh); in hpfs_free_dnode()
361 hpfs_brelse4(&qbh); in hpfs_free_dnode()
366 dnode_secno *dno, struct quad_buffer_head *qbh) in hpfs_alloc_dnode() argument
376 if (!(d = hpfs_get_4sectors(s, *dno, qbh))) { in hpfs_alloc_dnode()