/linux/fs/ |
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() 293 loff_t (*fn)(struct file *, loff_t, int); in vfs_llseek() 1102 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5() 1123 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6() 1143 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE5() 1163 loff_t pos = ((loff_t)pos_high << 32) | pos_low; in COMPAT_SYSCALL_DEFINE6() [all …]
|
A D | remap_range.c | 99 static int remap_verify_area(struct file *file, loff_t pos, loff_t len, in remap_verify_area() 125 loff_t *len, in generic_remap_check_len() 194 loff_t src_poff; in vfs_dedupe_file_range_compare() 195 loff_t dest_poff; in vfs_dedupe_file_range_compare() 200 loff_t cmp_len; in vfs_dedupe_file_range_compare() 363 loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, in do_clone_file_range() 367 loff_t ret; in do_clone_file_range() 405 loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, in vfs_clone_file_range() 409 loff_t ret; in vfs_clone_file_range() 441 loff_t ret; in vfs_dedupe_file_range_one() [all …]
|
A D | sync.c | 174 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() 222 int sync_file_range(struct file *file, loff_t offset, loff_t nbytes, in sync_file_range() 227 loff_t endbyte; /* inclusive */ in sync_file_range() 349 int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, in ksys_sync_file_range() 364 SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes, in SYSCALL_DEFINE4() argument 373 loff_t, offset, loff_t, nbytes) in SYSCALL_DEFINE4() argument
|
/linux/include/linux/mtd/ |
A D | mtd.h | 318 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, 322 int (*_read_oob) (struct mtd_info *mtd, loff_t from, 324 int (*_write_oob) (struct mtd_info *mtd, loff_t to, 342 unsigned long count, loff_t to, size_t *retlen); 348 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); 349 int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs); 478 loff_t ofs, size_t len) in mtd_max_bad_blocks() 527 unsigned long count, loff_t to, size_t *retlen); 541 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs); 542 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs); [all …]
|
/linux/include/linux/ |
A D | iomap.h | 83 loff_t offset; /* file offset of mapping, bytes */ 151 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length, 161 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length, 180 loff_t pos; 236 int iomap_file_unshare(struct inode *inode, loff_t pos, loff_t len, 238 int iomap_zero_range(struct inode *inode, loff_t pos, loff_t len, 246 loff_t iomap_seek_hole(struct inode *inode, loff_t offset, 248 loff_t iomap_seek_data(struct inode *inode, loff_t offset, 262 loff_t io_offset; /* offset in the file */ 273 loff_t offset); [all …]
|
A D | fs.h | 2071 loff_t (*llseek) (struct file *, loff_t, int); 2109 int (*fadvise)(struct file *, loff_t, loff_t, int); 2841 loff_t start_byte, loff_t end_byte); 2851 loff_t lstart, loff_t lend); 2853 loff_t lstart, loff_t lend); 2855 loff_t start, loff_t end, int sync_mode); 2857 loff_t start, loff_t end); 2872 loff_t start, loff_t end); 3238 extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize); 3241 int whence, loff_t maxsize, loff_t eof); [all …]
|
A D | sysctl.h | 48 size_t *lenp, loff_t *ppos); 50 int proc_dostring(struct ctl_table *, int, void *, size_t *, loff_t *); 52 size_t *lenp, loff_t *ppos); 53 int proc_dointvec(struct ctl_table *, int, void *, size_t *, loff_t *); 57 size_t *lenp, loff_t *ppos); 59 size_t *lenp, loff_t *ppos); 62 loff_t *); 64 loff_t *); 67 size_t *, loff_t *); 70 size_t *lenp, loff_t *ppos); [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); 273 loff_t pos); 275 loff_t pos); 277 loff_t *ppos); 284 loff_t pos); 288 loff_t *ppos); 291 loff_t pos); 293 loff_t pos); [all …]
|
A D | netfs.h | 135 loff_t start; /* Where to start the I/O */ 167 loff_t i_size; /* Size of the file */ 168 loff_t start; /* Start position */ 192 int (*check_write_begin)(struct file *file, loff_t pos, unsigned len, 208 loff_t start_pos, 216 loff_t start_pos, 223 loff_t *_start, size_t *_len, loff_t i_size); 229 loff_t i_size); 235 loff_t *_start, size_t *_len, loff_t i_size); 247 loff_t, unsigned int, unsigned int, struct folio **,
|
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 | 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()
|
/linux/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/drivers/infiniband/hw/hfi1/ |
A D | debugfs.c | 28 loff_t *ppos) in hfi1_seq_read() 41 loff_t hfi1_seq_lseek(struct file *file, loff_t offset, int whence) in hfi1_seq_lseek() 44 loff_t r; in hfi1_seq_lseek() 93 loff_t *spos = v; in _opcode_stats_seq_show() 131 loff_t *spos = v; in _tx_opcode_stats_seq_show() 132 loff_t i = *spos; in _tx_opcode_stats_seq_show() 184 loff_t *spos; in _ctx_stats_seq_show() 185 loff_t i, j; in _ctx_stats_seq_show() 223 loff_t n = *pos; in _qp_stats_seq_start() 244 loff_t *pos) in _qp_stats_seq_next() [all …]
|
/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 | 89 loff_t *pos, loff_t length, unsigned *offp, unsigned *lenp) in iomap_adjust_read_range() 91 loff_t orig_pos = *pos; in iomap_adjust_read_range() 247 loff_t pos) in iomap_block_needs_zeroing() 264 loff_t orig_pos = pos; in iomap_readpage_iter() 368 loff_t done, ret; in iomap_readahead_iter() 736 loff_t pos = iter->pos; in iomap_write_iter() 827 loff_t written = 0; in iomap_unshare_iter() 862 iomap_file_unshare(struct inode *inode, loff_t pos, loff_t len, in iomap_file_unshare() 902 loff_t written = 0; in iomap_zero_iter() 929 iomap_zero_range(struct inode *inode, loff_t pos, loff_t len, bool *did_zero, in iomap_zero_range() [all …]
|
/linux/fs/xfs/ |
A D | xfs_reflink.h | 41 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in, 42 struct file *file_out, loff_t pos_out, loff_t len, 50 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in, 51 struct file *file_out, loff_t pos_out, loff_t *len, 53 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in, 54 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, 55 loff_t *remapped);
|
/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/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 | 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() 181 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() 192 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() 206 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 213 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
|
/linux/include/linux/sched/ |
A D | sysctl.h | 23 void *buffer, size_t *lenp, loff_t *ppos); 68 size_t *lenp, loff_t *ppos); 70 size_t *lenp, loff_t *ppos); 72 void *buffer, size_t *lenp, loff_t *ppos); 74 size_t *lenp, loff_t *ppos); 76 size_t *lenp, loff_t *ppos); 81 void *buffer, size_t *lenp, loff_t *ppos);
|
/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 …]
|
/linux/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/drivers/net/wireless/marvell/libertas/ |
A D | debugfs.c | 34 size_t count, loff_t *ppos) in lbs_dev_info() 57 loff_t *ppos) in lbs_sleepparams_write() 93 size_t count, loff_t *ppos) in lbs_sleepparams_read() 122 loff_t *ppos) in lbs_host_sleep_write() 163 size_t count, loff_t *ppos) in lbs_host_sleep_read() 272 loff_t *ppos) in lbs_threshold_write() 339 size_t count, loff_t *ppos) in lbs_lowrssi_read() 363 size_t count, loff_t *ppos) in lbs_lowsnr_write() 403 size_t count, loff_t *ppos) in lbs_highsnr_read() 418 size_t count, loff_t *ppos) in lbs_bcnmiss_read() [all …]
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_debugfs.c | 69 static void *_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _opcode_stats_seq_start() 78 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next() 96 loff_t *spos = v; in _opcode_stats_seq_show() 97 loff_t i = *spos, j; in _opcode_stats_seq_show() 119 static void *_ctx_stats_seq_start(struct seq_file *s, loff_t *pos) in DEBUGFS_FILE() 131 static void *_ctx_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _ctx_stats_seq_next() 152 loff_t *spos; in _ctx_stats_seq_show() 153 loff_t i, j; in _ctx_stats_seq_show() 181 static void *_qp_stats_seq_start(struct seq_file *s, loff_t *pos) in DEBUGFS_FILE() 185 loff_t n = *pos; in DEBUGFS_FILE() [all …]
|
/linux/drivers/mtd/chips/ |
A D | map_rom.c | 18 static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 19 static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 23 static int maprom_point (struct mtd_info *mtd, loff_t from, size_t len, 25 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len); 72 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point() 86 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in maprom_unpoint() 91 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read() 105 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write()
|