Home
last modified time | relevance | path

Searched refs:bits_to_set (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/firmware/efi/libstub/
Dbitmap.c7 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set() local
10 while (len - bits_to_set >= 0) { in __bitmap_set()
12 len -= bits_to_set; in __bitmap_set()
13 bits_to_set = BITS_PER_LONG; in __bitmap_set()
/linux-6.6.21/fs/xfs/
Dxfs_buf_item.c903 uint bits_to_set; in xfs_buf_item_log_segment() local
923 bits_to_set = last_bit - first_bit + 1; in xfs_buf_item_log_segment()
946 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()
959 while ((bits_to_set - bits_set) >= NBWORD) { in xfs_buf_item_log_segment()
968 end_bit = bits_to_set - bits_set; in xfs_buf_item_log_segment()
/linux-6.6.21/lib/
Dgenalloc.c89 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set_ll() local
92 while (nr >= bits_to_set) { in bitmap_set_ll()
95 nr -= bits_to_set; in bitmap_set_ll()
96 bits_to_set = BITS_PER_LONG; in bitmap_set_ll()
Dbitmap.c366 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set() local
369 while (len - bits_to_set >= 0) { in __bitmap_set()
371 len -= bits_to_set; in __bitmap_set()
372 bits_to_set = BITS_PER_LONG; in __bitmap_set()
/linux-6.6.21/fs/btrfs/
Dfree-space-tree.c188 int bits_to_set = BITS_PER_BYTE - (start % BITS_PER_BYTE); in le_bitmap_set() local
191 while (len - bits_to_set >= 0) { in le_bitmap_set()
193 len -= bits_to_set; in le_bitmap_set()
194 bits_to_set = BITS_PER_BYTE; in le_bitmap_set()
Dextent-io-tree.c372 u32 bits_to_set = bits & ~EXTENT_CTLBITS; in set_state_bits() local
378 ret = add_extent_changeset(state, bits_to_set, changeset, 1); in set_state_bits()
380 state->state |= bits_to_set; in set_state_bits()
/linux-6.6.21/fs/ntfs3/
Dbitmap.c1523 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in ntfs_bitmap_set_le() local
1526 while (len - bits_to_set >= 0) { in ntfs_bitmap_set_le()
1528 len -= bits_to_set; in ntfs_bitmap_set_le()
1529 bits_to_set = BITS_PER_LONG; in ntfs_bitmap_set_le()
/linux-6.6.21/drivers/hid/
Dhid-core.c1417 int bits_to_set = 8 - bit_shift; in __implement() local
1419 while (n - bits_to_set >= 0) { in __implement()
1422 value >>= bits_to_set; in __implement()
1423 n -= bits_to_set; in __implement()
1424 bits_to_set = 8; in __implement()
/linux-6.6.21/drivers/video/fbdev/
Dsmscufx.c196 u32 bits_to_clear, u32 bits_to_set) in ufx_reg_clear_and_set_bits() argument
204 data |= bits_to_set; in ufx_reg_clear_and_set_bits()