Lines Matching refs:obj
232 static ssize_t nsos_read(void *obj, void *buf, size_t sz) in nsos_read() argument
234 struct nsos_socket *sock = obj; in nsos_read()
245 static ssize_t nsos_write(void *obj, const void *buf, size_t sz) in nsos_write() argument
247 struct nsos_socket *sock = obj; in nsos_write()
258 static int nsos_close(void *obj) in nsos_close() argument
260 struct nsos_socket *sock = obj; in nsos_close()
354 static int nsos_ioctl(void *obj, unsigned int request, va_list args) in nsos_ioctl() argument
356 struct nsos_socket *sock = obj; in nsos_ioctl()
368 return nsos_poll_prepare(obj, pfd, pev, pev_end, &sock->poll); in nsos_ioctl()
378 return nsos_poll_update(obj, pfd, pev, &sock->poll); in nsos_ioctl()
627 static int nsos_bind(void *obj, const struct sockaddr *addr, socklen_t addrlen) in nsos_bind() argument
629 struct nsos_socket *sock = obj; in nsos_bind()
692 static int nsos_connect(void *obj, const struct sockaddr *addr, socklen_t addrlen) in nsos_connect() argument
694 struct nsos_socket *sock = obj; in nsos_connect()
723 static int nsos_listen(void *obj, int backlog) in nsos_listen() argument
725 struct nsos_socket *sock = obj; in nsos_listen()
737 static int nsos_accept(void *obj, struct sockaddr *addr, socklen_t *addrlen) in nsos_accept() argument
739 struct nsos_socket *accept_sock = obj; in nsos_accept()
797 static ssize_t nsos_sendto(void *obj, const void *buf, size_t len, int flags, in nsos_sendto() argument
800 struct nsos_socket *sock = obj; in nsos_sendto()
836 static ssize_t nsos_sendmsg(void *obj, const struct msghdr *msg, int flags) in nsos_sendmsg() argument
838 struct nsos_socket *sock = obj; in nsos_sendmsg()
897 static ssize_t nsos_recvfrom(void *obj, void *buf, size_t len, int flags, in nsos_recvfrom() argument
900 struct nsos_socket *sock = obj; in nsos_recvfrom()
936 static ssize_t nsos_recvmsg(void *obj, struct msghdr *msg, int flags) in nsos_recvmsg() argument
1046 static int nsos_getsockopt(void *obj, int level, int optname, in nsos_getsockopt() argument
1049 struct nsos_socket *sock = obj; in nsos_getsockopt()
1224 static int nsos_setsockopt(void *obj, int level, int optname, in nsos_setsockopt() argument
1227 struct nsos_socket *sock = obj; in nsos_setsockopt()
1548 static void nsos_isr(const void *obj) in nsos_isr() argument