Searched refs:b2 (Results 1 – 7 of 7) sorted by relevance
| /fs/bcachefs/ |
| A D | btree_cache.c | 783 struct btree *b, *b2; in bch2_btree_node_mem_alloc() local 820 if (!btree_node_reclaim(c, b2)) { in bch2_btree_node_mem_alloc() 821 swap(b->data, b2->data); in bch2_btree_node_mem_alloc() 824 list_del_init(&b2->list); in bch2_btree_node_mem_alloc() 829 six_unlock_write(&b2->c.lock); in bch2_btree_node_mem_alloc() 830 six_unlock_intent(&b2->c.lock); in bch2_btree_node_mem_alloc() 871 b2 = btree_node_cannibalize(c); in bch2_btree_node_mem_alloc() 876 swap(b->data, b2->data); in bch2_btree_node_mem_alloc() 879 six_unlock_write(&b2->c.lock); in bch2_btree_node_mem_alloc() 880 six_unlock_intent(&b2->c.lock); in bch2_btree_node_mem_alloc() [all …]
|
| /fs/xfs/libxfs/ |
| A D | xfs_exchmaps.c | 726 const struct xfs_bmbt_irec *b2) in xmi_can_merge() argument 730 b2->br_startblock == HOLESTARTBLOCK) in xmi_can_merge() 734 if (!xfs_bmap_is_real_extent(b1) || !xfs_bmap_is_real_extent(b2)) in xmi_can_merge() 737 if (b1->br_startoff + b1->br_blockcount == b2->br_startoff && in xmi_can_merge() 738 b1->br_startblock + b1->br_blockcount == b2->br_startblock && in xmi_can_merge() 739 b1->br_state == b2->br_state && in xmi_can_merge() 740 b1->br_blockcount + b2->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xmi_can_merge()
|
| /fs/xfs/scrub/ |
| A D | bmap.c | 920 const struct xfs_bmbt_irec *b2) in xchk_are_bmaps_contiguous() argument 927 if (!xfs_bmap_is_real_extent(b2)) in xchk_are_bmaps_contiguous() 931 if (b1->br_startoff + b1->br_blockcount != b2->br_startoff) in xchk_are_bmaps_contiguous() 933 if (b1->br_startblock + b1->br_blockcount != b2->br_startblock) in xchk_are_bmaps_contiguous() 935 if (b1->br_state != b2->br_state) in xchk_are_bmaps_contiguous() 944 xfs_rtb_to_rgno(mp, b2->br_startblock)) in xchk_are_bmaps_contiguous()
|
| /fs/xfs/ |
| A D | xfs_extent_busy.c | 690 struct xfs_extent_busy *b2 = in xfs_extent_busy_ag_cmp() local 694 diff = b1->group->xg_gno - b2->group->xg_gno; in xfs_extent_busy_ag_cmp() 696 diff = b1->bno - b2->bno; in xfs_extent_busy_ag_cmp()
|
| /fs/hpfs/ |
| A D | ea.c | 322 void *b1, *b2; in hpfs_set_ea() local 327 if (!(b2 = hpfs_get_sector(s, new_sec + i, &bh2))) { in hpfs_set_ea() 332 memcpy(b2, b1, 512); in hpfs_set_ea()
|
| /fs/ext4/ |
| A D | extents.c | 1932 ext4_lblk_t b1, b2; in ext4_ext_check_overlap() local 1941 b2 = EXT4_LBLK_CMASK(sbi, le32_to_cpu(path[depth].p_ext->ee_block)); in ext4_ext_check_overlap() 1947 if (b2 < b1) { in ext4_ext_check_overlap() 1948 b2 = ext4_ext_next_allocated_block(path); in ext4_ext_check_overlap() 1949 if (b2 == EXT_MAX_BLOCKS) in ext4_ext_check_overlap() 1951 b2 = EXT4_LBLK_CMASK(sbi, b2); in ext4_ext_check_overlap() 1962 if (b1 + len1 > b2) { in ext4_ext_check_overlap() 1963 newext->ee_len = cpu_to_le16(b2 - b1); in ext4_ext_check_overlap()
|
| A D | mballoc.c | 603 unsigned char *b1, *b2; in mb_cmp_bitmaps() local 606 b2 = (unsigned char *) bitmap; in mb_cmp_bitmaps() 608 if (b1[i] != b2[i]) { in mb_cmp_bitmaps() 613 e4b->bd_group, i, i * 8, b1[i], b2[i]); in mb_cmp_bitmaps()
|
Completed in 33 milliseconds