Home
last modified time | relevance | path

Searched refs:loff_t (Results 1 – 25 of 2100) sorted by relevance

12345678910>>...84

/linux-6.15/include/linux/
H A Diomap.h204 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length,
214 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length,
235 loff_t pos;
237 loff_t iter_start_pos;
310 static inline loff_t iomap_last_written_block(struct inode *inode, loff_t pos, in iomap_last_written_block()
346 int iomap_file_unshare(struct inode *inode, loff_t pos, loff_t len,
348 int iomap_zero_range(struct inode *inode, loff_t pos, loff_t len,
354 typedef void (*iomap_punch_t)(struct inode *inode, loff_t offset, loff_t length,
362 loff_t iomap_seek_hole(struct inode *inode, loff_t offset,
364 loff_t iomap_seek_data(struct inode *inode, loff_t offset,
[all …]
H A Dsplice.h42 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 …]
H A Dsysctl.h65 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);
239 void *buffer, size_t *lenp, loff_t *ppos,
[all …]
H A Dseq_file.h22 loff_t index;
23 loff_t read_pos;
111 loff_t seq_lseek(struct file *, loff_t, int);
301 loff_t pos);
303 loff_t pos);
305 loff_t *ppos);
316 loff_t pos);
320 loff_t *ppos);
323 loff_t pos);
325 loff_t pos);
[all …]
H A Dfscache.h166 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 …]
H A Dfs.h288 loff_t ia_size;
959 loff_t i_size; in i_size_read()
968 loff_t i_size; in i_size_read()
2073 loff_t pos;
2132 loff_t (*llseek) (struct file *, loff_t, int);
2168 int (*fadvise)(struct file *, loff_t, loff_t, int);
2946 loff_t start, loff_t end);
2948 loff_t end);
3384 extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize);
3387 int whence, loff_t maxsize, loff_t eof);
[all …]
H A Ddax.h156 struct page *dax_layout_busy_page_range(struct address_space *mapping, loff_t start, loff_t end);
203 int dax_file_unshare(struct inode *inode, loff_t pos, loff_t len,
205 int dax_zero_range(struct inode *inode, loff_t pos, loff_t len, bool *did_zero,
231 loff_t start, loff_t end, void (cb)(struct inode *)) in dax_break_layout()
263 loff_t start, loff_t end);
267 loff_t end, void (cb)(struct inode *));
275 struct inode *dest, loff_t destoff,
276 loff_t len, bool *is_same,
278 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in,
279 struct file *file_out, loff_t pos_out,
[all …]
H A Dnvram.h36 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()
/linux-6.15/fs/
H A Dread_write.c83 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()
262 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek()
301 loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) in no_seek_end_llseek_size()
1231 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5()
1252 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6()
1272 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5()
1292 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6()
1305 loff_t pos; in do_sendfile()
[all …]
H A Dremap_range.c39 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-6.15/include/linux/mtd/
H A Dmtd.h322 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.15/fs/nfs/
H A Dnfs42.h20 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-6.15/drivers/gpu/drm/i915/soc/
H A Dintel_rom.c19 loff_t offset;
23 u32 (*read32)(struct intel_rom *rom, loff_t offset);
24 u16 (*read16)(struct intel_rom *rom, loff_t offset);
29 static u32 spi_read32(struct intel_rom *rom, loff_t offset) in spi_read32()
37 static u16 spi_read16(struct intel_rom *rom, loff_t offset) in spi_read16()
67 static u32 pci_read32(struct intel_rom *rom, loff_t offset) in pci_read32()
78 loff_t offset, size_t size) in pci_read_block()
123 loff_t offset, size_t size) in intel_rom_read_block()
126 loff_t index; in intel_rom_read_block()
137 loff_t intel_rom_find(struct intel_rom *rom, u32 needle) in intel_rom_find()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_reflink.h47 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-6.15/drivers/infiniband/hw/hfi1/
H A Ddebugfs.c27 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.15/fs/iomap/
H A Dseek.c14 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()
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
80 iomap_seek_data(struct inode *inode, loff_t pos, const struct iomap_ops *ops) in iomap_seek_data()
82 loff_t size = i_size_read(inode); in iomap_seek_data()
/linux-6.15/drivers/s390/crypto/
H A Dpkey_sysfs.c51 loff_t off, size_t count) in pkey_protkey_aes_attr_read()
188 char *buf, loff_t off, in protkey_aes_128_read()
218 char *buf, loff_t off, in protkey_aes_128_xts_read()
228 char *buf, loff_t off, in protkey_aes_256_xts_read()
238 char *buf, loff_t off, in protkey_aes_xts_128_read()
248 char *buf, loff_t off, in protkey_aes_xts_256_read()
375 char *buf, loff_t off, in ccadata_aes_128_xts_read()
385 char *buf, loff_t off, in ccadata_aes_256_xts_read()
574 char *buf, loff_t off, in ep11_aes_128_read()
584 char *buf, loff_t off, in ep11_aes_192_read()
[all …]
/linux-6.15/fs/ecryptfs/
H A Dread_write.c28 loff_t offset, size_t size) in ecryptfs_write_lower()
62 loff_t offset; in ecryptfs_write_lower_page_segment()
65 offset = (loff_t)folio_for_lower->index * PAGE_SIZE + offset_in_page; in ecryptfs_write_lower_page_segment()
97 loff_t ecryptfs_file_size = i_size_read(ecryptfs_inode); in ecryptfs_write()
98 loff_t data_offset = 0; in ecryptfs_write()
99 loff_t pos; in ecryptfs_write()
116 loff_t total_remaining_bytes = ((offset + size) - pos); in ecryptfs_write()
127 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.15/fs/xfs/scrub/
H A Dxfile.h13 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-6.15/fs/bcachefs/
H A Dfs-io-pagecache.h9 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);
H A Dfs-io.h164 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-6.15/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-debugfs.c175 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.15/mm/
H A Dfadvise.c31 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()
201 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument
208 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
/linux-6.15/fs/hpfs/
H A Ddnode.c22 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 …]
/linux-6.15/drivers/mtd/tests/
H A Dspeedtest.c47 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()

12345678910>>...84