/linux/kernel/bpf/ |
A D | ringbuf.c | 58 u32 pg_off; member 300 unsigned long off = (unsigned long)hdr->pg_off << PAGE_SHIFT; in bpf_ringbuf_restore_from_rec() 308 u32 len, pg_off; in __bpf_ringbuf_reserve() local 339 pg_off = bpf_ringbuf_rec_pg_off(rb, hdr); in __bpf_ringbuf_reserve() 341 hdr->pg_off = pg_off; in __bpf_ringbuf_reserve()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_ring.c | 50 rxpage->pg_off = 0; in aq_get_rxpage() 70 rxbuf->rxdata.pg_off += AQ_CFG_RX_FRAME_MAX; in aq_get_rxpages() 71 if (rxbuf->rxdata.pg_off + AQ_CFG_RX_FRAME_MAX <= in aq_get_rxpages() 87 rxbuf->rxdata.pg_off = 0; in aq_get_rxpages() 422 buff->rxdata.pg_off, in aq_ring_rx_clean() 450 buff->rxdata.pg_off + hdr_len, in aq_ring_rx_clean() 465 buff_->rxdata.pg_off, in aq_ring_rx_clean() 470 buff_->rxdata.pg_off, in aq_ring_rx_clean()
|
A D | aq_ring.h | 22 unsigned int pg_off; member 149 return page_to_virt(rxpage->page) + rxpage->pg_off; in aq_buf_vaddr() 154 return rxpage->daddr + rxpage->pg_off; in aq_buf_daddr()
|
/linux/drivers/acpi/ |
A D | osl.c | 287 static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz) in acpi_map() argument 291 pfn = pg_off >> PAGE_SHIFT; in acpi_map() 297 return acpi_os_ioremap(pg_off, pg_sz); in acpi_map() 300 static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr) in acpi_unmap() argument 304 pfn = pg_off >> PAGE_SHIFT; in acpi_unmap() 329 acpi_physical_address pg_off; in acpi_os_map_iomem() local 354 pg_off = round_down(phys, PAGE_SIZE); in acpi_os_map_iomem() 355 pg_sz = round_up(phys + size, PAGE_SIZE) - pg_off; in acpi_os_map_iomem() 365 map->phys = pg_off; in acpi_os_map_iomem()
|
/linux/drivers/block/rsxx/ |
A D | dma.c | 24 unsigned int pg_off; /* Page Offset */ member 439 dma->pg_off, dma->sub_page.cnt << 9, dir); in rsxx_issue_dmas() 615 dma->pg_off = 0; in rsxx_queue_discard() 633 unsigned int pg_off, in rsxx_queue_dma() argument 648 dma->pg_off = pg_off; in rsxx_queue_dma() 655 dma->sub_page.cnt, dma->page, dma->pg_off); in rsxx_queue_dma()
|
/linux/fs/gfs2/ |
A D | quota.c | 705 unsigned to_write = bytes, pg_off = off; in gfs2_write_buf_to_page() local 720 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page() 749 pg_off += (bsize - boff); in gfs2_write_buf_to_page() 751 boff = pg_off % bsize; in gfs2_write_buf_to_page() 777 unsigned pg_off, nbytes, overflow = 0; in gfs2_write_disk_quota() local 784 pg_off = offset_in_page(loc); in gfs2_write_disk_quota() 787 if ((pg_off + nbytes) > PAGE_SIZE) { in gfs2_write_disk_quota() 789 overflow = (pg_off + nbytes) - PAGE_SIZE; in gfs2_write_disk_quota() 793 error = gfs2_write_buf_to_page(ip, pg_beg, pg_off, ptr, in gfs2_write_disk_quota()
|
/linux/drivers/infiniband/sw/siw/ |
A 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/drivers/mtd/nand/raw/ |
A D | nandsim.c | 1504 u_char *pg_off; in ns_prog_page() local 1512 pg_off = ns->file_buf + ns->regs.column + ns->regs.off; in ns_prog_page() 1519 tx = ns_read_file(ns, ns->cfile, pg_off, num, off); in ns_prog_page() 1526 pg_off[i] &= ns->buf.byte[i]; in ns_prog_page() 1537 tx = ns_write_file(ns, ns->cfile, pg_off, num, off); in ns_prog_page() 1563 pg_off = NS_PAGE_BYTE_OFF(ns); in ns_prog_page() 1565 pg_off[i] &= ns->buf.byte[i]; in ns_prog_page()
|
/linux/drivers/dma/ |
A D | dmatest.c | 749 unsigned long pg_off = offset_in_page(buf); in dmatest_func() local 751 um->addr[i] = dma_map_page(dma_dev, pg, pg_off, in dmatest_func() 767 unsigned long pg_off = offset_in_page(buf); in dmatest_func() local 769 dsts[i] = dma_map_page(dma_dev, pg, pg_off, um->len, in dmatest_func()
|
/linux/net/core/ |
A D | skbuff.c | 3667 unsigned int pg_idx, pg_off, pg_sz; in skb_seq_read() local 3672 pg_off = skb_frag_off(frag); in skb_seq_read() 3676 pg_idx = (pg_off + st->frag_off) >> PAGE_SHIFT; in skb_seq_read() 3677 pg_off = offset_in_page(pg_off + st->frag_off); in skb_seq_read() 3679 PAGE_SIZE - pg_off); in skb_seq_read() 3687 *data = (u8 *)st->frag_data + pg_off + in skb_seq_read()
|
/linux/fs/btrfs/ |
A D | inode.c | 3300 u32 pg_off; in btrfs_verify_data_csum() local 3324 for (pg_off = offset_in_page(start); in btrfs_verify_data_csum() 3325 pg_off < offset_in_page(end); in btrfs_verify_data_csum() 3326 pg_off += sectorsize, bio_offset += sectorsize) { in btrfs_verify_data_csum() 3327 u64 file_offset = pg_off + page_offset(page); in btrfs_verify_data_csum() 3340 ret = check_data_csum(inode, bbio, bio_offset, page, pg_off, in btrfs_verify_data_csum() 3341 page_offset(page) + pg_off); in btrfs_verify_data_csum() 3343 const int nr_bit = (pg_off - offset_in_page(start)) >> in btrfs_verify_data_csum()
|