Lines Matching refs:obj

55 	void *obj;  in sock_dispatch_socket()  local
63 obj = zvfs_get_fd_obj_and_vtable(new_fd, in sock_dispatch_socket()
66 if (obj == NULL) { in sock_dispatch_socket()
72 zvfs_finalize_typed_fd(fd, obj, (const struct fd_op_vtable *)vtable, ZVFS_MODE_IFSOCK); in sock_dispatch_socket()
140 static ssize_t sock_dispatch_read_vmeth(void *obj, void *buffer, size_t count) in sock_dispatch_read_vmeth() argument
146 fd = sock_dispatch_default(obj); in sock_dispatch_read_vmeth()
159 static ssize_t sock_dispatch_write_vmeth(void *obj, const void *buffer, in sock_dispatch_write_vmeth() argument
166 fd = sock_dispatch_default(obj); in sock_dispatch_write_vmeth()
179 static int sock_dispatch_ioctl_vmeth(void *obj, unsigned int request, in sock_dispatch_ioctl_vmeth() argument
191 fd = sock_dispatch_default(obj); in sock_dispatch_ioctl_vmeth()
204 static int sock_dispatch_shutdown_vmeth(void *obj, int how) in sock_dispatch_shutdown_vmeth() argument
206 int fd = sock_dispatch_default(obj); in sock_dispatch_shutdown_vmeth()
215 static int sock_dispatch_bind_vmeth(void *obj, const struct sockaddr *addr, in sock_dispatch_bind_vmeth() argument
218 int fd = sock_dispatch_default(obj); in sock_dispatch_bind_vmeth()
227 static int sock_dispatch_connect_vmeth(void *obj, const struct sockaddr *addr, in sock_dispatch_connect_vmeth() argument
230 int fd = sock_dispatch_default(obj); in sock_dispatch_connect_vmeth()
239 static int sock_dispatch_listen_vmeth(void *obj, int backlog) in sock_dispatch_listen_vmeth() argument
241 int fd = sock_dispatch_default(obj); in sock_dispatch_listen_vmeth()
250 static int sock_dispatch_accept_vmeth(void *obj, struct sockaddr *addr, in sock_dispatch_accept_vmeth() argument
253 int fd = sock_dispatch_default(obj); in sock_dispatch_accept_vmeth()
262 static ssize_t sock_dispatch_sendto_vmeth(void *obj, const void *buf, in sock_dispatch_sendto_vmeth() argument
267 int fd = sock_dispatch_default(obj); in sock_dispatch_sendto_vmeth()
276 static ssize_t sock_dispatch_sendmsg_vmeth(void *obj, const struct msghdr *msg, in sock_dispatch_sendmsg_vmeth() argument
279 int fd = sock_dispatch_default(obj); in sock_dispatch_sendmsg_vmeth()
288 static ssize_t sock_dispatch_recvfrom_vmeth(void *obj, void *buf, in sock_dispatch_recvfrom_vmeth() argument
293 int fd = sock_dispatch_default(obj); in sock_dispatch_recvfrom_vmeth()
302 static int sock_dispatch_getsockopt_vmeth(void *obj, int level, int optname, in sock_dispatch_getsockopt_vmeth() argument
305 int fd = sock_dispatch_default(obj); in sock_dispatch_getsockopt_vmeth()
314 static int sock_dispatch_setsockopt_vmeth(void *obj, int level, int optname, in sock_dispatch_setsockopt_vmeth() argument
360 fd = sock_dispatch_socket(obj, net_if_socket_offload(iface)); in sock_dispatch_setsockopt_vmeth()
363 fd = sock_dispatch_native(obj); in sock_dispatch_setsockopt_vmeth()
367 struct dispatcher_context *ctx = obj; in sock_dispatch_setsockopt_vmeth()
380 fd = sock_dispatch_native(obj); in sock_dispatch_setsockopt_vmeth()
386 fd = sock_dispatch_default(obj); in sock_dispatch_setsockopt_vmeth()
396 static int sock_dispatch_close_vmeth(void *obj) in sock_dispatch_close_vmeth() argument
398 dispatcher_ctx_free(obj); in sock_dispatch_close_vmeth()
403 static int sock_dispatch_getpeername_vmeth(void *obj, struct sockaddr *addr, in sock_dispatch_getpeername_vmeth() argument
406 int fd = sock_dispatch_default(obj); in sock_dispatch_getpeername_vmeth()
415 static int sock_dispatch_getsockname_vmeth(void *obj, struct sockaddr *addr, in sock_dispatch_getsockname_vmeth() argument
418 int fd = sock_dispatch_default(obj); in sock_dispatch_getsockname_vmeth()