Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2.c274 int rval; in xfs_dir_createname() local
279 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
280 if (rval) in xfs_dir_createname()
281 return rval; in xfs_dir_createname()
306 rval = xfs_dir2_sf_addname(args); in xfs_dir_createname()
310 rval = xfs_dir2_isblock(args, &v); in xfs_dir_createname()
311 if (rval) in xfs_dir_createname()
314 rval = xfs_dir2_block_addname(args); in xfs_dir_createname()
318 rval = xfs_dir2_isleaf(args, &v); in xfs_dir_createname()
319 if (rval) in xfs_dir_createname()
[all …]
Dxfs_dir2_node.c48 int *rval);
1207 int *rval) /* resulting block needs join */ in xfs_dir2_leafn_remove() argument
1351 *rval = (dp->d_ops->leaf_hdr_size + in xfs_dir2_leafn_remove()
1440 int rval; /* result from path_shift */ in xfs_dir2_leafn_toosmall() local
1479 &rval); in xfs_dir2_leafn_toosmall()
1482 *action = rval ? 2 : 0; in xfs_dir2_leafn_toosmall()
1542 &rval); in xfs_dir2_leafn_toosmall()
1545 &rval); in xfs_dir2_leafn_toosmall()
1549 *action = rval ? 0 : 1; in xfs_dir2_leafn_toosmall()
1625 int rval; /* sub-return value */ in xfs_dir2_node_addname() local
[all …]
Dxfs_bmap.c193 xfs_filblks_t rval; /* return value */ in xfs_bmap_worst_indlen() local
197 for (level = 0, rval = 0; in xfs_bmap_worst_indlen()
202 rval += len; in xfs_bmap_worst_indlen()
204 return rval + XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) - in xfs_bmap_worst_indlen()
209 return rval; in xfs_bmap_worst_indlen()
1545 int rval; /* return value */ in xfs_bmap_one_block() local
1560 rval = s.br_startoff == 0 && s.br_blockcount == 1; in xfs_bmap_one_block()
1561 if (rval && whichfork == XFS_DATA_FORK) in xfs_bmap_one_block()
1563 return rval; in xfs_bmap_one_block()
1587 int rval=0; /* return value (logging flags) */ in xfs_bmap_add_extent_delay_real() local
[all …]
Dxfs_btree.c888 int rval = 0; in xfs_btree_readahead_lblock() local
895 rval++; in xfs_btree_readahead_lblock()
901 rval++; in xfs_btree_readahead_lblock()
904 return rval; in xfs_btree_readahead_lblock()
913 int rval = 0; in xfs_btree_readahead_sblock() local
921 rval++; in xfs_btree_readahead_sblock()
927 rval++; in xfs_btree_readahead_sblock()
930 return rval; in xfs_btree_readahead_sblock()
4883 xfs_extlen_t rval; in xfs_btree_calc_size() local
4886 for (level = 0, rval = 0; len > 1; level++) { in xfs_btree_calc_size()
[all …]
Dxfs_dir2_leaf.c1691 int rval; /* successful free trim? */ in xfs_dir2_node_to_leaf() local
1723 if ((error = xfs_dir2_node_trim_free(args, fo, &rval))) { in xfs_dir2_node_to_leaf()
1726 if (rval) in xfs_dir2_node_to_leaf()
/fs/xfs/
Dxfs_dquot_item.c168 uint rval = XFS_ITEM_SUCCESS; in xfs_qm_dquot_logitem_push() local
183 rval = XFS_ITEM_FLUSHING; in xfs_qm_dquot_logitem_push()
186 return rval; in xfs_qm_dquot_logitem_push()
197 rval = XFS_ITEM_PINNED; in xfs_qm_dquot_logitem_push()
207 rval = XFS_ITEM_FLUSHING; in xfs_qm_dquot_logitem_push()
219 rval = XFS_ITEM_FLUSHING; in xfs_qm_dquot_logitem_push()
226 return rval; in xfs_qm_dquot_logitem_push()
Dxfs_dir2_readdir.c518 int rval; in xfs_readdir() local
534 rval = xfs_dir2_sf_getdents(&args, ctx); in xfs_readdir()
535 else if ((rval = xfs_dir2_isblock(&args, &v))) in xfs_readdir()
538 rval = xfs_dir2_block_getdents(&args, ctx); in xfs_readdir()
540 rval = xfs_dir2_leaf_getdents(&args, ctx, bufsize); in xfs_readdir()
542 return rval; in xfs_readdir()
Dxfs_inode_item.c524 uint rval = XFS_ITEM_SUCCESS; in xfs_inode_item_push() local
539 rval = XFS_ITEM_FLUSHING; in xfs_inode_item_push()
542 return rval; in xfs_inode_item_push()
553 rval = XFS_ITEM_PINNED; in xfs_inode_item_push()
561 rval = XFS_ITEM_PINNED; in xfs_inode_item_push()
571 rval = XFS_ITEM_FLUSHING; in xfs_inode_item_push()
583 rval = XFS_ITEM_FLUSHING; in xfs_inode_item_push()
590 return rval; in xfs_inode_item_push()
Dxfs_buf_item.c510 uint rval = XFS_ITEM_SUCCESS; in xfs_buf_item_push() local
540 rval = XFS_ITEM_FLUSHING; in xfs_buf_item_push()
542 return rval; in xfs_buf_item_push()
Dxfs_buf.c889 int rval; in xfs_buf_associate_memory() local
908 rval = _xfs_buf_get_pages(bp, page_count); in xfs_buf_associate_memory()
909 if (rval) in xfs_buf_associate_memory()
910 return rval; in xfs_buf_associate_memory()