Lines Matching refs:sfd
75 static int afalg_fin_cipher_aio(afalg_aio *ptr, int sfd,
264 static int afalg_fin_cipher_aio(afalg_aio *aio, int sfd, unsigned char *buf,
287 cb->aio_fildes = sfd;
424 actx->bfd = actx->sfd = -1;
445 actx->sfd = accept(actx->bfd, NULL, 0);
446 if (actx->sfd < 0) {
457 if (actx->sfd >= 0)
458 close(actx->sfd);
459 actx->bfd = actx->sfd = -1;
508 sbytes = sendmsg(actx->sfd, &msg, 0);
525 ret = splice(actx->zc_pipe[0], NULL, actx->sfd, NULL, inl, 0);
535 sbytes = sendmsg(actx->sfd, &msg, 0);
619 close(actx->sfd);
661 ret = afalg_fin_cipher_aio(&actx->aio, actx->sfd, out, inl);
689 close(actx->sfd);