Lines Matching refs:goal
235 u32 goal, u8 state) in gfs2_bitfit() argument
237 u32 spoint = (goal << 1) & ((8*sizeof(u64)) - 1); in gfs2_bitfit()
238 const __le64 *ptr = ((__le64 *)buf) + (goal >> 5); in gfs2_bitfit()
1150 u32 i, goal, count = 0; in count_unlinked() local
1153 goal = 0; in count_unlinked()
1156 while (goal < bi->bi_blocks) { in count_unlinked()
1157 goal = gfs2_bitfit(buffer, bi->bi_bytes, goal, in count_unlinked()
1159 if (goal == BFITNOENT) in count_unlinked()
1162 goal++; in count_unlinked()
1565 u64 goal; in rg_mblk_search() local
1592 goal = ip->i_goal; in rg_mblk_search()
1594 goal = rgd->rd_last_alloc + rgd->rd_data0; in rg_mblk_search()
1596 if (WARN_ON(gfs2_rbm_from_block(&rbm, goal))) in rg_mblk_search()
1605 if (goal == rgd->rd_last_alloc + rgd->rd_data0) in rg_mblk_search()
2391 u64 goal; in gfs2_set_alloc_start() local
2394 goal = ip->i_res.rs_start; in gfs2_set_alloc_start()
2397 goal = ip->i_goal; in gfs2_set_alloc_start()
2399 goal = rbm->rgd->rd_last_alloc + rbm->rgd->rd_data0; in gfs2_set_alloc_start()
2401 if (WARN_ON_ONCE(gfs2_rbm_from_block(rbm, goal))) { in gfs2_set_alloc_start()