• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/

Lines Matching refs:S_new

264 	struct buffer_head *S_new[2];	/* new nodes allocated to hold what could not fit into S */
266 into S_new (includes partially shifted
268 int sbytes[2]; /* if an item is partially shifted into S_new then
270 it is the number of entries from the item that are shifted into S_new
272 it is the number of bytes from the item that are shifted into S_new
1189 /* here we shift from S to S_new nodes */
1191 S_new[i] = get_FEB(tb);
1194 set_blkh_level(B_BLK_HEAD(S_new[i]), DISK_LEAF_NODE_LEVEL);
1201 if (n - snum[i] < item_pos) { /* new item or it's part falls to first new node S_new[i] */
1202 if (item_pos == n - snum[i] + 1 && sbytes[i] != -1) { /* part of new item falls into S_new[i] */
1208 /* Move snum[i]-1 items from S[0] to S_new[i] */
1211 S_new[i]);
1217 /* Calculate key component and item length to insert into S_new[i] */
1230 /* Insert part of the item into S_new[i] before 0-th item */
1232 bi.bi_bh = S_new[i];
1258 } else { /* whole new item falls into S_new[i] */
1260 /* Shift snum[0] - 1 items to S_new[i] (sbytes[i] of split item) */
1263 S_new[i]);
1265 /* Insert new item into S_new[i] */
1267 bi.bi_bh = S_new[i];
1279 else { /* new item or it part don't falls into S_new[i] */
1282 snum[i], sbytes[i], S_new[i]);
1288 if (n - snum[i] <= item_pos) { /* pasted item or part if it falls to S_new[i] */
1308 /* new directory entry falls into S_new[i] */
1324 S_new[i]);
1327 bi.bi_bh = S_new[i];
1361 } else { /* new directory entry doesn't fall into S_new[i] */
1366 S_new[i]);
1391 S_new[i]);
1393 /* Calculate number of bytes which must remain in body after append to S_new[i] */
1399 /* Append part of body into S_new[0] */
1401 bi.bi_bh = S_new[i];
1430 B_N_PITEM_HEAD(S_new
1461 /* item falls wholly into S_new[i] */
1481 S_new[i]);
1489 bi.bi_bh = S_new[i];
1500 B_N_PITEM_HEAD(S_new[i],
1527 else { /* pasted item doesn't fall into S_new[i] */
1530 snum[i], sbytes[i], S_new[i]);
1543 memcpy(insert_key + i, B_N_PKEY(S_new[i], 0), KEY_SIZE);
1544 insert_ptr[i] = S_new[i];
1546 RFALSE(!buffer_journaled(S_new[i])
1547 || buffer_journal_dirty(S_new[i])
1548 || buffer_dirty(S_new[i]), "PAP-12247: S_new[%d] : (%b)",
1549 i, S_new[i]);