Lines Matching defs:pem
228 struct linux_pemuldata *pem;
234 pem = pem_find(p);
235 KASSERT(pem != NULL, ("epoll proc emuldata not found.\n"));
237 LINUX_PEM_XLOCK(pem);
238 if (pem->epoll == NULL) {
241 pem->epoll = emd;
243 emd = pem->epoll;
247 pem->epoll = emd;
251 LINUX_PEM_XUNLOCK(pem);
305 struct linux_pemuldata *pem;
337 pem = pem_find(p);
338 KASSERT(pem != NULL, ("epoll proc emuldata not found.\n"));
339 KASSERT(pem->epoll != NULL, ("epoll proc epolldata not found.\n"));
341 LINUX_PEM_XLOCK(pem);
342 if ((pem->flags & LINUX_XUNSUP_EPOLL) == 0) {
343 pem->flags |= LINUX_XUNSUP_EPOLL;
344 LINUX_PEM_XUNLOCK(pem);
348 LINUX_PEM_XUNLOCK(pem);
392 struct linux_pemuldata *pem;
400 pem = pem_find(args->p);
401 KASSERT(pem != NULL, ("epoll proc emuldata not found.\n"));
402 LINUX_PEM_SLOCK(pem);
403 emd = pem->epoll;
414 LINUX_PEM_SUNLOCK(pem);