/openbmc/linux/drivers/char/agp/ |
H A D | nvidia-agp.c | 33 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()
|
/openbmc/linux/fs/btrfs/ |
H A D | zstd.c | 627 unsigned long pg_offset = 0; in zstd_decompress() local 648 while (pg_offset < destlen in zstd_decompress() 681 bytes = min_t(unsigned long, destlen - pg_offset, in zstd_decompress() 684 memcpy_to_page(dest_page, pg_offset, in zstd_decompress() 687 pg_offset += bytes; in zstd_decompress() 691 if (pg_offset < destlen) { in zstd_decompress() 692 memzero_page(dest_page, pg_offset, destlen - pg_offset); in zstd_decompress()
|
H A D | extent_io.c | 703 unsigned int pg_offset) in btrfs_bio_is_contig() argument 730 page_offset(page) + pg_offset; in btrfs_bio_is_contig() 785 size_t size, unsigned long pg_offset) in submit_extent_page() argument 789 ASSERT(pg_offset + size <= PAGE_SIZE); in submit_extent_page() 793 !btrfs_bio_is_contig(bio_ctrl, page, disk_bytenr, pg_offset)) in submit_extent_page() 802 page_offset(page) + pg_offset); in submit_extent_page() 812 if (bio_add_page(&bio_ctrl->bbio->bio, page, len, pg_offset) != len) { in submit_extent_page() 822 pg_offset += len; in submit_extent_page() 930 __get_extent_map(struct inode *inode, struct page *page, size_t pg_offset, in __get_extent_map() argument 947 em = btrfs_get_extent(BTRFS_I(inode), page, pg_offset, start, len); in __get_extent_map() [all …]
|
H A D | bio.h | 109 unsigned int pg_offset, int mirror_num);
|
H A D | bio.c | 762 unsigned int pg_offset, int mirror_num) in btrfs_repair_io_failure() argument 793 __bio_add_page(&bio, page, length, pg_offset); in btrfs_repair_io_failure()
|
H A D | btrfs_inode.h | 486 struct page *page, size_t pg_offset,
|
H A D | send.c | 5282 unsigned pg_offset = offset_in_page(offset); in put_file_data() local 5293 PAGE_SIZE - pg_offset); in put_file_data() 5330 pg_offset, cur_len); in put_file_data() 5334 pg_offset = 0; in put_file_data()
|
H A D | inode.c | 6766 struct page *page, size_t pg_offset, in btrfs_get_extent() argument 6910 ASSERT(pg_offset == 0); in btrfs_get_extent()
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | ultrasoc-smb.c | 362 long pg_idx, pg_offset; in smb_sync_perf_buffer() local 365 pg_offset = head & (PAGE_SIZE - 1); in smb_sync_perf_buffer() 368 unsigned long pg_space = PAGE_SIZE - pg_offset; in smb_sync_perf_buffer() 376 memcpy(dst_pages[pg_idx] + pg_offset, in smb_sync_perf_buffer() 379 pg_offset += to_copy; in smb_sync_perf_buffer() 380 if (pg_offset >= PAGE_SIZE) { in smb_sync_perf_buffer() 381 pg_offset = 0; in smb_sync_perf_buffer()
|
H A D | coresight-tmc-etr.c | 394 int pg_offset = offset & (PAGE_SIZE - 1); in tmc_sg_table_get_data() local 404 len = (len < (PAGE_SIZE - pg_offset)) ? len : (PAGE_SIZE - pg_offset); in tmc_sg_table_get_data() 406 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data() 1484 long pg_idx, pg_offset; in tmc_etr_sync_perf_buffer() local 1490 pg_offset = head & (PAGE_SIZE - 1); in tmc_etr_sync_perf_buffer() 1508 bytes = min(bytes, (long)(PAGE_SIZE - pg_offset)); in tmc_etr_sync_perf_buffer() 1510 memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); in tmc_etr_sync_perf_buffer() 1515 pg_offset += bytes; in tmc_etr_sync_perf_buffer() 1516 if (pg_offset == PAGE_SIZE) { in tmc_etr_sync_perf_buffer() 1517 pg_offset = 0; in tmc_etr_sync_perf_buffer()
|
H A D | coresight-catu.c | 119 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()
|
/openbmc/linux/fs/nfs/blocklayout/ |
H A D | blocklayout.c | 240 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()
|
/openbmc/linux/fs/nfs/ |
H A D | pnfs.c | 1975 unsigned pg_offset; in pnfs_update_layout() local 2134 pg_offset = arg.offset & ~PAGE_MASK; in pnfs_update_layout() 2135 if (pg_offset) { in pnfs_update_layout() 2136 arg.offset -= pg_offset; in pnfs_update_layout() 2137 arg.length += pg_offset; in pnfs_update_layout()
|