Home
last modified time | relevance | path

Searched refs:start_pos (Results 1 - 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
H A Dregset.h244 const int start_pos, const int end_pos) in user_regset_copyin()
248 BUG_ON(*pos < start_pos); in user_regset_copyin()
252 data += *pos - start_pos; in user_regset_copyin()
270 const int start_pos,
275 BUG_ON(*pos < start_pos);
241 user_regset_copyin(unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf, void *data, const int start_pos, const int end_pos) user_regset_copyin() argument
/kernel/linux/linux-6.6/include/linux/
H A Dregset.h256 const int start_pos, const int end_pos) in user_regset_copyin()
260 BUG_ON(*pos < start_pos); in user_regset_copyin()
264 data += *pos - start_pos; in user_regset_copyin()
282 const int start_pos,
287 BUG_ON(*pos < start_pos);
253 user_regset_copyin(unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf, void *data, const int start_pos, const int end_pos) user_regset_copyin() argument
H A Dfscache.h478 * @start_pos: The beginning file offset in the cache file
488 * of the operation. @start_pos is the start position in the file, though if
508 loff_t start_pos, in fscache_read()
515 return ops->read(cres, start_pos, iter, read_hole, in fscache_read()
549 * @start_pos: The beginning file offset in the cache file
558 * indicates the size of the operation. @start_pos is the start position in
567 loff_t start_pos, in fscache_write()
573 return ops->write(cres, start_pos, iter, term_func, term_func_priv); in fscache_write()
507 fscache_read(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, enum netfs_read_from_hole read_hole, netfs_io_terminated_t term_func, void *term_func_priv) fscache_read() argument
566 fscache_write(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) fscache_write() argument
H A Dnetfs.h241 loff_t start_pos,
249 loff_t start_pos,
/kernel/linux/linux-6.6/kernel/bpf/
H A Dlog.c94 if (new_end - log->start_pos >= log->len_total) in bpf_verifier_vlog()
97 new_start = log->start_pos; in bpf_verifier_vlog()
99 log->start_pos = new_start; in bpf_verifier_vlog()
159 * start_pos to end up with an empty log (start_pos == end_pos) in bpf_vlog_reset()
162 if (log->end_pos < log->start_pos) in bpf_vlog_reset()
163 log->start_pos = log->end_pos; in bpf_vlog_reset()
235 if (log->start_pos == 0) in bpf_vlog_finalize()
240 * that if log->start_pos != 0 then we definitely filled up entire log in bpf_vlog_finalize()
242 * the left by (log->start_pos in bpf_vlog_finalize()
[all...]
/kernel/linux/linux-6.6/fs/cachefiles/
H A Dio.c74 loff_t start_pos, in cachefiles_read()
95 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_read()
102 loff_t off = start_pos, off2; in cachefiles_read()
113 if (off2 == -ENXIO || off2 >= start_pos + len) { in cachefiles_read()
139 ki->iocb.ki_pos = start_pos + skipped; in cachefiles_read()
280 loff_t start_pos, in __cachefiles_write()
295 file, file_inode(file)->i_ino, start_pos, len, in __cachefiles_write()
307 ki->iocb.ki_pos = start_pos; in __cachefiles_write()
311 ki->start = start_pos; in __cachefiles_write()
361 loff_t start_pos, in cachefiles_write()
73 cachefiles_read(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, enum netfs_read_from_hole read_hole, netfs_io_terminated_t term_func, void *term_func_priv) cachefiles_read() argument
278 __cachefiles_write(struct cachefiles_object *object, struct file *file, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) __cachefiles_write() argument
360 cachefiles_write(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) cachefiles_write() argument
[all...]
/kernel/linux/common_modules/tzdriver/tlogger/
H A Dtlogger.c227 uint32_t start_pos; member
240 uint32_t start_pos = position->start_pos; in parse_log_item() local
250 while (start_pos < position->end_pos) { in parse_log_item()
252 position->max_len, start_pos, in parse_log_item()
253 position->end_pos - start_pos, &start_pos); in parse_log_item()
264 start_pos += item_len; in parse_log_item()
272 *read_off = start_pos; in parse_log_item()
342 const unsigned char *buffer_start, uint32_t max_len, uint32_t start_pos, uint32_ in set_reader_position()
341 set_reader_position(struct reader_position *position, const unsigned char *buffer_start, uint32_t max_len, uint32_t start_pos, uint32_t end_pos) set_reader_position() argument
[all...]
/kernel/linux/linux-6.6/drivers/vfio/pci/mlx5/
H A Dmain.c144 if (pos >= buf->start_pos && in mlx5vf_get_data_buff_from_pos()
145 pos < buf->start_pos + buf->length) { in mlx5vf_get_data_buff_from_pos()
169 vhca_buf->start_pos + vhca_buf->length - *pos, *len); in mlx5vf_buf_read()
177 offset = *pos - vhca_buf->start_pos; in mlx5vf_buf_read()
196 if (*pos >= vhca_buf->start_pos + vhca_buf->length) { in mlx5vf_buf_read()
338 header_buf->start_pos = header_buf->migf->max_pos; in mlx5vf_add_stop_copy_header()
620 offset = *pos - vhca_buf->start_pos; in mlx5vf_append_page_to_mig_buf()
870 vhca_buf_header->start_pos = migf->max_pos; in mlx5vf_resume_write()
898 vhca_buf->start_pos = migf->max_pos; in mlx5vf_resume_write()
/kernel/linux/linux-5.10/scripts/
H A Dkallsyms.c35 unsigned int start_pos; member
325 sym->start_pos = table_cnt; in read_map()
726 return sa->start_pos - sb->start_pos; in compare_symbols()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dfile.c135 u64 start_pos; in btrfs_dirty_pages() local
147 start_pos = round_down(pos, fs_info->sectorsize); in btrfs_dirty_pages()
148 num_bytes = round_up(write_bytes + pos - start_pos, in btrfs_dirty_pages()
152 end_of_last_block = start_pos + num_bytes - 1; in btrfs_dirty_pages()
158 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
162 err = btrfs_set_extent_delalloc(inode, start_pos, end_of_last_block, in btrfs_dirty_pages()
170 btrfs_page_clamp_set_uptodate(fs_info, p, start_pos, num_bytes); in btrfs_dirty_pages()
171 btrfs_page_clamp_clear_checked(fs_info, p, start_pos, num_bytes); in btrfs_dirty_pages()
172 btrfs_page_clamp_set_dirty(fs_info, p, start_pos, num_bytes); in btrfs_dirty_pages()
983 u64 start_pos; in lock_and_cleanup_extent_if_need() local
1137 loff_t start_pos; btrfs_write_check() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.h27 u32 start_pos; member
H A Ddpu_hw_pingpong.c113 DPU_REG_WRITE(c, PP_START_POS, te->start_pos); in dpu_hw_pp_setup_te_config()
118 (te->start_pos + te->sync_threshold_start + 1)); in dpu_hw_pp_setup_te_config()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dfile.c471 u64 start_pos; in btrfs_dirty_pages() local
477 start_pos = pos & ~((u64) fs_info->sectorsize - 1); in btrfs_dirty_pages()
478 num_bytes = round_up(write_bytes + pos - start_pos, in btrfs_dirty_pages()
481 end_of_last_block = start_pos + num_bytes - 1; in btrfs_dirty_pages()
487 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
491 err = btrfs_set_extent_delalloc(inode, start_pos, end_of_last_block, in btrfs_dirty_pages()
1412 u64 start_pos; in lock_and_cleanup_extent_if_need() local
1417 start_pos = round_down(pos, fs_info->sectorsize); in lock_and_cleanup_extent_if_need()
1420 if (start_pos < inode->vfs_inode.i_size) { in lock_and_cleanup_extent_if_need()
1423 lock_extent_bits(&inode->io_tree, start_pos, last_po in lock_and_cleanup_extent_if_need()
1864 u64 start_pos; btrfs_file_write_iter() local
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dkallsyms.c39 unsigned int start_pos; member
275 sym->start_pos = table_cnt; in read_map()
770 return sa->start_pos - sb->start_pos; in compare_symbols()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dadl_pci9118.c411 unsigned int start_pos = devpriv->ai_add_front; in pci9118_ai_samples_ready() local
412 unsigned int stop_pos = start_pos + cmd->chanlist_len; in pci9118_ai_samples_ready()
435 if (dma_pos < start_pos) { in pci9118_ai_samples_ready()
437 x = start_pos - dma_pos; in pci9118_ai_samples_ready()
455 start_pos += span_len; in pci9118_ai_samples_ready()
468 unsigned int start_pos = devpriv->ai_add_front; in pci9118_ai_dma_xfer() local
469 unsigned int stop_pos = start_pos + cmd->chanlist_len; in pci9118_ai_dma_xfer()
485 if (dma_pos < start_pos) { in pci9118_ai_dma_xfer()
487 x = start_pos - dma_pos; in pci9118_ai_dma_xfer()
505 start_pos in pci9118_ai_dma_xfer()
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dadl_pci9118.c410 unsigned int start_pos = devpriv->ai_add_front; in pci9118_ai_samples_ready() local
411 unsigned int stop_pos = start_pos + cmd->chanlist_len; in pci9118_ai_samples_ready()
434 if (dma_pos < start_pos) { in pci9118_ai_samples_ready()
436 x = start_pos - dma_pos; in pci9118_ai_samples_ready()
454 start_pos += span_len; in pci9118_ai_samples_ready()
467 unsigned int start_pos = devpriv->ai_add_front; in pci9118_ai_dma_xfer() local
468 unsigned int stop_pos = start_pos + cmd->chanlist_len; in pci9118_ai_dma_xfer()
484 if (dma_pos < start_pos) { in pci9118_ai_dma_xfer()
486 x = start_pos - dma_pos; in pci9118_ai_dma_xfer()
504 start_pos in pci9118_ai_dma_xfer()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.c96 DPU_REG_WRITE(c, PP_START_POS, te->start_pos); in dpu_hw_pp_enable_te()
101 (te->start_pos + te->sync_threshold_start + 1)); in dpu_hw_pp_enable_te()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dwriteback.c658 struct bkey start_pos; in refill_dirty() local
675 start_pos = buf->last_scanned; in refill_dirty()
686 bch_refill_keybuf(dc->disk.c, buf, &start_pos, dirty_pred); in refill_dirty()
688 return bkey_cmp(&buf->last_scanned, &start_pos) >= 0; in refill_dirty()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dwriteback.c706 struct bkey start_pos; in refill_dirty() local
723 start_pos = buf->last_scanned; in refill_dirty()
734 bch_refill_keybuf(dc->disk.c, buf, &start_pos, dirty_pred); in refill_dirty()
736 return bkey_cmp(&buf->last_scanned, &start_pos) >= 0; in refill_dirty()
/kernel/linux/linux-5.10/fs/fuse/
H A Ddax.c875 loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT; in dmap_writeback_invalidate() local
876 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate()
878 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate()
880 pr_debug("fuse: filemap_fdatawrite_range() failed. err=%d start_pos=0x%llx, end_pos=0x%llx\n", in dmap_writeback_invalidate()
881 ret, start_pos, end_pos); in dmap_writeback_invalidate()
886 start_pos >> PAGE_SHIFT, in dmap_writeback_invalidate()
/kernel/linux/linux-5.10/fs/f2fs/
H A Ddir.c932 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries()
964 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1006 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1022 loff_t start_pos = ctx->pos; in f2fs_readdir() local
1084 trace_f2fs_readdir(inode, start_pos, ctx->pos, err); in f2fs_readdir()
931 f2fs_fill_dentries(struct dir_context *ctx, struct f2fs_dentry_ptr *d, unsigned int start_pos, struct fscrypt_str *fstr) f2fs_fill_dentries() argument
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_trace.h97 TP_PROTO(struct dentry *__d, loff_t start_pos, loff_t end_pos, int err),
99 TP_ARGS(__d, start_pos, end_pos, err),
110 __entry->start = start_pos;
115 TP_printk("dentry[%s] start_pos:%llx, end_pos:%llx, err:%d",
122 TP_PROTO(struct dentry *__d, loff_t start_pos, \
124 TP_ARGS(__d, start_pos, end_pos, err))
/kernel/linux/linux-6.6/fs/fuse/
H A Ddax.c869 loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT; in dmap_writeback_invalidate() local
870 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate()
872 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate()
874 pr_debug("fuse: filemap_fdatawrite_range() failed. err=%d start_pos=0x%llx, end_pos=0x%llx\n", in dmap_writeback_invalidate()
875 ret, start_pos, end_pos); in dmap_writeback_invalidate()
880 start_pos >> PAGE_SHIFT, in dmap_writeback_invalidate()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_trace.h97 TP_PROTO(struct dentry *__d, loff_t start_pos, loff_t end_pos, int err),
99 TP_ARGS(__d, start_pos, end_pos, err),
110 __entry->start = start_pos;
115 TP_printk("dentry[%s] start_pos:%llx, end_pos:%llx, err:%d",
122 TP_PROTO(struct dentry *__d, loff_t start_pos, \
124 TP_ARGS(__d, start_pos, end_pos, err))
/kernel/linux/linux-6.6/fs/f2fs/
H A Ddir.c974 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries()
1006 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1049 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1065 loff_t start_pos = ctx->pos; in f2fs_readdir() local
1131 trace_f2fs_readdir(inode, start_pos, ctx->pos, err); in f2fs_readdir()
973 f2fs_fill_dentries(struct dir_context *ctx, struct f2fs_dentry_ptr *d, unsigned int start_pos, struct fscrypt_str *fstr) f2fs_fill_dentries() argument

Completed in 30 milliseconds

123