Lines Matching refs:loop_len
1109 int loop_len; in scif_user_send() local
1133 loop_len = len - sent_len; in scif_user_send()
1134 loop_len = min(chunk_len, loop_len); in scif_user_send()
1135 if (copy_from_user(tmp, msg, loop_len)) { in scif_user_send()
1139 err = _scif_send(epd, tmp, loop_len, flags); in scif_user_send()
1144 if (err != loop_len) in scif_user_send()
1170 int loop_len; in scif_user_recv() local
1194 loop_len = len - recv_len; in scif_user_recv()
1195 loop_len = min(chunk_len, loop_len); in scif_user_recv()
1196 err = _scif_recv(epd, tmp, loop_len, flags); in scif_user_recv()
1205 if (err != loop_len) in scif_user_recv()