Home
last modified time | relevance | path

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

/linux-4.4.14/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()
1397 gotp->br_blockcount = 0xa55a5a5a5a5a5a5aLL; in xfs_bmap_search_multi_extents()
1454 (unsigned long long)gotp->br_blockcount, in xfs_bmap_search_extents()
1558 *last_block = prev.br_startoff + prev.br_blockcount; in xfs_bmap_last_before()
[all …]
Dxfs_attr_remote.c387 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
402 lblkno += map[i].br_blockcount; in xfs_attr_rmtval_get()
403 blkcnt -= map[i].br_blockcount; in xfs_attr_rmtval_get()
491 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
492 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
530 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
547 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
548 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
595 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
607 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.c2063 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2074 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2076 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2404 off += mapp[i].br_blockcount; in xfs_da_map_covers_blocks()
2445 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_buf_map_from_irec()
2502 irecs->br_blockcount = nfsb; in xfs_dabuf_map()
2521 (long long)irecs[i].br_blockcount, in xfs_dabuf_map()
Dxfs_format.h1402 xfs_filblks_t br_blockcount; /* number of blocks */ member
/linux-4.4.14/fs/xfs/
Dxfs_iomap.c107 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero()
161 imap->br_blockcount + in xfs_iomap_write_direct()
333 start_fsb += imap[n].br_blockcount; in xfs_iomap_eof_want_preallocate()
334 count_fsb -= imap[n].br_blockcount; in xfs_iomap_eof_want_preallocate()
400 if (imap[0].br_blockcount <= (MAXEXTLEN >> 1)) in xfs_iomap_eof_prealloc_initial_size()
401 return imap[0].br_blockcount << 1; in xfs_iomap_eof_prealloc_initial_size()
708 count_fsb = imap->br_blockcount; in xfs_iomap_write_allocate()
817 imap->br_blockcount))) { in xfs_iomap_write_allocate()
826 count_fsb -= imap->br_blockcount; in xfs_iomap_write_allocate()
827 map_start_fsb = imap->br_startoff + imap->br_blockcount; in xfs_iomap_write_allocate()
[all …]
Dxfs_dir2_readdir.c302 j = min_t(int, map->br_blockcount, i); in xfs_dir2_leaf_readbuf()
303 map->br_blockcount -= j; in xfs_dir2_leaf_readbuf()
310 if (!map->br_blockcount && --mip->map_valid) in xfs_dir2_leaf_readbuf()
354 mip->map_off = map[i].br_startoff + map[i].br_blockcount; in xfs_dir2_leaf_readbuf()
371 mip->map_blocks += map[i].br_blockcount; in xfs_dir2_leaf_readbuf()
391 map->br_blockcount >= geo->fsbcount ? in xfs_dir2_leaf_readbuf()
419 map[mip->ra_index].br_blockcount >= geo->fsbcount) { in xfs_dir2_leaf_readbuf()
448 map[mip->ra_index].br_blockcount - in xfs_dir2_leaf_readbuf()
455 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()
342 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
495 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
Dxfs_file.c546 start_zero_fsb = imap.br_startoff + imap.br_blockcount; in xfs_zero_eof()
555 zero_len = XFS_FSB_TO_B(mp, imap.br_blockcount); in xfs_zero_eof()
565 start_zero_fsb = imap.br_startoff + imap.br_blockcount; in xfs_zero_eof()
1204 endoff = XFS_FSB_TO_B(mp, map->br_startoff + map->br_blockcount); in xfs_find_get_desired_pgoff()
1439 fsbno = map[i - 1].br_startoff + map[i - 1].br_blockcount; in xfs_seek_hole_data()
Dxfs_bmap_util.c293 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof()
671 XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_getbmap()
795 WARN_ON(imap.br_blockcount == 0); in xfs_bmap_punch_delalloc_range()
1085 allocated_fsb = imapp->br_blockcount; in xfs_alloc_file_space()
1157 ASSERT(imap.br_blockcount >= 1); in xfs_zero_remaining_bytes()
1165 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.c986 ASSERT(map[i].br_blockcount); in xfs_qm_dqiterate()
989 lblkno += map[i].br_blockcount; in xfs_qm_dqiterate()
1001 rablkcnt = map[i+1].br_blockcount; in xfs_qm_dqiterate()
1017 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.c353 offset < imap->br_startoff + imap->br_blockcount; in xfs_imap_valid()
1159 end_index = imap.br_startoff + imap.br_blockcount; in xfs_vm_writepage()
1356 mapping_size = imap->br_startoff + imap->br_blockcount - iblock; in xfs_map_trim_size()
Dxfs_rtalloc.c825 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
862 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;
1249 __entry->blockcount = irec ? irec->br_blockcount : 0;