Lines Matching refs:tocopy
2711 int tocopy;
2722 tocopy = sb->s_blocksize - offset < toread ?
2728 memset(data, 0, tocopy);
2730 memcpy(data, bh->b_data+offset, tocopy);
2733 toread -= tocopy;
2734 data += tocopy;
2749 int tocopy;
2757 tocopy = sb->s_blocksize - offset < towrite ?
2770 memcpy(bh->b_data+offset, data, tocopy);
2784 towrite -= tocopy;
2785 data += tocopy;