Home | History | Annotate | Download | only in linux

Lines Matching refs:loff_t

111 /* File is huge (eg. /dev/kmem): treat loff_t as unsigned */
434 typedef void (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
474 loff_t ia_size;
604 loff_t pos, unsigned len, unsigned flags,
607 loff_t pos, unsigned len, unsigned copied,
616 loff_t offset, unsigned long nr_segs);
638 loff_t pos, unsigned len, unsigned flags,
642 loff_t pos, unsigned len, unsigned copied,
801 loff_t i_size;
887 static inline loff_t i_size_read(const struct inode *inode)
890 loff_t i_size;
899 loff_t i_size;
915 static inline void i_size_write(struct inode *inode, loff_t i_size)
961 loff_t prev_pos; /* Cache last read() position */
1001 loff_t f_pos;
1149 loff_t fl_start;
1150 loff_t fl_end;
1172 #define OFFSET_MAX INT_LIMIT(loff_t)
1216 extern int lock_may_read(struct inode *, loff_t start, unsigned long count);
1217 extern int lock_may_write(struct inode *, loff_t start, unsigned long count);
1351 static inline int lock_may_read(struct inode *inode, loff_t start,
1357 static inline int lock_may_write(struct inode *inode, loff_t start,
1424 loff_t s_maxbytes; /* Max file size */
1600 typedef int (*filldir_t)(void *, const char *, int, loff_t, u64, unsigned);
1611 loff_t (*llseek) (struct file *, loff_t, int);
1612 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
1613 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
1614 ssize_t (*aio_read) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1615 ssize_t (*aio_write) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1624 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
1628 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
1632 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1633 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1635 long (*fallocate)(struct file *file, int mode, loff_t offset,
1636 loff_t len);
1664 void (*truncate_range)(struct inode *, loff_t, loff_t);
1677 extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *);
1678 extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *);
1680 unsigned long, loff_t *);
1682 unsigned long, loff_t *);
1706 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
1707 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
1916 extern int rw_verify_area(int, struct file *, loff_t *, size_t);
1923 extern int locks_mandatory_area(int, struct inode *, struct file *, loff_t, size_t);
1954 loff_t size)
1979 struct file *filp, loff_t offset,
2015 extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
2017 extern int do_fallocate(struct file *file, int mode, loff_t offset,
2018 loff_t len);
2053 extern void bd_set_size(struct block_device *, loff_t size);
2194 extern int filemap_fdatawait_range(struct address_space *, loff_t lstart,
2195 loff_t lend);
2198 loff_t lstart, loff_t lend);
2200 loff_t start, loff_t end, int sync_mode);
2202 loff_t start, loff_t end);
2204 extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end,
2207 extern int generic_write_sync(struct file *file, loff_t pos, loff_t count);
2282 extern int kernel_read(struct file *, loff_t, char *, unsigned long);
2293 extern loff_t default_llseek(struct file *file, loff_t offset, int origin);
2295 extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin);
2366 int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk);
2367 extern ssize_t generic_file_aio_read(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2369 loff_t *);
2370 extern ssize_t generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2372 unsigned long *, loff_t, loff_t *, size_t, size_t);
2374 unsigned long, loff_t, loff_t *, size_t, ssize_t);
2375 extern ssize_t do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos);
2376 extern ssize_t do_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos);
2382 unsigned long nr_segs, loff_t pos);
2383 extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end,
2388 extern ssize_t generic_file_splice_read(struct file *, loff_t *,
2390 extern ssize_t default_file_splice_read(struct file *, loff_t *,
2393 struct file *, loff_t *, size_t, unsigned int);
2395 struct file *out, loff_t *, size_t len, unsigned int flags);
2396 extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
2401 extern loff_t noop_llseek(struct file *file, loff_t offset, int origin);
2402 extern loff_t no_llseek(struct file *file, loff_t offset, int origin);
2403 extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin);
2404 extern loff_t generic_file_llseek_size(struct file *file, loff_t offset,
2405 int origin, loff_t maxsize);
2411 loff_t *ppos);
2414 loff_t *ppos);
2415 extern int xip_truncate_page(struct address_space *mapping, loff_t from);
2417 static inline int xip_truncate_page(struct address_space *mapping, loff_t from)
2425 loff_t file_offset);
2440 struct block_device *bdev, const struct iovec *iov, loff_t offset,
2445 struct inode *inode, const struct iovec *iov, loff_t offset,
2474 void __inode_add_bytes(struct inode *inode, loff_t bytes);
2475 void inode_add_bytes(struct inode *inode, loff_t bytes);
2476 void inode_sub_bytes(struct inode *inode, loff_t bytes);
2477 loff_t inode_get_bytes(struct inode *inode);
2478 void inode_set_bytes(struct inode *inode, loff_t bytes);
2491 loff_t start, loff_t len,
2510 extern loff_t dcache_dir_lseek(struct file *, loff_t, int);
2520 extern int noop_fsync(struct file *, loff_t, loff_t, int);
2524 loff_t pos, unsigned len, unsigned flags,
2527 loff_t pos, unsigned len, unsigned copied,
2531 extern ssize_t generic_read_dir(struct file *, char __user *, size_t, loff_t *);
2541 loff_t *ppos, const void *from, size_t available);
2542 extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos,
2545 extern int generic_file_fsync(struct file *, loff_t, loff_t, int);
2558 extern int inode_newsize_ok(const struct inode *, loff_t offset);
2597 size_t size, loff_t *pos);
2644 size_t len, loff_t *ppos);
2646 size_t len, loff_t *ppos);
2650 void __user *buffer, size_t *lenp, loff_t *ppos);
2652 void __user *buffer, size_t *lenp, loff_t *ppos);
2654 void __user *buffer, size_t *lenp, loff_t *ppos);