Searched refs:forward (Results 1 – 5 of 5) sorted by relevance
/fs/hpfs/ |
D | alloc.c | 115 static secno alloc_in_bmp(struct super_block *s, secno near, unsigned n, unsigned forward) in alloc_in_bmp() argument 134 if (!tstbits(bmp, nr, n + forward)) { in alloc_in_bmp() 139 while ((a = tstbits(bmp, q, n + forward)) != 0) { in alloc_in_bmp() 158 if (n + forward >= 0x3f && le32_to_cpu(bmp[i]) != 0xffffffff) goto cont; in alloc_in_bmp() 167 while ((a = tstbits(bmp, q, n + forward)) != 0) { in alloc_in_bmp() 203 secno hpfs_alloc_sector(struct super_block *s, secno near, unsigned n, int forward) in hpfs_alloc_sector() argument 211 if (forward < 0) { in hpfs_alloc_sector() 212 forward = -forward; in hpfs_alloc_sector() 217 if ((sec = alloc_in_bmp(s, near, n, f_p ? forward : forward/4))) goto ret; in hpfs_alloc_sector() 228 if (!f_p) if (forward > sbi->sb_max_fwd_alloc) forward = sbi->sb_max_fwd_alloc; in hpfs_alloc_sector() [all …]
|
/fs/xfs/libxfs/ |
D | xfs_da_btree.c | 1251 int forward; in xfs_da3_node_toosmall() local 1284 forward = (info->forw != 0); in xfs_da3_node_toosmall() 1286 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall() 1310 forward = nodehdr.forw < nodehdr.back; in xfs_da3_node_toosmall() 1311 for (i = 0; i < 2; forward = !forward, i++) { in xfs_da3_node_toosmall() 1313 if (forward) in xfs_da3_node_toosmall() 1342 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall() 1345 error = xfs_da3_path_shift(state, &state->path, forward, in xfs_da3_node_toosmall() 1968 int forward, in xfs_da3_path_shift() argument 2000 if (forward && (blk->index < nodehdr.count - 1)) { in xfs_da3_path_shift() [all …]
|
D | xfs_dir2_node.c | 1494 int forward; /* sibling block direction */ in xfs_dir2_leafn_toosmall() local 1533 forward = (leafhdr.forw != 0); in xfs_dir2_leafn_toosmall() 1535 error = xfs_da3_path_shift(state, &state->altpath, forward, 0, in xfs_dir2_leafn_toosmall() 1549 forward = leafhdr.forw < leafhdr.back; in xfs_dir2_leafn_toosmall() 1550 for (i = 0, bp = NULL; i < 2; forward = !forward, i++) { in xfs_dir2_leafn_toosmall() 1553 blkno = forward ? leafhdr.forw : leafhdr.back; in xfs_dir2_leafn_toosmall() 1597 error = xfs_da3_path_shift(state, &state->altpath, forward, 0, in xfs_dir2_leafn_toosmall() 1600 error = xfs_da3_path_shift(state, &state->path, forward, 0, in xfs_dir2_leafn_toosmall()
|
D | xfs_attr_leaf.c | 1966 int forward; in xfs_attr3_leaf_toosmall() local 2000 forward = (ichdr.forw != 0); in xfs_attr3_leaf_toosmall() 2002 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall() 2022 forward = ichdr.forw < ichdr.back; in xfs_attr3_leaf_toosmall() 2023 for (i = 0; i < 2; forward = !forward, i++) { in xfs_attr3_leaf_toosmall() 2025 if (forward) in xfs_attr3_leaf_toosmall() 2060 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall() 2063 error = xfs_da3_path_shift(state, &state->path, forward, in xfs_attr3_leaf_toosmall()
|
D | xfs_da_btree.h | 185 int forward, int release, int *result);
|