Home
last modified time | relevance | path

Searched refs:epFd (Results 1 - 8 of 8) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/io/full/
H A DIO_test_epoll_001.cpp50 int epFd; in testcase() local
64 epFd = epoll_create1(100); /* 100, cretae input, */ in testcase()
65 ICUNIT_GOTO_NOT_EQUAL(epFd, -1, epFd, OUT2); in testcase()
68 retval = epoll_ctl(epFd, EPOLL_CTL_ADD, pipeFd[0], &ev); in testcase()
77 retval = epoll_wait(epFd, evWait, 2, 3000); /* 2, num of wait fd. 3000, wait time */ in testcase()
99 close(epFd); in testcase()
108 close(epFd); in testcase()
H A DIO_test_epoll_002.cpp56 int epFd = 0; in testcase() local
88 epFd = epoll_create1(100); /* 100, cretae input, */ in testcase()
89 ICUNIT_GOTO_NOT_EQUAL(epFd, -1, epFd, OUT2); in testcase()
92 retval = epoll_ctl(epFd, EPOLL_CTL_ADD, pipeFd[0], &ev); in testcase()
103 retval = epoll_pwait(epFd, evWait, 2, 3000, &mask); /* 2, num of wait fd. 3000, wait time */ in testcase()
129 close(epFd); in testcase()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Depoll_app.c355 FILLP_LOGERR("epFd will be destroyed, so return"); in EpPoll()
492 static struct FtSocket *SpungeGetEpollSocketByFd(FILLP_INT epFd) in SpungeGetEpollSocketByFd() argument
494 struct FtSocket *epollSock = SockGetSocket(epFd); in SpungeGetEpollSocketByFd()
502 FILLP_LOGERR("Socket-%d state is changing,maybe closing ", epFd); in SpungeGetEpollSocketByFd()
510 epFd, epollSock->allocState); in SpungeGetEpollSocketByFd()
562 FILLP_INT epFd, in SpungeEpollCtlHandleAddEvent()
599 sock->associatedEpollInstanceArr[sock->associatedEpollInstanceIdx++] = epFd; in SpungeEpollCtlHandleAddEvent()
608 FILLP_INT epFd, in SpungeEpollCtlHandleDelEvent()
629 SpungeDelEpInstFromFtSocket(sock, epFd); in SpungeEpollCtlHandleDelEvent()
660 static FILLP_INT SpungeEpollCtlParaChk(FILLP_INT epFd, FILLP_IN argument
559 SpungeEpollCtlHandleAddEvent( struct FtSocket *epollSock, struct FtSocket *sock, FILLP_INT epFd, FILLP_CONST struct EpItem *epi, FILLP_CONST struct SpungeEpollEvent *event) SpungeEpollCtlHandleAddEvent() argument
605 SpungeEpollCtlHandleDelEvent( struct FtSocket *epollSock, struct FtSocket *sock, FILLP_INT epFd, struct EpItem *epi) SpungeEpollCtlHandleDelEvent() argument
681 SpungeEpollCtl(FILLP_INT epFd, FILLP_INT op, FILLP_INT fd, FILLP_CONST struct SpungeEpollEvent *event) SpungeEpollCtl() argument
736 SpungeEpollFindRemove(FILLP_INT epFd, FILLP_INT fd) SpungeEpollFindRemove() argument
794 SpungeEpollWait(FILLP_INT epFd, struct SpungeEpollEvent *events, FILLP_INT maxEvents, FILLP_INT timeout) SpungeEpollWait() argument
[all...]
H A Dspunge_app.c114 void SpungeDelEpInstFromFtSocket(struct FtSocket *sock, FILLP_INT epFd) in SpungeDelEpInstFromFtSocket() argument
121 if (sock->associatedEpollInstanceArr[i] == epFd) { in SpungeDelEpInstFromFtSocket()
H A Dapi.c295 FILLP_INT DLL_API FtEpollCtl(FILLP_INT epFd, FILLP_INT op, FILLP_INT fd, FILLP_CONST struct SpungeEpollEvent *event) in FtEpollCtl() argument
297 return SpungeEpollCtl(epFd, op, fd, event); in FtEpollCtl()
300 FILLP_INT DLL_API FtEpollWait(FILLP_INT epFd, struct SpungeEpollEvent *events, FILLP_INT maxEvents, FILLP_INT timeout) in FtEpollWait() argument
302 return SpungeEpollWait(epFd, events, maxEvents, timeout); in FtEpollWait()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
H A Depoll_app.h24 FILLP_INT SpungeEpollCtl(FILLP_INT epFd, FILLP_INT op, FILLP_INT fd, FILLP_CONST struct SpungeEpollEvent *event);
25 FILLP_INT SpungeEpollFindRemove(FILLP_INT epFd, FILLP_INT fd);
26 FILLP_INT SpungeEpollWait(FILLP_INT epFd, struct SpungeEpollEvent *events, FILLP_INT maxEvents, FILLP_INT timeout);
H A Dspunge_app.h36 void SpungeDelEpInstFromFtSocket(struct FtSocket *sock, FILLP_INT epFd);
/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpinc.h301 * @param[in] epFd Indicates a file descriptor on which the operation is performed.
309 extern FILLP_INT DLL_API FtEpollCtl(FILLP_INT epFd, FILLP_INT op, FILLP_INT fd,
317 * @param[in] epFd Indicates an epoll file descriptor.
333 extern FILLP_INT DLL_API FtEpollWait(FILLP_INT epFd, struct SpungeEpollEvent *events,

Completed in 7 milliseconds