Home
last modified time | relevance | path

Searched refs:page_buf (Results 1 – 11 of 11) sorted by relevance

/drivers/net/hyperv/
Drndis_filter.c221 packet->page_buf[0].pfn = virt_to_phys(&req->request_msg) >> in rndis_filter_send_request()
223 packet->page_buf[0].len = req->request_msg.msg_len; in rndis_filter_send_request()
224 packet->page_buf[0].offset = in rndis_filter_send_request()
228 if (packet->page_buf[0].offset + packet->page_buf[0].len > PAGE_SIZE) { in rndis_filter_send_request()
230 packet->page_buf[0].len = PAGE_SIZE - in rndis_filter_send_request()
231 packet->page_buf[0].offset; in rndis_filter_send_request()
232 packet->page_buf[1].pfn = virt_to_phys((void *)&req->request_msg in rndis_filter_send_request()
233 + packet->page_buf[0].len) >> PAGE_SHIFT; in rndis_filter_send_request()
234 packet->page_buf[1].offset = 0; in rndis_filter_send_request()
235 packet->page_buf[1].len = req->request_msg.msg_len - in rndis_filter_send_request()
[all …]
Dnetvsc.c697 char *src = phys_to_virt(packet->page_buf[i].pfn << PAGE_SHIFT); in netvsc_copy_to_send_buf()
698 u32 offset = packet->page_buf[i].offset; in netvsc_copy_to_send_buf()
699 u32 len = packet->page_buf[i].len; in netvsc_copy_to_send_buf()
768 packet->page_buf, in netvsc_send()
Dhyperv_net.h152 struct hv_page_buffer page_buf[0]; member
Dnetvsc_drv.c555 skb, &packet->page_buf[0]); in netvsc_start_xmit()
/drivers/mtd/onenand/
Dsamsung.c136 void __iomem *page_buf; member
416 m = (unsigned int *) onenand->page_buf; in s3c_onenand_command()
489 p = (unsigned char *) onenand->page_buf; in s3c_get_bufferram()
686 memcpy(this->page_buf, p, mtd->writesize); in s5pc110_read_bufferram()
687 p = this->page_buf + offset; in s5pc110_read_bufferram()
924 onenand->page_buf = kzalloc(SZ_4K, GFP_KERNEL); in s3c_onenand_probe()
925 if (!onenand->page_buf) { in s3c_onenand_probe()
1012 kfree(onenand->page_buf); in s3c_onenand_probe()
1055 kfree(onenand->page_buf); in s3c_onenand_remove()
Donenand_base.c1776 memset(this->page_buf, 0xff, mtd->writesize); in onenand_panic_write()
1777 memcpy(this->page_buf + column, buf, thislen); in onenand_panic_write()
1778 wbuf = this->page_buf; in onenand_panic_write()
1919 memset(this->page_buf, 0xff, mtd->writesize); in onenand_write_ops_nolock()
1920 memcpy(this->page_buf + column, buf, thislen); in onenand_write_ops_nolock()
1921 wbuf = this->page_buf; in onenand_write_ops_nolock()
2123 memset(this->page_buf, 0xff, mtd->writesize); in onenand_write_oob_nolock()
2125 this->page_buf, 0, mtd->writesize); in onenand_write_oob_nolock()
3085 memcpy(this->page_buf, buf, len); in do_otp_write()
3086 memset(this->page_buf + len, 0xff, mtd->writesize - len); in do_otp_write()
[all …]
Donenand_bbt.c136 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
/drivers/mtd/
Dmtdswap.c139 char *page_buf; member
739 ret = mtd_read(mtd, readpos, PAGE_SIZE, &retlen, d->page_buf); in mtdswap_move_block()
761 ret = mtdswap_write_block(d, d->page_buf, page, newblock, 1); in mtdswap_move_block()
929 unsigned int *p1 = (unsigned int *)d->page_buf; in mtdswap_eblk_passes()
938 ops.datbuf = d->page_buf; in mtdswap_eblk_passes()
947 memset(d->page_buf, patt, mtd->writesize); in mtdswap_eblk_passes()
1043 kfree(d->page_buf); in mtdswap_cleanup()
1386 d->page_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in mtdswap_init()
1387 if (!d->page_buf) in mtdswap_init()
1399 kfree(d->page_buf); in mtdswap_init()
/drivers/scsi/
Dstorvsc_drv.c546 struct page *page_buf; in destroy_bounce_buffer() local
549 page_buf = sg_page((&sgl[i])); in destroy_bounce_buffer()
550 if (page_buf != NULL) in destroy_bounce_buffer()
551 __free_page(page_buf); in destroy_bounce_buffer()
592 struct page *page_buf; in create_bounce_buffer() local
603 page_buf = alloc_page(GFP_ATOMIC); in create_bounce_buffer()
604 if (!page_buf) in create_bounce_buffer()
606 sg_set_page(&bounce_sgl[i], page_buf, buf_len, 0); in create_bounce_buffer()
/drivers/net/ethernet/sfc/
Dtx.c887 struct efx_buffer *page_buf = in efx_tsoh_get_buffer() local
892 if (unlikely(!page_buf->addr) && in efx_tsoh_get_buffer()
893 efx_nic_alloc_buffer(tx_queue->efx, page_buf, PAGE_SIZE, in efx_tsoh_get_buffer()
897 result = (u8 *)page_buf->addr + offset; in efx_tsoh_get_buffer()
898 buffer->dma_addr = page_buf->dma_addr + offset; in efx_tsoh_get_buffer()
/drivers/mtd/devices/
Dst_spi_fsm.c1463 uint32_t page_buf[FLASH_PAGESIZE_32]; in stfsm_read() local
1477 p = ((uintptr_t)buf & 0x3) ? (uint8_t *)page_buf : buf; in stfsm_read()
1500 memcpy(buf, page_buf, size); in stfsm_read()
1524 uint32_t page_buf[FLASH_PAGESIZE_32]; in stfsm_write() local
1542 memcpy(page_buf, buf, size); in stfsm_write()
1543 p = (uint8_t *)page_buf; in stfsm_write()