Home
last modified time | relevance | path

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

12

/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.h505 loff_t start_pos, in fscache_read() argument
512 return ops->read(cres, start_pos, iter, read_hole, in fscache_read()
564 loff_t start_pos, in fscache_write() argument
570 return ops->write(cres, start_pos, iter, term_func, term_func_priv); in fscache_write()
H A Dnetfs.h332 loff_t start_pos,
340 loff_t start_pos,
/linux/fs/cachefiles/
H A Dio.c76 loff_t start_pos, in cachefiles_read() argument
97 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_read()
104 loff_t off = start_pos, off2; in cachefiles_read()
115 if (off2 == -ENXIO || off2 >= start_pos + len) { in cachefiles_read()
141 ki->iocb.ki_pos = start_pos + skipped; in cachefiles_read()
283 loff_t start_pos, in __cachefiles_write() argument
298 file, file_inode(file)->i_ino, start_pos, len, in __cachefiles_write()
310 ki->iocb.ki_pos = start_pos; in __cachefiles_write()
314 ki->start = start_pos; in __cachefiles_write()
360 loff_t start_pos, in cachefiles_write() argument
[all …]
H A Dinternal.h258 loff_t start_pos,
/linux/drivers/vfio/pci/virtio/
H A Dmigrate.c319 if (pos >= buf->start_pos && in virtiovf_get_data_buff_from_pos()
320 pos < buf->start_pos + buf->length) { in virtiovf_get_data_buff_from_pos()
344 vhca_buf->start_pos + vhca_buf->length - *pos, *len); in virtiovf_buf_read()
352 offset = *pos - vhca_buf->start_pos; in virtiovf_buf_read()
371 if (*pos >= vhca_buf->start_pos + vhca_buf->length) { in virtiovf_buf_read()
555 header_buf->start_pos = header_buf->migf->max_pos; in virtiovf_add_buf_header()
622 buf->start_pos = buf->migf->max_pos; in virtiovf_read_device_context_chunk()
780 offset = *pos - vhca_buf->start_pos; in virtiovf_append_page_to_mig_buf()
953 if (*pos < vhca_buf->start_pos) in virtiovf_resume_write()
987 vhca_buf_header->start_pos = migf->max_pos; in virtiovf_resume_write()
[all …]
H A Dcommon.h28 loff_t start_pos; member
/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()
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()
274 div_u64_rem(log->start_pos, log->len_total, &sublen); in bpf_vlog_finalize()
/linux/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 += span_len; in pci9118_ai_dma_xfer()
/linux/drivers/vfio/pci/mlx5/
H A Dmain.c71 if (pos >= buf->start_pos && in mlx5vf_get_data_buff_from_pos()
72 pos < buf->start_pos + buf->length) { in mlx5vf_get_data_buff_from_pos()
131 vhca_buf->start_pos + vhca_buf->length - *pos, *len); in mlx5vf_buf_read()
139 offset = *pos - vhca_buf->start_pos; in mlx5vf_buf_read()
158 if (*pos >= vhca_buf->start_pos + vhca_buf->length) in mlx5vf_buf_read()
365 header_buf->start_pos = header_buf->migf->max_pos; in mlx5vf_add_stop_copy_header()
690 offset = *pos - vhca_buf->start_pos; in mlx5vf_append_page_to_mig_buf()
913 vhca_buf_header->start_pos = migf->max_pos; in mlx5vf_resume_write()
943 vhca_buf->start_pos = migf->max_pos; in mlx5vf_resume_write()
H A Dcmd.h58 loff_t start_pos; member
/linux/fs/btrfs/
H A Dfile.c77 u64 start_pos; in btrfs_dirty_folio() local
89 start_pos = round_down(pos, fs_info->sectorsize); in btrfs_dirty_folio()
90 num_bytes = round_up(end_pos - start_pos, fs_info->sectorsize); in btrfs_dirty_folio()
94 end_of_last_block = start_pos + num_bytes - 1; in btrfs_dirty_folio()
100 btrfs_clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_folio()
104 ret = btrfs_set_extent_delalloc(inode, start_pos, end_of_last_block, in btrfs_dirty_folio()
109 btrfs_folio_clamp_set_uptodate(fs_info, folio, start_pos, num_bytes); in btrfs_dirty_folio()
110 btrfs_folio_clamp_clear_checked(fs_info, folio, start_pos, num_bytes); in btrfs_dirty_folio()
111 btrfs_folio_clamp_set_dirty(fs_info, folio, start_pos, num_bytes); in btrfs_dirty_folio()
904 u64 start_pos; in lock_and_cleanup_extent_if_need() local
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.c98 DPU_REG_WRITE(c, PP_START_POS, te->start_pos); in dpu_hw_pp_enable_te()
103 (te->start_pos + te->sync_threshold_start + 1)); in dpu_hw_pp_enable_te()
H A Ddpu_hw_mdss.h399 u32 start_pos; member
/linux/fs/f2fs/
H A Ddir.c974 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries() argument
1005 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1048 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1063 loff_t start_pos = ctx->pos; in f2fs_readdir() local
1127 trace_f2fs_readdir(inode, start_pos, ctx->pos, err); in f2fs_readdir()
/linux/fs/fuse/
H A Ddax.c835 loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT; in dmap_writeback_invalidate() local
836 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate()
838 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate()
841 ret, start_pos, end_pos); in dmap_writeback_invalidate()
846 start_pos >> PAGE_SHIFT, in dmap_writeback_invalidate()
/linux/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()
/linux/fs/ext4/
H A Dinode.c1699 loff_t start_pos; /* The start pos to write */ member
1725 if (mpd->start_pos >= mpd->next_pos) in mpage_release_unused_pages()
1731 start = EXT4_B_TO_LBLK(inode, mpd->start_pos); in mpage_release_unused_pages()
1744 index = mpd->start_pos >> PAGE_SHIFT; in mpage_release_unused_pages()
1753 if (folio_pos(folio) < mpd->start_pos) in mpage_release_unused_pages()
2059 mpd->start_pos += folio_size(folio); in mpage_folio_done()
2070 WARN_ON_ONCE(folio_pos(folio) != mpd->start_pos); in mpage_submit_folio()
2411 mpd->start_pos >> PAGE_SHIFT); in mpage_submit_partial_folio()
2433 mpd->start_pos = pos; in mpage_submit_partial_folio()
2533 disksize = mpd->start_pos; in mpage_map_and_submit_extent()
[all …]
/linux/crypto/
H A Dcrypto_user.c209 const size_t start_pos = cb->args[0]; in crypto_dump_report() local
222 if (pos >= start_pos) { in crypto_dump_report()
/linux/drivers/mtd/nand/spi/
H A Dcore.c959 struct nand_pos start_pos, end_pos; in spinand_use_cont_read() local
968 nanddev_offs_to_pos(nand, from, &start_pos); in spinand_use_cont_read()
979 if (start_pos.target != end_pos.target || in spinand_use_cont_read()
980 start_pos.plane != end_pos.plane || in spinand_use_cont_read()
981 start_pos.eraseblock != end_pos.eraseblock) in spinand_use_cont_read()
984 return start_pos.page < end_pos.page; in spinand_use_cont_read()
/linux/include/trace/events/
H A Dext4.h490 TP_PROTO(struct inode *inode, loff_t start_pos, loff_t next_pos,
493 TP_ARGS(inode, start_pos, next_pos, wbc),
498 __field( loff_t, start_pos )
507 __entry->start_pos = start_pos;
515 (unsigned long) __entry->ino, __entry->start_pos, __entry->next_pos,
520 TP_PROTO(struct inode *inode, loff_t start_pos, loff_t next_pos,
523 TP_ARGS(inode, start_pos, next_pos, wbc, ret),
528 __field( loff_t, start_pos )
537 __entry->start_pos = start_pos;
545 (unsigned long) __entry->ino, __entry->start_pos, __entry->next_pos,
H A Df2fs.h1008 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
1010 TP_ARGS(dir, start_pos, end_pos, err),
1023 __entry->start = start_pos;
/linux/drivers/net/can/kvaser_pciefd/
H A Dkvaser_pciefd_core.c1551 static int kvaser_pciefd_read_packet(struct kvaser_pciefd *pcie, int *start_pos, in kvaser_pciefd_read_packet() argument
1559 int pos = *start_pos; in kvaser_pciefd_read_packet()
1565 *start_pos = 0; in kvaser_pciefd_read_packet()
1626 if (unlikely((*start_pos + size) != pos)) in kvaser_pciefd_read_packet()
1630 *start_pos = pos; in kvaser_pciefd_read_packet()
/linux/arch/arm64/kernel/
H A Dptrace.c620 unsigned int start_pos) in __fpr_set() argument
634 start_pos, start_pos + sizeof(newstate)); in __fpr_set()
/linux/Documentation/filesystems/caching/
H A Dnetfs-api.rst245 loff_t start_pos,
251 loff_t start_pos,

12