Home
last modified time | relevance | path

Searched refs:beg (Results 1 – 4 of 4) sorted by relevance

/fs/reiserfs/
Dbitmap.c137 unsigned int bmap_n, int *beg, int boundary, in scan_bitmap_block() argument
144 int org = *beg; in scan_bitmap_block()
174 *beg = reiserfs_find_next_zero_le_bit in scan_bitmap_block()
175 ((unsigned long *)(bh->b_data), boundary, *beg); in scan_bitmap_block()
177 if (*beg + min > boundary) { /* search for a zero bit fails or the rest of bitmap block in scan_bitmap_block()
183 if (unfm && is_block_in_journal(s, bmap_n, *beg, beg)) in scan_bitmap_block()
186 for (end = *beg + 1;; end++) { in scan_bitmap_block()
187 if (end >= *beg + max || end >= boundary in scan_bitmap_block()
200 if (end - *beg >= min) { /* it seems we have found window of proper size */ in scan_bitmap_block()
204 for (i = *beg; i < end; i++) { in scan_bitmap_block()
[all …]
/fs/ubifs/
Dtnc_misc.c139 int beg = 0, end = znode->child_cnt, uninitialized_var(mid); in ubifs_search_zbranch() local
143 ubifs_assert(end > beg); in ubifs_search_zbranch()
145 while (end > beg) { in ubifs_search_zbranch()
146 mid = (beg + end) >> 1; in ubifs_search_zbranch()
149 beg = mid + 1; in ubifs_search_zbranch()
/fs/ufs/
Dialloc.c144 sector_t beg = uspi->s_sbbase + in ufs2_init_inodes_chunk() local
147 sector_t end = beg + uspi->s_fpb; in ufs2_init_inodes_chunk()
151 for (; beg < end; ++beg) { in ufs2_init_inodes_chunk()
152 bh = sb_getblk(sb, beg); in ufs2_init_inodes_chunk()
Dballoc.c248 static void ufs_change_blocknr(struct inode *inode, sector_t beg, in ufs_change_blocknr() argument
270 end = count + beg; in ufs_change_blocknr()
272 for (i = beg; i < end; i = (i | mask) + 1) { in ufs_change_blocknr()
303 pos = (i - beg) + j; in ufs_change_blocknr()
335 static void ufs_clear_frags(struct inode *inode, sector_t beg, unsigned int n, in ufs_clear_frags() argument
339 sector_t end = beg + n; in ufs_clear_frags()
341 for (; beg < end; ++beg) { in ufs_clear_frags()
342 bh = sb_getblk(inode->i_sb, beg); in ufs_clear_frags()