Searched refs:refcount (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | cntr.c | 61 static uint8_t refcount; variable 66 if (refcount++) { in cntr_start() 78 LL_ASSERT(refcount); in cntr_stop() 80 if (--refcount) { in cntr_stop()
|
/Zephyr-latest/drivers/wifi/esp_at/ |
D | esp_socket.c | 38 atomic_inc(&sock->refcount); in esp_socket_get() 59 ref = atomic_get(&sock->refcount); in esp_socket_ref() 63 } while (!atomic_cas(&sock->refcount, ref, ref + 1)); in esp_socket_ref() 73 ref = atomic_get(&sock->refcount); in esp_socket_unref() 77 } while (!atomic_cas(&sock->refcount, ref, ref - 1)); in esp_socket_unref() 91 atomic_clear(&sock->refcount); in esp_socket_init()
|
D | esp.h | 171 atomic_t refcount; member
|
/Zephyr-latest/lib/os/ |
D | fdtable.c | 33 atomic_t refcount; member 54 .refcount = ATOMIC_INIT(1), 61 .refcount = ATOMIC_INIT(1), 68 .refcount = ATOMIC_INIT(1), 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() 115 if (!atomic_get(&fdtable[fd].refcount)) { in _find_fd_entry() 133 if (!atomic_get(&fdtable[fd].refcount)) { in _check_fd()
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket_internal.h | 66 atomic_t refcount; member
|
D | websocket.c | 84 int old_rc = atomic_inc(&ctx->refcount); in websocket_context_ref() 91 int old_rc = atomic_dec(&ctx->refcount); in websocket_context_unref() 102 return !!atomic_get(&ctx->refcount); in websocket_context_is_used()
|
/Zephyr-latest/doc/develop/test/ |
D | ztest.rst | 491 ``zassert_equal(buf->ref, 2, "Invalid refcount")``: 495 … Assertion failed at main.c:62: test_get_single_buffer: Invalid refcount (buf->ref not equal to 2) 514 zexpect_equal(buf->ref, 2, "Invalid refcount"); 515 zexpect_equal(buf->ref, 1337, "Invalid refcount"); 522 …Expectation failed at main.c:62: test_get_single_buffer: Invalid refcount (buf->ref not equal to 2) 523 …Expectation failed at main.c:63: test_get_single_buffer: Invalid refcount (buf->ref not equal to 1… 538 ``zassume_equal(buf->ref, 2, "Invalid refcount")``: 543 … Assumption failed at main.c:62: test_get_single_buffer: Invalid refcount (buf->ref not equal to 2)
|
/Zephyr-latest/include/zephyr/net/ |
D | net_context.h | 218 atomic_t refcount; member
|
/Zephyr-latest/subsys/net/ip/ |
D | net_context.c | 549 atomic_set(&contexts[i].refcount, 1); in net_context_get() 641 int old_rc = atomic_inc(&context->refcount); in net_context_ref() 648 int old_rc = atomic_dec(&context->refcount); in net_context_unref()
|
/Zephyr-latest/scripts/ |
D | spelling.txt | 1294 refcounf||refcount
|