Lines Matching defs:size
51 * int lio_write_buffer(int fd, int method, char *buffer, int size,
53 * int lio_read_buffer(int fd, int method, char *buffer, int size,
58 * int lio_check_asyncio(char *io_type, int size, struct iosw *status)
62 * int lio_check_asyncio(char *io_type, int size, aiocb_t *aiocbp, int method)
526 * If the size the system call say was written is different
536 int size, /* the size of the io */
595 iov.iov_len = size;
604 aiocbp.aio_nbytes = size;
692 * to identify the callback, and "size" happens to be handy...
696 aiocbp.aio_sigevent.sigev_value.sival_int = size;
702 * to identify the callback, and "size" happens to be handy...
708 (void *)(uintptr_t) size;
727 sprintf(Lio_SysCall, "write(%d, buf, %d)", fd, size);
735 if (((ret = write(fd, buffer, size)) == -1)
739 __FILE__, __LINE__, fd, size, errno,
745 if (ret != size) {
749 fd, size, ret);
750 size -= ret;
770 "writea(%d, buf, %d, &status, %d)", fd, size, sig);
779 if ((ret = writea(fd, buffer, size, &status, sig)) == -1) {
783 fd, size, sig, errno, strerror(errno));
791 size, sig);
805 fd, size, sig, errno, strerror(errno));
818 request.li_nbyte = size;
830 fd, size);
841 __FILE__, __LINE__, Lio_SysCall, fd, size,
851 ret = lio_check_asyncio(io_type, size, &status);
863 fd, size, sig);
875 __FILE__, __LINE__, Lio_SysCall, fd, size,
886 ret = lio_check_asyncio(io_type, size, &aiocbp, method);
896 request.li_nbyte = size;
908 fd, size);
919 __FILE__, __LINE__, Lio_SysCall, fd, size,
932 fd, size);
944 __FILE__, __LINE__, Lio_SysCall, fd, size,
957 sprintf(Lio_SysCall, "writev(%d, &iov, 1) nbyte:%d", fd, size);
966 __FILE__, __LINE__, fd, size, errno,
971 if (ret != size) {
974 __FILE__, __LINE__, fd, size, ret);
989 "pwrite(%d, buf, %d, %lld)", fd, size,
996 if ((ret = pwrite(fd, buffer, size, poffset)) == -1) {
999 __FILE__, __LINE__, fd, size,
1004 if (ret != size) {
1008 fd, size, (long long)poffset, ret);
1045 * return the size that was requested.
1048 return size;
1054 * If amount i/o was different than size, Errormsg should already
1055 * have been updated but the actual i/o size if returned.
1059 ret = lio_check_asyncio(io_type, size, &status);
1062 ret = lio_check_asyncio(io_type, size, &aiocbp, method);
1101 * If the size the system call say was written is different
1111 int size, /* the size of the io */
1171 iov.iov_len = size;
1180 aiocbp.aio_nbytes = size;
1270 * to identify the callback, and "size" happens to be handy...
1272 aiocbp.aio_sigevent.sigev_value.sival_int = size;
1281 * to identify the callback, and "size" happens to be handy...
1284 (void *)(uintptr_t) size;
1304 sprintf(Lio_SysCall, "read(%d, buf, %d)", fd, size);
1313 if (((ret = read(fd, buffer, size)) == -1)
1317 __FILE__, __LINE__, fd, size, errno,
1325 if (ret != size) {
1329 fd, size, ret);
1330 size -= ret;
1350 "reada(%d, buf, %d, &status, %d)", fd, size, sig);
1359 if ((ret = reada(fd, buffer, size, &status, sig)) == -1) {
1363 fd, size, sig, errno, strerror(errno));
1371 size, sig);
1385 fd, size, sig, errno, strerror(errno));
1398 request.li_nbyte = size;
1410 fd, size);
1421 __FILE__, __LINE__, Lio_SysCall, fd, size,
1431 ret = lio_check_asyncio(io_type, size, &status);
1441 fd, size);
1453 __FILE__, __LINE__, Lio_SysCall, fd, size,
1464 ret = lio_check_asyncio(io_type, size, &aiocbp, method);
1474 request.li_nbyte = size;
1486 fd, size);
1497 __FILE__, __LINE__, Lio_SysCall, fd, size,
1510 fd, size);
1522 __FILE__, __LINE__, Lio_SysCall, fd, size,
1535 sprintf(Lio_SysCall, "readv(%d, &iov, 1) nbyte:%d", fd, size);
1544 __FILE__, __LINE__, fd, size, errno,
1549 if (ret != size) {
1552 __FILE__, __LINE__, fd, size, ret);
1567 "pread(%d, buf, %d, %lld)", fd, size,
1574 if ((ret = pread(fd, buffer, size, poffset)) == -1) {
1577 __FILE__, __LINE__, fd, size,
1582 if (ret != size) {
1586 fd, size, (long long)poffset, ret);
1624 * return the size that was requested.
1627 return size;
1633 * If amount i/o was different than size, Errormsg should already
1634 * have been updated but the actual i/o size if returned.
1638 ret = lio_check_asyncio(io_type, size, &status);
1641 ret = lio_check_asyncio(io_type, size, &aiocbp, method);
1660 int lio_check_asyncio(char *io_type, int size, struct iosw *status)
1662 int lio_check_asyncio(char *io_type, int size, aiocb_t * aiocbp, int method)
1664 int lio_check_asyncio(char *io_type, int size, struct aiocb *aiocbp, int method)
1676 } else if (status->sw_count != size) {
1679 __FILE__, __LINE__, io_type, size, status->sw_count);
1730 if (ret != size) {
1733 __FILE__, __LINE__, io_type, size, ret);
1737 ret = size;
2008 int size = 4096;
2062 size, SIGUSR1, &err,
2063 0)) != size) {
2077 size, SIGUSR2, &err,
2078 0)) != size) {
2116 size, Unit_info[ind].sig, &err,
2117 0)) != size) {
2120 Unit_info[ind].method, size, Unit_info[ind].sig,
2138 size, Unit_info[ind].sig, &err,
2139 0)) != size) {
2142 Unit_info[ind].method, size, Unit_info[ind].sig,