Searched refs:buf_l (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/llext/ |
D | buf_loader.c | 14 struct llext_buf_loader *buf_l = CONTAINER_OF(l, struct llext_buf_loader, loader); in llext_buf_read() local 15 size_t end = MIN(buf_l->pos + len, buf_l->len); in llext_buf_read() 16 size_t read_len = end - buf_l->pos; in llext_buf_read() 18 memcpy(buf, buf_l->buf + buf_l->pos, read_len); in llext_buf_read() 19 buf_l->pos = end; in llext_buf_read() 26 struct llext_buf_loader *buf_l = CONTAINER_OF(l, struct llext_buf_loader, loader); in llext_buf_seek() local 28 buf_l->pos = MIN(pos, buf_l->len); in llext_buf_seek() 35 struct llext_buf_loader *buf_l = CONTAINER_OF(l, struct llext_buf_loader, loader); in llext_buf_peek() local 37 return (void *)(buf_l->buf + pos); in llext_buf_peek()
|