Home
last modified time | relevance | path

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

12345

/include/linux/
Diomap.h83 loff_t offset; /* file offset of mapping, bytes */
97 iomap_sector(struct iomap *iomap, loff_t pos) in iomap_sector()
113 int (*page_prepare)(struct inode *inode, loff_t pos, unsigned len,
115 void (*page_done)(struct inode *inode, loff_t pos, unsigned copied,
135 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length,
145 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length,
155 typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len,
158 loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length,
178 int iomap_file_unshare(struct inode *inode, loff_t pos, loff_t len,
180 int iomap_zero_range(struct inode *inode, loff_t pos, loff_t len,
[all …]
Dsysctl.h56 size_t *lenp, loff_t *ppos);
58 int proc_dostring(struct ctl_table *, int, void *, size_t *, loff_t *);
59 int proc_dointvec(struct ctl_table *, int, void *, size_t *, loff_t *);
60 int proc_douintvec(struct ctl_table *, int, void *, size_t *, loff_t *);
61 int proc_dointvec_minmax(struct ctl_table *, int, void *, size_t *, loff_t *);
63 size_t *lenp, loff_t *ppos);
65 size_t *lenp, loff_t *ppos);
66 int proc_dointvec_jiffies(struct ctl_table *, int, void *, size_t *, loff_t *);
68 loff_t *);
70 loff_t *);
[all …]
Dfs.h94 typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
226 loff_t ia_size;
330 loff_t ki_pos;
390 loff_t pos, unsigned len, unsigned flags,
393 loff_t pos, unsigned len, unsigned copied,
434 loff_t pos, unsigned len, unsigned flags,
438 loff_t pos, unsigned len, unsigned copied,
663 loff_t i_size;
852 static inline loff_t i_size_read(const struct inode *inode) in i_size_read()
855 loff_t i_size; in i_size_read()
[all …]
Dseq_file.h22 loff_t index;
23 loff_t read_pos;
32 void * (*start) (struct seq_file *m, loff_t *pos);
34 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
109 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *);
111 loff_t seq_lseek(struct file *, loff_t, int);
246 loff_t pos);
248 loff_t pos);
250 loff_t *ppos);
257 loff_t pos);
[all …]
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()
Dsplice.h41 loff_t pos; /* file position */
42 loff_t *opos; /* sendfile: output position */
71 loff_t *, size_t, unsigned int,
81 extern long do_splice(struct file *in, loff_t *off_in,
82 struct file *out, loff_t *off_out,
Dpstore_zone.h8 typedef ssize_t (*pstore_zone_read_op)(char *, size_t, loff_t);
9 typedef ssize_t (*pstore_zone_write_op)(const char *, size_t, loff_t);
10 typedef ssize_t (*pstore_zone_erase_op)(size_t, loff_t);
Duprobes.h113 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()
Dkernel_read_file.h38 int kernel_read_file(struct file *file, loff_t offset,
42 int kernel_read_file_from_path(const char *path, loff_t offset,
46 int kernel_read_file_from_path_initns(const char *path, loff_t offset,
50 int kernel_read_file_from_fd(int fd, loff_t offset,
Dnmi.h207 int proc_watchdog(struct ctl_table *, int, void *, size_t *, loff_t *);
208 int proc_nmi_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *);
209 int proc_soft_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *);
210 int proc_watchdog_thresh(struct ctl_table *, int , void *, size_t *, loff_t *);
211 int proc_watchdog_cpumask(struct ctl_table *, int, void *, size_t *, loff_t *);
Dshmem_fs.h60 loff_t size, unsigned long flags);
61 extern struct file *shmem_kernel_file_setup(const char *name, loff_t size,
64 const char *name, loff_t size, unsigned long flags);
80 extern void shmem_truncate_range(struct inode *inode, loff_t start, loff_t end);
Dmroute_base.h389 void *mr_vif_seq_idx(struct net *net, struct mr_vif_iter *iter, loff_t pos);
390 void *mr_vif_seq_next(struct seq_file *seq, void *v, loff_t *pos);
392 static inline void *mr_vif_seq_start(struct seq_file *seq, loff_t *pos) in mr_vif_seq_start()
403 struct mr_mfc_iter *it, loff_t pos);
405 loff_t *pos);
407 static inline void *mr_mfc_seq_start(struct seq_file *seq, loff_t *pos, in mr_mfc_seq_start()
433 loff_t pos) in mr_vif_seq_idx()
439 void *v, loff_t *pos) in mr_vif_seq_next()
444 static inline void *mr_vif_seq_start(struct seq_file *seq, loff_t *pos) in mr_vif_seq_start()
450 struct mr_mfc_iter *it, loff_t pos) in mr_mfc_seq_idx()
[all …]
Dnsc_gpio.h35 size_t len, loff_t *ppos);
38 size_t len, loff_t *ppos);
Dwriteback.h61 loff_t range_start;
62 loff_t range_end;
367 void *buffer, size_t *lenp, loff_t *ppos);
369 void *buffer, size_t *lenp, loff_t *ppos);
371 void *buffer, size_t *lenp, loff_t *ppos);
373 void *buffer, size_t *lenp, loff_t *ppos);
375 void *buffer, size_t *lenp, loff_t *ppos);
377 void *buffer, size_t *lenp, loff_t *ppos);
Ddebugfs.h85 loff_t file_size);
108 size_t len, loff_t *ppos);
110 size_t len, loff_t *ppos);
112 size_t len, loff_t *ppos);
164 size_t count, loff_t *ppos);
167 size_t count, loff_t *ppos);
203 loff_t file_size) in debugfs_create_file_size()
248 size_t len, loff_t *ppos) in debugfs_attr_read()
255 size_t len, loff_t *ppos) in debugfs_attr_write()
262 size_t len, loff_t *ppos) in debugfs_attr_write_signed()
[all …]
Dima.h25 extern int ima_post_load_data(char *buf, loff_t size,
29 extern int ima_post_read_file(struct file *file, void *buf, loff_t size,
91 static inline int ima_post_load_data(char *buf, loff_t size, in ima_post_load_data()
104 static inline int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file()
Dbinfmts.h83 loff_t written;
84 loff_t pos;
136 extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
Duser_namespace.h137 extern ssize_t proc_uid_map_write(struct file *, const char __user *, size_t, loff_t *);
138 extern ssize_t proc_gid_map_write(struct file *, const char __user *, size_t, loff_t *);
139 extern ssize_t proc_projid_map_write(struct file *, const char __user *, size_t, loff_t *);
140 extern ssize_t proc_setgroups_write(struct file *, const char __user *, size_t, loff_t *);
Dfscache.h91 loff_t object_size);
196 void *, loff_t, bool);
216 extern int __fscache_write_page(struct fscache_cookie *, struct page *, loff_t, gfp_t);
227 extern void __fscache_enable_cookie(struct fscache_cookie *, const void *, loff_t,
330 loff_t object_size, in fscache_acquire_cookie()
505 int fscache_reserve_space(struct fscache_cookie *cookie, loff_t size) in fscache_reserve_space()
676 loff_t object_size, in fscache_write_page()
834 loff_t object_size, in fscache_enable_cookie()
/include/linux/sched/
Dsysctl.h23 void *buffer, size_t *lenp, loff_t *ppos);
52 void *buffer, size_t *length, loff_t *ppos);
85 size_t *lenp, loff_t *ppos);
87 size_t *lenp, loff_t *ppos);
89 void *buffer, size_t *lenp, loff_t *ppos);
91 size_t *lenp, loff_t *ppos);
93 size_t *lenp, loff_t *ppos);
99 size_t *lenp, loff_t *ppos);
105 void *buffer, size_t *lenp, loff_t *ppos);
/include/linux/mtd/
Dmtd.h314 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
316 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
317 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
319 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
321 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len,
323 int (*_read_oob) (struct mtd_info *mtd, loff_t from,
325 int (*_write_oob) (struct mtd_info *mtd, loff_t to,
329 int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from,
333 int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from,
335 int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to,
[all …]
Donenand.h87 loff_t diesize[MAX_DIES];
104 int (*command)(struct mtd_info *mtd, int cmd, loff_t address, size_t len);
116 int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
224 int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
226 unsigned onenand_block(struct onenand_chip *this, loff_t addr);
227 loff_t onenand_addr(struct onenand_chip *this, int block);
228 int flexonenand_region(struct mtd_info *mtd, loff_t addr);
Dnftl.h44 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
46 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
/include/trace/events/
Dandroid_fs_template.h7 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
12 __field(loff_t, offset)
14 __field(loff_t, i_size)
45 TP_PROTO(struct inode *inode, loff_t offset, int bytes),
49 __field(loff_t, offset)
Dandroid_fs.h12 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
17 TP_PROTO(struct inode *inode, loff_t offset, int bytes),
21 TP_PROTO(struct inode *inode, loff_t offset, int bytes,
26 TP_PROTO(struct inode *inode, loff_t offset, int bytes),

12345