Lines Matching refs:goal
291 search_reserve_window(struct rb_root *root, ext2_fsblk_t goal) in search_reserve_window() argument
302 if (goal < rsv->rsv_start) in search_reserve_window()
304 else if (goal > rsv->rsv_end) in search_reserve_window()
315 if (rsv->rsv_start > goal) { in search_reserve_window()
1231 ext2_fsblk_t ext2_new_blocks(struct inode *inode, ext2_fsblk_t goal, in ext2_new_blocks() argument
1269 ext2_debug("goal=%lu.\n", goal); in ext2_new_blocks()
1293 if (goal < le32_to_cpu(es->s_first_data_block) || in ext2_new_blocks()
1294 goal >= le32_to_cpu(es->s_blocks_count)) in ext2_new_blocks()
1295 goal = le32_to_cpu(es->s_first_data_block); in ext2_new_blocks()
1296 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks()
1315 grp_target_blk = ((goal - le32_to_cpu(es->s_first_data_block)) % in ext2_new_blocks()
1451 ext2_fsblk_t ext2_new_block(struct inode *inode, unsigned long goal, int *errp) in ext2_new_block() argument
1455 return ext2_new_blocks(inode, goal, &count, errp); in ext2_new_block()