/linux/include/linux/ |
H A D | regset.h | 266 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 D | fscache.h | 478 * @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 505 loff_t start_pos, in fscache_read() argument 512 return ops->read(cres, start_pos, iter, read_hole, in fscache_read() 546 * @start_pos: The beginning file offset in the cache file 555 * indicates the size of the operation. @start_pos is the start position in 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 D | netfs.h | 333 loff_t start_pos, 341 loff_t start_pos,
|
/linux/fs/cachefiles/ |
H A D | io.c | 76 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 D | internal.h | 258 loff_t start_pos,
|
/linux/drivers/vfio/pci/virtio/ |
H A D | migrate.c | 320 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 in virtiovf_resume_write() [all...] |
H A D | common.h | 28 loff_t start_pos; member
|
/linux/kernel/bpf/ |
H A D | log.c | 97 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/drivers/comedi/drivers/ |
H A D | adl_pci9118.c | 410 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...] |
/linux/drivers/vfio/pci/mlx5/ |
H A D | main.c | 71 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 D | cmd.h | 58 loff_t start_pos; member
|
/linux/fs/btrfs/ |
H A D | file.c | 76 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() 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() 907 u64 start_pos; in lock_and_cleanup_extent_if_need() local [all...] |
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_pingpong.c | 98 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 D | dpu_hw_mdss.h | 377 * @start_pos: The position from which the start_threshold value is added 391 u32 start_pos; member
|
H A D | dpu_encoder_phys_cmd.c | 393 tc_cfg.start_pos = mode->vdisplay; in dpu_encoder_phys_cmd_tearcheck_config() 400 "tc enable %u start_pos %u rd_ptr_irq %u\n", in dpu_encoder_phys_cmd_tearcheck_config() 401 tc_enable, tc_cfg.start_pos, tc_cfg.rd_ptr_irq); in dpu_encoder_phys_cmd_tearcheck_config()
|
/linux/fs/f2fs/ |
H A D | dir.c | 958 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries() argument 989 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries() 1032 ctx->pos = start_pos + bit_pos; in f2fs_fill_dentries() 1047 loff_t start_pos = ctx->pos; in f2fs_readdir() local 1111 trace_f2fs_readdir(inode, start_pos, ctx->pos, err); in f2fs_readdir()
|
/linux/drivers/md/bcache/ |
H A D | writeback.c | 706 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/drivers/mtd/nand/spi/ |
H A D | core.c | 862 struct nand_pos start_pos, end_pos; in spinand_use_cont_read() local 871 nanddev_offs_to_pos(nand, from, &start_pos); in spinand_use_cont_read() 882 if (start_pos.target != end_pos.target || in spinand_use_cont_read() 883 start_pos.plane != end_pos.plane || in spinand_use_cont_read() 884 start_pos.eraseblock != end_pos.eraseblock) in spinand_use_cont_read() 887 return start_pos.page < end_pos.page; in spinand_use_cont_read()
|
/linux/fs/ext4/ |
H A D | inode.c | 1691 loff_t start_pos; /* The start pos to write */ member 1717 if (mpd->start_pos >= mpd->next_pos) in mpage_release_unused_pages() 1723 start = EXT4_B_TO_LBLK(inode, mpd->start_pos); in mpage_release_unused_pages() 1736 index = mpd->start_pos >> PAGE_SHIFT; in mpage_release_unused_pages() 1745 if (folio_pos(folio) < mpd->start_pos) in mpage_release_unused_pages() 2049 mpd->start_pos += folio_size(folio); in mpage_folio_done() 2060 WARN_ON_ONCE(folio_pos(folio) != mpd->start_pos); in mpage_submit_folio() 2402 mpd->start_pos >> PAGE_SHIFT); in mpage_submit_partial_folio() 2424 mpd->start_pos = pos; in mpage_submit_partial_folio() 2524 disksize = mpd->start_pos; in mpage_map_and_submit_extent() [all …]
|
/linux/crypto/ |
H A D | crypto_user.c | 209 const size_t start_pos = cb->args[0]; in crypto_dump_report() local 222 if (pos >= start_pos) { in crypto_dump_report()
|
/linux/include/trace/events/ |
H A D | ext4.h | 484 TP_PROTO(struct inode *inode, loff_t start_pos, loff_t next_pos, 487 TP_ARGS(inode, start_pos, next_pos, wbc), 492 __field( loff_t, start_pos ) 501 __entry->start_pos = start_pos; 507 TP_printk("dev %d,%d ino %lu start_pos 0x%llx next_pos 0x%llx nr_to_write %ld sync_mode %d", 509 (unsigned long) __entry->ino, __entry->start_pos, __entry->next_pos, 514 TP_PROTO(struct inode *inode, loff_t start_pos, loff_t next_pos, 517 TP_ARGS(inode, start_pos, next_pos, wbc, ret), 522 __field( loff_t, start_pos ) [all...] |
/linux/fs/bcachefs/ |
H A D | bcachefs_ioctl.h | 213 struct bpos start_pos; member
|
H A D | ec.c | 1945 struct bpos start_pos = bpos_max(min_pos, POS(0, c->ec_stripe_hint)); in __bch2_ec_stripe_head_reserve() local 1961 for_each_btree_key_norestart(trans, iter, BTREE_ID_stripes, start_pos, in __bch2_ec_stripe_head_reserve() 1964 if (start_pos.offset) { in __bch2_ec_stripe_head_reserve() 1965 start_pos = min_pos; in __bch2_ec_stripe_head_reserve() 1966 bch2_btree_iter_set_pos(trans, &iter, start_pos); in __bch2_ec_stripe_head_reserve()
|
/linux/drivers/net/can/kvaser_pciefd/ |
H A D | kvaser_pciefd_core.c | 1551 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/Documentation/filesystems/caching/ |
H A D | netfs-api.rst | 245 loff_t start_pos, 251 loff_t start_pos,
|