/Linux-v5.4/include/linux/ |
D | iomap.h | 62 loff_t offset; /* file offset of mapping, bytes */ 74 iomap_sector(struct iomap *iomap, loff_t pos) in iomap_sector() 90 int (*page_prepare)(struct inode *inode, loff_t pos, unsigned len, 92 void (*page_done)(struct inode *inode, loff_t pos, unsigned copied, 112 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length, 121 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length, 128 typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len, 131 loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length, 169 int iomap_file_dirty(struct inode *inode, loff_t pos, loff_t len, 171 int iomap_zero_range(struct inode *inode, loff_t pos, loff_t len, [all …]
|
D | fs.h | 92 typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset, 229 loff_t ia_size; 324 loff_t ki_pos; 380 loff_t pos, unsigned len, unsigned flags, 383 loff_t pos, unsigned len, unsigned copied, 419 loff_t pos, unsigned len, unsigned flags, 423 loff_t pos, unsigned len, unsigned copied, 662 loff_t i_size; 847 static inline loff_t i_size_read(const struct inode *inode) in i_size_read() 850 loff_t i_size; in i_size_read() [all …]
|
D | seq_file.h | 22 loff_t index; 23 loff_t read_pos; 33 void * (*start) (struct seq_file *m, loff_t *pos); 35 void * (*next) (struct seq_file *m, void *v, loff_t *pos); 110 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); 111 loff_t seq_lseek(struct file *, loff_t, int); 214 loff_t pos); 216 loff_t pos); 218 loff_t *ppos); 225 loff_t pos); [all …]
|
D | sysctl.h | 48 void __user *buffer, size_t *lenp, loff_t *ppos); 51 void __user *, size_t *, loff_t *); 53 void __user *, size_t *, loff_t *); 55 void __user *, size_t *, loff_t *); 57 void __user *, size_t *, loff_t *); 60 loff_t *ppos); 62 void __user *, size_t *, loff_t *); 64 void __user *, size_t *, loff_t *); 66 void __user *, size_t *, loff_t *); 68 void __user *, size_t *, loff_t *); [all …]
|
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()
|
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()
|
/Linux-v5.4/fs/iomap/ |
D | seek.c | 18 page_seek_hole_data(struct inode *inode, struct page *page, loff_t *lastoff, in page_seek_hole_data() 24 loff_t poff = page_offset(page); in page_seek_hole_data() 73 static loff_t 74 page_cache_seek_hole_data(struct inode *inode, loff_t offset, loff_t length, in page_cache_seek_hole_data() 79 loff_t lastoff = offset; in page_cache_seek_hole_data() 120 static loff_t 121 iomap_seek_hole_actor(struct inode *inode, loff_t offset, loff_t length, in iomap_seek_hole_actor() 132 *(loff_t *)data = offset; in iomap_seek_hole_actor() 139 loff_t 140 iomap_seek_hole(struct inode *inode, loff_t offset, const struct iomap_ops *ops) in iomap_seek_hole() [all …]
|
D | buffered-io.c | 65 loff_t *pos, loff_t length, unsigned *offp, unsigned *lenp) in iomap_adjust_read_range() 67 loff_t orig_pos = *pos; in iomap_adjust_read_range() 68 loff_t isize = i_size_read(inode); in iomap_adjust_read_range() 72 unsigned plen = min_t(loff_t, PAGE_SIZE - poff, length); in iomap_adjust_read_range() 206 static loff_t 207 iomap_readpage_actor(struct inode *inode, loff_t pos, loff_t length, void *data, in iomap_readpage_actor() 214 loff_t orig_pos = pos; in iomap_readpage_actor() 294 loff_t ret; in iomap_readpage() 325 iomap_next_page(struct inode *inode, struct list_head *pages, loff_t pos, in iomap_next_page() 326 loff_t length, loff_t *done) in iomap_next_page() [all …]
|
D | fiemap.c | 45 static loff_t 46 iomap_fiemap_actor(struct inode *inode, loff_t pos, loff_t length, void *data, in iomap_fiemap_actor() 50 loff_t ret = length; in iomap_fiemap_actor() 68 loff_t start, loff_t len, const struct iomap_ops *ops) in iomap_fiemap() 71 loff_t ret; in iomap_fiemap() 112 static loff_t 113 iomap_bmap_actor(struct inode *inode, loff_t pos, loff_t length, in iomap_bmap_actor() 134 loff_t pos = bno << inode->i_blkbits; in iomap_bmap()
|
/Linux-v5.4/fs/nfs/ |
D | nfs42.h | 16 int nfs42_proc_allocate(struct file *, loff_t, loff_t); 17 ssize_t nfs42_proc_copy(struct file *, loff_t, struct file *, loff_t, size_t); 18 int nfs42_proc_deallocate(struct file *, loff_t, loff_t); 19 loff_t nfs42_proc_llseek(struct file *, loff_t, int); 22 int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
|
D | nfs4file.c | 132 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in __nfs4_copy_file_range() 133 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() 146 static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in nfs4_copy_file_range() 147 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range() 160 static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence) in nfs4_file_llseek() 162 loff_t ret; in nfs4_file_llseek() 176 static long nfs42_fallocate(struct file *filep, int mode, loff_t offset, loff_t len) in nfs42_fallocate() 196 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() 197 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range()
|
/Linux-v5.4/fs/ |
D | read_write.c | 54 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos() 85 loff_t 86 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() 87 loff_t maxsize, loff_t eof) in generic_file_llseek_size() 144 loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek() 162 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek() 181 loff_t no_seek_end_llseek(struct file *file, loff_t offset, int whence) in no_seek_end_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() 224 loff_t noop_llseek(struct file *file, loff_t offset, int whence) in noop_llseek() 230 loff_t no_llseek(struct file *file, loff_t offset, int whence) in no_llseek() [all …]
|
D | sync.c | 189 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() 237 int sync_file_range(struct file *file, loff_t offset, loff_t nbytes, in sync_file_range() 242 loff_t endbyte; /* inclusive */ in sync_file_range() 364 int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, in ksys_sync_file_range() 379 SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes, in SYSCALL_DEFINE4() argument 388 loff_t, offset, loff_t, nbytes) in SYSCALL_DEFINE4() argument
|
/Linux-v5.4/include/linux/mtd/ |
D | mtd.h | 277 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len, 279 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len); 280 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len, 282 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, 284 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len, 286 int (*_read_oob) (struct mtd_info *mtd, loff_t from, 288 int (*_write_oob) (struct mtd_info *mtd, loff_t to, 292 int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, 296 int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from, 298 int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to, [all …]
|
/Linux-v5.4/fs/xfs/ |
D | xfs_reflink.h | 42 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in, 43 struct file *file_out, loff_t pos_out, loff_t len, 51 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in, 52 struct file *file_out, loff_t pos_out, loff_t *len, 54 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in, 55 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, 56 loff_t *remapped);
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | debugfs.c | 69 loff_t *ppos) in hfi1_seq_read() 82 loff_t hfi1_seq_lseek(struct file *file, loff_t offset, int whence) in hfi1_seq_lseek() 85 loff_t r; in hfi1_seq_lseek() 98 static void *_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _opcode_stats_seq_start() 107 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next() 134 loff_t *spos = v; in _opcode_stats_seq_show() 135 loff_t i = *spos, j; in _opcode_stats_seq_show() 156 static void *_tx_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _tx_opcode_stats_seq_start() 161 static void *_tx_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _tx_opcode_stats_seq_next() 172 loff_t *spos = v; in _tx_opcode_stats_seq_show() [all …]
|
/Linux-v5.4/fs/ecryptfs/ |
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() 93 int ecryptfs_write(struct inode *ecryptfs_inode, char *data, loff_t offset, in ecryptfs_write() 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() [all …]
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | sys_ppc32.c | 67 return ksys_pread64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo); in compat_sys_pread64() 73 return ksys_pwrite64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo); in compat_sys_pwrite64() 78 return ksys_readahead(fd, ((loff_t)offhi << 32) | offlo, count); in compat_sys_readahead() 90 return ksys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo, in compat_sys_fallocate() 91 ((loff_t)lenhi << 32) | lenlo); in compat_sys_fallocate() 111 loff_t offset = ((loff_t)offset_hi << 32) | offset_lo; in compat_sys_sync_file_range2() 112 loff_t nbytes = ((loff_t)nbytes_hi << 32) | nbytes_lo; in compat_sys_sync_file_range2()
|
/Linux-v5.4/include/linux/sched/ |
D | sysctl.h | 17 size_t *lenp, loff_t *ppos); 47 loff_t *ppos); 77 loff_t *ppos); 81 loff_t *ppos); 86 loff_t *ppos); 91 loff_t *ppos); 95 loff_t *ppos); 101 loff_t *ppos);
|
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-debugfs.c | 125 loff_t *ppos, unsigned int value) in xgbe_common_read() 149 loff_t *ppos, unsigned int *value) in xgbe_common_write() 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() 205 size_t count, loff_t *ppos) in xgmac_reg_value_write() 235 size_t count, loff_t *ppos) in xpcs_mmd_read() 243 size_t count, loff_t *ppos) in xpcs_mmd_write() 252 size_t count, loff_t *ppos) in xpcs_reg_addr_read() 260 size_t count, loff_t *ppos) in xpcs_reg_addr_write() [all …]
|
/Linux-v5.4/mm/ |
D | fadvise.c | 30 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() 35 loff_t endbyte; /* inclusive */ in generic_fadvise() 182 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() 193 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() 207 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 214 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
|
/Linux-v5.4/fs/nfsd/ |
D | vfs.h | 40 typedef int (*nfsd_filldir_t)(void *, const char *, int, loff_t, u64, unsigned); 57 struct file *, loff_t, loff_t, int); 74 loff_t, unsigned long); 82 struct file *file, loff_t offset, 86 struct file *file, loff_t offset, 91 loff_t, struct kvec *, int, unsigned long *, 93 __be32 nfsd_write(struct svc_rqst *, struct svc_fh *, loff_t, 96 struct file *file, loff_t offset, 114 loff_t *, struct readdir_cd *, nfsd_filldir_t);
|
/Linux-v5.4/drivers/oprofile/ |
D | oprofile_files.c | 31 size_t count, loff_t *offset) in timeout_read() 39 size_t count, loff_t *offset) in timeout_write() 68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read() 75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write() 105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read() 117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read() 129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read() 135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write() 166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write()
|
/Linux-v5.4/drivers/mtd/tests/ |
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-v5.4/drivers/infiniband/hw/qib/ |
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 …]
|