Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
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()
271 div_u64_rem(log->start_pos, log->len_total, &sublen); in bpf_vlog_finalize()
/openbmc/linux/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.h241 loff_t start_pos,
249 loff_t start_pos,
H A Dbpf_verifier.h541 u64 start_pos; member
/openbmc/linux/fs/cachefiles/
H A Dio.c74 loff_t start_pos, in cachefiles_read() argument
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() argument
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() argument
[all …]
H A Dinternal.h258 loff_t start_pos,
/openbmc/linux/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()
H A Dcmd.h61 loff_t start_pos; member
/openbmc/linux/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()
983 u64 start_pos; in lock_and_cleanup_extent_if_need() local
988 start_pos = round_down(pos, fs_info->sectorsize); in lock_and_cleanup_extent_if_need()
991 if (start_pos < inode->vfs_inode.i_size) { in lock_and_cleanup_extent_if_need()
1010 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
1027 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1137 loff_t start_pos; in btrfs_write_check() local
[all …]
/openbmc/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()
/openbmc/linux/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()
/openbmc/linux/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()
H A Ddpu_hw_intf.c355 DPU_REG_WRITE(c, INTF_TEAR_START_POS, te->start_pos); in dpu_hw_intf_enable_te()
360 (te->start_pos + te->sync_threshold_start + 1)); in dpu_hw_intf_enable_te()
H A Ddpu_hw_mdss.h488 u32 start_pos; member
H A Ddpu_encoder_phys_cmd.c387 tc_cfg.start_pos = mode->vdisplay; in dpu_encoder_phys_cmd_tearcheck_config()
395 tc_enable, tc_cfg.start_pos, tc_cfg.rd_ptr_irq); in dpu_encoder_phys_cmd_tearcheck_config()
/openbmc/linux/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()
875 ret, start_pos, end_pos); in dmap_writeback_invalidate()
880 start_pos >> PAGE_SHIFT, in dmap_writeback_invalidate()
/openbmc/linux/fs/f2fs/
H A Ddir.c975 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries() argument
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()
/openbmc/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()
/openbmc/qemu/target/mips/tcg/
H A Ddsp_helper.c3410 int32_t start_pos; in helper_extp() local
3418 start_pos = get_DSPControl_pos(env); in helper_extp()
3419 sub = start_pos - (size + 1); in helper_extp()
3435 int32_t start_pos; in helper_extpdp() local
3443 sub = start_pos - (size + 1); in helper_extpdp()
3462 int start_pos; in helper_dextp() local
3472 len = start_pos - size; in helper_dextp()
3476 sub = start_pos - (size + 1); in helper_dextp()
3492 int start_pos; in helper_dextpdp() local
3501 len = start_pos - size; in helper_dextpdp()
[all …]
/openbmc/linux/crypto/
H A Dcrypto_user_base.c226 const size_t start_pos = cb->args[0]; in crypto_dump_report() local
239 if (pos >= start_pos) { in crypto_dump_report()
/openbmc/linux/drivers/net/can/
H A Dkvaser_pciefd.c1487 static int kvaser_pciefd_read_packet(struct kvaser_pciefd *pcie, int *start_pos, in kvaser_pciefd_read_packet() argument
1495 int pos = *start_pos; in kvaser_pciefd_read_packet()
1501 *start_pos = 0; in kvaser_pciefd_read_packet()
1562 if ((*start_pos + size) != pos) in kvaser_pciefd_read_packet()
1566 *start_pos = pos; in kvaser_pciefd_read_packet()
/openbmc/linux/arch/arm64/kernel/
H A Dptrace.c619 unsigned int start_pos) in __fpr_set() argument
633 start_pos, start_pos + sizeof(newstate)); in __fpr_set()
/openbmc/qemu/hw/block/
H A Dfdc.c1594 int len, start_pos, rel_pos; in fdctrl_transfer_handler() local
1619 for (start_pos = fdctrl->data_pos; fdctrl->data_pos < dma_len;) { in fdctrl_transfer_handler()
1699 len = fdctrl->data_pos - start_pos; in fdctrl_transfer_handler()
/openbmc/linux/Documentation/filesystems/caching/
H A Dnetfs-api.rst245 loff_t start_pos,
251 loff_t start_pos,

12