Home
last modified time | relevance | path

Searched refs:read_bytes (Results 1 – 6 of 6) sorted by relevance

/components/libc/posix/io/mman/
A Dmman.c48 size_t read_bytes; in mmap() local
53 read_bytes = read(fd, mem, length); in mmap()
54 if (read_bytes != length) in mmap()
/components/drivers/ipc/
A Dpipe.c498 rt_size_t read_bytes = 0; in rt_pipe_read() local
514 while (read_bytes < count) in rt_pipe_read()
516 int len = rt_ringbuffer_get(pipe->fifo, &pbuf[read_bytes], count - read_bytes); in rt_pipe_read()
522 read_bytes += len; in rt_pipe_read()
526 return read_bytes; in rt_pipe_read()
/components/dfs/dfs_v1/src/
A Ddfs_file.c905 rt_int32_t read_bytes; in copyfile() local
936 read_bytes = dfs_file_read(&src_fd, block_ptr, BUF_SZ); in copyfile()
937 if (read_bytes > 0) in copyfile()
941 length = dfs_file_write(&fd, block_ptr, read_bytes); in copyfile()
942 if (length != read_bytes) in copyfile()
950 while (read_bytes > 0); in copyfile()
/components/dfs/dfs_v2/filesystems/cromfs/
A Ddfs_cromfs.c101 uint32_t (*read_bytes)(struct st_cromfs_info *ci, uint32_t pos, void *buf, uint32_t size); member
335 return ci->read_bytes(ci, pos, buf, size); in cromfs_read_bytes()
547 ci->read_bytes = cromfs_blk_read_bytes; in dfs_cromfs_mount()
551 ci->read_bytes = cromfs_noblk_read_bytes; in dfs_cromfs_mount()
557 ci->read_bytes = cromfs_data_read_bytes; in dfs_cromfs_mount()
/components/dfs/dfs_v1/filesystems/cromfs/
A Ddfs_cromfs.c91 uint32_t (*read_bytes)(struct st_cromfs_info *ci, uint32_t pos, void *buf, uint32_t size); member
324 return ci->read_bytes(ci, pos, buf, size); in cromfs_read_bytes()
503 ci->read_bytes = cromfs_blk_read_bytes; in dfs_cromfs_mount()
507 ci->read_bytes = cromfs_noblk_read_bytes; in dfs_cromfs_mount()
/components/dfs/dfs_v2/src/
A Ddfs_file.c2766 rt_int32_t read_bytes; in copyfile() local
2801 read_bytes = dfs_file_read(&src_file, block_ptr, BUF_SZ); in copyfile()
2802 if (read_bytes > 0) in copyfile()
2806 length = dfs_file_write(&dst_file, block_ptr, read_bytes); in copyfile()
2807 if (length != read_bytes) in copyfile()
2814 } while (read_bytes > 0); in copyfile()

Completed in 23 milliseconds