Home
last modified time | relevance | path

Searched refs:cur_bit (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/vfio/
Diova_bitmap.c404 unsigned long cur_bit = ((iova - mapped->iova) >> in iova_bitmap_set() local
410 unsigned int page_idx = cur_bit / BITS_PER_PAGE; in iova_bitmap_set()
411 unsigned int offset = cur_bit % BITS_PER_PAGE; in iova_bitmap_set()
413 last_bit - cur_bit + 1); in iova_bitmap_set()
419 cur_bit += nbits; in iova_bitmap_set()
420 } while (cur_bit <= last_bit); in iova_bitmap_set()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c4605 u32 cur_bit; in bnx2x_check_blocks_with_parity0() local
4612 cur_bit = (0x1UL << i); in bnx2x_check_blocks_with_parity0()
4613 if (sig & cur_bit) { in bnx2x_check_blocks_with_parity0()
4617 switch (cur_bit) { in bnx2x_check_blocks_with_parity0()
4659 sig &= ~cur_bit; in bnx2x_check_blocks_with_parity0()
4670 u32 cur_bit; in bnx2x_check_blocks_with_parity1() local
4677 cur_bit = (0x1UL << i); in bnx2x_check_blocks_with_parity1()
4678 if (sig & cur_bit) { in bnx2x_check_blocks_with_parity1()
4680 switch (cur_bit) { in bnx2x_check_blocks_with_parity1()
4803 sig &= ~cur_bit; in bnx2x_check_blocks_with_parity1()
[all …]
Dbnx2x_sp.c2784 int cur_bit = j + BIT_VEC64_ELEM_SZ * i; in bnx2x_mcast_get_next_bin() local
2786 vec, cur_bit)) { in bnx2x_mcast_get_next_bin()
2787 return cur_bit; in bnx2x_mcast_get_next_bin()
2806 int cur_bit = bnx2x_mcast_get_next_bin(o, 0); in bnx2x_mcast_clear_first_bin() local
2808 if (cur_bit >= 0) in bnx2x_mcast_clear_first_bin()
2809 BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, cur_bit); in bnx2x_mcast_clear_first_bin()
2811 return cur_bit; in bnx2x_mcast_clear_first_bin()
/linux-6.1.9/fs/btrfs/
Ddisk-io.c864 int cur_bit = 0; in btree_dirty_folio() local
878 while (cur_bit < BTRFS_SUBPAGE_BITMAP_SIZE) { in btree_dirty_folio()
881 u16 tmp = (1 << cur_bit); in btree_dirty_folio()
886 cur_bit++; in btree_dirty_folio()
890 cur = page_start + cur_bit * fs_info->sectorsize; in btree_dirty_folio()
899 cur_bit += (fs_info->nodesize >> fs_info->sectorsize_bits); in btree_dirty_folio()