Searched refs:mb_curr_pos (Results 1 – 4 of 4) sorted by relevance
64 static inline size_t mb_curr_pos(struct mem_buf* mb) { in mb_curr_pos() function85 return mb_size(mb) - mb_curr_pos(mb); in mb_space_left()
120 while (mb_curr_pos(shm) < len) { in unpack_shm()217 if (mb_curr_pos(shm) != batch_req->len) { in spi_srv_handle_batch()219 mb_curr_pos(shm), batch_req->len); in spi_srv_handle_batch()
221 .len = mb_curr_pos(&dev->shm), in send_batch_req()250 if (batch_resp->len != mb_curr_pos(shm)) { in validate_batch_resp()256 while (mb_curr_pos(shm) < batch_resp->len) { in validate_batch_resp()
180 .len = mb_curr_pos(&ctx->shm), in handle_msg_batch_req()