Lines Matching refs:lb_size
2997 u32 lb_size = sdebug_sector_size; in comp_write_worker() local
3004 res = !memcmp(fsp + (block * lb_size), arr, (num - rest) * lb_size); in comp_write_worker()
3008 res = memcmp(fsp, arr + ((num - rest) * lb_size), in comp_write_worker()
3009 rest * lb_size); in comp_write_worker()
3014 arr += num * lb_size; in comp_write_worker()
3015 memcpy(fsp + (block * lb_size), arr, (num - rest) * lb_size); in comp_write_worker()
3017 memcpy(fsp, arr + ((num - rest) * lb_size), rest * lb_size); in comp_write_worker()
3592 u32 lb_size = sdebug_sector_size; in resp_write_scat() local
3634 lbdof_blen = lbdof * lb_size; in resp_write_scat()
3672 num_by = num * lb_size; in resp_write_scat()
3751 u32 lb_size = sdebug_sector_size; in resp_write_same() local
3775 fs1p = fsp + (block * lb_size); in resp_write_same()
3777 memset(fs1p, 0, lb_size); in resp_write_same()
3780 ret = fetch_to_dev_buffer(scp, fs1p, lb_size); in resp_write_same()
3785 } else if (sdebug_verbose && !ndob && (ret < lb_size)) in resp_write_same()
3788 my_name, "write same", lb_size, ret); in resp_write_same()
3794 memmove(fsp + (block * lb_size), fs1p, lb_size); in resp_write_same()
3918 u32 lb_size = sdebug_sector_size; in resp_comp_write() local
3941 arr = kcalloc(lb_size, dnum, GFP_ATOMIC); in resp_comp_write()
3954 } else if (sdebug_verbose && (ret < (dnum * lb_size))) in resp_comp_write()
3957 dnum * lb_size, ret); in resp_comp_write()
4262 const u32 lb_size = sdebug_sector_size; in resp_verify() local
4299 arr = kcalloc(lb_size, vnum, GFP_ATOMIC | __GFP_NOWARN); in resp_verify()
4312 } else if (sdebug_verbose && (ret < (a_num * lb_size))) { in resp_verify()
4315 my_name, __func__, a_num * lb_size, ret); in resp_verify()
4318 for (j = 1, off = lb_size; j < vnum; ++j, off += lb_size) in resp_verify()
4319 memcpy(arr + off, arr, lb_size); in resp_verify()