Lines Matching refs:sfv

86 sendvec_chunk64(file_t *fp, u_offset_t *fileoff, struct ksendfilevec64 *sfv,
111 sfv_len = (ssize32_t)sfv->sfv_len;
114 sfv++;
142 sfv_off = sfv->sfv_off;
145 if (sfv->sfv_fd == SFV_FD_SELF) {
174 if ((ffp = getf(sfv->sfv_fd)) == NULL)
178 releasef(sfv->sfv_fd);
184 releasef(sfv->sfv_fd);
195 releasef(sfv->sfv_fd);
204 error = sosendfile64(fp, ffp, sfv,
209 sfv++;
232 releasef(sfv->sfv_fd);
246 releasef(sfv->sfv_fd);
278 releasef(sfv->sfv_fd);
297 releasef(sfv->sfv_fd);
333 releasef(sfv->sfv_fd);
338 releasef(sfv->sfv_fd);
341 sfv++;
353 struct ksendfilevec64 sfv[SEND_MAX_CHUNK];
366 if (copyin(copy_vec, sfv, copy_cnt *
372 error = sendvec_chunk64(fp, &fileoff, sfv, copy_cnt, &count);
394 sendvec_small_chunk(file_t *fp, u_offset_t *fileoff, struct sendfilevec *sfv,
464 sfv_len = (ssize_t)sfv->sfv_len;
467 sfv++;
485 sfv_off = (u_offset_t)(ulong_t)sfv->sfv_off;
487 if (sfv->sfv_fd == SFV_FD_SELF) {
532 if ((ffp = getf(sfv->sfv_fd)) == NULL) {
538 releasef(sfv->sfv_fd);
545 releasef(sfv->sfv_fd);
558 releasef(sfv->sfv_fd);
581 releasef(sfv->sfv_fd);
600 releasef(sfv->sfv_fd);
638 releasef(sfv->sfv_fd);
652 releasef(sfv->sfv_fd);
664 releasef(sfv->sfv_fd);
666 sfv++;
684 sendvec_chunk(file_t *fp, u_offset_t *fileoff, struct sendfilevec *sfv,
740 sfv_len = (ssize_t)sfv->sfv_len;
743 sfv++;
775 sfv_off = (u_offset_t)(ulong_t)sfv->sfv_off;
777 if (sfv->sfv_fd == SFV_FD_SELF) {
865 if ((ffp = getf(sfv->sfv_fd)) == NULL)
869 releasef(sfv->sfv_fd);
877 releasef(sfv->sfv_fd);
888 releasef(sfv->sfv_fd);
909 releasef(sfv->sfv_fd);
927 releasef(sfv->sfv_fd);
963 nowait = (sfv->sfv_flag & SFV_NOWAIT) != 0;
967 releasef(sfv->sfv_fd);
971 sfv++;
985 releasef(sfv->sfv_fd);
1027 releasef(sfv->sfv_fd);
1044 releasef(sfv->sfv_fd);
1061 releasef(sfv->sfv_fd);
1101 releasef(sfv->sfv_fd);
1111 releasef(sfv->sfv_fd);
1113 sfv++;
1130 struct sendfilevec sfv[SEND_MAX_CHUNK];
1200 sfv[i].sfv_fd = sfv32[i].sfv_fd;
1201 sfv[i].sfv_off =
1203 sfv[i].sfv_len = (size_t)sfv32[i].sfv_len;
1204 total_size += sfv[i].sfv_len;
1205 sfv[i].sfv_flag = sfv32[i].sfv_flag;
1213 if (((ssize32_t)sfv[i].sfv_len < 0) ||
1234 if (copyin(copy_vec, sfv,
1241 total_size += sfv[i].sfv_len;
1249 if (((ssize_t)sfv[i].sfv_len < 0) ||
1295 * senfilev() function to consume the sfv[].
1301 sfv, copy_cnt, &count);
1305 &fileoff, sfv, copy_cnt,
1309 sfv, copy_cnt, &count);
1313 error = sendvec_chunk(fp, &fileoff, sfv, copy_cnt,