• Home
  • Raw
  • Download

Lines Matching refs:lv

90 	struct xfs_log_vec	*lv,  in xfs_cil_prepare_item()  argument
96 if (lv->lv_buf_len != XFS_LOG_VEC_ORDERED) { in xfs_cil_prepare_item()
97 *diff_len += lv->lv_bytes; in xfs_cil_prepare_item()
98 *diff_iovecs += lv->lv_niovecs; in xfs_cil_prepare_item()
107 lv->lv_item->li_ops->iop_pin(lv->lv_item); in xfs_cil_prepare_item()
108 else if (old_lv != lv) { in xfs_cil_prepare_item()
109 ASSERT(lv->lv_buf_len != XFS_LOG_VEC_ORDERED); in xfs_cil_prepare_item()
117 lv->lv_item->li_lv = lv; in xfs_cil_prepare_item()
125 if (!lv->lv_item->li_seq) in xfs_cil_prepare_item()
126 lv->lv_item->li_seq = log->l_cilp->xc_ctx->sequence; in xfs_cil_prepare_item()
173 struct xfs_log_vec *lv; in xlog_cil_insert_format_items() local
228 lv = lip->li_lv; in xlog_cil_insert_format_items()
229 lv->lv_next = NULL; in xlog_cil_insert_format_items()
238 *diff_iovecs -= lv->lv_niovecs; in xlog_cil_insert_format_items()
239 *diff_len -= lv->lv_bytes; in xlog_cil_insert_format_items()
242 lv = kmem_zalloc(buf_size, KM_SLEEP|KM_NOFS); in xlog_cil_insert_format_items()
243 lv->lv_item = lip; in xlog_cil_insert_format_items()
244 lv->lv_size = buf_size; in xlog_cil_insert_format_items()
248 lv->lv_buf_len = XFS_LOG_VEC_ORDERED; in xlog_cil_insert_format_items()
251 lv->lv_iovecp = (struct xfs_log_iovec *)&lv[1]; in xlog_cil_insert_format_items()
255 lv->lv_niovecs = niovecs; in xlog_cil_insert_format_items()
258 lv->lv_buf_len = 0; in xlog_cil_insert_format_items()
259 lv->lv_bytes = 0; in xlog_cil_insert_format_items()
260 lv->lv_buf = (char *)lv + buf_size - nbytes; in xlog_cil_insert_format_items()
261 ASSERT(IS_ALIGNED((unsigned long)lv->lv_buf, sizeof(uint64_t))); in xlog_cil_insert_format_items()
263 lip->li_ops->iop_format(lip, lv); in xlog_cil_insert_format_items()
265 ASSERT(lv->lv_buf_len <= nbytes); in xlog_cil_insert_format_items()
266 xfs_cil_prepare_item(log, lv, old_lv, diff_len, diff_iovecs); in xlog_cil_insert_format_items()
363 struct xfs_log_vec *lv; in xlog_cil_free_logvec() local
365 for (lv = log_vector; lv; ) { in xlog_cil_free_logvec()
366 struct xfs_log_vec *next = lv->lv_next; in xlog_cil_free_logvec()
367 kmem_free(lv); in xlog_cil_free_logvec()
368 lv = next; in xlog_cil_free_logvec()
435 struct xfs_log_vec *lv; in xlog_cil_push() local
512 lv = NULL; in xlog_cil_push()
523 lv->lv_next = item->li_lv; in xlog_cil_push()
524 lv = item->li_lv; in xlog_cil_push()
526 num_iovecs += lv->lv_niovecs; in xlog_cil_push()