Lines Matching refs:goal
218 * @goal: start search at this block's bit-pair (within @buffer)
221 * Scope of @goal and returned block number is only within this bitmap buffer,
235 u32 goal, u8 state)
237 u32 spoint = (goal << 1) & ((8*sizeof(u64)) - 1);
238 const __le64 *ptr = ((__le64 *)buf) + (goal >> 5);
1152 u32 i, goal, count = 0;
1155 goal = 0;
1158 while (goal < bi->bi_blocks) {
1159 goal = gfs2_bitfit(buffer, bi->bi_bytes, goal,
1161 if (goal == BFITNOENT)
1164 goal++;
1566 u64 goal;
1591 /* Find bitmap block that contains bits for goal block */
1593 goal = ip->i_goal;
1595 goal = rgd->rd_last_alloc + rgd->rd_data0;
1597 if (WARN_ON(gfs2_rbm_from_block(&rbm, goal)))
1606 if (goal == rgd->rd_last_alloc + rgd->rd_data0)
2386 * inode's goal block or the last allocation point in the rgrp.
2392 u64 goal;
2395 goal = ip->i_res.rs_start;
2398 goal = ip->i_goal;
2400 goal = rbm->rgd->rd_last_alloc + rbm->rgd->rd_data0;
2402 if (WARN_ON_ONCE(gfs2_rbm_from_block(rbm, goal))) {