search for: start_bit

Displaying 2 results from an estimated 2 matches for "start_bit".

2007 Apr 25
2
[LLVMdev] Work in progress patch to speed up andersen's implementation
...he current element. */ unsigned word_no; /* Contents of the actually processed word. When finding next bit it is shifted right, so that the actual bit is always the least significant bit of ACTUAL. */ BITMAP_WORD bits; } bitmap_iterator; /* Initialize a single bitmap iterator. START_BIT is the first bit to iterate from. */ static inline void bmp_iter_set_init (bitmap_iterator *bi, bitmap map, unsigned start_bit, unsigned *bit_no) { bi->elt1 = map->first; bi->elt2 = NULL; /* Advance elt1 until it is not before the block containing start_bit. */ while (1...
2006 Aug 15
0
[git patches] ocfs2 updates
...c *) group_bh->b_data; - if (!OCFS2_IS_VALID_GROUP_DESC(group)) { - OCFS2_RO_ON_INVALID_GROUP_DESC(alloc_inode->i_sb, group); - status = -EIO; + status = ocfs2_check_group_descriptor(alloc_inode->i_sb, fe, group); + if (status) { + mlog_errno(status); goto bail; } BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); diff --git a/fs/ocfs2/suballoc.h b/fs/ocfs2/suballoc.h index a76c82a..c787838 100644 --- a/fs/ocfs2/suballoc.h +++ b/fs/ocfs2/suballoc.h @@ -49,6 +49,8 @@ #define OCFS2_AC_USE_META 4 u16 ac_chain; int ac_allow_chain_relink; group_search_t *ac_grou...