Home
last modified time | relevance | path

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

12

/linux-6.15/include/linux/
H A Dregset.h256 const int start_pos, const int end_pos) in user_regset_copyin() argument
260 BUG_ON(*pos < start_pos); in user_regset_copyin()
264 data += *pos - start_pos; in user_regset_copyin()
282 const int start_pos, in user_regset_copyin_ignore() argument
287 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
H A Dfscache.h508 loff_t start_pos, in fscache_read() argument
515 return ops->read(cres, start_pos, iter, read_hole, in fscache_read()
567 loff_t start_pos, in fscache_write() argument
573 return ops->write(cres, start_pos, iter, term_func, term_func_priv); in fscache_write()
H A Dnetfs.h337 loff_t start_pos,
345 loff_t start_pos,
H A Dbpf_verifier.h625 u64 start_pos; member
/linux-6.15/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()
362 loff_t start_pos, in cachefiles_write() argument
[all …]
H A Dinternal.h259 loff_t start_pos,
/linux-6.15/drivers/vfio/pci/virtio/
H A Dmigrate.c320 if (pos >= buf->start_pos && in virtiovf_get_data_buff_from_pos()
321 pos < buf->start_pos + buf->length) { in virtiovf_get_data_buff_from_pos()
345 vhca_buf->start_pos + vhca_buf->length - *pos, *len); in virtiovf_buf_read()
353 offset = *pos - vhca_buf->start_pos; in virtiovf_buf_read()
372 if (*pos >= vhca_buf->start_pos + vhca_buf->length) { in virtiovf_buf_read()
556 header_buf->start_pos = header_buf->migf->max_pos; in virtiovf_add_buf_header()
623 buf->start_pos = buf->migf->max_pos; in virtiovf_read_device_context_chunk()
781 offset = *pos - vhca_buf->start_pos; in virtiovf_append_page_to_mig_buf()
954 if (*pos < vhca_buf->start_pos) in virtiovf_resume_write()
988 vhca_buf_header->start_pos = migf->max_pos; in virtiovf_resume_write()
[all …]
H A Dcommon.h28 loff_t start_pos; member
/linux-6.15/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-6.15/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-6.15/fs/btrfs/
H A Dfile.c76 u64 start_pos; in btrfs_dirty_folio() local
88 start_pos = round_down(pos, fs_info->sectorsize); in btrfs_dirty_folio()
89 num_bytes = round_up(write_bytes + pos - start_pos, in btrfs_dirty_folio()
95 end_of_last_block = start_pos + num_bytes - 1; in btrfs_dirty_folio()
916 u64 start_pos; in lock_and_cleanup_extent_if_need() local
920 start_pos = round_down(pos, fs_info->sectorsize); in lock_and_cleanup_extent_if_need()
923 if (start_pos < inode->vfs_inode.i_size) { in lock_and_cleanup_extent_if_need()
937 ordered = btrfs_lookup_ordered_range(inode, start_pos, in lock_and_cleanup_extent_if_need()
938 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
942 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
[all …]
/linux-6.15/drivers/vfio/pci/mlx5/
H A Dmain.c102 if (pos >= buf->start_pos && in mlx5vf_get_data_buff_from_pos()
103 pos < buf->start_pos + buf->length) { in mlx5vf_get_data_buff_from_pos()
162 vhca_buf->start_pos + vhca_buf->length - *pos, *len); in mlx5vf_buf_read()
170 offset = *pos - vhca_buf->start_pos; in mlx5vf_buf_read()
189 if (*pos >= vhca_buf->start_pos + vhca_buf->length) in mlx5vf_buf_read()
395 header_buf->start_pos = header_buf->migf->max_pos; in mlx5vf_add_stop_copy_header()
714 offset = *pos - vhca_buf->start_pos; in mlx5vf_append_page_to_mig_buf()
934 vhca_buf_header->start_pos = migf->max_pos; in mlx5vf_resume_write()
962 vhca_buf->start_pos = migf->max_pos; in mlx5vf_resume_write()
H A Dcmd.h57 loff_t start_pos; member
/linux-6.15/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.h385 u32 start_pos; member
H A Ddpu_hw_intf.c372 DPU_REG_WRITE(c, INTF_TEAR_START_POS, te->start_pos); in dpu_hw_intf_enable_te()
377 (te->start_pos + te->sync_threshold_start + 1)); in dpu_hw_intf_enable_te()
H A Ddpu_encoder_phys_cmd.c390 tc_cfg.start_pos = mode->vdisplay; in dpu_encoder_phys_cmd_tearcheck_config()
398 tc_enable, tc_cfg.start_pos, tc_cfg.rd_ptr_irq); in dpu_encoder_phys_cmd_tearcheck_config()
/linux-6.15/fs/f2fs/
H A Ddir.c956 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries() argument
987 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1030 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries()
1046 loff_t start_pos = ctx->pos; in f2fs_readdir() local
1112 trace_f2fs_readdir(inode, start_pos, ctx->pos, err); in f2fs_readdir()
/linux-6.15/fs/fuse/
H A Ddax.c836 loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT; in dmap_writeback_invalidate() local
837 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate()
839 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate()
842 ret, start_pos, end_pos); in dmap_writeback_invalidate()
847 start_pos >> PAGE_SHIFT, in dmap_writeback_invalidate()
/linux-6.15/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-6.15/drivers/mtd/nand/spi/
H A Dcore.c859 struct nand_pos start_pos, end_pos; in spinand_use_cont_read() local
868 nanddev_offs_to_pos(nand, from, &start_pos); in spinand_use_cont_read()
879 if (start_pos.target != end_pos.target || in spinand_use_cont_read()
880 start_pos.plane != end_pos.plane || in spinand_use_cont_read()
881 start_pos.eraseblock != end_pos.eraseblock) in spinand_use_cont_read()
884 return start_pos.page < end_pos.page; in spinand_use_cont_read()
/linux-6.15/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-6.15/fs/bcachefs/
H A Dbcachefs_ioctl.h213 struct bpos start_pos; member
H A Dec.c1929 struct bpos start_pos = bpos_max(min_pos, POS(0, c->ec_stripe_hint)); in __bch2_ec_stripe_head_reserve() local
1945 for_each_btree_key_norestart(trans, iter, BTREE_ID_stripes, start_pos, in __bch2_ec_stripe_head_reserve()
1948 if (start_pos.offset) { in __bch2_ec_stripe_head_reserve()
1949 start_pos = min_pos; in __bch2_ec_stripe_head_reserve()
1950 bch2_btree_iter_set_pos(trans, &iter, start_pos); in __bch2_ec_stripe_head_reserve()
/linux-6.15/drivers/net/can/
H A Dkvaser_pciefd.c1565 static int kvaser_pciefd_read_packet(struct kvaser_pciefd *pcie, int *start_pos, in kvaser_pciefd_read_packet() argument
1573 int pos = *start_pos; in kvaser_pciefd_read_packet()
1579 *start_pos = 0; in kvaser_pciefd_read_packet()
1640 if (unlikely((*start_pos + size) != pos)) in kvaser_pciefd_read_packet()
1644 *start_pos = pos; in kvaser_pciefd_read_packet()

12