Lines Matching refs:obj

382 static ssize_t packet_sock_read_vmeth(void *obj, void *buffer, size_t count)  in packet_sock_read_vmeth()  argument
384 return zpacket_recvfrom_ctx(obj, buffer, count, 0, NULL, 0); in packet_sock_read_vmeth()
387 static ssize_t packet_sock_write_vmeth(void *obj, const void *buffer, in packet_sock_write_vmeth() argument
390 return zpacket_sendto_ctx(obj, buffer, count, 0, NULL, 0); in packet_sock_write_vmeth()
393 static int packet_sock_ioctl_vmeth(void *obj, unsigned int request, in packet_sock_ioctl_vmeth() argument
396 return sock_fd_op_vtable.fd_vtable.ioctl(obj, request, args); in packet_sock_ioctl_vmeth()
402 static int packet_sock_bind_vmeth(void *obj, const struct sockaddr *addr, in packet_sock_bind_vmeth() argument
405 return zpacket_bind_ctx(obj, addr, addrlen); in packet_sock_bind_vmeth()
409 static int packet_sock_connect_vmeth(void *obj, const struct sockaddr *addr, in packet_sock_connect_vmeth() argument
420 static int packet_sock_listen_vmeth(void *obj, int backlog) in packet_sock_listen_vmeth() argument
425 static int packet_sock_accept_vmeth(void *obj, struct sockaddr *addr, in packet_sock_accept_vmeth() argument
431 static ssize_t packet_sock_sendto_vmeth(void *obj, const void *buf, size_t len, in packet_sock_sendto_vmeth() argument
436 return zpacket_sendto_ctx(obj, buf, len, flags, dest_addr, addrlen); in packet_sock_sendto_vmeth()
439 static ssize_t packet_sock_sendmsg_vmeth(void *obj, const struct msghdr *msg, in packet_sock_sendmsg_vmeth() argument
442 return zpacket_sendmsg_ctx(obj, msg, flags); in packet_sock_sendmsg_vmeth()
445 static ssize_t packet_sock_recvfrom_vmeth(void *obj, void *buf, size_t max_len, in packet_sock_recvfrom_vmeth() argument
449 return zpacket_recvfrom_ctx(obj, buf, max_len, flags, in packet_sock_recvfrom_vmeth()
453 static int packet_sock_getsockopt_vmeth(void *obj, int level, int optname, in packet_sock_getsockopt_vmeth() argument
456 return zpacket_getsockopt_ctx(obj, level, optname, optval, optlen); in packet_sock_getsockopt_vmeth()
459 static int packet_sock_setsockopt_vmeth(void *obj, int level, int optname, in packet_sock_setsockopt_vmeth() argument
462 return zpacket_setsockopt_ctx(obj, level, optname, optval, optlen); in packet_sock_setsockopt_vmeth()
465 static int packet_sock_close2_vmeth(void *obj, int fd) in packet_sock_close2_vmeth() argument
467 return zsock_close_ctx(obj, fd); in packet_sock_close2_vmeth()