Home | History | Annotate | Download | only in solaris

Lines Matching refs:vec

366    struct sendfilevec vec[2];
367 vec[0].sfv_fd = SFV_FD_SELF;
368 vec[0].sfv_off = (off_t)(x0 + 1);
369 vec[0].sfv_len = x0 + 1;
370 vec[0].sfv_flag = 0; // should be set to zero according to man page
371 vec[1].sfv_fd = x0 - 1;
372 vec[1].sfv_off = x0;
373 vec[1].sfv_len = x0 + 1;
374 vec[1].sfv_flag = 0; // should be set to zero according to man page
377 SY(SYS_sendfilev, x0 + SENDFILEV, x0 - 1, vec, 2, x0 + 1); FAIL;
390 struct sendfilevec64 vec[2];
391 vec[0].sfv_fd = SFV_FD_SELF;
392 vec[0].sfv_off = (off_t)(x0 + 1);
393 vec[0].sfv_len = x0 + 1;
394 vec[0].sfv_flag = 0; // should be set to zero according to man page
395 vec[1].sfv_fd = x0 - 1;
396 vec[1].sfv_off = x0;
397 vec[1].sfv_len = x0 + 1;
398 vec[1].sfv_flag = 0; // should be set to zero according to man page
401 SY(SYS_sendfilev, x0 + SENDFILEV64, x0 - 1, vec, 2, x0 + 1); FAIL;