Home
last modified time | relevance | path

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

/external/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.c129 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset()
148 ext2_loff_t high, low; in ext2fs_get_device_size2()
263 const ext2_loff_t mid = (low + high) / 2; in ext2fs_get_device_size2()
Dunix_io.c106 ext2_loff_t offset;
164 ext2_loff_t location; in raw_read_blk()
171 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
193 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_read_blk()
267 ext2_loff_t location; in raw_write_blk()
282 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_write_blk()
303 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_write_blk()
980 (ext2_loff_t)block * channel->block_size + data->offset, in unix_cache_readahead()
981 (ext2_loff_t)count * channel->block_size, in unix_cache_readahead()
Dundo_io.c145 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/
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()
/external/e2fsprogs/misc/
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.c117 static ext2_loff_t seek_relative(int fd, int offset) in seek_relative()
119 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_CUR); in seek_relative()
127 static ext2_loff_t seek_set(int fd, ext2_loff_t offset) in seek_set()
129 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_SET); in seek_set()
738 ext2_loff_t offset; in output_meta_data_blocks()
1008 ext2_loff_t offset; in flush_l2_cache()
/external/e2fsprogs/debugfs/
Dlogdump.c285 ext2_loff_t offset, char *buf, unsigned int size) in read_journal_block()
386 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
420 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
659 ((ext2_loff_t) log_blocknr) * blocksize, in dump_metadata_block()