Lines Matching refs:num_bits
116 * Search for 'num_bits' consecutive cleared bits in the bitmap blocks of
123 * u16 *num_bits: Pointer to the number of cleared bits
126 * u16 *num_bits: The number of consecutive clear bits of the
131 * found. When 'num_bits' is zero, this is invalid!
134 * 'num_bits' points to a variable of type (u16), which contains
137 * 'num_bits' is set to the length of the found sequence.
139 u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits)
145 if (!*num_bits)
151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits);
154 pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits);
156 *num_bits = pos = 0;
161 hfs_dbg(BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits);
162 HFS_SB(sb)->free_ablocks -= *num_bits;