Lines Matching refs:obj

520 static ssize_t offload_sendto(void *obj, const void *buf, size_t len,  in offload_sendto()  argument
525 struct modem_socket *sock = (struct modem_socket *) obj; in offload_sendto()
577 static ssize_t offload_recvfrom(void *obj, void *buf, size_t len, in offload_recvfrom() argument
581 struct modem_socket *sock = (struct modem_socket *)obj; in offload_recvfrom()
638 static ssize_t offload_read(void *obj, void *buffer, size_t count) in offload_read() argument
640 return offload_recvfrom(obj, buffer, count, 0, NULL, 0); in offload_read()
646 static ssize_t offload_write(void *obj, const void *buffer, size_t count) in offload_write() argument
648 return offload_sendto(obj, buffer, count, 0, NULL, 0); in offload_write()
654 static int offload_ioctl(void *obj, unsigned int request, va_list args) in offload_ioctl() argument
666 return modem_socket_poll_prepare(&mdata.socket_config, obj, pfd, pev, pev_end); in offload_ioctl()
675 return modem_socket_poll_update(obj, pfd, pev); in offload_ioctl()
687 static int offload_connect(void *obj, const struct sockaddr *addr, in offload_connect() argument
690 struct modem_socket *sock = (struct modem_socket *) obj; in offload_connect()
794 static int offload_close(void *obj) in offload_close() argument
796 struct modem_socket *sock = (struct modem_socket *) obj; in offload_close()
814 static ssize_t offload_sendmsg(void *obj, const struct msghdr *msg, int flags) in offload_sendmsg() argument
826 rc = offload_sendto(obj, buf, len, flags, in offload_sendmsg()