Home
last modified time | relevance | path

Searched refs:end_bit (Results 1 – 13 of 13) sorted by relevance

/linux/lib/
H A Dgenalloc.c247 unsigned long bit, end_bit; in gen_pool_destroy() local
253 end_bit = chunk_size(chunk) >> order; in gen_pool_destroy()
254 bit = find_first_bit(chunk->bits, end_bit); in gen_pool_destroy()
255 BUG_ON(bit < end_bit); in gen_pool_destroy()
283 unsigned long nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local
302 end_bit = chunk_size(chunk) >> order; in gen_pool_alloc_algo_owner()
304 start_bit = algo(chunk->bits, end_bit, start_bit, in gen_pool_alloc_algo_owner()
306 if (start_bit >= end_bit) in gen_pool_alloc_algo_owner()
/linux/kernel/sched/ext/
H A Darena.c43 unsigned long end_bit = chunk_sz >> order; in scx_arena_clear_chunk() local
46 for_each_set_bitrange(b, e, chunk->bits, end_bit) in scx_arena_clear_chunk()
/linux/fs/xfs/
H A Dxfs_buf_item.c931 uint end_bit; in xfs_buf_item_log_segment() local
969 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()
970 mask = ((1U << (end_bit - bit)) - 1) << bit; in xfs_buf_item_log_segment()
973 bits_set = end_bit - bit; in xfs_buf_item_log_segment()
991 end_bit = bits_to_set - bits_set; in xfs_buf_item_log_segment()
992 if (end_bit) { in xfs_buf_item_log_segment()
993 mask = (1U << end_bit) - 1; in xfs_buf_item_log_segment()
/linux/fs/ext4/
H A Dialloc.c55 void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in ext4_mark_bitmap_end() argument
59 if (start_bit >= end_bit) in ext4_mark_bitmap_end()
62 ext4_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in ext4_mark_bitmap_end()
65 if (i < end_bit) in ext4_mark_bitmap_end()
66 memset(bitmap + (i >> 3), 0xff, (end_bit - i) >> 3); in ext4_mark_bitmap_end()
H A Dext4.h3067 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
/linux/fs/btrfs/
H A Dfree-space-tree.c355 unsigned long nrbits, start_bit, end_bit; in btrfs_convert_free_space_to_extents() local
449 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in btrfs_convert_free_space_to_extents()
450 ASSERT(start_bit < end_bit); in btrfs_convert_free_space_to_extents()
454 key.offset = (end_bit - start_bit) * fs_info->sectorsize; in btrfs_convert_free_space_to_extents()
465 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in btrfs_convert_free_space_to_extents()
H A Dextent_io.c1637 unsigned int end_bit; in writepage_delalloc() local
1647 for_each_set_bitrange(start_bit, end_bit, bio_ctrl->submit_bitmap, in writepage_delalloc()
1650 u32 len = (end_bit - start_bit) << fs_info->sectorsize_bits; in writepage_delalloc()
1746 unsigned int end_bit = (min(page_end + 1, found_start + found_len) - in writepage_delalloc() local
1748 bitmap_clear(bio_ctrl->submit_bitmap, start_bit, end_bit - start_bit); in writepage_delalloc()
1769 for_each_set_bitrange(start_bit, end_bit, bio_ctrl->submit_bitmap, in writepage_delalloc()
1772 u32 len = (end_bit - start_bit) << fs_info->sectorsize_bits; in writepage_delalloc()
H A Dinode.c2870 unsigned int end_bit; in btrfs_writepage_fixup_worker() local
2955 for_each_clear_bitrange(start_bit, end_bit, delalloc_bitmap, in btrfs_writepage_fixup_worker()
2959 (end_bit - start_bit) << fs_info->sectorsize_bits, in btrfs_writepage_fixup_worker()
/linux/drivers/video/fbdev/via/
H A Dhw.h346 u8 end_bit; member
H A Dhw.c980 end_index = reg[i].end_bit; in viafb_load_reg()
/linux/drivers/edac/
H A Damd64_edac.c1657 u8 end_bit = 47; in get_error_address() local
1668 end_bit = 39; in get_error_address()
1671 addr = m->addr & GENMASK_ULL(end_bit, start_bit); in get_error_address()
/linux/drivers/md/
H A Ddm-integrity.c594 unsigned long bit, end_bit, this_end_bit, page, end_page; in block_bitmap_op()
611 end_bit = (sector + n_sectors - 1) >> in block_bitmap_op()
617 end_page = end_bit / (PAGE_SIZE * 8); in block_bitmap_op()
618 end_bit %= PAGE_SIZE * 8; in block_bitmap_op()
624 this_end_bit = end_bit; in block_bitmap_op()
593 unsigned long bit, end_bit, this_end_bit, page, end_page; block_bitmap_op() local
/linux/kernel/bpf/
H A Dbtf.c7248 u32 end_bit = __btf_member_bit_offset(t, member) + in btf_struct_walk() local
7260 BITS_ROUNDUP_BYTES(end_bit) <= off + size) in btf_struct_walk()