Lines Matching refs:lip
128 struct xfs_log_item *lip;
130 list_for_each_entry(lip, &tp->t_items, li_trans) {
138 if (!test_bit(XFS_LI_DIRTY, &lip->li_flags))
142 lip->li_ops->iop_size(lip, &niovecs, &nbytes);
176 if (!lip->li_lv_shadow ||
177 buf_size > lip->li_lv_shadow->lv_size) {
186 kmem_free(lip->li_lv_shadow);
191 lv->lv_item = lip;
197 lip->li_lv_shadow = lv;
200 lv = lip->li_lv_shadow;
304 struct xfs_log_item *lip;
313 list_for_each_entry(lip, &tp->t_items, li_trans) {
320 if (!test_bit(XFS_LI_DIRTY, &lip->li_flags))
327 shadow = lip->li_lv_shadow;
336 old_lv = lip->li_lv;
337 if (lip->li_lv && shadow->lv_size <= lip->li_lv->lv_size) {
339 lv = lip->li_lv;
363 lv->lv_item = lip;
366 ASSERT(lip->li_lv == NULL);
372 lip->li_ops->iop_format(lip, lv);
392 struct xfs_log_item *lip;
465 list_for_each_entry(lip, &tp->t_items, li_trans) {
468 if (!test_bit(XFS_LI_DIRTY, &lip->li_flags))
476 if (!list_is_last(&lip->li_cil, &cil->xc_cil))
477 list_move_tail(&lip->li_cil, &cil->xc_cil);
1030 struct xfs_log_item *lip, *next;
1063 list_for_each_entry_safe(lip, next, &tp->t_items, li_trans) {
1064 xfs_trans_del_item(lip);
1065 if (lip->li_ops->iop_committing)
1066 lip->li_ops->iop_committing(lip, cil->xc_ctx->sequence);
1182 struct xfs_log_item *lip)
1184 struct xfs_cil *cil = lip->li_mountp->m_log->l_cilp;
1186 if (list_empty(&lip->li_cil))
1194 return lip->li_seq == READ_ONCE(cil->xc_current_sequence);