Home
last modified time | relevance | path

Searched refs:XFS_DATA_FORK (Results 1 – 23 of 23) sorted by relevance

/fs/xfs/
Dxfs_trans_space.h31 #define XFS_DAENTER_1B(mp,w) ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1)
33 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0))
45 (XFS_DAENTER_SPACE_RES(mp, XFS_DATA_FORK) * \
48 XFS_DAREMOVE_SPACE_RES(mp, XFS_DATA_FORK)
56 ((mp)->m_dirblkfsbs + XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK))
65 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + (v))
69 ((b) + XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK))
75 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + \
Dxfs_trans.h285 (XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \
286 (XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
288 (XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK) + \
289 XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)
308 XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK)) + \
312 (128 * (4 + XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + XFS_ALLOCFREE_LOG_COUNT(mp, 2)))),\
337 XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1) + \
338 (128 * (2 + XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK)))), \
556 XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK)) + \
560 (3 + XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + \
[all …]
Dxfs_bmap.c472 cur = xfs_bmbt_init_cursor(mp, tp, ip, XFS_DATA_FORK); in xfs_bmap_add_attrfork_btree()
513 flags, XFS_DATA_FORK); in xfs_bmap_add_attrfork_extents()
546 dargs.whichfork = XFS_DATA_FORK; in xfs_bmap_add_attrfork_local()
551 XFS_DATA_FORK); in xfs_bmap_add_attrfork_local()
787 ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_bmap_add_extent_delay_real()
848 XFS_DATA_FORK); in xfs_bmap_add_extent_delay_real()
853 XFS_DATA_FORK); in xfs_bmap_add_extent_delay_real()
854 XFS_BMAP_TRACE_DELETE("LF|RF|LC|RC", ip, idx, 2, XFS_DATA_FORK); in xfs_bmap_add_extent_delay_real()
894 XFS_DATA_FORK); in xfs_bmap_add_extent_delay_real()
898 XFS_DATA_FORK); in xfs_bmap_add_extent_delay_real()
[all …]
Dxfs_dinode.h125 ((w) == XFS_DATA_FORK ? \
137 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip))
140 ((w) == XFS_DATA_FORK ? \
144 ((w) == XFS_DATA_FORK ? \
Dxfs_inode.h27 #define XFS_DATA_FORK 0 macro
177 ((w) == XFS_DATA_FORK ? \
189 ((w) == XFS_DATA_FORK ? \
193 ((w) == XFS_DATA_FORK ? \
197 ((w) == XFS_DATA_FORK ? \
201 ((w) == XFS_DATA_FORK ? \
205 ((w) == XFS_DATA_FORK ? \
Dxfs_inode_item.h116 return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); in xfs_ilog_fbroot()
121 return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); in xfs_ilog_fext()
126 return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); in xfs_ilog_fdata()
Dxfs_dir2.c226 args.whichfork = XFS_DATA_FORK; in xfs_dir_createname()
296 args.whichfork = XFS_DATA_FORK; in xfs_dir_lookup()
355 args.whichfork = XFS_DATA_FORK; in xfs_dir_removename()
438 args.whichfork = XFS_DATA_FORK; in xfs_dir_replace()
481 args.whichfork = XFS_DATA_FORK; in xfs_dir_canenter()
543 if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, XFS_DATA_FORK))) in xfs_dir2_grow_inode()
661 if ((rval = xfs_bmap_last_offset(tp, dp, &last, XFS_DATA_FORK))) in xfs_dir2_isblock()
683 if ((rval = xfs_bmap_last_offset(tp, dp, &last, XFS_DATA_FORK))) in xfs_dir2_isleaf()
751 if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { in xfs_dir2_shrink_inode()
Dxfs_dir2_sf.c197 xfs_idata_realloc(dp, size, XFS_DATA_FORK); in xfs_dir2_block_to_sf()
397 XFS_DATA_FORK); in xfs_dir2_sf_addname_easy()
483 xfs_idata_realloc(dp, -old_isize, XFS_DATA_FORK); in xfs_dir2_sf_addname_hard()
484 xfs_idata_realloc(dp, new_isize, XFS_DATA_FORK); in xfs_dir2_sf_addname_hard()
679 xfs_idata_realloc(dp, size, XFS_DATA_FORK); in xfs_dir2_sf_create()
960 xfs_idata_realloc(dp, newsize - oldsize, XFS_DATA_FORK); in xfs_dir2_sf_removename()
1159 xfs_idata_realloc(dp, -oldsize, XFS_DATA_FORK); in xfs_dir2_sf_toino4()
1160 xfs_idata_realloc(dp, newsize, XFS_DATA_FORK); in xfs_dir2_sf_toino4()
1236 xfs_idata_realloc(dp, -oldsize, XFS_DATA_FORK); in xfs_dir2_sf_toino8()
1237 xfs_idata_realloc(dp, newsize, XFS_DATA_FORK); in xfs_dir2_sf_toino8()
Dxfs_dir2_leaf.c199 XFS_DATA_FORK); in xfs_dir2_leaf_addname()
383 -1, &dbp, XFS_DATA_FORK))) { in xfs_dir2_leaf_addname()
938 &bp, XFS_DATA_FORK); in xfs_dir2_leaf_getdents()
979 ra_offset, XFS_DATA_FORK); in xfs_dir2_leaf_getdents()
1148 XFS_DATA_FORK); in xfs_dir2_leaf_init()
1346 XFS_DATA_FORK); in xfs_dir2_leaf_lookup_int()
1381 -1, &dbp, XFS_DATA_FORK); in xfs_dir2_leaf_lookup_int()
1423 -1, &dbp, XFS_DATA_FORK); in xfs_dir2_leaf_lookup_int()
1715 XFS_DATA_FORK))) { in xfs_dir2_leaf_trim_data()
1787 if ((error = xfs_bmap_last_offset(tp, dp, &fo, XFS_DATA_FORK))) { in xfs_dir2_node_to_leaf()
[all …]
Dxfs_dir2_node.c141 XFS_DATA_FORK))) { in xfs_dir2_leaf_to_node()
484 -1, &curbp, XFS_DATA_FORK); in xfs_dir2_leafn_lookup_for_addname()
620 -1, &curbp, XFS_DATA_FORK); in xfs_dir2_leafn_lookup_for_entry()
999 -1, &fbp, XFS_DATA_FORK))) { in xfs_dir2_leafn_remove()
1260 -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_leafn_toosmall()
1509 if ((error = xfs_bmap_last_offset(tp, dp, &fo, XFS_DATA_FORK))) in xfs_dir2_node_addname_int()
1548 XFS_DATA_FORK))) { in xfs_dir2_node_addname_int()
1627 XFS_DATA_FORK))) { in xfs_dir2_node_addname_int()
1673 -1, &fbp, XFS_DATA_FORK))) { in xfs_dir2_node_addname_int()
1744 -1, &dbp, XFS_DATA_FORK))) { in xfs_dir2_node_addname_int()
[all …]
Dxfs_dir2_block.c105 xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_block_addname()
465 &bp, XFS_DATA_FORK); in xfs_dir2_block_getdents()
657 xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &bp, XFS_DATA_FORK))) { in xfs_dir2_block_lookup_int()
936 XFS_DATA_FORK))) { in xfs_dir2_leaf_to_block()
1077 xfs_idata_realloc(dp, -dp->i_df.if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
Dxfs_inode.c395 error = xfs_iformat_local(ip, dip, XFS_DATA_FORK, size); in xfs_iformat()
398 error = xfs_iformat_extents(ip, dip, XFS_DATA_FORK); in xfs_iformat()
401 error = xfs_iformat_btree(ip, dip, XFS_DATA_FORK); in xfs_iformat()
455 xfs_idestroy_fork(ip, XFS_DATA_FORK); in xfs_iformat()
571 if (whichfork != XFS_DATA_FORK || in xfs_iformat_extents()
1262 XFS_DATA_FORK); in xfs_file_last_byte()
1559 if (fork == XFS_DATA_FORK) { in xfs_itruncate_finish()
1581 ASSERT(fork == XFS_DATA_FORK || in xfs_itruncate_finish()
1700 if (fork == XFS_DATA_FORK) { in xfs_itruncate_finish()
2677 ASSERT(whichfork == XFS_DATA_FORK); in xfs_iflush_fork()
[all …]
Dxfs_iomap.c331 error = xfs_bmap_eof(ip, new_last_fsb, XFS_DATA_FORK, &eof); in xfs_iomap_eof_align_last_fsb()
741 nres = XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK); in xfs_iomap_write_allocate()
790 XFS_DATA_FORK); in xfs_iomap_write_allocate()
Dxfs_da_btree.c347 (args->whichfork == XFS_DATA_FORK) ? mp->m_dirleafblk : 0, in xfs_da_root_split()
590 if (state->args->whichfork == XFS_DATA_FORK) in xfs_da_node_add()
1066 blkno = (args->whichfork == XFS_DATA_FORK)? state->mp->m_dirleafblk : 0; in xfs_da_node_lookup_int()
1580 if (w == XFS_DATA_FORK) { in xfs_da_grow_inode()
1592 if (w == XFS_DATA_FORK) in xfs_da_grow_inode()
1688 ASSERT(w == XFS_DATA_FORK); in xfs_da_swap_lastblock()
1875 if (w == XFS_DATA_FORK) in xfs_da_shrink_inode()
1888 if (w != XFS_DATA_FORK) in xfs_da_shrink_inode()
1957 nfsb = (whichfork == XFS_DATA_FORK) ? mp->m_dirblkfsbs : 1; in xfs_da_do_buf()
Dxfs_utils.c395 XFS_DATA_FORK, in xfs_truncate_file()
Dxfs_vnodeops.c313 XFS_DATA_FORK, in xfs_setattr()
789 XFS_DATA_FORK, in xfs_free_eofblocks()
932 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt()
1000 XFS_DATA_FORK); in xfs_inactive_symlink_local()
1227 error = xfs_itruncate_finish(&tp, ip, 0, XFS_DATA_FORK, in xfs_inactive()
2475 xfs_idata_realloc(ip, pathlen, XFS_DATA_FORK); in xfs_symlink()
Dxfs_iget.c508 xfs_idestroy_fork(ip, XFS_DATA_FORK); in xfs_ireclaim()
Dxfs_dir2_data.c410 XFS_DATA_FORK); in xfs_dir2_data_init()
Dxfs_inode_item.c360 XFS_DATA_FORK); in xfs_inode_item_format()
Dxfs_rtalloc.c876 error = xfs_bmapi_single(tp, ip, XFS_DATA_FORK, &fsb, block); in xfs_rtbuf_get()
Dxfs_mount.c966 xfs_bmap_compute_maxlevels(mp, XFS_DATA_FORK); in xfs_mountfs()
/fs/xfs/linux-2.6/
Dxfs_file.c151 xfs_da_reada_buf(NULL, ip, 0, XFS_DATA_FORK); in xfs_dir_open()
/fs/xfs/quota/
Dxfs_qm.c1656 ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_qm_get_rtblks()
1658 if ((error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK))) in xfs_qm_get_rtblks()