Lines Matching refs:from

12  * copy copy_count entries from source directory item to dest buffer
17 int item_num, int from, int copy_count)
41 copy_records_len = (from ? deh_location(&deh[from - 1]) :
43 deh_location(&deh[from + copy_count - 1]);
46 deh_location(&deh[from + copy_count - 1]);
82 if (from < ih_entry_count(ih)) {
84 deh_offset(&deh[from]));
123 : 0, copy_count, deh + from, records,
130 * (see the return 0 below) from SOURCE to the end (if last_first)
149 * then there is no need to treat this item differently from the
304 * copy cpy_mun items from buffer src to buffer dest
306 * from first-th item in src to tail of dest
308 * from first-th item in src to head of dest
325 "vs-10100: too few items in source %d, required %d from %d",
516 * If cpy_bytes equals minus one than copy cpy_num whole items from SOURCE
518 * items from SOURCE to DEST. From last item copy cpy_num bytes for regular
558 * copy first cpy_num items starting from position
565 * copy first cpy_num-1 items starting from position
600 * starting from position 'pos' copy last cpy_num
607 * copy last cpy_num-1 items starting from position
625 * there are types of coping: from S[0] to L[0], from S[0] to R[0],
626 * from R[0] to L[0]. for each of these we have to define parent and
713 * neighbor. Delete them from source
739 * shift_bytes != -1) from S[0] to L[0] and replace the delimiting key
747 * move shift_num (and shift_bytes bytes) items from S[0]
773 /* replace lkey in CFL[0] by 0-th key from S[0]; */
791 * Shift shift_num (shift_bytes) items from S[0] to the right neighbor,
799 * move shift_num (and shift_bytes) items from S[0] to
805 /* replace rkey in CFR[0] by the 0-th key from R[0] */
817 * If del_bytes == -1, starting from position 'first' delete del_num
820 * If last_first == 0. Starting from position 'first' delete del_num-1
823 * If last_first == 1. Starting from position 'first+1' delete del_num-1
852 /* delete del_num items beginning from item in position first */
857 * delete del_num-1 items beginning from
872 * delete del_num-1 items beginning from
1067 * cuts DEL_COUNT entries beginning from FROM-th entry. Directory item
1073 struct item_head *ih, int from, int del_count)
1077 int prev_record_offset; /* offset of record, that is (from-1)th */
1087 RFALSE(ih_entry_count(ih) < from + del_count,
1088 "10185: item contains not enough entries: entry_count = %d, from = %d, to delete = %d",
1089 ih_entry_count(ih), from, del_count);
1105 (from ? deh_location(&deh[from - 1]) : ih_item_len(ih));
1107 deh_location(&deh[from + del_count - 1]);
1111 for (i = ih_entry_count(ih) - 1; i > from + del_count - 1; i--)
1116 for (i = 0; i < from; i++)
1124 memmove((char *)(deh + from),
1125 deh + from + del_count,
1126 prev_record - cut_records_len - (char *)(deh + from +
1139 * cut_size - number of bytes to be cut beginning from pos_in_item
1180 /* shift item body to left if cut is from the head of item */
1239 /* delete del_num items from buffer starting from the first'th item */