Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/psci/
Dpsci_checker.c190 char *page_buf; in hotplug_tests() local
198 page_buf = (char *)__get_free_page(GFP_KERNEL); in hotplug_tests()
199 if (!page_buf) in hotplug_tests()
214 ssize_t len = cpumap_print_to_pagebuf(true, page_buf, in hotplug_tests()
217 page_buf[len - 1] = '\0'; in hotplug_tests()
219 i, page_buf); in hotplug_tests()
223 free_page((unsigned long)page_buf); in hotplug_tests()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dtx.c38 struct efx_buffer *page_buf = in efx_tx_get_copy_buffer() local
43 if (unlikely(!page_buf->addr) && in efx_tx_get_copy_buffer()
44 efx_nic_alloc_buffer(tx_queue->efx, page_buf, PAGE_SIZE, in efx_tx_get_copy_buffer()
47 buffer->dma_addr = page_buf->dma_addr + offset; in efx_tx_get_copy_buffer()
49 return (u8 *)page_buf->addr + offset; in efx_tx_get_copy_buffer()
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/
Donenand_samsung.c129 void *page_buf; member
408 m = onenand->page_buf; in s3c_onenand_command()
481 p = onenand->page_buf; in s3c_get_bufferram()
678 memcpy_fromio(this->page_buf, p, mtd->writesize); in s5pc110_read_bufferram()
679 memcpy(buffer, this->page_buf + offset, count); in s5pc110_read_bufferram()
882 onenand->page_buf = devm_kzalloc(&pdev->dev, SZ_4K, in s3c_onenand_probe()
884 if (!onenand->page_buf) in s3c_onenand_probe()
Donenand_base.c1730 memset(this->page_buf, 0xff, mtd->writesize); in onenand_panic_write()
1731 memcpy(this->page_buf + column, buf, thislen); in onenand_panic_write()
1732 wbuf = this->page_buf; in onenand_panic_write()
1836 memset(this->page_buf, 0xff, mtd->writesize); in onenand_write_ops_nolock()
1837 memcpy(this->page_buf + column, buf, thislen); in onenand_write_ops_nolock()
1838 wbuf = this->page_buf; in onenand_write_ops_nolock()
2031 memset(this->page_buf, 0xff, mtd->writesize); in onenand_write_oob_nolock()
2033 this->page_buf, 0, mtd->writesize); in onenand_write_oob_nolock()
2947 memcpy(this->page_buf, buf, len); in do_otp_write()
2948 memset(this->page_buf + len, 0xff, mtd->writesize - len); in do_otp_write()
[all …]
Donenand_bbt.c135 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dtx.c29 struct ef4_buffer *page_buf = in ef4_tx_get_copy_buffer() local
34 if (unlikely(!page_buf->addr) && in ef4_tx_get_copy_buffer()
35 ef4_nic_alloc_buffer(tx_queue->efx, page_buf, PAGE_SIZE, in ef4_tx_get_copy_buffer()
38 buffer->dma_addr = page_buf->dma_addr + offset; in ef4_tx_get_copy_buffer()
40 return (u8 *)page_buf->addr + offset; in ef4_tx_get_copy_buffer()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdswap.c126 char *page_buf; member
690 ret = mtd_read(mtd, readpos, PAGE_SIZE, &retlen, d->page_buf); in mtdswap_move_block()
712 ret = mtdswap_write_block(d, d->page_buf, page, newblock, 1); in mtdswap_move_block()
880 unsigned int *p1 = (unsigned int *)d->page_buf; in mtdswap_eblk_passes()
889 ops.datbuf = d->page_buf; in mtdswap_eblk_passes()
898 memset(d->page_buf, patt, mtd->writesize); in mtdswap_eblk_passes()
994 kfree(d->page_buf); in mtdswap_cleanup()
1309 d->page_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in mtdswap_init()
1310 if (!d->page_buf) in mtdswap_init()
1322 kfree(d->page_buf); in mtdswap_init()
/kernel/linux/linux-5.10/include/linux/mtd/
Donenand.h127 unsigned char *page_buf; member
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dst_spi_fsm.c1523 uint32_t page_buf[FLASH_PAGESIZE_32]; in stfsm_read() local
1537 p = ((uintptr_t)buf & 0x3) ? (uint8_t *)page_buf : buf; in stfsm_read()
1560 memcpy(buf, page_buf, size); in stfsm_read()
1585 uint32_t page_buf[FLASH_PAGESIZE_32]; in stfsm_write() local
1602 memcpy(page_buf, buf, size); in stfsm_write()
1603 p = (uint8_t *)page_buf; in stfsm_write()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dtransport.c193 char *page_buf = NULL; in hmdfs_get_readpage_buffer() local
203 page_buf = kmap(page); in hmdfs_get_readpage_buffer()
204 err = tcp_read_buffer_from_socket(sock, page_buf, out_len); in hmdfs_get_readpage_buffer()
208 memset(page_buf + out_len, 0, HMDFS_PAGE_SIZE - out_len); in hmdfs_get_readpage_buffer()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Drndis_filter.c207 struct hv_page_buffer page_buf[2]; in rndis_filter_send_request() local
208 struct hv_page_buffer *pb = page_buf; in rndis_filter_send_request()