Home
last modified time | relevance | path

Searched refs:ext2_loff_t (Results 1 – 18 of 18) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dllseek.c68 unsigned long, ext2_loff_t *, unsigned int);
71 unsigned long, offset_low,ext2_loff_t *,result, in _syscall5() argument
75 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) in _syscall5()
77 ext2_loff_t result; in _syscall5()
87 return (retval == -1 ? (ext2_loff_t) retval : result); in _syscall5()
95 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek()
100 ext2_loff_t result; in ext2fs_llseek()
114 if (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1))) in ext2fs_llseek()
129 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek()
134 if ((sizeof(off_t) < sizeof(ext2_loff_t)) && in ext2fs_llseek()
[all …]
Dext2_io.h21 typedef long long ext2_loff_t; typedef
23 typedef long ext2_loff_t; typedef
27 ext2_loff_t ext2fs_llseek (int, ext2_loff_t, int);
Ddosio.c378 ext2_loff_t loc; in dos_read_blk()
385 loc = (ext2_loff_t) block * channel->block_size; in dos_read_blk()
415 ext2_loff_t loc; in dos_write_blk()
431 loc = (ext2_loff_t)block * channel->block_size; in dos_write_blk()
Dgetsize.c137 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset()
156 ext2_loff_t high, low; in ext2fs_get_device_size2()
271 const ext2_loff_t mid = (low + high) / 2; in ext2fs_get_device_size2()
Dunix_io.c109 ext2_loff_t offset;
217 ext2_loff_t location; in raw_read_blk()
224 size = (count < 0) ? -count : (ext2_loff_t) count * channel->block_size; in raw_read_blk()
228 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
246 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_read_blk()
346 ext2_loff_t location; in raw_write_blk()
359 size = (ext2_loff_t) count * channel->block_size; in raw_write_blk()
365 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_write_blk()
382 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_write_blk()
1133 (ext2_loff_t)block * channel->block_size + data->offset, in unix_cache_readahead()
[all …]
Dwindows_io.c105 ext2_loff_t offset;
167 ext2_loff_t location; in raw_read_blk()
174 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
246 ext2_loff_t location; in raw_write_blk()
261 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_write_blk()
Dundo_io.c145 ext2_loff_t offset;
327 ext2_loff_t offset; in undo_write_tdb()
910 ext2_loff_t location; in undo_write_byte()
Dimager.c70 ext2_loff_t r; in ext2fs_image_inode_write()
/third_party/e2fsprogs/contrib/
Dfallocate.c98 ext2_loff_t length = -2LL; in main()
99 ext2_loff_t offset = 0; in main()
/third_party/e2fsprogs/misc/
De4defrag.c365 ext2_loff_t offset, end_offset, length; in page_in_core()
374 offset = (ext2_loff_t)defrag_data.orig_start * block_size; in page_in_core()
375 length = (ext2_loff_t)defrag_data.len * block_size; in page_in_core()
421 ext2_loff_t offset; in defrag_fadvise()
426 offset = (ext2_loff_t)defrag_data.orig_start * block_size; in defrag_fadvise()
432 (ext2_loff_t)pagesize * page_num, sync_flag) < 0) in defrag_fadvise()
1296 static void print_progress(const char *file, ext2_loff_t start, in print_progress()
1297 ext2_loff_t file_size) in print_progress()
1319 ext2_loff_t start = 0; in call_defrag()
1572 (ext2_loff_t)orig_group_tmp->start->data.logical * block_size, in file_defrag()
[all …]
De2fuzz.c37 ext2_loff_t offset) in my_pwrite()
86 ext2_loff_t *corrupt_bytes) in find_metadata_blocks()
186 ext2_loff_t hsize, count, off, offset, corrupt_bytes, i; in process_fs()
Dfindsuper.c118 ext2_loff_t sk=0, skl=0; in main()
122 ext2_loff_t interval = 1024 * 1024; in main()
Dbadblocks.c299 ext2_loff_t offset) in set_o_direct()
379 ((ext2_loff_t) current_block) * block_size); in do_read()
385 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_read()
386 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_read()
452 ((ext2_loff_t) current_block) * block_size); in do_write()
458 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_write()
459 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_write()
De2image.c118 static ext2_loff_t seek_relative(int fd, int offset) in seek_relative()
120 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_CUR); in seek_relative()
128 static ext2_loff_t seek_set(int fd, ext2_loff_t offset) in seek_set()
130 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_SET); in seek_set()
744 ext2_loff_t offset; in output_meta_data_blocks()
1015 ext2_loff_t offset; in flush_l2_cache()
/third_party/e2fsprogs/lib/support/
Dquotaio.h125 unsigned int (*e2fs_read)(struct quota_file *qf, ext2_loff_t offset,
127 unsigned int (*e2fs_write)(struct quota_file *qf, ext2_loff_t offset,
Dquotaio_tree.c445 static ext2_loff_t find_block_dqentry(struct quota_handle *h, in find_block_dqentry()
471 static ext2_loff_t find_tree_dqentry(struct quota_handle *h, in find_tree_dqentry()
476 ext2_loff_t ret = 0; in find_tree_dqentry()
497 static inline ext2_loff_t find_dqentry(struct quota_handle *h, in find_dqentry()
509 ext2_loff_t offset; in qtree_read_dquot()
Dquotaio.c139 ext2_loff_t offset, in quota_write_nomount()
163 ext2_loff_t offset, in quota_read_nomount()
/third_party/e2fsprogs/debugfs/
Dlogdump.c291 ext2_loff_t offset, char *buf, unsigned int size) in read_journal_block()
395 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
456 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
520 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
809 ((ext2_loff_t) log_blocknr) * blocksize, in dump_metadata_block()