/linux-6.3-rc2/include/linux/ |
A D | iomap.h | 184 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length, 194 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length, 213 loff_t pos; 258 struct iomap *iomap, loff_t pos, loff_t length, ssize_t written, 259 int (*punch)(struct inode *inode, loff_t pos, loff_t length)); 267 int iomap_file_unshare(struct inode *inode, loff_t pos, loff_t len, 269 int iomap_zero_range(struct inode *inode, loff_t pos, loff_t len, 277 loff_t iomap_seek_hole(struct inode *inode, loff_t offset, 279 loff_t iomap_seek_data(struct inode *inode, loff_t offset, 306 loff_t offset); [all …]
|
A D | fs.h | 250 loff_t ia_size; 850 loff_t i_size; in i_size_read() 859 loff_t i_size; in i_size_read() 1701 loff_t pos; 1756 loff_t (*llseek) (struct file *, loff_t, int); 1794 int (*fadvise)(struct file *, loff_t, loff_t, int); 2424 loff_t start, loff_t end); 2753 extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize); 2756 int whence, loff_t maxsize, loff_t eof); 2759 extern loff_t no_seek_end_llseek_size(struct file *, loff_t, int, loff_t); [all …]
|
A D | seq_file.h | 23 loff_t index; 24 loff_t read_pos; 112 loff_t seq_lseek(struct file *, loff_t, int); 274 loff_t pos); 276 loff_t pos); 278 loff_t *ppos); 289 loff_t pos); 293 loff_t *ppos); 296 loff_t pos); 298 loff_t pos); [all …]
|
A D | netfs.h | 151 loff_t start; /* Where to start the I/O */ 191 loff_t i_size; /* Size of the file */ 192 loff_t start; /* Start position */ 241 loff_t start_pos, 249 loff_t start_pos, 256 loff_t *_start, size_t *_len, loff_t i_size); 262 loff_t i_size); 268 loff_t *_start, size_t *_len, loff_t i_size, 275 loff_t start, size_t *_len, 276 loff_t i_size, [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); 242 void *buffer, size_t *lenp, loff_t *ppos, [all …]
|
A D | fscache.h | 166 loff_t); 176 loff_t, size_t, loff_t, netfs_io_terminated_t, void *, 249 loff_t object_size) in fscache_acquire_cookie() 286 const loff_t *object_size) in fscache_unuse_cookie() 343 const loff_t *object_size) in __fscache_update_cookie() 369 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() 619 loff_t start, size_t len, loff_t i_size, in fscache_write_to_cache() [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 | uprobes.h | 113 extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); 114 extern int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct… 115 extern int uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool); 116 extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); 152 uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) in uprobe_register() 156 static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset,… in uprobe_register_refctr() 161 uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add) in uprobe_apply() 166 uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) in uprobe_unregister()
|
A D | dax.h | 161 struct page *dax_layout_busy_page_range(struct address_space *mapping, loff_t start, loff_t end); 208 int dax_file_unshare(struct inode *inode, loff_t pos, loff_t len, 210 int dax_zero_range(struct inode *inode, loff_t pos, loff_t len, bool *did_zero, 212 int dax_truncate_page(struct inode *inode, loff_t pos, bool *did_zero, 251 int dax_dedupe_file_range_compare(struct inode *src, loff_t srcoff, 252 struct inode *dest, loff_t destoff, 253 loff_t len, bool *is_same, 255 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in, 256 struct file *file_out, loff_t pos_out, 257 loff_t *len, unsigned int remap_flags,
|
/linux-6.3-rc2/fs/ |
A D | remap_range.c | 101 static int remap_verify_area(struct file *file, loff_t pos, loff_t len, in remap_verify_area() 126 loff_t pos_out, in generic_remap_check_len() 127 loff_t *len, in generic_remap_check_len() 131 loff_t new_len = *len; in generic_remap_check_len() 367 loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, in do_clone_file_range() 371 loff_t ret; in do_clone_file_range() 404 loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, in vfs_clone_file_range() 408 loff_t ret; in vfs_clone_file_range() 436 loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one() 440 loff_t ret; in vfs_dedupe_file_range_one() [all …]
|
A D | read_write.c | 54 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos() 85 loff_t 87 loff_t maxsize, loff_t eof) in generic_file_llseek_size() 162 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek() 201 loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) in no_seek_end_llseek_size() 1112 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5() 1133 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6() 1153 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5() 1173 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6() 1187 loff_t pos; in do_sendfile() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/fs/nfs/ |
A D | nfs42.h | 19 int nfs42_proc_allocate(struct file *, loff_t, loff_t); 20 ssize_t nfs42_proc_copy(struct file *, loff_t, struct file *, loff_t, size_t, 22 int nfs42_proc_deallocate(struct file *, loff_t, loff_t); 23 loff_t nfs42_proc_llseek(struct file *, loff_t, int); 26 int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
|
/linux-6.3-rc2/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 | 91 loff_t *pos, loff_t length, size_t *offp, size_t *lenp) in iomap_adjust_read_range() 247 loff_t pos) in iomap_block_needs_zeroing() 369 loff_t done, ret; in iomap_readahead_iter() 905 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_scan() 906 int (*punch)(struct inode *inode, loff_t offset, loff_t length)) in iomap_write_delalloc_scan() 984 loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_release() 985 int (*punch)(struct inode *inode, loff_t pos, loff_t length)) in iomap_write_delalloc_release() 999 loff_t data_end; in iomap_write_delalloc_release() 1077 struct iomap *iomap, loff_t pos, loff_t length, in iomap_file_buffered_write_punch_delalloc() 1079 int (*punch)(struct inode *inode, loff_t pos, loff_t length)) in iomap_file_buffered_write_punch_delalloc() [all …]
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_reflink.h | 38 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in, 39 struct file *file_out, loff_t pos_out, loff_t len, 47 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in, 48 struct file *file_out, loff_t pos_out, loff_t *len, 50 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in, 51 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, 52 loff_t *remapped);
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/cifs/ |
A D | cifsfs.h | 103 extern ssize_t cifs_splice_read(struct file *in, loff_t *ppos, 108 extern int cifs_fsync(struct file *, loff_t, loff_t, int); 109 extern int cifs_strict_fsync(struct file *, loff_t, loff_t, int); 116 extern void cifs_pages_written_back(struct inode *inode, loff_t start, unsigned int len); 117 extern void cifs_pages_write_failed(struct inode *inode, loff_t start, unsigned int len); 118 extern void cifs_pages_write_redirty(struct inode *inode, loff_t start, unsigned int len); 145 struct file *src_file, loff_t off, 146 struct file *dst_file, loff_t destoff, 150 extern void cifs_setsize(struct inode *inode, loff_t offset); 151 extern int cifs_truncate_page(struct address_space *mapping, loff_t from);
|
/linux-6.3-rc2/mm/ |
A D | fadvise.c | 32 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() 37 loff_t endbyte; /* inclusive */ in generic_fadvise() 183 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() 194 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() 208 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 215 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
|
/linux-6.3-rc2/fs/cachefiles/ |
A D | io.c | 20 loff_t start; 74 loff_t start_pos, in cachefiles_read() 102 loff_t off = start_pos, off2; in cachefiles_read() 203 loff_t off, off2; in cachefiles_query_occupancy() 282 loff_t start_pos, in __cachefiles_write() 371 loff_t start_pos, in cachefiles_write() 390 loff_t start, size_t *_len, loff_t i_size, in cachefiles_do_prepare_read() 401 loff_t off, to; in cachefiles_do_prepare_read() 507 loff_t i_size) in cachefiles_prepare_read() 520 loff_t start, size_t *_len, loff_t i_size, in cachefiles_prepare_ondemand_read() [all …]
|
/linux-6.3-rc2/fs/btrfs/ |
A D | file.h | 8 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync); 23 size_t num_pages, loff_t pos, size_t write_bytes, 25 int btrfs_fdatawrite_range(struct inode *inode, loff_t start, loff_t end); 26 int btrfs_check_nocow_lock(struct btrfs_inode *inode, loff_t pos,
|
/linux-6.3-rc2/drivers/mtd/tests/ |
A D | speedtest.c | 47 loff_t addr = (loff_t)ebnum * mtd->erasesize; in multiblock_erase() 65 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock() 73 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_page() 91 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_2pages() 109 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock() 117 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_page() 135 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_2pages()
|
/linux-6.3-rc2/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 …]
|