Lines Matching refs:obj

289 static ssize_t send_socket_data(void *obj,  in send_socket_data()  argument
298 struct modem_socket *sock = (struct modem_socket *)obj; in send_socket_data()
1490 static int offload_close(void *obj) in offload_close() argument
1492 struct modem_socket *sock = (struct modem_socket *)obj; in offload_close()
1516 static int offload_bind(void *obj, const struct sockaddr *addr, in offload_bind() argument
1519 struct modem_socket *sock = (struct modem_socket *)obj; in offload_bind()
1534 static int offload_connect(void *obj, const struct sockaddr *addr, in offload_connect() argument
1537 struct modem_socket *sock = (struct modem_socket *)obj; in offload_connect()
1602 static ssize_t offload_recvfrom(void *obj, void *buf, size_t len, in offload_recvfrom() argument
1606 struct modem_socket *sock = (struct modem_socket *)obj; in offload_recvfrom()
1687 static ssize_t offload_sendto(void *obj, const void *buf, size_t len, in offload_sendto() argument
1702 int ret = send_socket_data(obj, &msg, MDM_CMD_TIMEOUT); in offload_sendto()
1712 static int offload_ioctl(void *obj, unsigned int request, va_list args) in offload_ioctl() argument
1724 return modem_socket_poll_prepare(&mdata.socket_config, obj, pfd, pev, pev_end); in offload_ioctl()
1733 return modem_socket_poll_update(obj, pfd, pev); in offload_ioctl()
1745 static ssize_t offload_read(void *obj, void *buffer, size_t count) in offload_read() argument
1747 return offload_recvfrom(obj, buffer, count, 0, NULL, 0); in offload_read()
1750 static ssize_t offload_write(void *obj, const void *buffer, size_t count) in offload_write() argument
1752 return offload_sendto(obj, buffer, count, 0, NULL, 0); in offload_write()
1755 static ssize_t offload_sendmsg(void *obj, const struct msghdr *msg, int flags) in offload_sendmsg() argument
1816 ret = send_socket_data(obj, &crafted_msg, MDM_CMD_TIMEOUT); in offload_sendmsg()
1889 static int offload_setsockopt(void *obj, int level, int optname, in offload_setsockopt() argument
1892 struct modem_socket *sock = (struct modem_socket *)obj; in offload_setsockopt()