Lines Matching defs:shadow
105 * The simplest solution to this problem is to allocate a shadow buffer when a
173 * if we have no shadow buffer, or it is too small, we need to
240 * old_lv, then remove the space it accounts for and make it the shadow
242 * shadow buffer, so update the pointer to it appropriately.
279 * dependent on the current state of the vector in the CIL - the shadow lv is
282 * lv, then simple swap it out for the shadow lv. We don't free it - that is
316 struct xfs_log_vec *shadow;
325 * the shadow lv on the log item.
327 shadow = lip->li_lv_shadow;
328 if (shadow->lv_buf_len == XFS_LOG_VEC_ORDERED)
332 if (!shadow->lv_niovecs && !ordered)
337 if (lip->li_lv && shadow->lv_size <= lip->li_lv->lv_size) {
353 lv->lv_niovecs = shadow->lv_niovecs;
361 /* switch to shadow buffer! */
362 lv = shadow;