Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/
H A Dgenalloc.c246 unsigned long bit, end_bit; in gen_pool_destroy() local
252 end_bit = chunk_size(chunk) >> order; in gen_pool_destroy()
253 bit = find_next_bit(chunk->bits, end_bit, 0); in gen_pool_destroy()
254 BUG_ON(bit < end_bit); in gen_pool_destroy()
282 unsigned long nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local
301 end_bit = chunk_size(chunk) >> order; in gen_pool_alloc_algo_owner()
303 start_bit = algo(chunk->bits, end_bit, start_bit, in gen_pool_alloc_algo_owner()
305 if (start_bit >= end_bit) in gen_pool_alloc_algo_owner()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion.c265 int start_bit = -1, end_bit = -1; in ion_assign_heap_id() local
273 end_bit = __ffs(ION_HEAP_DMA_END); in ion_assign_heap_id()
277 end_bit = __ffs(ION_HEAP_CUSTOM_END); in ion_assign_heap_id()
294 if (id_bit < start_bit || id_bit > end_bit) in ion_assign_heap_id()
297 id_bit = find_next_zero_bit(dev->heap_ids, end_bit + 1, in ion_assign_heap_id()
299 if (id_bit > end_bit) in ion_assign_heap_id()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_buf_item.c784 uint end_bit; in xfs_buf_item_log_segment() local
822 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()
823 mask = ((1U << (end_bit - bit)) - 1) << bit; in xfs_buf_item_log_segment()
826 bits_set = end_bit - bit; in xfs_buf_item_log_segment()
844 end_bit = bits_to_set - bits_set; in xfs_buf_item_log_segment()
845 if (end_bit) { in xfs_buf_item_log_segment()
846 mask = (1U << end_bit) - 1; in xfs_buf_item_log_segment()
/OK3568_Linux_fs/kernel/fs/ufs/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A 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()
/OK3568_Linux_fs/kernel/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.h2793 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dfree-space-tree.c337 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local
423 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in convert_free_space_to_extents()
424 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
428 key.offset = (end_bit - start_bit) * block_group->fs_info->sectorsize; in convert_free_space_to_extents()
437 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in convert_free_space_to_extents()
/OK3568_Linux_fs/external/mpp/mpp/common/
H A Dh265d_syntax.h206 UINT end_bit; member
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_rkv.c714 end_byte = (dxva_cxt->slice_cut_param[i].end_bit + 7) >> 3; in update_stream_buffer()
720 dxva_cxt->slice_cut_param[i].end_bit, end_byte, buf[end_byte]); in update_stream_buffer()
727 if ((dxva_cxt->slice_cut_param[i].end_bit & 0x7) == 0 && buf[end_byte] == 0x80) in update_stream_buffer()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/memory/
H A Domap-gpmc.c425 int cs, int reg, int st_bit, int end_bit, int max, in get_gpmc_timing_reg() argument
438 nr_bits = end_bit - st_bit + 1; in get_gpmc_timing_reg()
598 static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max, in set_gpmc_timing_reg() argument
608 nr_bits = end_bit - st_bit + 1; in set_gpmc_timing_reg()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_parser.h620 RK_U32 end_bit; member
H A Dh265d_parser.c1070 s->end_bit = gb->used_bits; in hls_slice_header()
1784 temp->slice_cut_param[slice_cnt].end_bit = s->end_bit; in parser_nal_units()
/OK3568_Linux_fs/kernel/drivers/edac/
H A Damd64_edac.c1158 u8 end_bit = 47; in get_error_address() local
1169 end_bit = 39; in get_error_address()
1172 addr = m->addr & GENMASK_ULL(end_bit, start_bit); in get_error_address()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-integrity.c520 unsigned long bit, end_bit, this_end_bit, page, end_page; in block_bitmap_op() local
537 end_bit = (sector + n_sectors - 1) >> in block_bitmap_op()
543 end_page = end_bit / (PAGE_SIZE * 8); in block_bitmap_op()
544 end_bit %= PAGE_SIZE * 8; in block_bitmap_op()
550 this_end_bit = end_bit; in block_bitmap_op()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c4667 u32 end_bit = btf_member_bit_offset(t, member) + in btf_struct_walk() local
4679 BITS_ROUNDUP_BYTES(end_bit) <= off + size) in btf_struct_walk()