Searched refs:blkid_loff_t (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/lib/blkid/ |
D | llseek.c | 62 blkid_loff_t *, unsigned int); 65 unsigned long, offset_low, blkid_loff_t *, result, in _syscall5() argument 69 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) in _syscall5() 71 blkid_loff_t result; in _syscall5() 83 return (retval == -1 ? (blkid_loff_t) retval : result); in _syscall5() 90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) in blkid_llseek() 92 blkid_loff_t result; in blkid_llseek() 95 if ((sizeof(off_t) >= sizeof(blkid_loff_t)) || in blkid_llseek() 96 (offset < ((blkid_loff_t) 1 << ((sizeof(off_t)*8) -1)))) in blkid_llseek() 126 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int origin) in blkid_llseek() [all …]
|
D | getsize.c | 61 static int valid_offset(int fd, blkid_loff_t offset) in valid_offset() 75 blkid_loff_t blkid_get_dev_size(int fd) in blkid_get_dev_size() 83 blkid_loff_t high, low; in blkid_get_dev_size() 97 if ((sizeof(blkid_loff_t) < sizeof(unsigned long long)) in blkid_get_dev_size() 100 return (blkid_loff_t) size64 << 9; in blkid_get_dev_size() 113 if ((sizeof(blkid_loff_t) < sizeof(unsigned long long)) in blkid_get_dev_size() 122 return (blkid_loff_t)size << 9; in blkid_get_dev_size() 133 return (blkid_loff_t)this_floppy.size << 9; in blkid_get_dev_size() 176 const blkid_loff_t mid = (low + high) / 2; in blkid_get_dev_size()
|
D | blkid.h | 28 typedef __s64 blkid_loff_t; typedef 74 extern blkid_loff_t blkid_get_dev_size(int fd);
|
D | blkidP.h | 163 extern blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence);
|
D | blkid.h.in | 28 typedef __s64 blkid_loff_t; typedef 74 extern blkid_loff_t blkid_get_dev_size(int fd);
|
D | probe.c | 53 blkid_loff_t off, size_t len) in get_buffer() 99 blkid_loff_t offset; in check_mdraid() 105 offset = (blkid_get_dev_size(fd) & ~((blkid_loff_t)65535)) - 65536; in check_mdraid() 695 blkid_loff_t off; in probe_ntfs()
|