Home
last modified time | relevance | path

Searched refs:end_pos (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/include/linux/
Dregset.h244 const int start_pos, const int end_pos) in user_regset_copyin() argument
249 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
250 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
251 : min(*count, end_pos - *pos)); in user_regset_copyin()
271 const int end_pos) in user_regset_copyin_ignore() argument
276 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore()
277 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore()
278 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
/Linux-v5.10/kernel/
Drelay.c1104 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local
1111 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()
1113 end_pos = read_pos + count; in relay_file_read_end_pos()
1114 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()
1115 end_pos = 0; in relay_file_read_end_pos()
1117 return end_pos; in relay_file_read_end_pos()
Dkcov.c215 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
234 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
235 if (likely(end_pos <= max_pos)) { in write_comp_data()
/Linux-v5.10/fs/nfs/
Dpnfs.c3054 loff_t end_pos) in pnfs_set_layoutcommit() argument
3061 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
3065 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit()
3066 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
3105 loff_t end_pos; in pnfs_layoutcommit_inode() local
3139 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode()
3149 if (end_pos != 0) in pnfs_layoutcommit_inode()
3150 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode()
3161 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode()
3162 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
/Linux-v5.10/fs/fuse/
Ddax.c876 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate() local
878 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate()
881 ret, start_pos, end_pos); in dmap_writeback_invalidate()
887 end_pos >> PAGE_SHIFT); in dmap_writeback_invalidate()
/Linux-v5.10/fs/ubifs/
Dfile.c543 loff_t end_pos = pos + len; in ubifs_write_end() local
544 int appending = !!(end_pos > inode->i_size); in ubifs_write_end()
579 i_size_write(inode, end_pos); in ubifs_write_end()
580 ui->ui_size = end_pos; in ubifs_write_end()
/Linux-v5.10/fs/btrfs/
Dfile.c473 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages() local
508 if (end_pos > isize) in btrfs_dirty_pages()
509 i_size_write(&inode->vfs_inode, end_pos); in btrfs_dirty_pages()
1867 u64 end_pos; in btrfs_file_write_iter() local
1949 end_pos = round_up(pos + count, in btrfs_file_write_iter()
1951 err = btrfs_cont_expand(inode, oldsize, end_pos); in btrfs_file_write_iter()
/Linux-v5.10/include/trace/events/
Df2fs.h858 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
860 TP_ARGS(dir, start_pos, end_pos, err),
874 __entry->end = end_pos;