Home
last modified time | relevance | path

Searched refs:whichfork (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/fs/xfs/
Dxfs_bmap.h160 int whichfork, unsigned long caller_ip);
171 void xfs_bmap_compute_maxlevels(struct xfs_mount *mp, int whichfork);
173 xfs_extlen_t len, xfs_fileoff_t *unused, int whichfork);
175 xfs_fileoff_t *last_block, int whichfork);
177 xfs_fileoff_t *unused, int whichfork);
178 int xfs_bmap_one_block(struct xfs_inode *ip, int whichfork);
180 int whichfork);
209 int whichfork, int *eof);
211 int whichfork, int *count);
Dxfs_bmap.c64 int whichfork);
66 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
112 int whichfork); /* data or attr fork */
137 int whichfork); /* data or attr fork */
151 int whichfork); /* data or attr fork */
164 int whichfork, /* data or attr fork */
254 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree() argument
256 return XFS_IFORK_FORMAT(ip, whichfork) == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_needs_btree()
257 XFS_IFORK_NEXTENTS(ip, whichfork) > in xfs_bmap_needs_btree()
258 XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
[all …]
Dxfs_inode.c462 int whichfork, in xfs_iformat_local() argument
473 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local()
477 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local()
482 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iformat_local()
495 memcpy(ifp->if_u1.if_data, XFS_DFORK_PTR(dip, whichfork), size); in xfs_iformat_local()
514 int whichfork) in xfs_iformat_extents() argument
522 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iformat_extents()
523 nex = XFS_DFORK_NEXTENTS(dip, whichfork); in xfs_iformat_extents()
531 if (unlikely(size < 0 || size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_extents()
549 dp = (xfs_bmbt_rec_t *) XFS_DFORK_PTR(dip, whichfork); in xfs_iformat_extents()
[all …]
Dxfs_da_btree.h106 int whichfork; /* data or attribute fork */ member
214 xfs_dabuf_t **bpp, int whichfork);
244 xfs_dabuf_t **bp, int whichfork);
247 xfs_dabuf_t **bpp, int whichfork);
249 xfs_dablk_t bno, int whichfork);
Dxfs_da_btree.c104 xfs_dabuf_t **bpp, int whichfork) in xfs_da_node_create() argument
114 error = xfs_da_get_buf(tp, args->dp, blkno, -1, &bp, whichfork); in xfs_da_node_create()
323 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); in xfs_da_root_split()
348 (args->whichfork == XFS_DATA_FORK) ? mp->m_dirleafblk : 0, in xfs_da_root_split()
349 be16_to_cpu(node->hdr.level) + 1, &bp, args->whichfork); in xfs_da_root_split()
399 useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; in xfs_da_node_split()
414 &newblk->bp, state->args->whichfork); in xfs_da_node_split()
595 if (state->args->whichfork == XFS_DATA_FORK) in xfs_da_node_add()
765 args->whichfork); in xfs_da_root_join()
854 blkno, -1, &bp, state->args->whichfork); in xfs_da_node_toosmall()
[all …]
Dxfs_bmap_btree.c476 cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_bmbt_dup_cursor()
618 cur->bc_private.b.whichfork); in xfs_bmbt_get_minrecs()
636 cur->bc_private.b.whichfork); in xfs_bmbt_get_maxrecs()
764 int whichfork) /* data or attr fork */ in xfs_bmbt_init_cursor() argument
766 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmbt_init_cursor()
780 cur->bc_private.b.forksize = XFS_IFORK_SIZE(ip, whichfork); in xfs_bmbt_init_cursor()
786 cur->bc_private.b.whichfork = whichfork; in xfs_bmbt_init_cursor()
Dxfs_dir2.c219 args.whichfork = XFS_DATA_FORK; in xfs_dir_createname()
289 args.whichfork = XFS_DATA_FORK; in xfs_dir_lookup()
348 args.whichfork = XFS_DATA_FORK; in xfs_dir_removename()
431 args.whichfork = XFS_DATA_FORK; in xfs_dir_replace()
474 args.whichfork = XFS_DATA_FORK; in xfs_dir_canenter()
Dxfs_inode_item.c143 int whichfork, in xfs_inode_item_format_extents() argument
148 ext_buffer = kmem_alloc(XFS_IFORK_SIZE(ip, whichfork), KM_SLEEP); in xfs_inode_item_format_extents()
149 if (whichfork == XFS_DATA_FORK) in xfs_inode_item_format_extents()
155 vecp->i_len = xfs_iextents_copy(ip, ext_buffer, whichfork); in xfs_inode_item_format_extents()
Dxfs_btree.c428 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_btree_get_iroot()
1135 xfs_ilog_fbroot(cur->bc_private.b.whichfork)); in xfs_btree_log_keys()
1183 xfs_ilog_fbroot(cur->bc_private.b.whichfork)); in xfs_btree_log_ptrs()
1228 xfs_ilog_fbroot(cur->bc_private.b.whichfork)); in xfs_btree_log_block()
2391 cur->bc_private.b.whichfork); in xfs_btree_new_iroot()
2404 XFS_ILOG_CORE | xfs_ilog_fbroot(cur->bc_private.b.whichfork); in xfs_btree_new_iroot()
2564 xfs_iroot_realloc(ip, 1, cur->bc_private.b.whichfork); in xfs_btree_make_block_unfull()
2905 int whichfork = cur->bc_private.b.whichfork; in xfs_btree_kill_iroot() local
2907 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_btree_kill_iroot()
2966 cur->bc_private.b.whichfork); in xfs_btree_kill_iroot()
[all …]
Dxfs_btree.h246 char whichfork; /* data or attr fork */ member
Dxfs_attr.c142 args.whichfork = XFS_ATTR_FORK; in xfs_attr_get_int()
279 args.whichfork = XFS_ATTR_FORK; in xfs_attr_set_int()
490 args.whichfork = XFS_ATTR_FORK; in xfs_attr_remove_int()
Dxfs_attr_leaf.c530 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
824 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_leaf_to_shortform()
2419 args.whichfork = XFS_ATTR_FORK; in xfs_attr_leaf_list_int()