/kernel/linux/linux-6.6/fs/iomap/ |
H A D | buffered-io.c | 985 struct folio *folio, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_ifs_punch() 1006 first_blk = offset_in_folio(folio, start_byte) >> blkbits; in iomap_write_delalloc_ifs_punch() 1022 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_punch() 1031 if (start_byte > *punch_start_byte) { in iomap_write_delalloc_punch() 1033 start_byte - *punch_start_byte); in iomap_write_delalloc_punch() 1039 ret = iomap_write_delalloc_ifs_punch(inode, folio, start_byte, in iomap_write_delalloc_punch() 1068 * This function uses [start_byte, end_byte) intervals (i.e. open ended) to 1072 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_scan() 1075 while (start_byte < end_byte) { in iomap_write_delalloc_scan() 1081 start_byte >> PAGE_SHIF in iomap_write_delalloc_scan() 984 iomap_write_delalloc_ifs_punch(struct inode *inode, struct folio *folio, loff_t start_byte, loff_t end_byte, iomap_punch_t punch) iomap_write_delalloc_ifs_punch() argument 1021 iomap_write_delalloc_punch(struct inode *inode, struct folio *folio, loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, iomap_punch_t punch) iomap_write_delalloc_punch() argument 1071 iomap_write_delalloc_scan(struct inode *inode, loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, iomap_punch_t punch) iomap_write_delalloc_scan() argument 1137 iomap_write_delalloc_release(struct inode *inode, loff_t start_byte, loff_t end_byte, iomap_punch_t punch) iomap_write_delalloc_release() argument 1233 loff_t start_byte; iomap_file_buffered_write_punch_delalloc() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | compression.c | 115 unsigned long start_byte, size_t srclen, size_t destlen) in compression_decompress() 119 start_byte, srclen, destlen); in compression_decompress() 121 start_byte, srclen, destlen); in compression_decompress() 123 start_byte, srclen, destlen); in compression_decompress() 1198 * start_byte tells us the offset into the compressed data we're interested in 1201 unsigned long start_byte, size_t srclen, size_t destlen) in btrfs_decompress() 1208 start_byte, srclen, destlen); in btrfs_decompress() 1243 unsigned long start_byte; in btrfs_decompress_buf2page() local 1254 start_byte = page_offset(bvec.bv_page) - disk_start; in btrfs_decompress_buf2page() 1257 if (total_out <= start_byte) in btrfs_decompress_buf2page() 113 compression_decompress(int type, struct list_head *ws, unsigned char *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) compression_decompress() argument 1200 btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) btrfs_decompress() argument [all...] |
H A D | compression.h | 88 unsigned long start_byte, size_t srclen, size_t destlen); 152 struct page *dest_page, unsigned long start_byte, size_t srclen, 163 struct page *dest_page, unsigned long start_byte, size_t srclen, 173 struct page *dest_page, unsigned long start_byte, size_t srclen,
|
H A D | zlib.c | 369 struct page *dest_page, unsigned long start_byte, size_t srclen, in zlib_decompress() 423 if (total_out <= start_byte) in zlib_decompress() 426 if (total_out > start_byte && buf_start < start_byte) in zlib_decompress() 427 buf_offset = start_byte - buf_start; in zlib_decompress() 368 zlib_decompress(struct list_head *ws, unsigned char *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) zlib_decompress() argument
|
H A D | zstd.c | 625 struct page *dest_page, unsigned long start_byte, size_t srclen, in zstd_decompress() 680 if (total_out <= start_byte) in zstd_decompress() 683 if (total_out > start_byte && buf_start < start_byte) in zstd_decompress() 684 buf_offset = start_byte - buf_start; in zstd_decompress() 624 zstd_decompress(struct list_head *ws, unsigned char *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) zstd_decompress() argument
|
H A D | lzo.c | 424 struct page *dest_page, unsigned long start_byte, size_t srclen, in lzo_decompress() 458 if (out_len < start_byte) { in lzo_decompress() 468 bytes = min_t(unsigned long, destlen, out_len - start_byte); in lzo_decompress() 471 memcpy(kaddr, workspace->buf + start_byte, bytes); in lzo_decompress() 423 lzo_decompress(struct list_head *ws, unsigned char *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) lzo_decompress() argument
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | compression.h | 86 unsigned long start_byte, size_t srclen, size_t destlen); 146 struct page *dest_page, unsigned long start_byte, size_t srclen, 157 struct page *dest_page, unsigned long start_byte, size_t srclen, 167 struct page *dest_page, unsigned long start_byte, size_t srclen,
|
H A D | zlib.c | 357 struct page *dest_page, unsigned long start_byte, size_t srclen, in zlib_decompress() 410 if (total_out <= start_byte) in zlib_decompress() 413 if (total_out > start_byte && buf_start < start_byte) in zlib_decompress() 414 buf_offset = start_byte - buf_start; in zlib_decompress() 356 zlib_decompress(struct list_head *ws, const u8 *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) zlib_decompress() argument
|
H A D | zstd.c | 619 struct page *dest_page, unsigned long start_byte, size_t srclen, in zstd_decompress() 673 if (total_out <= start_byte) in zstd_decompress() 676 if (total_out > start_byte && buf_start < start_byte) in zstd_decompress() 677 buf_offset = start_byte - buf_start; in zstd_decompress() 618 zstd_decompress(struct list_head *ws, const u8 *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) zstd_decompress() argument
|
H A D | lzo.c | 428 struct page *dest_page, unsigned long start_byte, size_t srclen, in lzo_decompress() 462 if (out_len < start_byte) { in lzo_decompress() 472 bytes = min_t(unsigned long, destlen, out_len - start_byte); in lzo_decompress() 475 memcpy(kaddr, workspace->buf + start_byte, bytes); in lzo_decompress() 427 lzo_decompress(struct list_head *ws, const u8 *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) lzo_decompress() argument
|
H A D | compression.c | 144 unsigned long start_byte, size_t srclen, size_t destlen) in compression_decompress() 148 start_byte, srclen, destlen); in compression_decompress() 150 start_byte, srclen, destlen); in compression_decompress() 152 start_byte, srclen, destlen); in compression_decompress() 941 * start_byte tells us the offset into the compressed data we're interested in 944 unsigned long start_byte, size_t srclen, size_t destlen) in btrfs_decompress() 951 start_byte, srclen, destlen); in btrfs_decompress() 142 compression_decompress(int type, struct list_head *ws, const u8 *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) compression_decompress() argument 943 btrfs_decompress(int type, const u8 *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) btrfs_decompress() argument
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ext4_jbd2.h | 418 struct inode *inode, loff_t start_byte, loff_t length) in ext4_jbd2_inode_add_write() 422 EXT4_I(inode)->jinode, start_byte, length); in ext4_jbd2_inode_add_write() 427 struct inode *inode, loff_t start_byte, loff_t length) in ext4_jbd2_inode_add_wait() 431 EXT4_I(inode)->jinode, start_byte, length); in ext4_jbd2_inode_add_wait() 417 ext4_jbd2_inode_add_write(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) ext4_jbd2_inode_add_write() argument 426 ext4_jbd2_inode_add_wait(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) ext4_jbd2_inode_add_wait() argument
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | ext4_jbd2.h | 421 struct inode *inode, loff_t start_byte, loff_t length) in ext4_jbd2_inode_add_write() 425 EXT4_I(inode)->jinode, start_byte, length); in ext4_jbd2_inode_add_write() 430 struct inode *inode, loff_t start_byte, loff_t length) in ext4_jbd2_inode_add_wait() 434 EXT4_I(inode)->jinode, start_byte, length); in ext4_jbd2_inode_add_wait() 420 ext4_jbd2_inode_add_write(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) ext4_jbd2_inode_add_write() argument 429 ext4_jbd2_inode_add_wait(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) ext4_jbd2_inode_add_wait() argument
|
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 26 unsigned long start_byte; member 187 * The area takes a slice of the pages from start_bytes to start_byte + length 191 unsigned long start_byte, unsigned long length, in iopt_insert_area() 200 area->page_offset = start_byte % PAGE_SIZE; in iopt_insert_area() 208 area->pages_node.start = start_byte / PAGE_SIZE; in iopt_insert_area() 209 if (check_add_overflow(start_byte, length - 1, &area->pages_node.last)) in iopt_insert_area() 263 (uintptr_t)elm->pages->uptr + elm->start_byte, length); in iopt_alloc_area_pages() 284 elm->start_byte, elm->length, iommu_prot); in iopt_alloc_area_pages() 412 elm.start_byte = uptr - elm.pages->uptr; in iopt_map_user_pages() 450 elm->start_byte in iopt_get_pages() 189 iopt_insert_area(struct io_pagetable *iopt, struct iopt_area *area, struct iopt_pages *pages, unsigned long iova, unsigned long start_byte, unsigned long length, int iommu_prot) iopt_insert_area() argument [all...] |
H A D | pages.c | 1823 * @start_byte: First byte of pages to copy to/from 1831 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte, in iopt_pages_rw_access() argument 1834 unsigned long start_index = start_byte / PAGE_SIZE; in iopt_pages_rw_access() 1835 unsigned long last_index = (start_byte + length - 1) / PAGE_SIZE; in iopt_pages_rw_access() 1849 start_byte % PAGE_SIZE, data, in iopt_pages_rw_access() 1852 start_byte % PAGE_SIZE, data, length, in iopt_pages_rw_access() 1864 start_byte % PAGE_SIZE, data, in iopt_pages_rw_access() 1870 if (copy_to_user(pages->uptr + start_byte, data, length)) in iopt_pages_rw_access() 1873 if (copy_from_user(data, pages->uptr + start_byte, length)) in iopt_pages_rw_access()
|
H A D | io_pagetable.h | 229 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte,
|
/kernel/linux/linux-5.10/mm/ |
H A D | filemap.c | 464 * @start_byte: offset in bytes where the range starts 474 loff_t start_byte, loff_t end_byte) in filemap_range_has_page() 477 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_page() 480 if (end_byte < start_byte) in filemap_range_has_page() 505 loff_t start_byte, loff_t end_byte) in __filemap_fdatawait_range() 507 pgoff_t index = start_byte >> PAGE_SHIFT; in __filemap_fdatawait_range() 512 if (end_byte < start_byte) in __filemap_fdatawait_range() 538 * @start_byte: offset in bytes where the range starts 551 int filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, in filemap_fdatawait_range() argument 554 __filemap_fdatawait_range(mapping, start_byte, end_byt in filemap_fdatawait_range() 473 filemap_range_has_page(struct address_space *mapping, loff_t start_byte, loff_t end_byte) filemap_range_has_page() argument 504 __filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, loff_t end_byte) __filemap_fdatawait_range() argument 573 filemap_fdatawait_range_keep_errors(struct address_space *mapping, loff_t start_byte, loff_t end_byte) filemap_fdatawait_range_keep_errors() argument 597 file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte) file_fdatawait_range() argument [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | filemap.c | 463 * @start_byte: offset in bytes where the range starts 473 loff_t start_byte, loff_t end_byte) in filemap_range_has_page() 476 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_page() 479 if (end_byte < start_byte) in filemap_range_has_page() 504 loff_t start_byte, loff_t end_byte) in __filemap_fdatawait_range() 506 pgoff_t index = start_byte >> PAGE_SHIFT; in __filemap_fdatawait_range() 536 * @start_byte: offset in bytes where the range starts 549 int filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, in filemap_fdatawait_range() argument 552 __filemap_fdatawait_range(mapping, start_byte, end_byte); in filemap_fdatawait_range() 560 * @start_byte 472 filemap_range_has_page(struct address_space *mapping, loff_t start_byte, loff_t end_byte) filemap_range_has_page() argument 503 __filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, loff_t end_byte) __filemap_fdatawait_range() argument 571 filemap_fdatawait_range_keep_errors(struct address_space *mapping, loff_t start_byte, loff_t end_byte) filemap_fdatawait_range_keep_errors() argument 595 file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte) file_fdatawait_range() argument 631 filemap_range_has_writeback(struct address_space *mapping, loff_t start_byte, loff_t end_byte) filemap_range_has_writeback() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_bmap_util.h | 34 xfs_off_t start_byte, xfs_off_t end_byte);
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | journal.h | 579 loff_t start_byte, loff_t length) in ocfs2_jbd2_inode_add_write() 583 start_byte, length); in ocfs2_jbd2_inode_add_write() 578 ocfs2_jbd2_inode_add_write(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) ocfs2_jbd2_inode_add_write() argument
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | journal.h | 578 loff_t start_byte, loff_t length) in ocfs2_jbd2_inode_add_write() 582 start_byte, length); in ocfs2_jbd2_inode_add_write() 577 ocfs2_jbd2_inode_add_write(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) ocfs2_jbd2_inode_add_write() argument
|
/kernel/linux/linux-5.10/fs/jbd2/ |
H A D | transaction.c | 2652 unsigned long flags, loff_t start_byte, loff_t end_byte) in jbd2_journal_file_inode() 2668 jinode->i_dirty_start = min(jinode->i_dirty_start, start_byte); in jbd2_journal_file_inode() 2671 jinode->i_dirty_start = start_byte; in jbd2_journal_file_inode() 2707 struct jbd2_inode *jinode, loff_t start_byte, loff_t length) in jbd2_journal_inode_ranged_write() 2710 JI_WRITE_DATA | JI_WAIT_DATA, start_byte, in jbd2_journal_inode_ranged_write() 2711 start_byte + length - 1); in jbd2_journal_inode_ranged_write() 2715 loff_t start_byte, loff_t length) in jbd2_journal_inode_ranged_wait() 2718 start_byte, start_byte + length - 1); in jbd2_journal_inode_ranged_wait() 2651 jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode, unsigned long flags, loff_t start_byte, loff_t end_byte) jbd2_journal_file_inode() argument 2706 jbd2_journal_inode_ranged_write(handle_t *handle, struct jbd2_inode *jinode, loff_t start_byte, loff_t length) jbd2_journal_inode_ranged_write() argument 2714 jbd2_journal_inode_ranged_wait(handle_t *handle, struct jbd2_inode *jinode, loff_t start_byte, loff_t length) jbd2_journal_inode_ranged_wait() argument
|
/kernel/linux/linux-6.6/fs/jbd2/ |
H A D | transaction.c | 2649 unsigned long flags, loff_t start_byte, loff_t end_byte) in jbd2_journal_file_inode() 2665 jinode->i_dirty_start = min(jinode->i_dirty_start, start_byte); in jbd2_journal_file_inode() 2668 jinode->i_dirty_start = start_byte; in jbd2_journal_file_inode() 2704 struct jbd2_inode *jinode, loff_t start_byte, loff_t length) in jbd2_journal_inode_ranged_write() 2707 JI_WRITE_DATA | JI_WAIT_DATA, start_byte, in jbd2_journal_inode_ranged_write() 2708 start_byte + length - 1); in jbd2_journal_inode_ranged_write() 2712 loff_t start_byte, loff_t length) in jbd2_journal_inode_ranged_wait() 2715 start_byte, start_byte + length - 1); in jbd2_journal_inode_ranged_wait() 2648 jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode, unsigned long flags, loff_t start_byte, loff_t end_byte) jbd2_journal_file_inode() argument 2703 jbd2_journal_inode_ranged_write(handle_t *handle, struct jbd2_inode *jinode, loff_t start_byte, loff_t length) jbd2_journal_inode_ranged_write() argument 2711 jbd2_journal_inode_ranged_wait(handle_t *handle, struct jbd2_inode *jinode, loff_t start_byte, loff_t length) jbd2_journal_inode_ranged_wait() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pagemap.h | 42 loff_t start_byte, loff_t end_byte); 1217 loff_t start_byte, loff_t end_byte); 1222 * @start_byte: offset in bytes where the range starts 1234 loff_t start_byte, in filemap_range_needs_writeback() 1242 return filemap_range_has_writeback(mapping, start_byte, end_byte); in filemap_range_needs_writeback() 1233 filemap_range_needs_writeback(struct address_space *mapping, loff_t start_byte, loff_t end_byte) filemap_range_needs_writeback() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_nvm.c | 1506 int start_byte = buff - (u8 *)hw->nvm_buff.va; in i40e_nvmupd_get_aq_result() local 1509 __func__, start_byte, start_byte + remainder); in i40e_nvmupd_get_aq_result()
|