Home
last modified time | relevance | path

Searched refs:br_blockcount (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bmap.c117 cur->bc_rec.b.br_blockcount = len; in xfs_bmbt_lookup_eq()
131 cur->bc_rec.b.br_blockcount = len; in xfs_bmbt_lookup_ge()
534 ASSERT(mval[i].br_blockcount > 0); in xfs_bmap_validate_ret()
537 ASSERT(mval[i].br_blockcount <= len); in xfs_bmap_validate_ret()
538 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <= in xfs_bmap_validate_ret()
542 ASSERT(mval[i].br_startoff + mval[i].br_blockcount > in xfs_bmap_validate_ret()
546 mval[i - 1].br_startoff + mval[i - 1].br_blockcount == in xfs_bmap_validate_ret()
1398 gotp->br_blockcount = 0xa55a5a5a5a5a5a5aLL; in xfs_bmap_search_multi_extents()
1455 (unsigned long long)gotp->br_blockcount, in xfs_bmap_search_extents()
1559 *last_block = prev.br_startoff + prev.br_blockcount; in xfs_bmap_last_before()
[all …]
Dxfs_attr_remote.c386 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
401 lblkno += map[i].br_blockcount; in xfs_attr_rmtval_get()
402 blkcnt -= map[i].br_blockcount; in xfs_attr_rmtval_get()
490 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
491 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
529 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
546 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
547 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
594 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
606 lblkno += map.br_blockcount; in xfs_attr_rmtval_remove()
[all …]
Dxfs_bmap_btree.c113 s->br_blockcount = (xfs_filblks_t)(l1 & xfs_mask64lo(21)); in __xfs_bmbt_get_all()
116 ASSERT(s->br_blockcount != 0); /* saved for DMIG */ in __xfs_bmbt_get_all()
232 s->br_blockcount, s->br_state); in xfs_bmbt_set_all()
273 s->br_blockcount, s->br_state); in xfs_bmbt_disk_set_all()
Dxfs_da_btree.c2052 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2063 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2065 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2393 off += mapp[i].br_blockcount; in xfs_da_map_covers_blocks()
2434 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_buf_map_from_irec()
2491 irecs->br_blockcount = nfsb; in xfs_dabuf_map()
2510 (long long)irecs[i].br_blockcount, in xfs_dabuf_map()
Dxfs_format.h1355 xfs_filblks_t br_blockcount; /* number of blocks */ member
/linux-4.1.27/fs/xfs/
Dxfs_iomap.c107 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero()
151 imap->br_blockcount + in xfs_iomap_write_direct()
295 start_fsb += imap[n].br_blockcount; in xfs_iomap_eof_want_preallocate()
296 count_fsb -= imap[n].br_blockcount; in xfs_iomap_eof_want_preallocate()
362 if (imap[0].br_blockcount <= (MAXEXTLEN >> 1)) in xfs_iomap_eof_prealloc_initial_size()
363 return imap[0].br_blockcount << 1; in xfs_iomap_eof_prealloc_initial_size()
670 count_fsb = imap->br_blockcount; in xfs_iomap_write_allocate()
779 imap->br_blockcount))) { in xfs_iomap_write_allocate()
788 count_fsb -= imap->br_blockcount; in xfs_iomap_write_allocate()
789 map_start_fsb = imap->br_startoff + imap->br_blockcount; in xfs_iomap_write_allocate()
[all …]
Dxfs_dir2_readdir.c299 j = min_t(int, map->br_blockcount, i); in xfs_dir2_leaf_readbuf()
300 map->br_blockcount -= j; in xfs_dir2_leaf_readbuf()
307 if (!map->br_blockcount && --mip->map_valid) in xfs_dir2_leaf_readbuf()
351 mip->map_off = map[i].br_startoff + map[i].br_blockcount; in xfs_dir2_leaf_readbuf()
368 mip->map_blocks += map[i].br_blockcount; in xfs_dir2_leaf_readbuf()
388 map->br_blockcount >= geo->fsbcount ? in xfs_dir2_leaf_readbuf()
416 map[mip->ra_index].br_blockcount >= geo->fsbcount) { in xfs_dir2_leaf_readbuf()
445 map[mip->ra_index].br_blockcount - in xfs_dir2_leaf_readbuf()
452 if (mip->ra_offset == map[mip->ra_index].br_blockcount) { in xfs_dir2_leaf_readbuf()
Dxfs_attr_inactive.c90 map.br_blockcount); in xfs_attr3_leaf_freextent()
105 tblkno += map.br_blockcount; in xfs_attr3_leaf_freextent()
106 tblkcnt -= map.br_blockcount; in xfs_attr3_leaf_freextent()
Dxfs_symlink.c71 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap()
345 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
499 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
Dxfs_file.c512 start_zero_fsb = imap.br_startoff + imap.br_blockcount; in xfs_zero_eof()
521 zero_len = XFS_FSB_TO_B(mp, imap.br_blockcount); in xfs_zero_eof()
531 start_zero_fsb = imap.br_startoff + imap.br_blockcount; in xfs_zero_eof()
1166 endoff = XFS_FSB_TO_B(mp, map->br_startoff + map->br_blockcount); in xfs_find_get_desired_pgoff()
1401 fsbno = map[i - 1].br_startoff + map[i - 1].br_blockcount; in xfs_seek_hole_data()
Dxfs_bmap_util.c267 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof()
645 XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_getbmap()
769 WARN_ON(imap.br_blockcount == 0); in xfs_bmap_punch_delalloc_range()
1062 allocated_fsb = imapp->br_blockcount; in xfs_alloc_file_space()
1134 ASSERT(imap.br_blockcount >= 1); in xfs_zero_remaining_bytes()
Dxfs_pnfs.c105 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap()
Dxfs_qm.c987 ASSERT(map[i].br_blockcount); in xfs_qm_dqiterate()
990 lblkno += map[i].br_blockcount; in xfs_qm_dqiterate()
1002 rablkcnt = map[i+1].br_blockcount; in xfs_qm_dqiterate()
1018 map[i].br_blockcount, in xfs_qm_dqiterate()
Dxfs_dquot.c339 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_dqalloc()
495 ASSERT(map.br_blockcount == 1); in xfs_qm_dqtobp()
Dxfs_aops.c346 offset < imap->br_startoff + imap->br_blockcount; in xfs_imap_valid()
1154 end_index = imap.br_startoff + imap.br_blockcount; in xfs_vm_writepage()
1328 mapping_size = imap->br_startoff + imap->br_blockcount - iblock; in xfs_map_trim_size()
Dxfs_rtalloc.c830 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
869 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
Dxfs_trace.h236 __entry->blockcount = r->br_blockcount;
280 __entry->blockcount = r.br_blockcount;
1200 __entry->blockcount = irec ? irec->br_blockcount : 0;