Searched refs:ext2_loff_t (Results 1 – 12 of 12) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | llseek.c | 68 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 …]
|
D | ext2_io.h | 21 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);
|
D | dosio.c | 378 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()
|
D | getsize.c | 129 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset() 148 ext2_loff_t high, low; in ext2fs_get_device_size2() 260 const ext2_loff_t mid = (low + high) / 2; in ext2fs_get_device_size2()
|
D | unix_io.c | 100 ext2_loff_t offset; 135 ext2_loff_t location; in raw_read_blk() 141 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk() 154 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_read_blk() 218 ext2_loff_t location; in raw_write_blk() 233 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_write_blk() 246 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_write_blk() 890 (ext2_loff_t)block * channel->block_size + data->offset, in unix_cache_readahead() 891 (ext2_loff_t)count * channel->block_size, in unix_cache_readahead()
|
D | undo_io.c | 145 ext2_loff_t offset; 327 ext2_loff_t offset; in undo_write_tdb() 908 ext2_loff_t location; in undo_write_byte()
|
/external/e2fsprogs/lib/support/ |
D | quotaio.h | 125 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,
|
D | quotaio_tree.c | 445 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()
|
D | quotaio.c | 164 ext2_loff_t offset, in quota_write_nomount() 188 ext2_loff_t offset, in quota_read_nomount()
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 290 ext2_loff_t offset) in set_o_direct() 370 ((ext2_loff_t) current_block) * block_size); in do_read() 376 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_read() 377 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_read() 443 ((ext2_loff_t) current_block) * block_size); in do_write() 449 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_write() 450 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_write()
|
D | e2image.c | 115 static ext2_loff_t seek_relative(int fd, int offset) in seek_relative() 117 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_CUR); in seek_relative() 125 static ext2_loff_t seek_set(int fd, ext2_loff_t offset) in seek_set() 127 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_SET); in seek_set() 728 ext2_loff_t offset; in output_meta_data_blocks() 995 ext2_loff_t offset; in flush_l2_cache()
|
/external/e2fsprogs/debugfs/ |
D | logdump.c | 280 ext2_loff_t offset, char *buf, unsigned int size) in read_journal_block() 381 ((ext2_loff_t) blocknr) * blocksize, in dump_journal() 409 ((ext2_loff_t) blocknr) * blocksize, in dump_journal() 648 ((ext2_loff_t) log_blocknr) * blocksize, in dump_metadata_block()
|