Home
last modified time | relevance | path

Searched refs:start_pos (Results 1 – 24 of 24) sorted by relevance

/linux/include/linux/
H A Dregset.h266 const int start_pos, const int end_pos) in user_regset_copyin() argument
270 BUG_ON(*pos < start_pos); in user_regset_copyin()
274 data += *pos - start_pos; in user_regset_copyin()
292 const int start_pos, in user_regset_copyin_ignore() argument
297 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
H A Dfscache.h523 uoff_t start_pos, in fscache_read() argument
530 return ops->read(cres, start_pos, iter, read_hole, in fscache_read()
582 uoff_t start_pos, in fscache_write() argument
588 return ops->write(cres, start_pos, iter, term_func, term_func_priv); in fscache_write()
H A Dnetfs.h351 uoff_t start_pos,
359 uoff_t start_pos,
H A Dbpf_verifier.h875 * start_pos == 0 means we haven't truncated anything.
876 * Once truncation starts to happen, start_pos + len_total == end_pos,
877 * except during log reset situations, in which (end_pos - start_pos)
879 * Generally, (end_pos - start_pos) gives number of useful data in
882 u64 start_pos;
748 u64 start_pos; global() member
/linux/tools/testing/selftests/proc/
H A Dproc-maps-race.c304 char *start_pos = page->data; in read_boundary_lines()
306 while (start_pos < page->data + page->size) { in read_boundary_lines()
311 end_pos = strchr(start_pos, '\n'); in read_boundary_lines()
315 if (parse_vma_line(start_pos, end_pos, &start_addr, &end_addr)) { in read_boundary_lines()
316 copy_line(start_pos, end_pos, first_line, line_size); in read_boundary_lines()
320 start_pos = end_pos + 1;
330 char *start_pos; in signal_state()
337 start_pos = end_pos - 1; in stop_vma_modifier()
339 while (start_pos > page->data && start_pos[ in stop_vma_modifier()
247 char *start_pos = page->data; copy_first_entry() local
273 char *start_pos; copy_last_entry() local
[all...]
/linux/fs/cachefiles/
H A Dio.c78 uoff_t start_pos, in cachefiles_read() argument
99 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_read()
106 loff_t off = start_pos, off2; in cachefiles_read()
117 if (off2 == -ENXIO || off2 >= start_pos + len) { in cachefiles_read()
143 ki->iocb.ki_pos = start_pos + skipped; in cachefiles_read()
306 uoff_t start_pos, in __cachefiles_write() argument
321 file, file_inode(file)->i_ino, start_pos, len, in __cachefiles_write()
333 ki->iocb.ki_pos = start_pos; in __cachefiles_write()
337 ki->start = start_pos; in __cachefiles_write()
383 uoff_t start_pos, in cachefiles_write() argument
[all …]
H A Dinternal.h213 uoff_t start_pos,
/linux/kernel/bpf/
H A Dlog.c97 if (new_end - log->start_pos >= log->len_total) in bpf_verifier_vlog()
100 new_start = log->start_pos; in bpf_verifier_vlog()
102 log->start_pos = new_start; in bpf_verifier_vlog()
162 * start_pos to end up with an empty log (start_pos == end_pos) in bpf_vlog_reset()
165 if (log->end_pos < log->start_pos) in bpf_vlog_reset()
166 log->start_pos = log->end_pos; in bpf_vlog_reset()
238 if (log->start_pos == 0) in bpf_vlog_finalize()
243 * that if log->start_pos != 0 then we definitely filled up entire log in bpf_vlog_finalize()
245 * the left by (log->start_pos in bpf_vlog_finalize()
[all...]
/linux/fs/ntfs/
H A Dlcnalloc.c70 s64 start_pos = -1; in max_empty_bit_range() local
87 start_pos = (s64)i * 8 - run; in max_empty_bit_range()
102 start_pos = (s64)i * 8 + (j - run); in max_empty_bit_range()
114 start_pos = (s64)i * 8 - run; in max_empty_bit_range()
116 return start_pos; in max_empty_bit_range()
/linux/fs/btrfs/
H A Dfile.c69 u64 start_pos; in btrfs_dirty_folio() local
81 start_pos = round_down(pos, fs_info->sectorsize); in btrfs_dirty_folio()
82 num_bytes = round_up(end_pos - start_pos, fs_info->sectorsize); in btrfs_dirty_folio()
86 end_of_last_block = start_pos + num_bytes - 1; in btrfs_dirty_folio()
88 ret = btrfs_reset_extent_delalloc(inode, start_pos, end_of_last_block, in btrfs_dirty_folio()
93 btrfs_folio_clamp_set_uptodate(fs_info, folio, start_pos, num_bytes); in btrfs_dirty_folio()
94 btrfs_folio_clamp_set_dirty(fs_info, folio, start_pos, num_bytes); in btrfs_dirty_folio()
892 u64 start_pos; in lock_and_cleanup_extent() local
895 start_pos = round_down(pos, fs_info->sectorsize); in lock_and_cleanup_extent()
899 if (!btrfs_try_lock_extent(&inode->io_tree, start_pos, in lock_and_cleanup_extent()
[all...]
/linux/fs/f2fs/
H A Ddir.c996 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries()
1027 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1071 ctx->pos = start_pos + bit_pos; in f2fs_readdir() local
1086 loff_t start_pos = ctx->pos; in f2fs_readdir()
1152 trace_f2fs_readdir(inode, start_pos, ctx->pos, err);
981 f2fs_fill_dentries(struct dir_context * ctx,struct f2fs_dentry_ptr * d,unsigned int start_pos,struct fscrypt_str * fstr) f2fs_fill_dentries() argument
H A Dfile.c5518 loff_t start_pos, loff_t end_pos) in f2fs_dio_write_iter()
5522 ret = filemap_write_and_wait_range(mapping, start_pos, end_pos); in f2fs_dio_write_iter()
5526 start_pos >> PAGE_SHIFT, in f2fs_dio_write_iter()
5502 f2fs_flush_buffered_write(struct address_space * mapping,loff_t start_pos,loff_t end_pos) f2fs_flush_buffered_write() argument
H A Df2fs.h4031 unsigned int start_pos, struct fscrypt_str *fstr);
/linux/fs/ext4/
H A Dinode.c1875 loff_t start_pos; /* The start pos to write */ in ext4_insert_delayed_blocks()
1880 * Extent to map - this can be after start_pos because that can be in ext4_insert_delayed_blocks()
1901 if (mpd->start_pos >= mpd->next_pos)
1907 start = EXT4_B_TO_LBLK(inode, mpd->start_pos); in ext4_da_map_blocks()
1920 index = mpd->start_pos >> PAGE_SHIFT; in ext4_da_map_blocks()
1929 if (folio_pos(folio) < mpd->start_pos) in ext4_da_map_blocks()
2253 mpd->start_pos += folio_size(folio); in mpage_process_folio()
2263 WARN_ON_ONCE(folio_pos(folio) != mpd->start_pos); in mpage_process_folio()
2601 mpd->start_pos >> PAGE_SHIFT);
2621 * Update start_pos t in mpage_prepare_extent_to_map()
1690 loff_t start_pos; /* The start pos to write */ global() member
[all...]
/linux/tools/testing/selftests/alloc_tag/
H A Dallocinfo_ioctl_test.c186 __u64 start_pos) in get_filtered_ioctl_entries() argument
216 get_at_params.pos = start_pos; in get_filtered_ioctl_entries()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h58 loff_t start_pos; member
/linux/crypto/
H A Daes.c247 * starting at 'start_pos' bytes into both.
259 #define AES_CRYPT_SG(crypt_func, dst, src, cryptlen, start_pos, ...) \ argument
262 unsigned int spos = (start_pos); \
/linux/arch/arm64/kernel/
H A Dptrace.c668 unsigned int start_pos) in __fpr_set()
682 start_pos, start_pos + sizeof(newstate)); in __fpr_set()
664 __fpr_set(struct task_struct * target,const struct user_regset * regset,unsigned int pos,unsigned int count,const void * kbuf,const void __user * ubuf,unsigned int start_pos) __fpr_set() argument
/linux/drivers/mtd/nand/spi/
H A Dcore.c1015 struct nand_pos start_pos, end_pos; in spinand_use_cont_read()
1024 nanddev_offs_to_pos(nand, from, &start_pos); in spinand_mtd_read()
1027 return start_pos.page < end_pos.page; in spinand_mtd_read()
1008 struct nand_pos start_pos, end_pos; spinand_use_cont_read() local
/linux/Documentation/filesystems/caching/
H A Dnetfs-api.rst245 loff_t start_pos,
251 loff_t start_pos,
/linux/include/trace/events/
H A Df2fs.h1009 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
1011 TP_ARGS(dir, start_pos, end_pos, err),
1024 __entry->start = start_pos;
1029 TP_printk("dev = (%d,%d), ino = %llu, start_pos:%llu, end_pos:%llu, err:%d",
/linux/drivers/android/
H A Dbinder.c
/linux/scripts/
H A Dcheckpatch.pl3603 my $start_pos = $-[1];
3616 $start_char = substr($rawline, $start_pos - 1, 1) if ($start_pos > ($in_commit_log ? 0 : 1));
/linux/Documentation/filesystems/
H A Dnetfs_library.rst988 loff_t start_pos,