Searched refs:end_bit (Results 1 - 13 of 13) sorted by last modified time

/linux-master/drivers/md/
H A Ddm-integrity.c581 unsigned long bit, end_bit, this_end_bit, page, end_page; local
598 end_bit = (sector + n_sectors - 1) >>
604 end_page = end_bit / (PAGE_SIZE * 8);
605 end_bit %= PAGE_SIZE * 8;
611 this_end_bit = end_bit;
/linux-master/fs/xfs/
H A Dxfs_buf_item.c908 uint end_bit; local
946 end_bit = min(bit + bits_to_set, (uint)NBWORD);
947 mask = ((1U << (end_bit - bit)) - 1) << bit;
950 bits_set = end_bit - bit;
968 end_bit = bits_to_set - bits_set;
969 if (end_bit) {
970 mask = (1U << end_bit) - 1;
/linux-master/fs/ext4/
H A Dext4.h2878 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
H A Dialloc.c55 void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap) argument
59 if (start_bit >= end_bit)
62 ext4_debug("mark end bits +%d through +%d used\n", start_bit, end_bit);
65 if (i < end_bit)
66 memset(bitmap + (i >> 3), 0xff, (end_bit - i) >> 3);
/linux-master/kernel/bpf/
H A Dbtf.c6471 u32 end_bit = __btf_member_bit_offset(t, member) + local
6483 BITS_ROUNDUP_BYTES(end_bit) <= off + size)
/linux-master/fs/btrfs/
H A Dfree-space-tree.c355 unsigned long nrbits, start_bit, end_bit; local
440 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit);
441 ASSERT(start_bit < end_bit);
445 key.offset = (end_bit - start_bit) * block_group->fs_info->sectorsize;
454 start_bit = find_next_bit_le(bitmap, nrbits, end_bit);
/linux-master/drivers/edac/
H A Damd64_edac.c1647 u8 end_bit = 47; local
1658 end_bit = 39;
1661 addr = m->addr & GENMASK_ULL(end_bit, start_bit);
/linux-master/drivers/memory/
H A Domap-gpmc.c422 * @end_bit: End Bit. Must be >= @st_bit.
424 * If 0, maximum is as high as @st_bit and @end_bit allow.
439 int cs, int reg, int st_bit, int end_bit, int max,
452 nr_bits = end_bit - st_bit + 1;
604 * @end_bit: End Bit. Must be >= @st_bit.
606 * If 0, maximum is as high as @st_bit and @end_bit allow.
612 static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max, argument
622 nr_bits = end_bit - st_bit + 1;
437 get_gpmc_timing_reg( int cs, int reg, int st_bit, int end_bit, int max, const char *name, const enum gpmc_clk_domain cd, int shift, bool raw, bool noval) argument
/linux-master/fs/ufs/
H A Dballoc.c45 unsigned cgno, bit, end_bit, bbase, blkmap, i; local
75 end_bit = bit + count;
79 for (i = bit; i < end_bit; i++) {
141 unsigned overflow, cgno, bit, end_bit, i; local
167 end_bit = bit + count;
168 if (end_bit > uspi->s_fpg) {
171 end_bit -= overflow;
183 for (i = bit; i < end_bit; i += uspi->s_fpb) {
/linux-master/lib/
H A Dgenalloc.c247 unsigned long bit, end_bit; local
253 end_bit = chunk_size(chunk) >> order;
254 bit = find_first_bit(chunk->bits, end_bit);
255 BUG_ON(bit < end_bit);
283 unsigned long nbits, start_bit, end_bit, remain; local
302 end_bit = chunk_size(chunk) >> order;
304 start_bit = algo(chunk->bits, end_bit, start_bit,
306 if (start_bit >= end_bit)
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dvmem.c90 unsigned int end_bit = ((elem_bits * (index + 1) - 1) % uedge_bits) + 1; local
97 move_subword(elem, 0, vector[start_elem], start_bit, end_bit);
109 move_lower_bits(elem, bits_written, vector[end_elem], end_bit);
/linux-master/drivers/video/fbdev/via/
H A Dhw.h346 u8 end_bit; member in struct:io_register
H A Dhw.c980 end_index = reg[i].end_bit;

Completed in 289 milliseconds