Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_dir2.c201 int rval; in xfs_dir_createname() local
205 if ((rval = xfs_dir_ino_validate(tp->t_mountp, inum))) in xfs_dir_createname()
206 return rval; in xfs_dir_createname()
223 rval = xfs_dir2_sf_addname(&args); in xfs_dir_createname()
224 else if ((rval = xfs_dir2_isblock(tp, dp, &v))) in xfs_dir_createname()
225 return rval; in xfs_dir_createname()
227 rval = xfs_dir2_block_addname(&args); in xfs_dir_createname()
228 else if ((rval = xfs_dir2_isleaf(tp, dp, &v))) in xfs_dir_createname()
229 return rval; in xfs_dir_createname()
231 rval = xfs_dir2_leaf_addname(&args); in xfs_dir_createname()
[all …]
Dxfs_dir2_node.c49 int *rval);
1196 int *rval) /* resulting block needs join */ in xfs_dir2_leafn_remove() argument
1340 *rval = (xfs_dir3_leaf_hdr_size(leaf) + in xfs_dir2_leafn_remove()
1430 int rval; /* result from path_shift */ in xfs_dir2_leafn_toosmall() local
1468 &rval); in xfs_dir2_leafn_toosmall()
1471 *action = rval ? 2 : 0; in xfs_dir2_leafn_toosmall()
1530 &rval); in xfs_dir2_leafn_toosmall()
1533 &rval); in xfs_dir2_leafn_toosmall()
1537 *action = rval ? 0 : 1; in xfs_dir2_leafn_toosmall()
1612 int rval; /* sub-return value */ in xfs_dir2_node_addname() local
[all …]
Dxfs_dquot_item.c147 uint rval = XFS_ITEM_SUCCESS; in xfs_qm_dquot_logitem_push() local
161 rval = XFS_ITEM_PINNED; in xfs_qm_dquot_logitem_push()
171 rval = XFS_ITEM_FLUSHING; in xfs_qm_dquot_logitem_push()
183 rval = XFS_ITEM_FLUSHING; in xfs_qm_dquot_logitem_push()
190 return rval; in xfs_qm_dquot_logitem_push()
Dxfs_bmap.c203 xfs_filblks_t rval; /* return value */ in xfs_bmap_worst_indlen() local
207 for (level = 0, rval = 0; in xfs_bmap_worst_indlen()
212 rval += len; in xfs_bmap_worst_indlen()
214 return rval + XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) - in xfs_bmap_worst_indlen()
219 return rval; in xfs_bmap_worst_indlen()
1998 int rval; /* return value */ in xfs_bmap_one_block() local
2013 rval = s.br_startoff == 0 && s.br_blockcount == 1; in xfs_bmap_one_block()
2014 if (rval && whichfork == XFS_DATA_FORK) in xfs_bmap_one_block()
2016 return rval; in xfs_bmap_one_block()
2039 int rval=0; /* return value (logging flags) */ in xfs_bmap_add_extent_delay_real() local
[all …]
Dxfs_itable.c217 int rval; /* return value error code */ in xfs_bulkstat() local
263 rval = 0; in xfs_bulkstat()
481 rval = error; in xfs_bulkstat()
490 rval = error; in xfs_bulkstat()
527 rval = 0; in xfs_bulkstat()
539 return rval; in xfs_bulkstat()
Dxfs_inode_item.c478 uint rval = XFS_ITEM_SUCCESS; in xfs_inode_item_push() local
492 rval = XFS_ITEM_PINNED; in xfs_inode_item_push()
500 rval = XFS_ITEM_PINNED; in xfs_inode_item_push()
510 rval = XFS_ITEM_FLUSHING; in xfs_inode_item_push()
522 rval = XFS_ITEM_FLUSHING; in xfs_inode_item_push()
529 return rval; in xfs_inode_item_push()
Dxfs_buf_item.c463 uint rval = XFS_ITEM_SUCCESS; in xfs_buf_item_push() local
485 rval = XFS_ITEM_FLUSHING; in xfs_buf_item_push()
487 return rval; in xfs_buf_item_push()
Dxfs_buf.c798 int rval; in xfs_buf_associate_memory() local
817 rval = _xfs_buf_get_pages(bp, page_count, 0); in xfs_buf_associate_memory()
818 if (rval) in xfs_buf_associate_memory()
819 return rval; in xfs_buf_associate_memory()
Dxfs_btree.c782 int rval = 0; in xfs_btree_readahead_lblock() local
789 rval++; in xfs_btree_readahead_lblock()
795 rval++; in xfs_btree_readahead_lblock()
798 return rval; in xfs_btree_readahead_lblock()
807 int rval = 0; in xfs_btree_readahead_sblock() local
815 rval++; in xfs_btree_readahead_sblock()
821 rval++; in xfs_btree_readahead_sblock()
824 return rval; in xfs_btree_readahead_sblock()
Dxfs_dir2_leaf.c2115 int rval; /* successful free trim? */ in xfs_dir2_node_to_leaf() local
2147 if ((error = xfs_dir2_node_trim_free(args, fo, &rval))) { in xfs_dir2_node_to_leaf()
2150 if (rval) in xfs_dir2_node_to_leaf()