Home
last modified time | relevance | path

Searched refs:page_off (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/rts5208/
Dxd.c584 xd_card->page_off = 0x0F; in reset_xd()
592 xd_card->page_off = 0x0F; in reset_xd()
665 xd_card->page_off = 0; in reset_xd()
947 0, xd_card->page_off + 1); in xd_get_l2p_tbl()
971 xd_card->page_off = 0; in reset_xd_card()
1023 xd_card->page_off + 1); in xd_mark_bad_block()
1602 xd_card->page_off + 1); in xd_read_multiple_pages()
1625 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument
1636 if (page_off > xd_card->page_off) in xd_finish_write()
1644 page_off, xd_card->page_off + 1); in xd_finish_write()
[all …]
Dxd.h105 (xd_card)->page_off = 0x1F; \
Dms.c2019 ms_card->page_off = 0x1F;
2023 ms_card->page_off = 0x0F;
2470 ms_card->page_off + 1);
3299 (page_addr == ms_card->page_off)) {
3316 u16 log_blk, u8 page_off) argument
3322 page_off, ms_card->page_off + 1);
3419 start_page = (u8)(start_sector & ms_card->page_off);
3521 if ((start_page + total_sec_cnt) > (ms_card->page_off + 1))
3522 end_page = ms_card->page_off + 1;
3555 if (end_page == (ms_card->page_off + 1)) {
[all …]
Drtsx_chip.h533 u8 page_off; member
584 u8 page_off; member
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c407 unsigned int sge_no, sge_bytes, page_off, page_no; in svc_rdma_pagelist_to_sg() local
412 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
413 page_no = page_off >> PAGE_SHIFT; in svc_rdma_pagelist_to_sg()
414 page_off = offset_in_page(page_off); in svc_rdma_pagelist_to_sg()
421 PAGE_SIZE - page_off); in svc_rdma_pagelist_to_sg()
422 sg_set_page(sg, *page, sge_bytes, page_off); in svc_rdma_pagelist_to_sg()
426 page_off = 0; in svc_rdma_pagelist_to_sg()
Dsvc_rdma_sendto.c674 unsigned long page_off; in svc_rdma_map_reply_msg() local
722 page_off = xdr->page_base & ~PAGE_MASK; in svc_rdma_map_reply_msg()
725 len = min_t(u32, PAGE_SIZE - page_off, remaining); in svc_rdma_map_reply_msg()
729 page_off, len); in svc_rdma_map_reply_msg()
734 page_off = 0; in svc_rdma_map_reply_msg()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dpmem.c141 struct page *page, unsigned int page_off, in pmem_do_read() argument
151 rc = read_pmem(page, page_off, pmem_addr, len); in pmem_do_read()
157 struct page *page, unsigned int page_off, in pmem_do_write() argument
183 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
186 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi_port_common.c993 unsigned int page_off; in efx_mcdi_phy_get_module_eeprom() local
1014 page_off = ee->offset % SFP_PAGE_SIZE; in efx_mcdi_phy_get_module_eeprom()
1019 data, page_off, in efx_mcdi_phy_get_module_eeprom()
1025 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
1030 int intended_size = SFP_PAGE_SIZE - page_off; in efx_mcdi_phy_get_module_eeprom()
1038 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
/kernel/linux/linux-5.10/include/xen/interface/
Dgrant_table.h212 uint16_t page_off; member
/kernel/linux/linux-5.10/fs/ceph/
Daddr.c597 loff_t page_off = page_offset(page); in writepage_nounlock() local
625 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
631 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
632 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
635 inode, page, page->index, page_off, len, snapc, snapc->seq); in writepage_nounlock()
642 req = ceph_osdc_new_request(osdc, &ci->i_layout, ceph_vino(inode), page_off, &len, 0, 1, in writepage_nounlock()
655 dout("writepage %llu~%llu (%llu bytes)\n", page_off, len, len); in writepage_nounlock()
Dfile.c885 size_t page_off; in ceph_sync_read() local
904 page_off = off & ~PAGE_MASK; in ceph_sync_read()
912 osd_req_op_extent_osd_data_pages(req, 0, pages, len, page_off, in ceph_sync_read()
933 int zoff = page_off + ret; in ceph_sync_read()
944 page_off = off & ~PAGE_MASK; in ceph_sync_read()
945 len = min_t(size_t, left, PAGE_SIZE - page_off); in ceph_sync_read()
948 page_off, len, to); in ceph_sync_read()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c347 unsigned int page_off; in cxgbit_map_skb() local
356 page_off = (data_offset % PAGE_SIZE); in cxgbit_map_skb()
359 u32 cur_len = min_t(u32, data_length, sg->length - page_off); in cxgbit_map_skb()
364 skb_fill_page_desc(skb, i, page, sg->offset + page_off, in cxgbit_map_skb()
371 page_off = 0; in cxgbit_map_skb()
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target.c887 unsigned int page_off; in iscsit_map_iovec() local
903 page_off = (data_offset % PAGE_SIZE); in iscsit_map_iovec()
906 cmd->first_data_sg_off = page_off; in iscsit_map_iovec()
914 cur_len = min_t(u32, data_length, sg->length - page_off); in iscsit_map_iovec()
916 iov[i].iov_base = kmap(sg_page(sg)) + sg->offset + page_off; in iscsit_map_iovec()
920 page_off = 0; in iscsit_map_iovec()
1383 unsigned int page_off; in iscsit_do_crypto_hash_sg() local
1388 page_off = cmd->first_data_sg_off; in iscsit_do_crypto_hash_sg()
1390 if (data_length && page_off) { in iscsit_do_crypto_hash_sg()
1392 u32 len = min_t(u32, data_length, sg->length - page_off); in iscsit_do_crypto_hash_sg()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dvirtio_net.c626 int page_off, in xdp_linearize_page() argument
634 memcpy(page_address(page) + page_off, page_address(p) + offset, *len); in xdp_linearize_page()
635 page_off += *len; in xdp_linearize_page()
653 if ((page_off + buflen + tailroom) > PAGE_SIZE) { in xdp_linearize_page()
658 memcpy(page_address(page) + page_off, in xdp_linearize_page()
660 page_off += buflen; in xdp_linearize_page()
665 *len = page_off - VIRTIO_XDP_HEADROOM; in xdp_linearize_page()
/kernel/linux/linux-5.10/kernel/power/
Dswap.c270 static int hib_submit_io(int op, int op_flags, pgoff_t page_off, void *addr, in hib_submit_io() argument
278 bio->bi_iter.bi_sector = page_off * (PAGE_SIZE >> 9); in hib_submit_io()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/
Dib_isert.c1121 int rc, sg_nents, sg_off, page_off; in isert_handle_iscsi_dataout() local
1145 page_off = cmd->write_data_done % PAGE_SIZE; in isert_handle_iscsi_dataout()
1149 if (page_off) { in isert_handle_iscsi_dataout()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.c3392 u32 phy_addr, page_off, size; in tg3_nvram_write_block_unbuffered() local
3405 page_off = offset & pagemask; in tg3_nvram_write_block_unbuffered()
3412 memcpy(tmp + page_off, buf, size); in tg3_nvram_write_block_unbuffered()
3414 offset = offset + (pagesize - page_off); in tg3_nvram_write_block_unbuffered()
3482 u32 page_off, phy_addr, nvram_cmd; in tg3_nvram_write_block_buffered() local
3488 page_off = offset % tp->nvram_pagesize; in tg3_nvram_write_block_buffered()
3494 if (page_off == 0 || i == 0) in tg3_nvram_write_block_buffered()
3496 if (page_off == (tp->nvram_pagesize - 4)) in tg3_nvram_write_block_buffered()