Home
last modified time | relevance | path

Searched refs:fdtable (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/lib/os/
Dfdtable.c46 static struct fd_entry fdtable[CONFIG_ZVFS_OPEN_MAX] = { variable
55 .lock = Z_MUTEX_INITIALIZER(fdtable[0].lock),
56 .cond = Z_CONDVAR_INITIALIZER(fdtable[0].cond),
62 .lock = Z_MUTEX_INITIALIZER(fdtable[1].lock),
63 .cond = Z_CONDVAR_INITIALIZER(fdtable[1].cond),
69 .lock = Z_MUTEX_INITIALIZER(fdtable[2].lock),
70 .cond = Z_CONDVAR_INITIALIZER(fdtable[2].cond),
81 return atomic_inc(&fdtable[fd].refcount) + 1; in z_fd_ref()
94 old_rc = atomic_get(&fdtable[fd].refcount); in z_fd_unref()
98 } while (!atomic_cas(&fdtable[fd].refcount, old_rc, old_rc - 1)); in z_fd_unref()
[all …]
DCMakeLists.txt14 zephyr_sources_ifdef(CONFIG_FDTABLE fdtable.c)
16 ${ZEPHYR_BASE}/include/zephyr/sys/fdtable.h
/Zephyr-latest/tests/lib/fdtable/src/
Dmain.c25 ZTEST(fdtable, test_zvfs_reserve_fd) in ZTEST() argument
34 ZTEST(fdtable, test_zvfs_get_fd_obj_and_vtable) in ZTEST() argument
50 ZTEST(fdtable, test_zvfs_get_fd_obj) in ZTEST() argument
84 ZTEST(fdtable, test_zvfs_finalize_fd) in ZTEST() argument
106 ZTEST(fdtable, test_zvfs_alloc_fd) in ZTEST() argument
122 ZTEST(fdtable, test_zvfs_free_fd) in ZTEST() argument
157 ZTEST(fdtable, test_z_fd_multiple_access) in ZTEST() argument
181 ZTEST_SUITE(fdtable, NULL, NULL, NULL, NULL, NULL);
/Zephyr-latest/tests/lib/fdtable/
DCMakeLists.txt5 project(fdtable) project
/Zephyr-latest/drivers/modem/
DKconfig157 reserved from the fdtable, for which the max count is set using the
/Zephyr-latest/doc/releases/
Drelease-notes-2.1.rst814 * :github:`18451` - [Coverity CID :203528]Integer handling issues in /tests/lib/fdtable/src/main.c
815 * :github:`18449` - [Coverity CID :203458]Integer handling issues in /tests/lib/fdtable/src/main.c
816 * :github:`18450` - [Coverity CID :203505]Integer handling issues in /tests/lib/fdtable/src/main.c
817 * :github:`18448` - [Coverity CID :203429]Integer handling issues in /tests/lib/fdtable/src/main.c
Drelease-notes-2.2.rst1131 * :github:`18447` - [Coverity CID :203400]Integer handling issues in /tests/lib/fdtable/src/main.c
Drelease-notes-2.4.rst1115 * :github:`27644` - [Coverity CID :212141] Improper use of negative value in tests/lib/fdtable/src/…
Drelease-notes-1.14.rst167 * :github:`17171` - Insufficient code coverage for lib/os/fdtable.c
Drelease-notes-3.3.rst3818 * :github:`17171` - Insufficient code coverage for lib/os/fdtable.c