Lines Matching refs:obj
132 static int offload_connect(void *obj, const struct sockaddr *addr, socklen_t addrlen) in offload_connect() argument
134 struct modem_socket *sock = (struct modem_socket *)obj; in offload_connect()
217 static ssize_t offload_sendto(void *obj, const void *buf, size_t len, int flags, in offload_sendto() argument
221 struct modem_socket *sock = (struct modem_socket *)obj; in offload_sendto()
375 static ssize_t offload_recvfrom(void *obj, void *buf, size_t max_len, int flags, in offload_recvfrom() argument
378 struct modem_socket *sock = (struct modem_socket *)obj; in offload_recvfrom()
449 static ssize_t offload_sendmsg(void *obj, const struct msghdr *msg, int flags) in offload_sendmsg() argument
451 struct modem_socket *sock = obj; in offload_sendmsg()
479 ret = offload_sendto(obj, buf, len, flags, msg->msg_name, msg->msg_namelen); in offload_sendmsg()
519 static ssize_t offload_read(void *obj, void *buffer, size_t count) in offload_read() argument
521 return offload_recvfrom(obj, buffer, count, 0, NULL, 0); in offload_read()
527 static ssize_t offload_write(void *obj, const void *buffer, size_t count) in offload_write() argument
529 return offload_sendto(obj, buffer, count, 0, NULL, 0); in offload_write()
535 static int offload_close(void *obj) in offload_close() argument
537 struct modem_socket *sock = (struct modem_socket *)obj; in offload_close()
564 void *obj; in offload_poll() local
579 obj = zvfs_get_fd_obj(fds[i].fd, in offload_poll()
582 if (obj == NULL) { in offload_poll()
593 static int offload_ioctl(void *obj, unsigned int request, va_list args) in offload_ioctl() argument