Lines Matching refs:lv
530 struct layout_verification *lv) in verify_extent() argument
532 if (lv->mode == IOMODE_READ) { in verify_extent()
536 if (be->be_f_offset != lv->start) in verify_extent()
538 lv->start += be->be_length; in verify_extent()
543 if (be->be_f_offset != lv->start) in verify_extent()
545 if (lv->cowread > lv->start) in verify_extent()
547 lv->start += be->be_length; in verify_extent()
548 lv->inval = lv->start; in verify_extent()
551 if (be->be_f_offset != lv->start) in verify_extent()
553 lv->start += be->be_length; in verify_extent()
556 if (be->be_f_offset > lv->start) in verify_extent()
558 if (be->be_f_offset < lv->inval) in verify_extent()
560 if (be->be_f_offset < lv->cowread) in verify_extent()
565 lv->inval = lv->inval + be->be_length; in verify_extent()
566 lv->cowread = be->be_f_offset + be->be_length; in verify_extent()
612 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent() argument
651 error = verify_extent(be, lv); in bl_alloc_extent()
671 struct layout_verification lv = { in bl_alloc_lseg() local
715 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
721 lv.start << SECTOR_SHIFT) { in bl_alloc_lseg()
727 if (lv.start < lv.cowread) { in bl_alloc_lseg()