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()
1152 u32 i, goal, count = 0; in count_unlinked() local
1155 goal = 0; in count_unlinked()
1158 while (goal < bi->bi_blocks) { in count_unlinked()
1159 goal = gfs2_bitfit(buffer, bi->bi_bytes, goal, in count_unlinked()
1161 if (goal == BFITNOENT) in count_unlinked()
1164 goal++; in count_unlinked()
1566 u64 goal; in rg_mblk_search() local
1593 goal = ip->i_goal; in rg_mblk_search()
1595 goal = rgd->rd_last_alloc + rgd->rd_data0; in rg_mblk_search()
1597 if (WARN_ON(gfs2_rbm_from_block(&rbm, goal))) in rg_mblk_search()
1606 if (goal == rgd->rd_last_alloc + rgd->rd_data0) in rg_mblk_search()
2392 u64 goal; in gfs2_set_alloc_start() local
2395 goal = ip->i_res.rs_start; in gfs2_set_alloc_start()
2398 goal = ip->i_goal; in gfs2_set_alloc_start()
2400 goal = rbm->rgd->rd_last_alloc + rbm->rgd->rd_data0; in gfs2_set_alloc_start()
2402 if (WARN_ON_ONCE(gfs2_rbm_from_block(rbm, goal))) { in gfs2_set_alloc_start()