aiocp.c | 130 int init_iocb(int n, int iosize) 143 if (posix_memalign(&buf, alignment, iosize)) 153 memset(buf, 0, iosize); 155 io_prep_pread(iocb_free[i], -1, buf, iosize, 0); 248 int iosize = iocb->u.c.nbytes; local 254 if (res != iosize) { 271 io_prep_pwrite(iocb, fd, buf, iosize, offset); 279 printf("%d", iosize); 507 int iosize = MIN(length - offset, aio_blksize); local 514 iosize, offset) [all...] |