Home
last modified time | relevance | path

Searched refs:grp_goal (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/fs/ext2/
Dballoc.c275 goal_in_my_reservation(struct ext2_reserve_window *rsv, ext2_grpblk_t grp_goal, in goal_in_my_reservation() argument
286 if ((grp_goal >= 0) && ((grp_goal + group_first_block < rsv->_rsv_start) in goal_in_my_reservation()
287 || (grp_goal + group_first_block > rsv->_rsv_end))) in goal_in_my_reservation()
673 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate() argument
693 if ((start <= grp_goal) && (grp_goal < end)) in ext2_try_to_allocate()
694 start = grp_goal; in ext2_try_to_allocate()
696 grp_goal = -1; in ext2_try_to_allocate()
698 if (grp_goal > 0) in ext2_try_to_allocate()
699 start = grp_goal; in ext2_try_to_allocate()
708 if (grp_goal < 0) { in ext2_try_to_allocate()
[all …]
/linux-2.6.39/fs/ext3/
Dballoc.c278 goal_in_my_reservation(struct ext3_reserve_window *rsv, ext3_grpblk_t grp_goal, in goal_in_my_reservation() argument
289 if ((grp_goal >= 0) && ((grp_goal + group_first_block < rsv->_rsv_start) in goal_in_my_reservation()
290 || (grp_goal + group_first_block > rsv->_rsv_end))) in goal_in_my_reservation()
884 struct buffer_head *bitmap_bh, ext3_grpblk_t grp_goal, in ext3_try_to_allocate() argument
903 if ((start <= grp_goal) && (grp_goal < end)) in ext3_try_to_allocate()
904 start = grp_goal; in ext3_try_to_allocate()
906 grp_goal = -1; in ext3_try_to_allocate()
908 if (grp_goal > 0) in ext3_try_to_allocate()
909 start = grp_goal; in ext3_try_to_allocate()
918 if (grp_goal < 0 || !ext3_test_allocatable(grp_goal, bitmap_bh)) { in ext3_try_to_allocate()
[all …]