#include <linux/time.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "reiserfs.h"
#include <linux/buffer_head.h>
Go to the source code of this file.
#define LEFT_SHIFT_FLOW 15 |
#define LEFT_SHIFT_NO_FLOW 10 |
#define LR_SHIFT_NO_FLOW 30 |
#define NO_FLOW 0 /* do not any splitting */ |
#define NOTHING_SHIFT_FLOW 5 |
#define NOTHING_SHIFT_NO_FLOW 0 |
#define RIGHT_PARENTS 'r' |
#define RIGHT_SHIFT_FLOW 25 |
#define RIGHT_SHIFT_NO_FLOW 20 |
#define SET_PAR_SHIFT_LEFT |
Value:
{\
int to_l;\
\
to_l = (
MAX_NR_KEY(Sh)+1 - lpar +
vn->vn_nr_item + 1) / 2 -\
\
set_parameters (
tb,
h, to_l, 0, lnver,
NULL, -1, -1);\
}\
else \
{\
if (lset==LEFT_SHIFT_FLOW)\
set_parameters (
tb,
h, lpar, 0, lnver, snum012+lset,\
else\
set_parameters (
tb,
h, lpar - (
tb->lbytes!=-1), 0, lnver, snum012+lset,\
-1, -1);\
}
Definition at line 711 of file fix_node.c.
#define SET_PAR_SHIFT_RIGHT |
Value:
{\
int to_r;\
\
\
set_parameters (
tb,
h, 0, to_r, rnver,
NULL, -1, -1);\
}\
else \
{\
if (rset==RIGHT_SHIFT_FLOW)\
set_parameters (
tb,
h, 0, rpar, rnver, snum012+rset,\
else\
set_parameters (
tb,
h, 0, rpar - (
tb->rbytes!=-1), rnver, snum012+rset,\
-1, -1);\
}
Definition at line 731 of file fix_node.c.