Searched refs:idx_occupied (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | pbuf.c | 19 static uint32_t idx_occupied(uint32_t len, uint32_t wr_idx, uint32_t rd_idx) in idx_occupied() function 137 uint32_t free_space = blen - idx_occupied(blen, wr_idx, rd_idx) - _PBUF_IDX_SIZE; in pbuf_write() 221 uint32_t occupied_space = idx_occupied(blen, wr_idx, rd_idx); in pbuf_read()
|
/Zephyr-latest/lib/os/ |
D | spsc_pbuf.c | 40 static uint32_t idx_occupied(uint32_t len, uint32_t a, uint32_t b) in idx_occupied() function 268 uint32_t bytes_stored = idx_occupied(pblen, wr_idx, rd_idx); in spsc_pbuf_claim()
|