Lines Matching full:lv
506 struct layout_verification *lv) in verify_extent() argument
508 if (lv->mode == IOMODE_READ) { in verify_extent()
512 if (be->be_f_offset != lv->start) in verify_extent()
514 lv->start += be->be_length; in verify_extent()
517 /* lv->mode == IOMODE_RW */ in verify_extent()
519 if (be->be_f_offset != lv->start) in verify_extent()
521 if (lv->cowread > lv->start) in verify_extent()
523 lv->start += be->be_length; in verify_extent()
524 lv->inval = lv->start; in verify_extent()
527 if (be->be_f_offset != lv->start) in verify_extent()
529 lv->start += be->be_length; in verify_extent()
532 if (be->be_f_offset > lv->start) in verify_extent()
534 if (be->be_f_offset < lv->inval) in verify_extent()
536 if (be->be_f_offset < lv->cowread) in verify_extent()
538 /* It looks like you might want to min this with lv->start, in verify_extent()
541 lv->inval = lv->inval + be->be_length; in verify_extent()
542 lv->cowread = be->be_f_offset + be->be_length; in verify_extent()
590 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent() argument
629 error = verify_extent(be, lv); in bl_alloc_extent()
649 struct layout_verification lv = { in bl_alloc_lseg() local
693 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
699 lv.start << SECTOR_SHIFT) { in bl_alloc_lseg()
705 if (lv.start < lv.cowread) { in bl_alloc_lseg()