Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/tests/kernel/mem_protect/obj_validation/src/
Dmain.c89 zassert_false(test_object(&stack_sem, -EBADF)); in ZTEST()
90 zassert_false(test_object((struct k_sem *)&bad_sem, -EBADF)); in ZTEST()
91 zassert_false(test_object((struct k_sem *)0xFFFFFFFF, -EBADF)); in ZTEST()
113 zassert_false(test_object(dyn_sem[i], -EBADF)); in ZTEST()
183 zassert_true(ret == -EBADF, "Dynamic kernel object not released"); in ZTEST()
/Zephyr-latest/tests/lib/fdtable/src/
Dmain.c73 zassert_equal(errno, EBADF, "fd: out of bounds error"); in ZTEST()
154 zassert_equal(errno, EBADF, "fd was found"); in test_cb()
178 zassert_equal(errno, EBADF, "fd was found"); in ZTEST()
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c105 return -EBADF; in zvfs_eventfd_read_locked()
137 return -EBADF; in zvfs_eventfd_write_locked()
198 errno = EBADF; in zvfs_eventfd_close_op()
232 errno = EBADF; in zvfs_eventfd_ioctl_op()
454 obj = zvfs_get_fd_obj(fd, &zvfs_eventfd_fd_vtable, EBADF); in zvfs_eventfd_read()
473 obj = zvfs_get_fd_obj(fd, &zvfs_eventfd_fd_vtable, EBADF); in zvfs_eventfd_write()
Dzvfs_select.c179 errno = EBADF; in z_impl_zvfs_select()
/Zephyr-latest/lib/posix/options/
Dmqueue.c192 errno = EBADF; in mq_close()
221 errno = EBADF; in mq_unlink()
305 errno = EBADF; in mq_getattr()
330 errno = EBADF; in mq_setattr()
360 errno = EBADF; in mq_notify()
443 errno = EBADF; in send_message()
487 errno = EBADF; in receive_message()
Dfile_system_r.c38 return EBADF; in readdir_r()
Dfs.c283 errno = EBADF; in closedir()
310 errno = EBADF; in readdir()
381 errno = EBADF; in stat()
/Zephyr-latest/lib/libc/armstdc/include/
Derrno.h57 #define EBADF 9 /**< Bad file number */ macro
/Zephyr-latest/lib/libc/minimal/include/
Derrno.h47 #define EBADF 9 /**< Bad file number */ macro
/Zephyr-latest/subsys/fs/
Dfs.c229 return -EBADF; in fs_read()
249 return -EBADF; in fs_write()
269 return -EBADF; in fs_seek()
289 return -EBADF; in fs_tell()
309 return -EBADF; in fs_truncate()
329 return -EBADF; in fs_sync()
Dfat_fs.c47 return -EBADF; in translate_error()
/Zephyr-latest/lib/os/
Dfdtable.c127 errno = EBADF; in _check_fd()
134 errno = EBADF; in _check_fd()
422 errno = EBADF; in zvfs_fileno()
/Zephyr-latest/drivers/net/
Dnsos_errno.c32 ERR(EBADF),
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c29 errno = EBADF; \
166 errno = EBADF; in z_vrfy_zsock_close()
186 errno = EBADF; in z_impl_zsock_shutdown()
727 errno = EBADF; in z_impl_zsock_fcntl_impl()
763 errno = EBADF; in z_impl_zsock_ioctl_impl()
Dsockets_tls.c526 return -EBADF; in tls_release()
531 return -EBADF; in tls_release()
757 return -EBADF; in wait()
3026 ret = -EBADF; in ztls_poll_prepare_ctx()
3221 return -EBADF; in ztls_poll_update_ctx()
3669 &tls_sock_fd_op_vtable, EBADF); in ztls_get_mbedtls_ssl_context()
3705 errno = EBADF; in tls_sock_ioctl_vmeth()
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c533 errno = EBADF; in websocket_ioctl_vmeth()
672 return -EBADF; in websocket_send_msg()
914 return -EBADF; in wait_rx()
960 return -EBADF; in websocket_recv_msg()
967 return -EBADF; in websocket_recv_msg()
/Zephyr-latest/modules/lvgl/
Dlvgl_fs.c27 case -EBADF: in errno_to_lv_fs_res()
/Zephyr-latest/tests/net/socket/select/src/
Dmain.c164 zassert_equal(errno, EBADF, ""); in ZTEST_USER()
/Zephyr-latest/subsys/net/l2/ethernet/
Dvlan.c409 return -EBADF; in net_eth_vlan_enable()
477 return -EBADF; in net_eth_vlan_disable()
/Zephyr-latest/tests/posix/common/src/
Dmqueue.c254 zassert_equal(errno, EBADF); in ZTEST()
/Zephyr-latest/kernel/
Duserspace.c677 case -EBADF: in k_object_dump_error()
738 return -EBADF; in k_object_validate()
/Zephyr-latest/subsys/shell/backends/
Dshell_websocket.c196 return -EBADF; in shell_ws_init()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c621 zassert_equal(ret, -EBADF, "Invalid VLAN tag value %d", ret); in test_vlan_enable()
688 zassert_equal(ret, -EBADF, "Invalid VLAN tag value %d", ret); in test_vlan_disable()
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt12 … -5=EIO -6=ENXIO -7=E2BIG -8=ENOEXEC -9=EBADF -10=ECHILD …
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_sockets.c56 #if EBADF != SL_ERROR_BSD_EBADF in getErrno()
58 error = EBADF; in getErrno()

12