Home
last modified time | relevance | path

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

/Linux-v5.15/lib/
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_next_bit(chunk->bits, end_bit, 0); 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-v5.15/fs/xfs/
Dxfs_buf_item.c865 uint end_bit; in xfs_buf_item_log_segment() local
903 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()
904 mask = ((1U << (end_bit - bit)) - 1) << bit; in xfs_buf_item_log_segment()
907 bits_set = end_bit - bit; in xfs_buf_item_log_segment()
925 end_bit = bits_to_set - bits_set; in xfs_buf_item_log_segment()
926 if (end_bit) { in xfs_buf_item_log_segment()
927 mask = (1U << end_bit) - 1; in xfs_buf_item_log_segment()
/Linux-v5.15/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dvmem.c82 unsigned int end_bit = ((elem_bits * (index + 1) - 1) % uedge_bits) + 1; in hive_sim_wide_unpack() local
89 move_subword(elem, 0, vector[start_elem], start_bit, end_bit); in hive_sim_wide_unpack()
101 move_lower_bits(elem, bits_written, vector[end_elem], end_bit); in hive_sim_wide_unpack()
/Linux-v5.15/fs/ufs/
Dballoc.c45 unsigned cgno, bit, end_bit, bbase, blkmap, i; in ufs_free_fragments() local
75 end_bit = bit + count; in ufs_free_fragments()
79 for (i = bit; i < end_bit; i++) { in ufs_free_fragments()
141 unsigned overflow, cgno, bit, end_bit, i; in ufs_free_blocks() local
167 end_bit = bit + count; in ufs_free_blocks()
168 if (end_bit > uspi->s_fpg) { in ufs_free_blocks()
171 end_bit -= overflow; in ufs_free_blocks()
183 for (i = bit; i < end_bit; i += uspi->s_fpb) { in ufs_free_blocks()
/Linux-v5.15/fs/btrfs/
Dfree-space-tree.c336 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local
421 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in convert_free_space_to_extents()
422 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
426 key.offset = (end_bit - start_bit) * block_group->fs_info->sectorsize; in convert_free_space_to_extents()
435 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in convert_free_space_to_extents()
/Linux-v5.15/fs/ext4/
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()
Dext4.h2906 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
/Linux-v5.15/drivers/video/fbdev/via/
Dhw.h346 u8 end_bit; member
Dhw.c980 end_index = reg[i].end_bit; in viafb_load_reg()
/Linux-v5.15/drivers/memory/
Domap-gpmc.c429 int cs, int reg, int st_bit, int end_bit, int max, in get_gpmc_timing_reg() argument
442 nr_bits = end_bit - st_bit + 1; in get_gpmc_timing_reg()
602 static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max, in set_gpmc_timing_reg() argument
612 nr_bits = end_bit - st_bit + 1; in set_gpmc_timing_reg()
/Linux-v5.15/drivers/edac/
Damd64_edac.c1421 u8 end_bit = 47; in get_error_address() local
1432 end_bit = 39; in get_error_address()
1435 addr = m->addr & GENMASK_ULL(end_bit, start_bit); in get_error_address()
/Linux-v5.15/drivers/md/
Ddm-integrity.c597 unsigned long bit, end_bit, this_end_bit, page, end_page; in block_bitmap_op() local
614 end_bit = (sector + n_sectors - 1) >> in block_bitmap_op()
620 end_page = end_bit / (PAGE_SIZE * 8); in block_bitmap_op()
621 end_bit %= PAGE_SIZE * 8; in block_bitmap_op()
627 this_end_bit = end_bit; in block_bitmap_op()
/Linux-v5.15/kernel/bpf/
Dbtf.c4952 u32 end_bit = btf_member_bit_offset(t, member) + in btf_struct_walk() local
4964 BITS_ROUNDUP_BYTES(end_bit) <= off + size) in btf_struct_walk()