Home
last modified time | relevance | path

Searched refs:fd_op_vtable (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/tests/lib/fdtable/src/
Dmain.c18 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/
Dfdtable.h58 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/
Dfdtable.c32 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/
Dsocket_dispatcher.c64 (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()
Dsocketpair.c78 (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()
Dsockets_tls.c2097 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 …]
Dsockets_internal.h57 struct fd_op_vtable fd_vtable;
Dsockets_net_mgmt.c83 zvfs_finalize_typed_fd(fd, mgmt, (const struct fd_op_vtable *)&net_mgmt_sock_fd_op_vtable, in znet_mgmt_socket()
Dsockets_packet.c80 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&packet_sock_fd_op_vtable, in zpacket_socket()
Dsockets.c54 (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()
Dsockets_can.c83 zvfs_finalize_typed_fd(fd, ctx, (const struct fd_op_vtable *)&can_sock_fd_op_vtable, in zcan_socket()
Dsockets_inet.c132 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/
Dzvfs_poll.c29 const struct fd_op_vtable *vtable; in zvfs_poll_internal()
33 const struct fd_op_vtable *offl_vtable = NULL; in zvfs_poll_internal()
Dzvfs_eventfd.c33 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/
Dwebsocket.c371 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/
Dfs.c32 static struct fd_op_vtable fs_fd_op_vtable;
237 static struct fd_op_vtable fs_fd_op_vtable = {
Dshm.c25 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/
Dmain.c281 (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/
Deswifi_socket_offload.c162 (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/
Dsimplelink_sockets.c592 (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/
Dmodem_socket.c179 (const struct fd_op_vtable *)cfg->vtable, ZVFS_MODE_IFSOCK); in modem_socket_get()
Dsimcom-sim7080.c580 (const struct fd_op_vtable *)&offload_socket_fd_op_vtable, in offload_poll()