• Home
  • Raw
  • Download

Lines Matching refs:blk

108 errcode_t ext2fs_u32_list_add(ext2_u32_list bb, __u32 blk)  in ext2fs_u32_list_add()  argument
131 if ((bb->num != 0) && (bb->list[i] == blk)) in ext2fs_u32_list_add()
133 if ((bb->num == 0) || (bb->list[i] < blk)) { in ext2fs_u32_list_add()
134 bb->list[bb->num++] = blk; in ext2fs_u32_list_add()
140 if (bb->list[i] == blk) in ext2fs_u32_list_add()
142 if (bb->list[i] > blk) { in ext2fs_u32_list_add()
149 bb->list[j] = blk; in ext2fs_u32_list_add()
154 errcode_t ext2fs_badblocks_list_add(ext2_badblocks_list bb, blk_t blk) in ext2fs_badblocks_list_add() argument
156 return ext2fs_u32_list_add((ext2_u32_list) bb, (__u32) blk); in ext2fs_badblocks_list_add()
163 int ext2fs_u32_list_find(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_find() argument
175 if (blk == bb->list[low]) in ext2fs_u32_list_find()
177 if (blk == bb->list[high]) in ext2fs_u32_list_find()
184 if (blk == bb->list[mid]) in ext2fs_u32_list_find()
186 if (blk < bb->list[mid]) in ext2fs_u32_list_find()
198 int ext2fs_u32_list_test(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_test() argument
200 if (ext2fs_u32_list_find(bb, blk) < 0) in ext2fs_u32_list_test()
206 int ext2fs_badblocks_list_test(ext2_badblocks_list bb, blk_t blk) in ext2fs_badblocks_list_test() argument
208 return ext2fs_u32_list_test((ext2_u32_list) bb, (__u32) blk); in ext2fs_badblocks_list_test()
215 int ext2fs_u32_list_del(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_del() argument
222 remloc = ext2fs_u32_list_find(bb, blk); in ext2fs_u32_list_del()
232 void ext2fs_badblocks_list_del(ext2_u32_list bb, __u32 blk) in ext2fs_badblocks_list_del() argument
234 ext2fs_u32_list_del(bb, blk); in ext2fs_badblocks_list_del()
264 int ext2fs_u32_list_iterate(ext2_u32_iterate iter, __u32 *blk) in ext2fs_u32_list_iterate() argument
277 *blk = bb->list[iter->ptr++]; in ext2fs_u32_list_iterate()
280 *blk = 0; in ext2fs_u32_list_iterate()
284 int ext2fs_badblocks_list_iterate(ext2_badblocks_iterate iter, blk_t *blk) in ext2fs_badblocks_list_iterate() argument
287 (__u32 *) blk); in ext2fs_badblocks_list_iterate()