Lines Matching defs:goal
202 * @goal: start search at this block's bit-pair (within @buffer)
205 * Scope of @goal and returned block number is only within this bitmap buffer,
219 u32 goal, u8 state)
221 u32 spoint = (goal << 1) & ((8*sizeof(u64)) - 1);
222 const __le64 *ptr = ((__le64 *)buf) + (goal >> 5);
1135 u32 i, goal, count = 0;
1138 goal = 0;
1141 while (goal < bi->bi_blocks) {
1142 goal = gfs2_bitfit(buffer, bi->bi_bytes, goal,
1144 if (goal == BFITNOENT)
1147 goal++;
1539 u64 goal;
1555 /* Find bitmap block that contains bits for goal block */
1557 goal = ip->i_goal;
1559 goal = rgd->rd_last_alloc + rgd->rd_data0;
1561 if (WARN_ON(gfs2_rbm_from_block(&rbm, goal)))
1570 if (goal == rgd->rd_last_alloc + rgd->rd_data0)
2312 * inode's goal block or the last allocation point in the rgrp.
2318 u64 goal;
2326 goal = ip->i_goal;
2328 goal = rbm->rgd->rd_last_alloc + rbm->rgd->rd_data0;
2330 if (WARN_ON_ONCE(gfs2_rbm_from_block(rbm, goal))) {