Lines Matching refs:lv
500 struct layout_verification *lv) in verify_extent() argument
502 if (lv->mode == IOMODE_READ) { in verify_extent()
506 if (be->be_f_offset != lv->start) in verify_extent()
508 lv->start += be->be_length; in verify_extent()
513 if (be->be_f_offset != lv->start) in verify_extent()
515 if (lv->cowread > lv->start) in verify_extent()
517 lv->start += be->be_length; in verify_extent()
518 lv->inval = lv->start; in verify_extent()
521 if (be->be_f_offset != lv->start) in verify_extent()
523 lv->start += be->be_length; in verify_extent()
526 if (be->be_f_offset > lv->start) in verify_extent()
528 if (be->be_f_offset < lv->inval) in verify_extent()
530 if (be->be_f_offset < lv->cowread) in verify_extent()
535 lv->inval = lv->inval + be->be_length; in verify_extent()
536 lv->cowread = be->be_f_offset + be->be_length; in verify_extent()
557 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent() argument
594 error = verify_extent(be, lv); in bl_alloc_extent()
614 struct layout_verification lv = { in bl_alloc_lseg() local
658 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
664 lv.start << SECTOR_SHIFT) { in bl_alloc_lseg()
670 if (lv.start < lv.cowread) { in bl_alloc_lseg()