/linux-master/arch/mips/alchemy/common/ |
H A D | dma.c | 100 int au1000_dma_read_proc(char *buf, char **start, off_t fpos, argument 113 if (fpos >= len) { 118 *start = buf + fpos; 119 len -= fpos;
|
/linux-master/arch/mips/include/asm/mach-au1x00/ |
H A D | au1000_dma.h | 125 extern int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
|
/linux-master/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 557 struct bbc_fan_control *fp, *fpos; local 559 list_for_each_entry_safe(fp, fpos, &bp->fans, bp_list) {
|
/linux-master/fs/adfs/ |
H A D | adfs.h | 129 int (*setpos)(struct adfs_dir *dir, unsigned int fpos);
|
H A D | dir_f.c | 233 adfs_f_setpos(struct adfs_dir *dir, unsigned int fpos) argument 235 if (fpos >= ADFS_NUM_DIR_ENTRIES) 238 dir->pos = 5 + fpos * 26;
|
H A D | dir_fplus.c | 159 adfs_fplus_setpos(struct adfs_dir *dir, unsigned int fpos) argument 163 if (fpos <= le32_to_cpu(dir->bighead->bigdirentries)) { 164 dir->pos = fpos;
|
/linux-master/fs/afs/ |
H A D | dir.c | 28 loff_t fpos, u64 ino, unsigned dtype); 30 loff_t fpos, u64 ino, unsigned dtype); 577 int nlen, loff_t fpos, u64 ino, unsigned dtype) 645 int nlen, loff_t fpos, u64 ino, unsigned dtype) 576 afs_lookup_one_filldir(struct dir_context *ctx, const char *name, int nlen, loff_t fpos, u64 ino, unsigned dtype) argument 644 afs_lookup_filldir(struct dir_context *ctx, const char *name, int nlen, loff_t fpos, u64 ino, unsigned dtype) argument
|
/linux-master/fs/ |
H A D | binfmt_flat.c | 180 static int decompress_exec(struct linux_binprm *bprm, loff_t fpos, char *dst, argument 187 pr_debug("decompress_exec(offset=%llx,buf=%p,len=%lx)\n", fpos, dst, len); 201 ret = kernel_read(bprm->file, buf, LBUFSIZE, &fpos); 271 ret = kernel_read(bprm->file, buf, LBUFSIZE, &fpos); 414 loff_t fpos; local 565 fpos = ntohl(hdr->data_start); 568 result = decompress_exec(bprm, fpos, (char *)datapos, 573 result = read_code(bprm->file, datapos, fpos,
|
/linux-master/fs/ceph/ |
H A D | dir.c | 72 loff_t fpos = ((loff_t)high << 28) | (loff_t)off; local 74 fpos |= HASH_ORDER; 75 return fpos;
|
/linux-master/fs/erofs/ |
H A D | zdata.c | 990 erofs_off_t fpos = offset + cur - map->m_la; local 992 len = min_t(unsigned int, map->m_llen - fpos, end - cur); 994 cur + len, EROFS_I(inode)->z_fragmentoff + fpos);
|
/linux-master/fs/netfs/ |
H A D | write_collect.c | 123 unsigned long long fpos, fend; local 128 fpos = folio_pos(folio); 133 fend = min_t(unsigned long long, fpos + flen, wreq->i_size); 137 if (fpos + fsize > wreq->contiguity) { 138 trace_netfs_collect_contig(wreq, fpos + fsize, 140 wreq->contiguity = fpos + fsize; 148 wreq->cleaned_to = fpos + fsize; 151 if (fpos + fsize >= collected_to)
|
H A D | write_issue.c | 318 loff_t fpos = folio_pos(folio), i_size; local 330 if (fpos >= i_size) { 341 if (fpos + fsize > wreq->i_size) 354 if (flen > i_size - fpos) 355 flen = i_size - fpos; 356 } else if (flen > i_size - fpos) { 357 flen = i_size - fpos; 361 } else if (flen == i_size - fpos) { 468 part = netfs_advance_write(wreq, stream, fpos + stream->submit_off, 470 atomic64_set(&wreq->issued_to, fpos [all...] |
/linux-master/fs/proc/ |
H A D | kcore.c | 314 loff_t *fpos = &iocb->ki_pos; local 338 if (buflen && *fpos < sizeof(struct elfhdr)) { 360 tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); 361 if (copy_to_iter((char *)&ehdr + *fpos, tsz, iter) != tsz) { 367 *fpos += tsz; 371 if (buflen && *fpos < phdrs_offset + phdrs_len) { 401 tsz = min_t(size_t, buflen, phdrs_offset + phdrs_len - *fpos); 402 if (copy_to_iter((char *)phdrs + *fpos - phdrs_offset, tsz, 411 *fpos += tsz; 415 if (buflen && *fpos < notes_offse [all...] |
H A D | vmcore.c | 317 static ssize_t __read_vmcore(struct iov_iter *iter, loff_t *fpos) argument 324 if (!iov_iter_count(iter) || *fpos >= vmcore_size) 327 iov_iter_truncate(iter, vmcore_size - *fpos); 330 if (*fpos < elfcorebuf_sz) { 331 tsz = min(elfcorebuf_sz - (size_t)*fpos, iov_iter_count(iter)); 332 if (copy_to_iter(elfcorebuf + *fpos, tsz, iter) < tsz) 334 *fpos += tsz; 343 if (*fpos < elfcorebuf_sz + elfnotes_sz) { 357 if (*fpos < elfcorebuf_sz + vmcoredd_orig_sz) { 359 (size_t)*fpos, iov_iter_coun [all...] |
/linux-master/fs/smb/client/ |
H A D | cifsfs.c | 1195 unsigned long long fpos, fend; local 1205 fpos = folio_pos(folio); 1206 fend = fpos + size - 1; 1207 *_fstart = min_t(unsigned long long, *_fstart, fpos); 1209 if ((first && pos == fpos) || (!first && pos == fend)) 1212 rc = filemap_write_and_wait_range(inode->i_mapping, fpos, fend);
|
/linux-master/include/trace/events/ |
H A D | io_uring.h | 628 TP_PROTO(void *ctx, u64 fpos, u64 wanted, u64 got), 630 TP_ARGS(ctx, fpos, wanted, got), 634 __field(u64, fpos) 641 __entry->fpos = fpos; 646 TP_printk("ring %p, fpos %lld, wanted %lld, got %lld", 647 __entry->ctx, __entry->fpos,
|
/linux-master/kernel/events/ |
H A D | core.c | 10890 int fpos = token == IF_SRC_FILE ? 2 : 1; local 10893 filename = match_strdup(&args[fpos]);
|
/linux-master/kernel/trace/ |
H A D | trace.c | 6886 size_t cnt, loff_t *fpos) 6980 size_t cnt, loff_t *fpos) 7082 size_t cnt, loff_t *fpos) 7104 *fpos += cnt; 6885 tracing_mark_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *fpos) argument 6979 tracing_mark_raw_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *fpos) argument 7081 tracing_clock_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *fpos) argument
|
/linux-master/mm/ |
H A D | filemap.c | 2790 struct folio *folio, loff_t fpos, size_t size) 2793 size_t spliced = 0, offset = offset_in_folio(folio, fpos); 2789 splice_folio_into_pipe(struct pipe_inode_info *pipe, struct folio *folio, loff_t fpos, size_t size) argument
|
H A D | internal.h | 1060 struct folio *folio, loff_t fpos, size_t size);
|
H A D | nommu.c | 983 loff_t fpos; local 985 fpos = vma->vm_pgoff; 986 fpos <<= PAGE_SHIFT; 988 ret = kernel_read(vma->vm_file, base, len, &fpos);
|
H A D | shmem.c | 2950 loff_t fpos, size_t size) 2952 size_t offset = fpos & ~PAGE_MASK; 2949 splice_zeropage_into_pipe(struct pipe_inode_info *pipe, loff_t fpos, size_t size) argument
|
/linux-master/net/rds/ |
H A D | tcp.c | 65 void *buffer, size_t *lenp, loff_t *fpos); 686 void *buffer, size_t *lenp, loff_t *fpos) 691 err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos); 685 rds_tcp_skbuf_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *fpos) argument
|