• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/reiserfs/

Lines Matching refs:S_new

286 	struct buffer_head *S_new[2];	/* new nodes allocated to hold what could not fit into S */
288 into S_new (includes partially shifted
290 int sbytes[2]; /* if an item is partially shifted into S_new then
292 it is the number of entries from the item that are shifted into S_new
294 it is the number of bytes from the item that are shifted into S_new
1162 /* here we shift from S to S_new nodes */
1164 S_new[i] = get_FEB(tb);
1167 set_blkh_level(B_BLK_HEAD(S_new[i]), DISK_LEAF_NODE_LEVEL);
1174 if (n - snum[i] < item_pos) { /* new item or it's part falls to first new node S_new[i] */
1175 if (item_pos == n - snum[i] + 1 && sbytes[i] != -1) { /* part of new item falls into S_new[i] */
1181 /* Move snum[i]-1 items from S[0] to S_new[i] */
1184 S_new[i]);
1190 /* Calculate key component and item length to insert into S_new[i] */
1203 /* Insert part of the item into S_new[i] before 0-th item */
1204 buffer_info_init_bh(tb, &bi, S_new[i]);
1228 } else { /* whole new item falls into S_new[i] */
1230 /* Shift snum[0] - 1 items to S_new[i] (sbytes[i] of split item) */
1233 S_new[i]);
1235 /* Insert new item into S_new[i] */
1236 buffer_info_init_bh(tb, &bi, S_new[i]);
1246 else { /* new item or it part don't falls into S_new[i] */
1249 snum[i], sbytes[i], S_new[i]);
1255 if (n - snum[i] <= item_pos) { /* pasted item or part if it falls to S_new[i] */
1274 /* new directory entry falls into S_new[i] */
1290 S_new[i]);
1292 buffer_info_init_bh(tb, &bi, S_new[i]);
1323 } else { /* new directory entry doesn't fall into S_new[i] */
1328 S_new[i]);
1353 S_new[i]);
1355 /* Calculate number of bytes which must remain in body after append to S_new[i] */
1361 /* Append part of body into S_new[0] */
1362 buffer_info_init_bh(tb, &bi, S_new[i]);
1388 B_N_PITEM_HEAD(S_new
1419 /* item falls wholly into S_new[i] */
1442 S_new[i]);
1449 buffer_info_init_bh(tb, &bi, S_new[i]);
1458 B_N_PITEM_HEAD(S_new[i],
1485 else { /* pasted item doesn't fall into S_new[i] */
1488 snum[i], sbytes[i], S_new[i]);
1501 memcpy(insert_key + i, B_N_PKEY(S_new[i], 0), KEY_SIZE);
1502 insert_ptr[i] = S_new[i];
1504 RFALSE(!buffer_journaled(S_new[i])
1505 || buffer_journal_dirty(S_new[i])
1506 || buffer_dirty(S_new[i]), "PAP-12247: S_new[%d] : (%b)",
1507 i, S_new[i]);