• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/xfs/

Lines Matching defs:item

149  * Insert the log item into the CIL and calculate the difference in space
150 * consumed by the item. Add the space to the checkpoint ticket and calculate
155 * If this is the first time the item is being placed into the CIL in this
163 struct xfs_log_item *item,
174 /* existing lv on log item, space used is a delta */
175 ASSERT(!list_empty(&item->li_cil));
183 /* new lv, must pin the log item */
185 ASSERT(list_empty(&item->li_cil));
194 /* attach new log vector to log item */
198 list_move_tail(&item->li_cil, &cil->xc_cil);
202 * If this is the first time the item is being committed to the CIL,
203 * store the sequence number on the log item so we can tell
204 * in future commits whether this is the first checkpoint the item is
207 if (!item->li_seq)
208 item->li_seq = ctx->sequence;
245 * Format log item into a flat buffers
248 * changes on the log item. This enables us to relog the item in memory and
252 * This function builds a vector for the changes in each log item in the
254 * item, allocates them and formats the vector for the item into the buffer.
255 * The buffer is then attached to the log item are then inserted into the
263 * item/region encapsulation.
445 struct xfs_log_item *item;
448 item = list_first_entry(&cil->xc_cil,
450 list_del_init(&item->li_cil);
452 ctx->lv_chain = item->li_lv;
454 lv->lv_next = item->li_lv;
455 lv = item->li_lv;
456 item->li_lv = NULL;
597 * To do this, we need to format the item, pin it in memory if required and
738 * Check if the current log item was first committed in this sequence.
739 * We can't rely on just the log item being in the CIL, we have to check
744 * transaction commit process when deciding what to format into the item.
760 * li_seq is written on the first commit of a log item to record the