Home
last modified time | relevance | path

Searched refs:from_offset (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/lib/os/
Dfdtable.c316 static ssize_t zvfs_rw(int fd, void *buf, size_t sz, bool is_write, const size_t *from_offset) in zvfs_rw() argument
329 if (from_offset != NULL && !prw) { in zvfs_rw()
340 off = (from_offset == NULL) ? &fdtable[fd].offset : from_offset; in zvfs_rw()
357 if (res > 0 && prw && from_offset == NULL) { in zvfs_rw()
371 ssize_t zvfs_read(int fd, void *buf, size_t sz, const size_t *from_offset) in zvfs_read() argument
373 return zvfs_rw(fd, buf, sz, false, from_offset); in zvfs_read()
376 ssize_t zvfs_write(int fd, const void *buf, size_t sz, const size_t *from_offset) in zvfs_write() argument
378 return zvfs_rw(fd, (void *)buf, sz, true, from_offset); in zvfs_write()
/Zephyr-latest/lib/posix/options/
Ddevice_io.c21 ssize_t zvfs_read(int fd, void *buf, size_t sz, size_t *from_offset);
22 ssize_t zvfs_write(int fd, const void *buf, size_t sz, size_t *from_offset);
/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.c1320 uint32_t from_offset = args_from->offset; in ext2_replace_file() local
1321 uint32_t from_blk = from_offset / block_size; in ext2_replace_file()
1322 uint32_t from_blk_off = from_offset % block_size; in ext2_replace_file()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c642 const uint16_t from_offset) in remove_option_data() argument
644 const uint16_t move_size = from_offset - to_offset; in remove_option_data()
646 memmove(cpkt->data + to_offset, cpkt->data + from_offset, cpkt->offset - from_offset); in remove_option_data()