Lines Matching refs:aiocb
87 SMB_STRUCT_AIOCB *aiocb;
231 if (child->aiocb != NULL) {
403 child->aiocb = NULL;
409 SMB_ASSERT(child->retval.size <= child->aiocb->aio_nbytes);
410 memcpy((void *)child->aiocb->aio_buf, (void *)child->map->ptr,
414 mid = child->aiocb->aio_sigevent.sigev_value.sival_int;
423 SMB_ASSERT((child->aiocb == NULL) || child->cancelled);
531 if (child->aiocb == NULL) {
555 struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb)
562 if (aiocb->aio_nbytes > 128*1024) {
575 child->aiocb = aiocb;
579 cmd.n = aiocb->aio_nbytes;
580 cmd.offset = aiocb->aio_offset;
596 struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb)
603 if (aiocb->aio_nbytes > 128*1024) {
616 child->aiocb = aiocb;
619 memcpy((void *)child->map->ptr, (void *)aiocb->aio_buf,
620 aiocb->aio_nbytes);
623 cmd.n = aiocb->aio_nbytes;
624 cmd.offset = aiocb->aio_offset;
640 SMB_STRUCT_AIOCB *aiocb)
651 if (child->aiocb == aiocb) {
661 SMB_STRUCT_AIOCB *aiocb)
663 struct aio_child *child = aio_fork_find_child(handle, aiocb);
671 child->aiocb = NULL;
682 SMB_STRUCT_AIOCB *aiocb)
694 if (child->aiocb == NULL) {
697 if (child->aiocb->aio_fildes != fsp->fh->fd) {
700 if ((aiocb != NULL) && (child->aiocb != aiocb)) {
717 SMB_STRUCT_AIOCB *aiocb)
719 struct aio_child *child = aio_fork_find_child(handle, aiocb);