Home
last modified time | relevance | path

Searched refs:pg_offset (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/char/agp/
A Dnvidia-agp.c33 off_t pg_offset; member
133 nvidia_private.pg_offset = 0; in nvidia_configure()
137 nvidia_private.pg_offset = (apbase & (64 * 1024 * 1024 - 1) & in nvidia_configure()
218 if (!PGE_EMPTY(agp_bridge, readl(agp_bridge->gatt_table+nvidia_private.pg_offset+j))) in nvidia_insert_memory()
229 agp_bridge->gatt_table+nvidia_private.pg_offset+j); in nvidia_insert_memory()
233 readl(agp_bridge->gatt_table+nvidia_private.pg_offset+j - 1); in nvidia_insert_memory()
254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); in nvidia_remove_memory()
/linux-6.3-rc2/fs/btrfs/
A Dzlib.c367 unsigned long pg_offset = 0; in zlib_decompress() local
420 bytes = min(PAGE_SIZE - pg_offset, in zlib_decompress()
424 memcpy_to_page(dest_page, pg_offset, in zlib_decompress()
427 pg_offset += bytes; in zlib_decompress()
446 if (pg_offset < destlen) { in zlib_decompress()
447 memzero_page(dest_page, pg_offset, destlen - pg_offset); in zlib_decompress()
A Dzstd.c628 unsigned long pg_offset = 0; in zstd_decompress() local
649 while (pg_offset < destlen in zstd_decompress()
682 bytes = min_t(unsigned long, destlen - pg_offset, in zstd_decompress()
685 memcpy_to_page(dest_page, pg_offset, in zstd_decompress()
688 pg_offset += bytes; in zstd_decompress()
692 if (pg_offset < destlen) { in zstd_decompress()
693 memzero_page(dest_page, pg_offset, destlen - pg_offset); in zstd_decompress()
A Dextent_io.c890 unsigned int pg_offset, in btrfs_bio_add_page() argument
1034 unsigned int cur = pg_offset; in submit_extent_page()
1046 while (cur < pg_offset + size) { in submit_extent_page()
1047 u32 offset = cur - pg_offset; in submit_extent_page()
1209 size_t pg_offset = 0; in btrfs_do_readpage() local
1322 pg_offset += iosize; in btrfs_do_readpage()
1330 pg_offset += iosize; in btrfs_do_readpage()
1336 pg_offset, this_bio_flag, in btrfs_do_readpage()
1348 pg_offset += iosize; in btrfs_do_readpage()
1695 size_t pg_offset; in __extent_writepage() local
[all …]
A Dbio.h94 unsigned int pg_offset, int mirror_num);
A Dbio.c707 unsigned int pg_offset, int mirror_num) in btrfs_repair_io_failure() argument
772 __bio_add_page(&bio, page, length, pg_offset); in btrfs_repair_io_failure()
A Dbtrfs_inode.h479 struct page *page, size_t pg_offset,
A Dsend.c5253 unsigned pg_offset = offset_in_page(offset); in put_file_data() local
5264 PAGE_SIZE - pg_offset); in put_file_data()
5301 pg_offset, cur_len); in put_file_data()
5305 pg_offset = 0; in put_file_data()
A Dinode.c6785 struct page *page, size_t pg_offset, in btrfs_get_extent() argument
6929 ASSERT(pg_offset == 0); in btrfs_get_extent()
/linux-6.3-rc2/drivers/hwtracing/coresight/
A Dultrasoc-smb.c368 long pg_idx, pg_offset; in smb_sync_perf_buffer() local
371 pg_offset = head & (PAGE_SIZE - 1); in smb_sync_perf_buffer()
374 unsigned long pg_space = PAGE_SIZE - pg_offset; in smb_sync_perf_buffer()
382 memcpy(dst_pages[pg_idx] + pg_offset, in smb_sync_perf_buffer()
385 pg_offset += to_copy; in smb_sync_perf_buffer()
386 if (pg_offset >= PAGE_SIZE) { in smb_sync_perf_buffer()
387 pg_offset = 0; in smb_sync_perf_buffer()
A Dcoresight-tmc-etr.c393 int pg_offset = offset & (PAGE_SIZE - 1); in tmc_sg_table_get_data() local
403 len = (len < (PAGE_SIZE - pg_offset)) ? len : (PAGE_SIZE - pg_offset); in tmc_sg_table_get_data()
405 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data()
1475 long pg_idx, pg_offset; in tmc_etr_sync_perf_buffer() local
1481 pg_offset = head & (PAGE_SIZE - 1); in tmc_etr_sync_perf_buffer()
1499 bytes = min(bytes, (long)(PAGE_SIZE - pg_offset)); in tmc_etr_sync_perf_buffer()
1501 memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); in tmc_etr_sync_perf_buffer()
1506 pg_offset += bytes; in tmc_etr_sync_perf_buffer()
1507 if (pg_offset == PAGE_SIZE) { in tmc_etr_sync_perf_buffer()
1508 pg_offset = 0; in tmc_etr_sync_perf_buffer()
A Dcoresight-catu.c119 unsigned int table_nr, pg_idx, pg_offset; in catu_get_table() local
133 pg_offset = (table_nr % CATU_PAGES_PER_SYSPAGE) * CATU_PAGE_SIZE; in catu_get_table()
135 *daddrp = table_pages->daddrs[pg_idx] + pg_offset; in catu_get_table()
137 return (cate_t *)((unsigned long)ptr + pg_offset); in catu_get_table()
/linux-6.3-rc2/fs/nfs/blocklayout/
A Dblocklayout.c240 unsigned int pg_offset = header->args.pgbase, pg_len; in bl_read_pagelist() local
274 if (pg_offset + bytes_left > PAGE_SIZE) in bl_read_pagelist()
275 pg_len = PAGE_SIZE - pg_offset; in bl_read_pagelist()
279 BUG_ON(pg_offset != 0); in bl_read_pagelist()
287 zero_user_segment(pages[i], pg_offset, pg_len); in bl_read_pagelist()
297 pg_offset, &pg_len); in bl_read_pagelist()
308 pg_offset = 0; in bl_read_pagelist()
/linux-6.3-rc2/fs/nfs/
A Dpnfs.c1976 unsigned pg_offset; in pnfs_update_layout() local
2127 pg_offset = arg.offset & ~PAGE_MASK; in pnfs_update_layout()
2128 if (pg_offset) { in pnfs_update_layout()
2129 arg.offset -= pg_offset; in pnfs_update_layout()
2130 arg.length += pg_offset; in pnfs_update_layout()

Completed in 61 milliseconds