/Zephyr-latest/tests/lib/fdtable/src/ |
D | main.c | 18 static struct fd_op_vtable fd_vtable = { 0 }; 36 const struct fd_op_vtable *vtable; in ZTEST() 56 const struct fd_op_vtable *vtable = 0; in ZTEST() 57 const struct fd_op_vtable *vtable2 = vtable+1; in ZTEST() 86 const struct fd_op_vtable *vtable; in ZTEST() 93 const struct fd_op_vtable *original_vtable = vtable; in ZTEST() 108 const struct fd_op_vtable *vtable = NULL; in ZTEST() 124 const struct fd_op_vtable *vtable = NULL; in ZTEST() 142 const struct fd_op_vtable *vtable; in test_cb() 159 const struct fd_op_vtable *vtable = VTABLE_INIT; in ZTEST()
|
/Zephyr-latest/include/zephyr/sys/ |
D | fdtable.h | 58 struct fd_op_vtable { struct 102 void zvfs_finalize_typed_fd(int fd, void *obj, const struct fd_op_vtable *vtable, uint32_t mode); 114 static inline void zvfs_finalize_fd(int fd, void *obj, const struct fd_op_vtable *vtable) in zvfs_finalize_fd() 130 int zvfs_alloc_fd(void *obj, const struct fd_op_vtable *vtable); 158 void *zvfs_get_fd_obj(int fd, const struct fd_op_vtable *vtable, int err); 172 void *zvfs_get_fd_obj_and_vtable(int fd, const struct fd_op_vtable **vtable, 190 bool zvfs_get_obj_lock_and_cond(void *obj, const struct fd_op_vtable *vtable, struct k_mutex **lock, 205 static inline int zvfs_fdtable_call_ioctl(const struct fd_op_vtable *vtable, void *obj, in zvfs_fdtable_call_ioctl()
|
/Zephyr-latest/lib/os/ |
D | fdtable.c | 32 const struct fd_op_vtable *vtable; 41 static const struct fd_op_vtable stdinout_fd_op_vtable; 165 void *zvfs_get_fd_obj(int fd, const struct fd_op_vtable *vtable, int err) in zvfs_get_fd_obj() 183 static int z_get_fd_by_obj_and_vtable(void *obj, const struct fd_op_vtable *vtable) in z_get_fd_by_obj_and_vtable() 197 bool zvfs_get_obj_lock_and_cond(void *obj, const struct fd_op_vtable *vtable, struct k_mutex **lock, in zvfs_get_obj_lock_and_cond() 221 void *zvfs_get_fd_obj_and_vtable(int fd, const struct fd_op_vtable **vtable, in zvfs_get_fd_obj_and_vtable() 261 void zvfs_finalize_typed_fd(int fd, void *obj, const struct fd_op_vtable *vtable, uint32_t mode) in zvfs_finalize_typed_fd() 294 int zvfs_alloc_fd(void *obj, const struct fd_op_vtable *vtable) in zvfs_alloc_fd() 563 static const struct fd_op_vtable stdinout_fd_op_vtable = {
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | socket_dispatcher.c | 64 (const struct fd_op_vtable **)&vtable, in sock_dispatch_socket() 72 zvfs_finalize_typed_fd(fd, obj, (const struct fd_op_vtable *)vtable, ZVFS_MODE_IFSOCK); in sock_dispatch_socket() 143 const struct fd_op_vtable *vtable; in sock_dispatch_read_vmeth() 163 const struct fd_op_vtable *vtable; in sock_dispatch_write_vmeth() 183 const struct fd_op_vtable *vtable; in sock_dispatch_ioctl_vmeth() 485 zvfs_finalize_typed_fd(fd, entry, (const struct fd_op_vtable *)&sock_dispatch_fd_op_vtable, in sock_dispatch_create()
|
D | socketpair.c | 78 (const struct fd_op_vtable *)&spair_fd_op_vtable, 0); in sock_is_connected() 103 (const struct fd_op_vtable *)&spair_fd_op_vtable, 0); in spair_write_avail() 173 (const struct fd_op_vtable *)&spair_fd_op_vtable, 0); in spair_delete() 268 (const struct fd_op_vtable *)&spair_fd_op_vtable, ZVFS_MODE_IFSOCK); in spair_new() 441 (const struct fd_op_vtable *)&spair_fd_op_vtable, 0); in spair_write() 505 (const struct fd_op_vtable *) in spair_write() 792 (const struct fd_op_vtable *) in zsock_poll_prepare_ctx() 842 (const struct fd_op_vtable *) &spair_fd_op_vtable, 0); in zsock_poll_update_ctx()
|
D | sockets_tls.c | 2097 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&tls_sock_fd_op_vtable, in ztls_socket() 2236 zvfs_finalize_typed_fd(fd, child, (const struct fd_op_vtable *)&tls_sock_fd_op_vtable, in ztls_accept_ctx() 2999 const struct fd_op_vtable *vtable; in ztls_poll_prepare_ctx() 3024 ctx->sock, (const struct fd_op_vtable **)&vtable, &lock); in ztls_poll_prepare_ctx() 3212 const struct fd_op_vtable *vtable; in ztls_poll_update_ctx() 3219 ctx->sock, (const struct fd_op_vtable **)&vtable, &lock); in ztls_poll_update_ctx() 3324 const struct fd_op_vtable *vtable; in ztls_poll_offload() 3338 (const struct fd_op_vtable *) in ztls_poll_offload() 3360 (const struct fd_op_vtable **)&vtable, in ztls_poll_offload() 3385 (const struct fd_op_vtable *) in ztls_poll_offload() [all …]
|
D | sockets_internal.h | 57 struct fd_op_vtable fd_vtable;
|
D | sockets_net_mgmt.c | 83 zvfs_finalize_typed_fd(fd, mgmt, (const struct fd_op_vtable *)&net_mgmt_sock_fd_op_vtable, in znet_mgmt_socket()
|
D | sockets_packet.c | 80 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&packet_sock_fd_op_vtable, in zpacket_socket()
|
D | sockets.c | 54 (const struct fd_op_vtable **)vtable, in get_sock_vtable() 734 ret = zvfs_fdtable_call_ioctl((const struct fd_op_vtable *)vtable, in z_impl_zsock_fcntl_impl()
|
D | sockets_can.c | 83 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&can_sock_fd_op_vtable, in zcan_socket()
|
D | sockets_inet.c | 132 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&sock_fd_op_vtable, in zsock_socket_internal() 511 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&sock_fd_op_vtable, in zsock_accept_ctx()
|
/Zephyr-latest/lib/os/zvfs/ |
D | zvfs_poll.c | 29 const struct fd_op_vtable *vtable; in zvfs_poll_internal() 33 const struct fd_op_vtable *offl_vtable = NULL; in zvfs_poll_internal()
|
D | zvfs_eventfd.c | 33 static const struct fd_op_vtable zvfs_eventfd_fd_vtable; 292 static const struct fd_op_vtable zvfs_eventfd_fd_vtable = {
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket.c | 371 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&websocket_fd_op_vtable, in websocket_connect() 461 const struct fd_op_vtable *vtable; in websocket_poll_offload() 471 (const struct fd_op_vtable *) in websocket_poll_offload() 483 (const struct fd_op_vtable **)&vtable, in websocket_poll_offload() 525 const struct fd_op_vtable *vtable; in websocket_ioctl_vmeth() 530 (const struct fd_op_vtable **)&vtable, in websocket_ioctl_vmeth() 1196 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&websocket_fd_op_vtable, in websocket_register()
|
/Zephyr-latest/lib/posix/options/ |
D | fs.c | 32 static struct fd_op_vtable fs_fd_op_vtable; 237 static struct fd_op_vtable fs_fd_op_vtable = {
|
D | shm.c | 25 static const struct fd_op_vtable shm_vtable; 292 static const struct fd_op_vtable shm_vtable = {
|
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 281 (const struct fd_op_vtable *)&offload_1_socket_fd_op_vtable, in offload_1_socket() 343 (const struct fd_op_vtable *)&offload_2_socket_fd_op_vtable, in offload_2_socket() 758 const struct fd_op_vtable *vtable; in ZTEST() 805 const struct fd_op_vtable *vtable; in ZTEST()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 162 (const struct fd_op_vtable *)&eswifi_socket_fd_op_vtable, in eswifi_socket_accept() 480 (const struct fd_op_vtable *) in eswifi_socket_poll() 599 (const struct fd_op_vtable *)&eswifi_socket_fd_op_vtable, in eswifi_socket_create()
|
/Zephyr-latest/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 592 (const struct fd_op_vtable *) in simplelink_poll() 622 (const struct fd_op_vtable *) in simplelink_poll() 1277 (const struct fd_op_vtable *)&simplelink_socket_fd_op_vtable, in simplelink_socket_create() 1300 (const struct fd_op_vtable *)&simplelink_socket_fd_op_vtable, in simplelink_socket_accept()
|
/Zephyr-latest/drivers/modem/ |
D | modem_socket.c | 179 (const struct fd_op_vtable *)cfg->vtable, ZVFS_MODE_IFSOCK); in modem_socket_get()
|
D | simcom-sim7080.c | 580 (const struct fd_op_vtable *)&offload_socket_fd_op_vtable, in offload_poll()
|