Home
last modified time | relevance | path

Searched refs:pollepd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_scif_server.c238 struct scif_pollepd pollepd; in cosm_scif_work() local
246 pollepd.epd = cdev->epd; in cosm_scif_work()
247 pollepd.events = EPOLLIN; in cosm_scif_work()
252 rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_TIMEOUT_MSEC); in cosm_scif_work()
261 if (pollepd.revents & EPOLLIN) in cosm_scif_work()
265 if (pollepd.revents & EPOLLHUP) { in cosm_scif_work()
/Linux-v5.4/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c148 struct scif_pollepd pollepd; in cosm_scif_client() local
154 pollepd.epd = client_epd; in cosm_scif_client()
155 pollepd.events = EPOLLIN; in cosm_scif_client()
157 rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_SEND_MSEC); in cosm_scif_client()
166 if (pollepd.revents & EPOLLIN) in cosm_scif_client()