Home
last modified time | relevance | path

Searched refs:start_bit (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/fs/xfs/
Dxfs_bit.c51 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() argument
53 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_contig_bits()
59 ASSERT(start_bit < size); in xfs_contig_bits()
60 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits()
61 start_bit &= (NBWORD - 1); in xfs_contig_bits()
62 if (start_bit) { in xfs_contig_bits()
65 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits()
77 return result - start_bit; in xfs_contig_bits()
79 return result + ffz(tmp) - start_bit; in xfs_contig_bits()
90 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() argument
[all …]
Dxfs_bit.h79 extern int xfs_contig_bits(uint *map, uint size, uint start_bit);
82 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
/linux-2.6.39/fs/ntfs/
Dbitmap.h32 extern int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit,
48 const s64 start_bit, const s64 count, const u8 value) in ntfs_bitmap_set_bits_in_run() argument
50 return __ntfs_bitmap_set_bits_in_run(vi, start_bit, count, value, in ntfs_bitmap_set_bits_in_run()
65 static inline int ntfs_bitmap_set_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_set_run() argument
68 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 1); in ntfs_bitmap_set_run()
82 static inline int ntfs_bitmap_clear_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_clear_run() argument
85 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 0); in ntfs_bitmap_clear_run()
Dbitmap.c47 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, in __ntfs_bitmap_set_bits_in_run() argument
60 "value %u.%s", vi->i_ino, (unsigned long long)start_bit, in __ntfs_bitmap_set_bits_in_run()
63 BUG_ON(start_bit < 0); in __ntfs_bitmap_set_bits_in_run()
70 index = start_bit >> (3 + PAGE_CACHE_SHIFT); in __ntfs_bitmap_set_bits_in_run()
71 end_index = (start_bit + cnt - 1) >> (3 + PAGE_CACHE_SHIFT); in __ntfs_bitmap_set_bits_in_run()
85 pos = (start_bit >> 3) & ~PAGE_CACHE_MASK; in __ntfs_bitmap_set_bits_in_run()
88 bit = start_bit & 7; in __ntfs_bitmap_set_bits_in_run()
174 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, in __ntfs_bitmap_set_bits_in_run()
/linux-2.6.39/drivers/media/video/
Dtcm825x.c101 u16 start_bit; member
113 .start_bit = 0,
125 .start_bit = 0,
137 .start_bit = 0,
149 .start_bit = 7,
161 .start_bit = 0,
173 .start_bit = 6,
185 .start_bit = 7,
198 .start_bit = 7,
210 .start_bit = 0,
[all …]
/linux-2.6.39/lib/
Dgenalloc.c119 int nbits, start_bit, end_bit; in gen_pool_alloc() local
133 start_bit = bitmap_find_next_zero_area(chunk->bits, end_bit, 0, in gen_pool_alloc()
135 if (start_bit >= end_bit) { in gen_pool_alloc()
140 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc()
142 bitmap_set(chunk->bits, start_bit, nbits); in gen_pool_alloc()
/linux-2.6.39/arch/cris/arch-v10/kernel/
Dio_interface_mux.c940 const unsigned start_bit, in cris_io_interface_allocate_pins() argument
952 ioif, port, start_bit, stop_bit)); in cris_io_interface_allocate_pins()
954 if (!((start_bit <= stop_bit) && in cris_io_interface_allocate_pins()
961 tmp_mask = create_mask(start_bit); in cris_io_interface_allocate_pins()
965 port, start_bit, stop_bit, mask)); in cris_io_interface_allocate_pins()
1001 for (i = start_bit; i <= stop_bit; i++) { in cris_io_interface_allocate_pins()
1014 const unsigned start_bit, in cris_io_interface_free_pins() argument
1025 if (!((start_bit <= stop_bit) && in cris_io_interface_free_pins()
1032 tmp_mask = create_mask(start_bit); in cris_io_interface_free_pins()
1036 port, start_bit, stop_bit, mask)); in cris_io_interface_free_pins()
[all …]
/linux-2.6.39/arch/cris/include/arch-v10/arch/
Dio_interface_mux.h56 const unsigned start_bit,
62 const unsigned start_bit,
/linux-2.6.39/arch/arm/mach-lpc32xx/include/mach/
Di2c.h43 start_bit = 1 << 8, enumerator
/linux-2.6.39/arch/arm/mach-pnx4008/include/mach/
Di2c.h43 start_bit = 1 << 8, enumerator
/linux-2.6.39/fs/ext3/
Dresize.c142 static void mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in mark_bitmap_end() argument
146 if (start_bit >= end_bit) in mark_bitmap_end()
149 ext3_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in mark_bitmap_end()
150 for (i = start_bit; i < ((start_bit + 7) & ~7UL); i++) in mark_bitmap_end()
/linux-2.6.39/fs/ocfs2/
Docfs2_trace.h810 unsigned int start_bit, unsigned int count),
811 TP_ARGS(inode, group, start_bit, count),
815 __field(unsigned int, start_bit)
821 __entry->start_bit = start_bit;
825 __entry->start_bit, __entry->count)
830 unsigned int start_bit, unsigned int count),
831 TP_ARGS(bg_blkno, start_blk, start_bit, count),
835 __field(unsigned int, start_bit)
841 __entry->start_bit = start_bit;
845 __entry->start_bit, __entry->count)
Dsuballoc.h122 unsigned int start_bit,
Dsuballoc.c2446 unsigned int start_bit, in _ocfs2_free_suballoc_bits() argument
2465 BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl)); in _ocfs2_free_suballoc_bits()
2470 start_bit, count); in _ocfs2_free_suballoc_bits()
2480 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); in _ocfs2_free_suballoc_bits()
2484 start_bit, count, undo_fn); in _ocfs2_free_suballoc_bits()
2514 unsigned int start_bit, in ocfs2_free_suballoc_bits() argument
2519 start_bit, bg_blkno, count, NULL); in ocfs2_free_suballoc_bits()
/linux-2.6.39/fs/ext4/
Dialloc.c53 void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in ext4_mark_bitmap_end() argument
57 if (start_bit >= end_bit) in ext4_mark_bitmap_end()
60 ext4_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in ext4_mark_bitmap_end()
61 for (i = start_bit; i < ((start_bit + 7) & ~7UL); i++) in ext4_mark_bitmap_end()
Dext4.h1689 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
/linux-2.6.39/arch/cris/include/arch-v32/mach-a3/mach/hwregs/
Dgio_defs.h443 unsigned int start_bit : 1; member
516 unsigned int start_bit : 1; member
/linux-2.6.39/drivers/i2c/busses/
Di2c-pnx.c119 (slave_addr << 1) | start_bit | alg_data->mif.mode); in i2c_pnx_start()
122 iowrite32((slave_addr << 1) | start_bit | alg_data->mif.mode, in i2c_pnx_start()
/linux-2.6.39/drivers/video/via/
Dhw.h454 u8 start_bit; member
Dhw.c1210 start_index = reg[i].start_bit; in viafb_load_reg()
/linux-2.6.39/drivers/edac/
Damd64_edac.c936 u8 start_bit = 1; in get_error_address() local
940 start_bit = 3; in get_error_address()
944 addr = m->addr & GENMASK(start_bit, end_bit); in get_error_address()