Lines Matching refs:pev
1514 struct k_poll_event **pev, in zsock_poll_prepare_ctx() argument
1518 if (*pev == pev_end) { in zsock_poll_prepare_ctx()
1522 (*pev)->obj = &ctx->recv_q; in zsock_poll_prepare_ctx()
1523 (*pev)->type = K_POLL_TYPE_FIFO_DATA_AVAILABLE; in zsock_poll_prepare_ctx()
1524 (*pev)->mode = K_POLL_MODE_NOTIFY_ONLY; in zsock_poll_prepare_ctx()
1525 (*pev)->state = K_POLL_STATE_NOT_READY; in zsock_poll_prepare_ctx()
1526 (*pev)++; in zsock_poll_prepare_ctx()
1533 if (*pev == pev_end) { in zsock_poll_prepare_ctx()
1538 (*pev)->obj = net_tcp_conn_sem_get(ctx); in zsock_poll_prepare_ctx()
1540 (*pev)->obj = net_tcp_tx_sem_get(ctx); in zsock_poll_prepare_ctx()
1543 (*pev)->type = K_POLL_TYPE_SEM_AVAILABLE; in zsock_poll_prepare_ctx()
1544 (*pev)->mode = K_POLL_MODE_NOTIFY_ONLY; in zsock_poll_prepare_ctx()
1545 (*pev)->state = K_POLL_STATE_NOT_READY; in zsock_poll_prepare_ctx()
1546 (*pev)++; in zsock_poll_prepare_ctx()
1565 struct k_poll_event **pev) in zsock_poll_update_ctx() argument
1570 if ((*pev)->state != K_POLL_STATE_NOT_READY || sock_is_eof(ctx)) { in zsock_poll_update_ctx()
1573 (*pev)++; in zsock_poll_update_ctx()
1579 if ((*pev)->state != K_POLL_STATE_NOT_READY && in zsock_poll_update_ctx()
1584 (*pev)++; in zsock_poll_update_ctx()
2885 struct k_poll_event **pev; in sock_ioctl_vmeth() local
2889 pev = va_arg(args, struct k_poll_event **); in sock_ioctl_vmeth()
2892 return zsock_poll_prepare_ctx(obj, pfd, pev, pev_end); in sock_ioctl_vmeth()
2897 struct k_poll_event **pev; in sock_ioctl_vmeth() local
2900 pev = va_arg(args, struct k_poll_event **); in sock_ioctl_vmeth()
2902 return zsock_poll_update_ctx(obj, pfd, pev); in sock_ioctl_vmeth()