/haiku/src/tools/fs_shell/ |
H A D | partition_support.h | 15 void add_file_restriction(const char* fileName, fssh_off_t startOffset, 16 fssh_off_t endOffset); 22 int restricted_file_restrict_io(int fd, fssh_off_t& pos, fssh_off_t size);
|
H A D | partition_support.cpp | 28 FileRestriction(fssh_dev_t device, fssh_ino_t node, fssh_off_t startOffset, 29 fssh_off_t endOffset) 40 fssh_off_t startOffset; 41 fssh_off_t endOffset; 76 add_file_restriction(const char* fileName, fssh_off_t startOffset, 77 fssh_off_t endOffset) 122 restricted_file_restrict_io(int fd, fssh_off_t& pos, fssh_off_t size) 140 fssh_off_t maxSize = restriction->endOffset - pos; 178 fssh_off_t [all...] |
H A D | file_cache.cpp | 60 fssh_off_t offset, int32_t pageOffset, fssh_addr_t buffer, 68 fssh_off_t virtual_size; 83 read_from_file(file_cache_ref *ref, void *cookie, fssh_off_t offset, 102 write_to_file(file_cache_ref *ref, void *cookie, fssh_off_t offset, 122 fssh_off_t offset, fssh_addr_t buffer, int32_t &pageOffset, 123 fssh_size_t bytesLeft, fssh_off_t &lastOffset, 145 cache_io(void *_cacheRef, void *cookie, fssh_off_t offset, fssh_addr_t buffer, 152 fssh_off_t fileSize = ref->virtual_size; 192 fssh_off_t lastOffset = offset; 236 fssh_off_t siz [all...] |
H A D | fd.h | 23 fssh_status_t (*fd_read)(struct file_descriptor *, fssh_off_t pos, 25 fssh_status_t (*fd_write)(struct file_descriptor *, fssh_off_t pos, 27 fssh_off_t (*fd_seek)(struct file_descriptor *, fssh_off_t pos, 58 fssh_off_t pos;
|
H A D | syscalls.h | 84 fssh_ssize_t _kern_read(int fd, fssh_off_t pos, void *buffer, 86 fssh_ssize_t _kern_readv(int fd, fssh_off_t pos, const fssh_iovec *vecs, 88 fssh_ssize_t _kern_write(int fd, fssh_off_t pos, const void *buffer, 90 fssh_ssize_t _kern_writev(int fd, fssh_off_t pos, const fssh_iovec *vecs, 92 fssh_off_t _kern_seek(int fd, fssh_off_t pos, int seekType);
|
H A D | uio.cpp | 58 fssh_off_t pos = -1; 72 fssh_readv_pos(int fd, fssh_off_t pos, const struct fssh_iovec *vec, int count) 97 fssh_off_t pos = -1; 111 fssh_writev_pos(int fd, fssh_off_t pos, const struct fssh_iovec *vec, int count)
|
H A D | vfs.h | 78 fssh_status_t vfs_read_pages(void *vnode, void *cookie, fssh_off_t pos, 82 fssh_off_t pos, const fssh_iovec *vecs, fssh_size_t count, 84 fssh_status_t vfs_get_file_map(void *_vnode, fssh_off_t offset,
|
H A D | block_cache.cpp | 66 fssh_off_t block_number; 106 fssh_off_t max_blocks; 119 block_cache(int fd, fssh_off_t numBlocks, 132 cached_block* NewBlock(fssh_off_t blockNumber); 444 const fssh_off_t* block = (const fssh_off_t*)_block; 446 fssh_off_t diff = cacheEntry->block_number - *block; 459 const fssh_off_t* block = (const fssh_off_t*)_block; 471 block_cache::block_cache(int _fd, fssh_off_t numBlock [all...] |
H A D | unistd.cpp | 374 fssh_off_t pos = -1; 389 fssh_read_pos(int fd, fssh_off_t pos, void *buffer, fssh_size_t count) 405 fssh_off_t pos = -1; 420 fssh_write_pos(int fd, fssh_off_t pos, const void *buffer, fssh_size_t count)
|
H A D | fd.cpp | 469 _kern_read(int fd, fssh_off_t pos, void *buffer, fssh_size_t length) 504 _kern_readv(int fd, fssh_off_t pos, const fssh_iovec *vecs, fssh_size_t count) 548 _kern_write(int fd, fssh_off_t pos, const void *buffer, fssh_size_t length) 583 _kern_writev(int fd, fssh_off_t pos, const fssh_iovec *vecs, fssh_size_t count) 626 fssh_off_t 627 _kern_seek(int fd, fssh_off_t pos, int seekType)
|
H A D | command_cp.cpp | 86 fssh_off_t pos, void *buffer, int size) = 0; 88 fssh_off_t pos, const void *buffer, int size) = 0; 202 fssh_off_t pos, void *buffer, int size) 210 fssh_off_t pos, const void *buffer, int size) 586 fssh_off_t pos, void *buffer, int size) 603 fssh_off_t pos, const void *buffer, int size) 898 fssh_off_t chunkSize = (sourceFile->Stat().fssh_st_size / 20) / sCopyBufferSize * sCopyBufferSize; 908 fssh_off_t total = 0; 1008 fssh_off_t pos = 0;
|
H A D | vfs.cpp | 191 static fssh_status_t file_read(struct file_descriptor *, fssh_off_t pos, 193 static fssh_status_t file_write(struct file_descriptor *, fssh_off_t pos, 195 static fssh_off_t file_seek(struct file_descriptor *, fssh_off_t pos, 214 static fssh_status_t attr_read(struct file_descriptor *, fssh_off_t pos, 216 static fssh_status_t attr_write(struct file_descriptor *, fssh_off_t pos, 218 static fssh_off_t attr_seek(struct file_descriptor *, fssh_off_t pos, 1806 fssh_off_t fileOffset = fileVec.offset; 1807 fssh_off_t fileLef [all...] |
H A D | fssh.cpp | 1689 fssh_off_t startOffset = 0; 1690 fssh_off_t endOffset = -1;
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_fs_cache.h | 57 fssh_off_t *_blockNumber, void **_data, 66 int32_t id, fssh_off_t blockNumber); 70 extern void * fssh_block_cache_create(int fd, fssh_off_t numBlocks, 74 fssh_off_t blockNumber, fssh_size_t numBlocks); 76 fssh_off_t blockNumber, fssh_size_t numBlocks); 78 fssh_off_t blockNumber, int32_t transaction); 80 fssh_off_t blockNumber, fssh_off_t base, 81 fssh_off_t length, int32_t transaction, 84 fssh_off_t blockNumbe [all...] |
H A D | fssh_fs_info.h | 30 fssh_off_t block_size; /* fundamental block size */ 31 fssh_off_t io_size; /* optimal i/o size */ 32 fssh_off_t total_blocks; /* total number of blocks */ 33 fssh_off_t free_blocks; /* number of free blocks */ 34 fssh_off_t total_nodes; /* total number of nodes */ 35 fssh_off_t free_nodes; /* number of free nodes */
|
H A D | fssh_unistd.h | 57 extern int fssh_ftruncate(int fd, fssh_off_t newSize); 58 extern int fssh_truncate(const char *path, fssh_off_t newSize); 62 extern fssh_ssize_t fssh_read_pos(int fd, fssh_off_t pos, void *buffer, 65 fssh_off_t pos); 67 extern fssh_ssize_t fssh_write_pos(int fd, fssh_off_t pos, const void *buffer, 70 fssh_off_t pos); 71 extern fssh_off_t fssh_lseek(int fd, fssh_off_t offset, int whence);
|
H A D | fssh_uio.h | 24 fssh_ssize_t fssh_readv_pos(int fd, fssh_off_t pos, const struct 28 fssh_ssize_t fssh_writev_pos(int fd, fssh_off_t pos,
|
H A D | fssh_fs_attr.h | 15 fssh_off_t size; 24 uint32_t type, fssh_off_t pos, void *buffer, 27 uint32_t type, fssh_off_t pos, const void *buffer,
|
H A D | fssh_disk_device_manager.h | 22 fssh_off_t offset; 23 fssh_off_t size; 24 fssh_off_t content_size; 52 fssh_off_t offset; 53 fssh_off_t size;
|
H A D | fssh_drivers.h | 23 fssh_off_t position, void *data, 26 fssh_off_t position, const void *data, 33 fssh_off_t position, const fssh_iovec *vec, 36 fssh_off_t position, const fssh_iovec *vec, 181 fssh_off_t offset; /* offset (in bytes) */ 182 fssh_off_t size; /* size (in bytes) */
|
H A D | fssh_fs_index.h | 15 fssh_off_t size;
|
H A D | fssh_fs_interface.h | 38 fssh_off_t offset; 39 fssh_off_t length; 141 fssh_fs_cookie cookie, fssh_off_t pos, const fssh_iovec *vecs, 144 fssh_fs_cookie cookie, fssh_off_t pos, const fssh_iovec *vecs, 155 fssh_off_t offset, fssh_size_t size, 189 fssh_off_t pos, fssh_off_t length); 202 fssh_fs_cookie cookie, fssh_off_t pos, void *buffer, 205 fssh_fs_cookie cookie, fssh_off_t pos, const void *buffer, 249 fssh_fs_cookie cookie, fssh_off_t po [all...] |
H A D | fssh_stat.h | 20 fssh_off_t fssh_st_size; /* size in bytes of this file */ 33 fssh_off_t fssh_st_blocks; /* number of blocks allocated for object */
|
H A D | fssh_types.h | 34 typedef int64_t fssh_off_t; typedef
|
H A D | fssh_api_wrapper.h | 1531 #define off_t fssh_off_t
|