Lines Matching refs:Status
145 EFI_STATUS Status; in SockDestroyChild() local
155 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockDestroyChild()
156 if (EFI_ERROR (Status)) { in SockDestroyChild()
161 Status) in SockDestroyChild()
170 Status = Sock->ProtoHandler (Sock, SOCK_DETACH, NULL); in SockDestroyChild()
172 if (EFI_ERROR (Status)) { in SockDestroyChild()
177 Status) in SockDestroyChild()
191 if (EFI_ERROR (Status)) { in SockDestroyChild()
192 return Status; in SockDestroyChild()
215 EFI_STATUS Status; in SockCreateChild() local
231 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockCreateChild()
232 if (EFI_ERROR (Status)) { in SockCreateChild()
237 Status) in SockCreateChild()
247 Status = Sock->ProtoHandler (Sock, SOCK_ATTACH, NULL); in SockCreateChild()
249 if (EFI_ERROR (Status)) { in SockCreateChild()
254 Status) in SockCreateChild()
281 EFI_STATUS Status; in SockConfigure() local
283 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockConfigure()
284 if (EFI_ERROR (Status)) { in SockConfigure()
289 Status) in SockConfigure()
296 Status = EFI_ACCESS_DENIED; in SockConfigure()
302 Status = Sock->ProtoHandler (Sock, SOCK_CONFIGURE, ConfigData); in SockConfigure()
307 return Status; in SockConfigure()
334 EFI_STATUS Status; in SockConnect() local
337 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockConnect()
338 if (EFI_ERROR (Status)) { in SockConnect()
343 Status) in SockConnect()
350 Status = EFI_NO_MAPPING; in SockConnect()
356 Status = EFI_NOT_STARTED; in SockConnect()
362 Status = EFI_ACCESS_DENIED; in SockConnect()
370 Status = EFI_ACCESS_DENIED; in SockConnect()
376 Status = Sock->ProtoHandler (Sock, SOCK_CONNECT, NULL); in SockConnect()
380 return Status; in SockConnect()
410 EFI_STATUS Status; in SockAccept() local
416 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockAccept()
417 if (EFI_ERROR (Status)) { in SockAccept()
422 Status) in SockAccept()
429 Status = EFI_NO_MAPPING; in SockAccept()
435 Status = EFI_NOT_STARTED; in SockAccept()
441 Status = EFI_ACCESS_DENIED; in SockAccept()
449 Status = EFI_ACCESS_DENIED; in SockAccept()
488 Status = EFI_OUT_OF_RESOURCES; in SockAccept()
494 return Status; in SockAccept()
525 EFI_STATUS Status; in SockSend() local
531 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockSend()
532 if (EFI_ERROR (Status)) { in SockSend()
537 Status) in SockSend()
544 Status = EFI_NO_MAPPING; in SockSend()
552 Status = EFI_NOT_STARTED; in SockSend()
558 Status = EFI_ACCESS_DENIED; in SockSend()
568 Status = EFI_ACCESS_DENIED; in SockSend()
589 Status = EFI_OUT_OF_RESOURCES; in SockSend()
604 Status) in SockSend()
607 Status = EFI_OUT_OF_RESOURCES; in SockSend()
611 Status = SockProcessTcpSndData (Sock, TxData); in SockSend()
613 if (EFI_ERROR (Status)) { in SockSend()
617 Status) in SockSend()
627 return Status; in SockSend()
657 EFI_STATUS Status; in SockRcv() local
662 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockRcv()
663 if (EFI_ERROR (Status)) { in SockRcv()
668 Status) in SockRcv()
676 Status = EFI_NO_MAPPING; in SockRcv()
682 Status = EFI_NOT_STARTED; in SockRcv()
688 Status = EFI_ACCESS_DENIED; in SockRcv()
699 Status = EFI_ACCESS_DENIED; in SockRcv()
722 Status = EFI_CONNECTION_FIN; in SockRcv()
729 Status = Sock->ProtoHandler (Sock, SOCK_CONSUMED, NULL); in SockRcv()
733 Status = EFI_OUT_OF_RESOURCES; in SockRcv()
739 return Status; in SockRcv()
756 EFI_STATUS Status; in SockFlush() local
760 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockFlush()
761 if (EFI_ERROR (Status)) { in SockFlush()
766 Status) in SockFlush()
774 Status = EFI_ACCESS_DENIED; in SockFlush()
778 Status = Sock->ProtoHandler (Sock, SOCK_FLUSH, NULL); in SockFlush()
779 if (EFI_ERROR (Status)) { in SockFlush()
784 Status) in SockFlush()
798 return Status; in SockFlush()
827 EFI_STATUS Status; in SockClose() local
832 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockClose()
833 if (EFI_ERROR (Status)) { in SockClose()
837 Status) in SockClose()
844 Status = EFI_NO_MAPPING; in SockClose()
849 Status = EFI_NOT_STARTED; in SockClose()
854 Status = EFI_ACCESS_DENIED; in SockClose()
861 Status = EFI_ACCESS_DENIED; in SockClose()
869 Status = Sock->ProtoHandler (Sock, SOCK_ABORT, NULL); in SockClose()
871 Status = Sock->ProtoHandler (Sock, SOCK_CLOSE, NULL); in SockClose()
876 return Status; in SockClose()
897 EFI_STATUS Status; in SockCancel() local
899 Status = EFI_SUCCESS; in SockCancel()
903 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockCancel()
904 if (EFI_ERROR (Status)) { in SockCancel()
908 Status) in SockCancel()
915 Status = EFI_NOT_STARTED; in SockCancel()
929 Status = EFI_SUCCESS; in SockCancel()
937 Status = SockCancelToken (Token, &Sock->ListenTokenList); in SockCancel()
938 if (Token != NULL && !EFI_ERROR (Status)) { in SockCancel()
945 Status = SockCancelToken (Token, &Sock->RcvTokenList); in SockCancel()
946 if (Token != NULL && !EFI_ERROR (Status)) { in SockCancel()
953 Status = SockCancelToken (Token, &Sock->SndTokenList); in SockCancel()
954 if (Token != NULL && !EFI_ERROR (Status)) { in SockCancel()
961 Status = SockCancelToken (Token, &Sock->ProcessingSndTokenList); in SockCancel()
965 return Status; in SockCancel()
1008 EFI_STATUS Status; in SockGroup() local
1010 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockGroup()
1012 if (EFI_ERROR (Status)) { in SockGroup()
1017 Status) in SockGroup()
1024 Status = EFI_NOT_STARTED; in SockGroup()
1028 Status = Sock->ProtoHandler (Sock, SOCK_GROUP, GroupInfo); in SockGroup()
1032 return Status; in SockGroup()
1056 EFI_STATUS Status; in SockRoute() local
1058 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockRoute()
1059 if (EFI_ERROR (Status)) { in SockRoute()
1063 Status) in SockRoute()
1070 Status = EFI_NO_MAPPING; in SockRoute()
1075 Status = EFI_NOT_STARTED; in SockRoute()
1079 Status = Sock->ProtoHandler (Sock, SOCK_ROUTE, RouteInfo); in SockRoute()
1083 return Status; in SockRoute()