| /linux/include/linux/ |
| A D | iomap.h | 188 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length, 198 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length, 217 loff_t pos; 265 static inline loff_t iomap_last_written_block(struct inode *inode, loff_t pos, in iomap_last_written_block() 301 int iomap_file_unshare(struct inode *inode, loff_t pos, loff_t len, 303 int iomap_zero_range(struct inode *inode, loff_t pos, loff_t len, 310 typedef void (*iomap_punch_t)(struct inode *inode, loff_t offset, loff_t length, 318 loff_t iomap_seek_hole(struct inode *inode, loff_t offset, 320 loff_t iomap_seek_data(struct inode *inode, loff_t offset, 357 loff_t offset, unsigned len); [all …]
|
| A D | splice.h | 42 loff_t pos; /* file position */ 43 loff_t *opos; /* sendfile: output position */ 72 loff_t *ppos, size_t len, unsigned int flags, 79 ssize_t vfs_splice_read(struct file *in, loff_t *ppos, 84 ssize_t do_splice(struct file *in, loff_t *off_in, struct file *out, 85 loff_t *off_out, size_t len, unsigned int flags); 86 ssize_t do_splice_direct(struct file *in, loff_t *ppos, struct file *out, 87 loff_t *opos, size_t len, unsigned int flags); 89 loff_t *opos, size_t len); 92 struct file *out, loff_t pos_out, in splice_copy_file_range() [all …]
|
| A D | sysctl.h | 65 size_t *lenp, loff_t *ppos); 69 size_t *lenp, loff_t *ppos); 74 size_t *lenp, loff_t *ppos); 76 size_t *lenp, loff_t *ppos); 79 void *buffer, size_t *lenp, loff_t *ppos); 81 loff_t *); 83 loff_t *); 86 size_t *, loff_t *); 89 size_t *lenp, loff_t *ppos); 241 void *buffer, size_t *lenp, loff_t *ppos, [all …]
|
| A D | seq_file.h | 22 loff_t index; 23 loff_t read_pos; 111 loff_t seq_lseek(struct file *, loff_t, int); 300 loff_t pos); 302 loff_t pos); 304 loff_t *ppos); 315 loff_t pos); 319 loff_t *ppos); 322 loff_t pos); 324 loff_t pos); [all …]
|
| A D | fs.h | 253 loff_t ia_size; 907 loff_t i_size; in i_size_read() 916 loff_t i_size; in i_size_read() 2006 loff_t pos; 2065 loff_t (*llseek) (struct file *, loff_t, int); 2101 int (*fadvise)(struct file *, loff_t, loff_t, int); 2843 loff_t start, loff_t end); 3242 extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize); 3245 int whence, loff_t maxsize, loff_t eof); 3250 extern loff_t no_seek_end_llseek_size(struct file *, loff_t, int, loff_t); [all …]
|
| A D | fscache.h | 166 loff_t); 177 loff_t start, size_t len, loff_t i_size, 252 loff_t object_size) in fscache_acquire_cookie() 289 const loff_t *object_size) in fscache_unuse_cookie() 330 const void *aux_data, const loff_t *object_size) in fscache_update_aux() 346 const loff_t *object_size) in __fscache_update_cookie() 372 const loff_t *object_size) in fscache_update_cookie() 508 loff_t start_pos, in fscache_read() 567 loff_t start_pos, in fscache_write() 587 loff_t start, size_t len, in fscache_clear_page_bits() [all …]
|
| A D | nvram.h | 36 ssize_t (*read)(char *, size_t, loff_t *); 37 ssize_t (*write)(char *, size_t, loff_t *); 81 static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos) in nvram_read_bytes() 84 loff_t i; in nvram_read_bytes() 95 static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos) in nvram_write_bytes() 98 loff_t i; in nvram_write_bytes() 109 static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos) in nvram_read() 121 static inline ssize_t nvram_write(char *buf, size_t count, loff_t *ppos) in nvram_write()
|
| A D | dax.h | 162 struct page *dax_layout_busy_page_range(struct address_space *mapping, loff_t start, loff_t end); 209 int dax_file_unshare(struct inode *inode, loff_t pos, loff_t len, 211 int dax_zero_range(struct inode *inode, loff_t pos, loff_t len, bool *did_zero, 213 int dax_truncate_page(struct inode *inode, loff_t pos, bool *did_zero, 252 int dax_dedupe_file_range_compare(struct inode *src, loff_t srcoff, 253 struct inode *dest, loff_t destoff, 254 loff_t len, bool *is_same, 256 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in, 257 struct file *file_out, loff_t pos_out, 258 loff_t *len, unsigned int remap_flags,
|
| /linux/fs/ |
| A D | read_write.c | 83 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos() 158 loff_t 160 loff_t maxsize, loff_t eof) in generic_file_llseek_size() 257 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek() 296 loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) in no_seek_end_llseek_size() 1246 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5() 1267 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6() 1287 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5() 1307 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6() 1321 loff_t pos; in do_sendfile() [all …]
|
| A D | remap_range.c | 39 loff_t size_in, size_out; in generic_remap_checks() 102 int remap_verify_area(struct file *file, loff_t pos, loff_t len, bool write) in remap_verify_area() 105 loff_t tmp; in remap_verify_area() 135 loff_t pos_out, in generic_remap_check_len() 136 loff_t *len, in generic_remap_check_len() 140 loff_t new_len = *len; in generic_remap_check_len() 376 loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, in vfs_clone_file_range() 380 loff_t ret; in vfs_clone_file_range() 432 loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one() 436 loff_t ret; in vfs_dedupe_file_range_one() [all …]
|
| /linux/include/linux/mtd/ |
| A D | mtd.h | 322 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, 326 int (*_read_oob) (struct mtd_info *mtd, loff_t from, 328 int (*_write_oob) (struct mtd_info *mtd, loff_t to, 346 unsigned long count, loff_t to, size_t *retlen); 352 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); 353 int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs); 480 loff_t ofs, size_t len) in mtd_max_bad_blocks() 529 unsigned long count, loff_t to, size_t *retlen); 543 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs); 544 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs); [all …]
|
| /linux/fs/nfs/ |
| A D | nfs42.h | 20 int nfs42_proc_allocate(struct file *, loff_t, loff_t); 21 ssize_t nfs42_proc_copy(struct file *, loff_t, struct file *, loff_t, size_t, 23 int nfs42_proc_deallocate(struct file *, loff_t, loff_t); 24 loff_t nfs42_proc_llseek(struct file *, loff_t, int); 27 int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
|
| /linux/fs/iomap/ |
| A D | seek.c | 13 static loff_t iomap_seek_hole_iter(const struct iomap_iter *iter, in iomap_seek_hole_iter() 14 loff_t *hole_pos) in iomap_seek_hole_iter() 16 loff_t length = iomap_length(iter); in iomap_seek_hole_iter() 33 loff_t 34 iomap_seek_hole(struct inode *inode, loff_t pos, const struct iomap_ops *ops) in iomap_seek_hole() 36 loff_t size = i_size_read(inode); in iomap_seek_hole() 59 static loff_t iomap_seek_data_iter(const struct iomap_iter *iter, in iomap_seek_data_iter() 60 loff_t *hole_pos) in iomap_seek_data_iter() 62 loff_t length = iomap_length(iter); in iomap_seek_data_iter() 79 loff_t [all …]
|
| A D | buffered-io.c | 234 loff_t *pos, loff_t length, size_t *offp, size_t *lenp) in iomap_adjust_read_range() 360 loff_t pos) in iomap_block_needs_zeroing() 449 loff_t length = min_t(loff_t, folio_size(folio) - offset, in iomap_read_folio_iter() 451 loff_t done, ret; in iomap_read_folio_iter() 500 loff_t done, ret; in iomap_readahead_iter() 922 loff_t old_size; in iomap_write_iter() 1050 struct folio *folio, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_ifs_punch() 1054 loff_t last_byte; in iomap_write_delalloc_ifs_punch() 1080 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_punch() 1122 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_scan() [all …]
|
| /linux/fs/xfs/ |
| A D | xfs_reflink.h | 47 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in, 48 struct file *file_out, loff_t pos_out, loff_t len, 56 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in, 57 struct file *file_out, loff_t pos_out, loff_t *len, 59 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in, 60 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, 61 loff_t *remapped);
|
| /linux/drivers/infiniband/hw/hfi1/ |
| A D | debugfs.c | 27 loff_t *ppos) in hfi1_seq_read() 40 loff_t hfi1_seq_lseek(struct file *file, loff_t offset, int whence) in hfi1_seq_lseek() 43 loff_t r; in hfi1_seq_lseek() 92 loff_t *spos = v; in _opcode_stats_seq_show() 130 loff_t *spos = v; in _tx_opcode_stats_seq_show() 131 loff_t i = *spos; in _tx_opcode_stats_seq_show() 183 loff_t *spos; in _ctx_stats_seq_show() 184 loff_t i, j; in _ctx_stats_seq_show() 222 loff_t n = *pos; in _qp_stats_seq_start() 243 loff_t *pos) in _qp_stats_seq_next() [all …]
|
| /linux/drivers/s390/crypto/ |
| A D | pkey_sysfs.c | 52 loff_t off, size_t count) in pkey_protkey_aes_attr_read() 189 char *buf, loff_t off, in protkey_aes_128_read() 219 char *buf, loff_t off, in protkey_aes_128_xts_read() 229 char *buf, loff_t off, in protkey_aes_256_xts_read() 239 char *buf, loff_t off, in protkey_aes_xts_128_read() 249 char *buf, loff_t off, in protkey_aes_xts_256_read() 376 char *buf, loff_t off, in ccadata_aes_128_xts_read() 386 char *buf, loff_t off, in ccadata_aes_256_xts_read() 575 char *buf, loff_t off, in ep11_aes_128_read() 585 char *buf, loff_t off, in ep11_aes_192_read() [all …]
|
| /linux/fs/ecryptfs/ |
| A D | read_write.c | 28 loff_t offset, size_t size) in ecryptfs_write_lower() 62 loff_t offset; in ecryptfs_write_lower_page_segment() 65 offset = ((((loff_t)page_for_lower->index) << PAGE_SHIFT) in ecryptfs_write_lower_page_segment() 99 loff_t ecryptfs_file_size = i_size_read(ecryptfs_inode); in ecryptfs_write() 100 loff_t data_offset = 0; in ecryptfs_write() 101 loff_t pos; in ecryptfs_write() 117 loff_t total_remaining_bytes = ((offset + size) - pos); in ecryptfs_write() 128 loff_t total_remaining_zeros = (offset - pos); in ecryptfs_write() 219 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower() 252 loff_t offset; in ecryptfs_read_lower_page_segment() [all …]
|
| /linux/fs/xfs/scrub/ |
| A D | xfile.h | 13 int xfile_create(const char *description, loff_t isize, struct xfile **xfilep); 16 int xfile_load(struct xfile *xf, void *buf, size_t count, loff_t pos); 18 loff_t pos); 20 void xfile_discard(struct xfile *xf, loff_t pos, u64 count); 21 loff_t xfile_seek_data(struct xfile *xf, loff_t pos); 26 struct folio *xfile_get_folio(struct xfile *xf, loff_t offset, size_t len,
|
| /linux/fs/bcachefs/ |
| A D | fs-io-pagecache.h | 9 int bch2_filemap_get_contig_folios_d(struct address_space *, loff_t, 11 int bch2_write_invalidate_inode_pages_range(struct address_space *, loff_t, loff_t); 29 static inline loff_t folio_sector(struct folio *folio) in folio_sector() 80 static inline int folio_pos_to_s(struct folio *folio, loff_t pos) in folio_pos_to_s() 172 loff_t bch2_seek_pagecache_data(struct inode *, loff_t, loff_t, unsigned, bool); 173 loff_t bch2_seek_pagecache_hole(struct inode *, loff_t, loff_t, unsigned, bool);
|
| A D | fs-io.h | 164 loff_t, unsigned); 166 int bch2_fsync(struct file *, loff_t, loff_t, int); 170 long bch2_fallocate_dispatch(struct file *, int, loff_t, loff_t); 172 loff_t bch2_remap_file_range(struct file *, loff_t, struct file *, 173 loff_t, loff_t, unsigned); 175 loff_t bch2_llseek(struct file *, loff_t, int);
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| A D | xgbe-debugfs.c | 175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 193 size_t count, loff_t *ppos) in xgmac_reg_value_read() 235 size_t count, loff_t *ppos) in xpcs_mmd_read() 252 size_t count, loff_t *ppos) in xpcs_reg_addr_read() 260 size_t count, loff_t *ppos) in xpcs_reg_addr_write() 269 size_t count, loff_t *ppos) in xpcs_reg_value_read() 320 size_t count, loff_t *ppos) in xprop_reg_addr_read() 380 size_t count, loff_t *ppos) in xi2c_reg_addr_read() 389 size_t count, loff_t *ppos) in xi2c_reg_addr_write() [all …]
|
| /linux/mm/ |
| A D | fadvise.c | 31 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() 36 loff_t endbyte; /* inclusive */ in generic_fadvise() 180 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() 191 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() 205 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 212 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
|
| /linux/fs/overlayfs/ |
| A D | file.c | 183 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek() 188 loff_t ret; in ovl_llseek() 392 static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ovl_fsync() 430 static long ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in ovl_fallocate() 463 static int ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in ovl_fadvise() 488 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() 489 struct file *file_out, loff_t pos_out, in ovl_copyfile() 495 loff_t ret; in ovl_copyfile() 549 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() 556 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() [all …]
|
| /linux/fs/hpfs/ |
| A D | dnode.c | 22 return ((loff_t)le32_to_cpu(d->self) << 4) | (loff_t)1; in get_pos() 29 loff_t **ppos; in hpfs_add_pos() 75 static void for_all_poss(struct inode *inode, void (*f)(loff_t *, loff_t, loff_t), in for_all_poss() argument 76 loff_t p1, loff_t p2) in for_all_poss() 79 loff_t **i; in for_all_poss() 86 static void hpfs_pos_subst(loff_t *p, loff_t f, loff_t t) in hpfs_pos_subst() 96 static void hpfs_pos_ins(loff_t *p, loff_t d, loff_t c) in hpfs_pos_ins() 108 static void hpfs_pos_del(loff_t *p, loff_t d, loff_t c) in hpfs_pos_del() 277 loff_t t; in hpfs_add_to_dnode() 441 loff_t t; in move_to_top() [all …]
|