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

12

/linux-master/include/linux/
H A Dregset.h256 const int start_pos, const int end_pos)
260 BUG_ON(*pos < start_pos);
264 data += *pos - start_pos;
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) argument
H A Dfscache.h475 * @start_pos: The beginning file offset in the cache file
485 * of the operation. @start_pos is the start position in the file, though if
505 loff_t start_pos,
512 return ops->read(cres, start_pos, iter, read_hole,
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,
570 return ops->write(cres, start_pos, iter, term_func, term_func_priv);
504 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) argument
563 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) argument
H A Dnetfs.h340 loff_t start_pos,
348 loff_t start_pos,
H A Dbpf_verifier.h578 * start_pos == 0 means we haven't truncated anything.
579 * Once truncation starts to happen, start_pos + len_total == end_pos,
580 * except during log reset situations, in which (end_pos - start_pos)
582 * Generally, (end_pos - start_pos) gives number of useful data in
585 u64 start_pos; member in struct:bpf_verifier_log
/linux-master/fs/cachefiles/
H A Dio.c74 loff_t start_pos,
95 file, file_inode(file)->i_ino, start_pos, len,
102 loff_t off = start_pos, off2;
113 if (off2 == -ENXIO || off2 >= start_pos + len) {
139 ki->iocb.ki_pos = start_pos + skipped;
281 loff_t start_pos,
296 file, file_inode(file)->i_ino, start_pos, len,
308 ki->iocb.ki_pos = start_pos;
312 ki->start = start_pos;
360 loff_t start_pos,
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) argument
279 __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) argument
359 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) argument
[all...]
H A Dinternal.h253 loff_t start_pos,
/linux-master/kernel/bpf/
H A Dlog.c97 if (new_end - log->start_pos >= log->len_total)
100 new_start = log->start_pos;
102 log->start_pos = new_start;
162 * start_pos to end up with an empty log (start_pos == end_pos)
165 if (log->end_pos < log->start_pos)
166 log->start_pos = log->end_pos;
238 if (log->start_pos == 0)
243 * that if log->start_pos != 0 then we definitely filled up entire log
245 * the left by (log->start_pos
[all...]
/linux-master/drivers/vfio/pci/mlx5/
H A Dmain.c102 if (pos >= buf->start_pos &&
103 pos < buf->start_pos + buf->length) {
162 vhca_buf->start_pos + vhca_buf->length - *pos, *len);
170 offset = *pos - vhca_buf->start_pos;
189 if (*pos >= vhca_buf->start_pos + vhca_buf->length)
395 header_buf->start_pos = header_buf->migf->max_pos;
715 offset = *pos - vhca_buf->start_pos;
935 vhca_buf_header->start_pos = migf->max_pos;
963 vhca_buf->start_pos = migf->max_pos;
H A Dcmd.h57 loff_t start_pos; member in struct:mlx5_vhca_data_buffer
/linux-master/scripts/
H A Dkallsyms.c39 unsigned int start_pos; member in struct:sym_entry
275 sym->start_pos = table_cnt;
770 return sa->start_pos - sb->start_pos;
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.c98 DPU_REG_WRITE(c, PP_START_POS, te->start_pos);
103 (te->start_pos + te->sync_threshold_start + 1));
H A Ddpu_hw_mdss.h484 * @start_pos: The position from which the start_threshold value is added
498 u32 start_pos; member in struct:dpu_hw_tear_check
H A Ddpu_encoder_phys_cmd.c384 tc_cfg.start_pos = mode->vdisplay;
391 "tc enable %u start_pos %u rd_ptr_irq %u\n",
392 tc_enable, tc_cfg.start_pos, tc_cfg.rd_ptr_irq);
H A Ddpu_hw_intf.c357 DPU_REG_WRITE(c, INTF_TEAR_START_POS, te->start_pos);
362 (te->start_pos + te->sync_threshold_start + 1));
/linux-master/drivers/comedi/drivers/
H A Dadl_pci9118.c410 unsigned int start_pos = devpriv->ai_add_front; local
411 unsigned int stop_pos = start_pos + cmd->chanlist_len;
434 if (dma_pos < start_pos) {
436 x = start_pos - dma_pos;
454 start_pos += span_len;
467 unsigned int start_pos = devpriv->ai_add_front; local
468 unsigned int stop_pos = start_pos + cmd->chanlist_len;
484 if (dma_pos < start_pos) {
486 x = start_pos - dma_pos;
504 start_pos
[all...]
/linux-master/fs/btrfs/
H A Dfile.c134 u64 start_pos; local
146 start_pos = round_down(pos, fs_info->sectorsize);
147 num_bytes = round_up(write_bytes + pos - start_pos,
151 end_of_last_block = start_pos + num_bytes - 1;
157 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block,
161 err = btrfs_set_extent_delalloc(inode, start_pos, end_of_last_block,
170 start_pos, num_bytes);
172 start_pos, num_bytes);
174 start_pos, num_bytes);
987 u64 start_pos; local
1142 loff_t start_pos; local
[all...]
/linux-master/fs/f2fs/
H A Ddir.c974 unsigned int start_pos, struct fscrypt_str *fstr)
1005 ctx->pos = start_pos + bit_pos;
1048 ctx->pos = start_pos + bit_pos;
1064 loff_t start_pos = ctx->pos; local
1130 trace_f2fs_readdir(inode, start_pos, ctx->pos, err);
973 f2fs_fill_dentries(struct dir_context *ctx, struct f2fs_dentry_ptr *d, unsigned int start_pos, struct fscrypt_str *fstr) argument
/linux-master/crypto/
H A Dcrypto_user_base.c226 const size_t start_pos = cb->args[0]; local
239 if (pos >= start_pos) {
/linux-master/drivers/md/bcache/
H A Dwriteback.c706 struct bkey start_pos; local
723 start_pos = buf->last_scanned;
734 bch_refill_keybuf(dc->disk.c, buf, &start_pos, dirty_pred);
736 return bkey_cmp(&buf->last_scanned, &start_pos) >= 0;
/linux-master/fs/bcachefs/
H A Dbcachefs_ioctl.h210 struct bpos start_pos; member in struct:bch_ioctl_data
H A Dec.c1927 struct bpos start_pos = bpos_max(min_pos, POS(0, c->ec_stripe_hint)); local
1939 for_each_btree_key_norestart(trans, iter, BTREE_ID_stripes, start_pos,
1942 if (start_pos.offset) {
1943 start_pos = min_pos;
1944 bch2_btree_iter_set_pos(&iter, start_pos);
/linux-master/fs/fuse/
H A Ddax.c869 loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT; local
870 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1);
872 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos);
874 pr_debug("fuse: filemap_fdatawrite_range() failed. err=%d start_pos=0x%llx, end_pos=0x%llx\n",
875 ret, start_pos, end_pos);
880 start_pos >> PAGE_SHIFT,
/linux-master/drivers/net/can/
H A Dkvaser_pciefd.c1547 static int kvaser_pciefd_read_packet(struct kvaser_pciefd *pcie, int *start_pos, argument
1555 int pos = *start_pos;
1561 *start_pos = 0;
1622 if ((*start_pos + size) != pos)
1626 *start_pos = pos;
/linux-master/arch/arm64/kernel/
H A Dptrace.c619 unsigned int start_pos)
633 start_pos, start_pos + sizeof(newstate));
615 __fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned int start_pos) argument
/linux-master/include/trace/events/
H A Df2fs.h957 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
959 TP_ARGS(dir, start_pos, end_pos, err),
972 __entry->start = start_pos;
977 TP_printk("dev = (%d,%d), ino = %lu, start_pos:%llu, end_pos:%llu, err:%d",

Completed in 472 milliseconds

12