Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dregset.h256 const int start_pos, const int end_pos) in user_regset_copyin() argument
261 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
262 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
263 : min(*count, end_pos - *pos)); in user_regset_copyin()
283 const int end_pos) in user_regset_copyin_ignore() argument
288 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore()
289 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore()
290 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
/linux-6.3-rc2/kernel/
A Drelay.c1016 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local
1023 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()
1025 end_pos = read_pos + count; in relay_file_read_end_pos()
1026 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()
1027 end_pos = 0; in relay_file_read_end_pos()
1029 return end_pos; in relay_file_read_end_pos()
A Dkcov.c233 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
252 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
253 if (likely(end_pos <= max_pos)) { in write_comp_data()
/linux-6.3-rc2/fs/iomap/
A Dbuffered-io.c1620 struct folio *folio, u64 end_pos) in iomap_writepage_map() argument
1637 for (i = 0; i < nblocks && pos < end_pos; i++, pos += len) { in iomap_writepage_map()
1722 u64 end_pos, isize; in iomap_do_writepage() local
1754 end_pos = folio_pos(folio) + folio_size(folio); in iomap_do_writepage()
1755 if (end_pos > isize) { in iomap_do_writepage()
1800 end_pos = isize; in iomap_do_writepage()
1803 return iomap_writepage_map(wpc, wbc, inode, folio, end_pos); in iomap_do_writepage()
/linux-6.3-rc2/fs/nfs/
A Dpnfs.c3134 loff_t end_pos) in pnfs_set_layoutcommit() argument
3141 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
3145 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit()
3146 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
3185 loff_t end_pos; in pnfs_layoutcommit_inode() local
3219 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode()
3229 if (end_pos != 0) in pnfs_layoutcommit_inode()
3230 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode()
3241 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode()
3242 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
/linux-6.3-rc2/fs/fuse/
A Ddax.c872 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate() local
874 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate()
877 ret, start_pos, end_pos); in dmap_writeback_invalidate()
883 end_pos >> PAGE_SHIFT); in dmap_writeback_invalidate()
/linux-6.3-rc2/fs/ubifs/
A Dfile.c542 loff_t end_pos = pos + len; in ubifs_write_end() local
543 int appending = !!(end_pos > inode->i_size); in ubifs_write_end()
578 i_size_write(inode, end_pos); in ubifs_write_end()
579 ui->ui_size = end_pos; in ubifs_write_end()
/linux-6.3-rc2/fs/btrfs/
A Dfile.c137 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages() local
180 if (end_pos > isize) in btrfs_dirty_pages()
181 i_size_write(&inode->vfs_inode, end_pos); in btrfs_dirty_pages()
1165 loff_t end_pos = round_up(pos + count, fs_info->sectorsize); in btrfs_write_check() local
1167 ret = btrfs_cont_expand(BTRFS_I(inode), oldsize, end_pos); in btrfs_write_check()
/linux-6.3-rc2/include/trace/events/
A Df2fs.h871 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
873 TP_ARGS(dir, start_pos, end_pos, err),
887 __entry->end = end_pos;
/linux-6.3-rc2/scripts/
A Dcheckpatch.pl3490 my $end_pos = $+[2];
3503 $end_char = substr($rawline, $end_pos, 1) if ($end_pos < length($rawline));

Completed in 40 milliseconds