Lines Matching refs:qbh

71 	struct quad_buffer_head qbh;  in chk_if_allocated()  local
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
78 hpfs_brelse4(&qbh); in chk_if_allocated()
81 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; in chk_if_allocated()
86 hpfs_brelse4(&qbh); in chk_if_allocated()
90 hpfs_brelse4(&qbh); in chk_if_allocated()
117 struct quad_buffer_head qbh; in alloc_in_bmp() local
130 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls; in alloc_in_bmp()
132 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls; in alloc_in_bmp()
187 hpfs_mark_4buffers_dirty(&qbh); in alloc_in_bmp()
190 hpfs_brelse4(&qbh); in alloc_in_bmp()
298 struct quad_buffer_head qbh; in hpfs_alloc_if_possible() local
300 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "aip"))) goto end; in hpfs_alloc_if_possible()
303 hpfs_mark_4buffers_dirty(&qbh); in hpfs_alloc_if_possible()
304 hpfs_brelse4(&qbh); in hpfs_alloc_if_possible()
308 hpfs_brelse4(&qbh); in hpfs_alloc_if_possible()
317 struct quad_buffer_head qbh; in hpfs_free_sectors() local
329 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "free"))) { in hpfs_free_sectors()
335 hpfs_brelse4(&qbh); in hpfs_free_sectors()
341 hpfs_mark_4buffers_dirty(&qbh); in hpfs_free_sectors()
342 hpfs_brelse4(&qbh); in hpfs_free_sectors()
346 hpfs_mark_4buffers_dirty(&qbh); in hpfs_free_sectors()
347 hpfs_brelse4(&qbh); in hpfs_free_sectors()
365 struct quad_buffer_head qbh; in hpfs_check_free_dnodes() local
366 if ((bmp = hpfs_map_dnode_bitmap(s, &qbh))) { in hpfs_check_free_dnodes()
371 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
376 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
379 bmp = hpfs_map_bitmap(s, b, &qbh, "chkdn1"); in hpfs_check_free_dnodes()
385 bmp = hpfs_map_bitmap(s, i, &qbh, "chkdn2"); in hpfs_check_free_dnodes()
394 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
399 hpfs_brelse4(&qbh); in hpfs_check_free_dnodes()
415 struct quad_buffer_head qbh; in hpfs_free_dnode() local
418 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) { in hpfs_free_dnode()
422 hpfs_mark_4buffers_dirty(&qbh); in hpfs_free_dnode()
423 hpfs_brelse4(&qbh); in hpfs_free_dnode()
429 dnode_secno *dno, struct quad_buffer_head *qbh) in hpfs_alloc_dnode() argument
439 if (!(d = hpfs_get_4sectors(s, *dno, qbh))) { in hpfs_alloc_dnode()
531 struct quad_buffer_head qbh; in hpfs_trim_fs() local
546 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) { in hpfs_trim_fs()
555 hpfs_brelse4(&qbh); in hpfs_trim_fs()
567 if (!(bmp = hpfs_map_bitmap(s, start_bmp, &qbh, "trim"))) { in hpfs_trim_fs()
576 hpfs_brelse4(&qbh); in hpfs_trim_fs()