/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.h | 26 unsigned int pg_off; member 165 return page_to_virt(rxpage->page) + rxpage->pg_off; in aq_buf_vaddr() 170 return rxpage->daddr + rxpage->pg_off; in aq_buf_daddr()
|
D | aq_ring.c | 73 rxpage->pg_off = rx_ring->page_offset; in aq_alloc_rxpages() 96 rxbuf->rxdata.pg_off += frame_max + page_offset + in aq_get_rxpages() 98 if (rxbuf->rxdata.pg_off + frame_max + tail_size <= in aq_get_rxpages() 115 rxbuf->rxdata.pg_off = page_offset; in aq_get_rxpages() 518 buff_->rxdata.pg_off, in aq_add_rx_fragment() 521 skb_frag_off_set(frag, buff_->rxdata.pg_off); in aq_add_rx_fragment() 623 buff->rxdata.pg_off, in __aq_ring_rx_clean() 651 buff->rxdata.pg_off + hdr_len, in __aq_ring_rx_clean() 665 buff_->rxdata.pg_off, in __aq_ring_rx_clean() 670 buff_->rxdata.pg_off, in __aq_ring_rx_clean() [all …]
|
/linux-6.1.9/kernel/bpf/ |
D | ringbuf.c | 92 u32 pg_off; member 386 unsigned long off = (unsigned long)hdr->pg_off << PAGE_SHIFT; in bpf_ringbuf_restore_from_rec() 394 u32 len, pg_off; in __bpf_ringbuf_reserve() local 425 pg_off = bpf_ringbuf_rec_pg_off(rb, hdr); in __bpf_ringbuf_reserve() 427 hdr->pg_off = pg_off; in __bpf_ringbuf_reserve()
|
/linux-6.1.9/drivers/acpi/ |
D | osl.c | 286 static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz) in acpi_map() argument 290 pfn = pg_off >> PAGE_SHIFT; in acpi_map() 296 return acpi_os_ioremap(pg_off, pg_sz); in acpi_map() 299 static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr) in acpi_unmap() argument 303 pfn = pg_off >> PAGE_SHIFT; in acpi_unmap() 328 acpi_physical_address pg_off; in acpi_os_map_iomem() local 353 pg_off = round_down(phys, PAGE_SIZE); in acpi_os_map_iomem() 354 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; in acpi_os_map_iomem() 364 map->phys = pg_off; in acpi_os_map_iomem()
|
/linux-6.1.9/drivers/block/ |
D | ublk_drv.c | 380 unsigned pg_off; /* offset in the 1st page in pages */ member 390 PAGE_SIZE - data->pg_off + in ublk_copy_io_pages() 398 (unsigned)(PAGE_SIZE - data->pg_off)); in ublk_copy_io_pages() 403 memcpy(pg_buf + data->pg_off, bv_buf, bytes); in ublk_copy_io_pages() 405 memcpy(bv_buf, pg_buf + data->pg_off, bytes); in ublk_copy_io_pages() 411 data->pg_off += bytes; in ublk_copy_io_pages() 412 if (data->pg_off == PAGE_SIZE) { in ublk_copy_io_pages() 414 data->pg_off = 0; in ublk_copy_io_pages() 439 .pg_off = start_vm & (PAGE_SIZE - 1), in ublk_copy_user_pages()
|
/linux-6.1.9/fs/gfs2/ |
D | quota.c | 717 unsigned to_write = bytes, pg_off = off; in gfs2_write_buf_to_page() local 732 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page() 757 pg_off += (bsize - boff); in gfs2_write_buf_to_page() 759 boff = pg_off % bsize; in gfs2_write_buf_to_page() 785 unsigned pg_off, nbytes, overflow = 0; in gfs2_write_disk_quota() local 792 pg_off = offset_in_page(loc); in gfs2_write_disk_quota() 795 if ((pg_off + nbytes) > PAGE_SIZE) { in gfs2_write_disk_quota() 797 overflow = (pg_off + nbytes) - PAGE_SIZE; in gfs2_write_disk_quota() 801 error = gfs2_write_buf_to_page(ip, pg_beg, pg_off, ptr, in gfs2_write_disk_quota()
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_qp_rx.c | 36 int pg_off, bytes, rv; in siw_rx_umem() local 51 pg_off = dest_addr & ~PAGE_MASK; in siw_rx_umem() 52 bytes = min(len, (int)PAGE_SIZE - pg_off); in siw_rx_umem() 57 rv = skb_copy_bits(srx->skb, srx->skb_offset, dest + pg_off, in siw_rx_umem() 73 (u8 *)(dest + pg_off), bytes); in siw_rx_umem() 96 pg_off = 0; in siw_rx_umem()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nandsim.c | 1500 u_char *pg_off; in ns_prog_page() local 1508 pg_off = ns->file_buf + NS_PAGE_BYTE_SHIFT(ns); in ns_prog_page() 1515 tx = ns_read_file(ns, ns->cfile, pg_off, num, off); in ns_prog_page() 1522 pg_off[i] &= ns->buf.byte[i]; in ns_prog_page() 1533 tx = ns_write_file(ns, ns->cfile, pg_off, num, off); in ns_prog_page() 1559 pg_off = NS_PAGE_BYTE_OFF(ns); in ns_prog_page() 1561 pg_off[i] &= ns->buf.byte[i]; in ns_prog_page()
|
/linux-6.1.9/drivers/dma/ |
D | dmatest.c | 748 unsigned long pg_off = offset_in_page(buf); in dmatest_func() local 750 um->addr[i] = dma_map_page(dma_dev, pg, pg_off, in dmatest_func() 766 unsigned long pg_off = offset_in_page(buf); in dmatest_func() local 768 dsts[i] = dma_map_page(dma_dev, pg, pg_off, um->len, in dmatest_func()
|
/linux-6.1.9/net/core/ |
D | skbuff.c | 3851 unsigned int pg_idx, pg_off, pg_sz; in skb_seq_read() local 3856 pg_off = skb_frag_off(frag); in skb_seq_read() 3860 pg_idx = (pg_off + st->frag_off) >> PAGE_SHIFT; in skb_seq_read() 3861 pg_off = offset_in_page(pg_off + st->frag_off); in skb_seq_read() 3863 PAGE_SIZE - pg_off); in skb_seq_read() 3871 *data = (u8 *)st->frag_data + pg_off + in skb_seq_read()
|
/linux-6.1.9/fs/btrfs/ |
D | inode.c | 3510 u32 pg_off; in btrfs_verify_data_csum() local 3529 for (pg_off = offset_in_page(start); in btrfs_verify_data_csum() 3530 pg_off < offset_in_page(end); in btrfs_verify_data_csum() 3531 pg_off += sectorsize, bio_offset += sectorsize) { in btrfs_verify_data_csum() 3532 u64 file_offset = pg_off + page_offset(page); in btrfs_verify_data_csum() 3545 ret = btrfs_check_data_csum(inode, bbio, bio_offset, page, pg_off); in btrfs_verify_data_csum() 3547 const int nr_bit = (pg_off - offset_in_page(start)) >> in btrfs_verify_data_csum()
|