Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/rts5208/
Dxd.c577 xd_card->page_off = 0x0F; in reset_xd()
585 xd_card->page_off = 0x0F; in reset_xd()
658 xd_card->page_off = 0; in reset_xd()
940 0, xd_card->page_off + 1); in xd_get_l2p_tbl()
964 xd_card->page_off = 0; in reset_xd_card()
1016 xd_card->page_off + 1); in xd_mark_bad_block()
1595 xd_card->page_off + 1); in xd_read_multiple_pages()
1618 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument
1628 if (page_off > xd_card->page_off) in xd_finish_write()
1636 page_off, xd_card->page_off + 1); in xd_finish_write()
[all …]
Dxd.h105 (xd_card)->page_off = 0x1F; \
Dms.c2020 ms_card->page_off = 0x1F;
2024 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
/linux-6.12.1/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c437 unsigned int sge_no, sge_bytes, page_off, page_no; in svc_rdma_pagelist_to_sg() local
442 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
443 page_no = page_off >> PAGE_SHIFT; in svc_rdma_pagelist_to_sg()
444 page_off = offset_in_page(page_off); in svc_rdma_pagelist_to_sg()
451 PAGE_SIZE - page_off); in svc_rdma_pagelist_to_sg()
452 sg_set_page(sg, *page, sge_bytes, page_off); in svc_rdma_pagelist_to_sg()
456 page_off = 0; in svc_rdma_pagelist_to_sg()
/linux-6.12.1/drivers/mtd/nand/raw/
Drenesas-nand-controller.c494 unsigned int page_off = round_down(req_offset, chip->ecc.size); in rnandc_read_subpage_hw_ecc() local
495 unsigned int real_len = round_up(req_offset + req_len - page_off, in rnandc_read_subpage_hw_ecc()
497 unsigned int start_chunk = page_off / chip->ecc.size; in rnandc_read_subpage_hw_ecc()
505 .addr0_col = page_off, in rnandc_read_subpage_hw_ecc()
525 ioread32_rep(rnandc->regs + FIFO_DATA_REG, bufpoi + page_off, in rnandc_read_subpage_hw_ecc()
637 unsigned int page_off = round_down(req_offset, chip->ecc.size); in rnandc_write_subpage_hw_ecc() local
638 unsigned int real_len = round_up(req_offset + req_len - page_off, in rnandc_write_subpage_hw_ecc()
640 unsigned int start_chunk = page_off / chip->ecc.size; in rnandc_write_subpage_hw_ecc()
647 .addr0_col = page_off, in rnandc_write_subpage_hw_ecc()
662 iowrite32_rep(rnandc->regs + FIFO_DATA_REG, bufpoi + page_off, in rnandc_write_subpage_hw_ecc()
/linux-6.12.1/drivers/net/ethernet/sfc/
Dmcdi_port_common.c994 unsigned int page_off; in efx_mcdi_phy_get_module_eeprom() local
1015 page_off = ee->offset % SFP_PAGE_SIZE; in efx_mcdi_phy_get_module_eeprom()
1020 data, page_off, in efx_mcdi_phy_get_module_eeprom()
1026 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
1031 int intended_size = SFP_PAGE_SIZE - page_off; in efx_mcdi_phy_get_module_eeprom()
1039 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.c1000 unsigned int page_off; in efx_siena_mcdi_phy_get_module_eeprom() local
1021 page_off = ee->offset % SFP_PAGE_SIZE; in efx_siena_mcdi_phy_get_module_eeprom()
1026 data, page_off, in efx_siena_mcdi_phy_get_module_eeprom()
1032 page_off = 0; in efx_siena_mcdi_phy_get_module_eeprom()
1037 int intended_size = SFP_PAGE_SIZE - page_off; in efx_siena_mcdi_phy_get_module_eeprom()
1045 page_off = 0; in efx_siena_mcdi_phy_get_module_eeprom()
/linux-6.12.1/fs/ceph/
Daddr.c397 size_t page_off; in ceph_netfs_issue_read() local
399 err = iov_iter_get_pages_alloc2(&subreq->io_iter, &pages, len, &page_off); in ceph_netfs_issue_read()
407 WARN_ON_ONCE(page_off); in ceph_netfs_issue_read()
672 loff_t page_off = page_offset(page); in writepage_nounlock() local
708 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
715 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
716 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
720 ceph_vinop(inode), page, page->index, page_off, wlen, snapc, in writepage_nounlock()
728 page_off, &wlen, 0, 1, CEPH_OSD_OP_WRITE, in writepage_nounlock()
743 ceph_fscache_write_to_cache(inode, page_off, len, caching); in writepage_nounlock()
[all …]
Dfile.c1087 size_t page_off; in __ceph_sync_read() local
1120 page_off = offset_in_page(off); in __ceph_sync_read()
1194 int zoff = page_off + ret; in __ceph_sync_read()
1212 plen = min_t(size_t, left, PAGE_SIZE - page_off); in __ceph_sync_read()
1215 page_off, plen, to); in __ceph_sync_read()
1218 page_off = 0; in __ceph_sync_read()
/linux-6.12.1/drivers/nvdimm/
Dpmem.c166 struct page *page, unsigned int page_off, in pmem_do_read() argument
176 rc = read_pmem(page, page_off, pmem_addr, len); in pmem_do_read()
182 struct page *page, unsigned int page_off, in pmem_do_write() argument
196 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
/linux-6.12.1/fs/ntfs3/
Dfslog.c1147 u32 page_off = vbo & log->page_mask; in read_log_page() local
1148 u32 bytes = log->page_size - page_off; in read_log_page()
1165 page_buf = page_off ? log->one_page_buf : *buffer; in read_log_page()
1176 memcpy(*buffer, Add2Ptr(page_buf, page_off), bytes); in read_log_page()
1427 u32 page_off = base_vbo & log->page_mask; in final_log_off() local
1428 u32 tail = log->page_size - page_off; in final_log_off()
1430 page_off -= 1; in final_log_off()
1442 page_off = log->data_off - 1; in final_log_off()
1461 return final_log_off + data_len + page_off; in final_log_off()
1605 u32 page_off = 0, page_off1 = 0, saved_off = 0; in last_log_lsn() local
[all …]
Dfile.c262 loff_t page_off; in ntfs_zero_range() local
270 page_off = (loff_t)idx << PAGE_SHIFT; in ntfs_zero_range()
271 to = (page_off + PAGE_SIZE) > vbo_to ? (vbo_to - page_off) : in ntfs_zero_range()
273 iblock = page_off >> inode->i_blkbits; in ntfs_zero_range()
/linux-6.12.1/include/xen/interface/
Dgrant_table.h214 uint16_t page_off; member
/linux-6.12.1/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()
/linux-6.12.1/drivers/target/iscsi/
Discsi_target.c895 unsigned int page_off; in iscsit_map_iovec() local
911 page_off = (data_offset % PAGE_SIZE); in iscsit_map_iovec()
914 cmd->first_data_sg_off = page_off; in iscsit_map_iovec()
922 cur_len = min_t(u32, data_length, sg->length - page_off); in iscsit_map_iovec()
924 iov[i].iov_base = kmap(sg_page(sg)) + sg->offset + page_off; in iscsit_map_iovec()
928 page_off = 0; in iscsit_map_iovec()
1417 unsigned int page_off; in iscsit_do_crypto_hash_sg() local
1422 page_off = cmd->first_data_sg_off; in iscsit_do_crypto_hash_sg()
1424 if (data_length && page_off) { in iscsit_do_crypto_hash_sg()
1426 u32 len = min_t(u32, data_length, sg->length - page_off); in iscsit_do_crypto_hash_sg()
[all …]
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/
Dmmu.c501 u32 page_off; in hl_mmu_pa_page_with_offset() local
515 div_u64_rem(abs_virt_addr, dram_page_size, &page_off); in hl_mmu_pa_page_with_offset()
517 *phys_addr = page_start + page_off + dram_base; in hl_mmu_pa_page_with_offset()
/linux-6.12.1/kernel/power/
Dswap.c270 static int hib_submit_io(blk_opf_t opf, pgoff_t page_off, void *addr, in hib_submit_io() argument
279 bio->bi_iter.bi_sector = page_off * (PAGE_SIZE >> 9); in hib_submit_io()
/linux-6.12.1/drivers/net/
Dvirtio_net.c1652 int page_off, in xdp_linearize_page() argument
1658 if (page_off + *len + tailroom > PAGE_SIZE) in xdp_linearize_page()
1665 memcpy(page_address(page) + page_off, page_address(p) + offset, *len); in xdp_linearize_page()
1666 page_off += *len; in xdp_linearize_page()
1683 if ((page_off + buflen + tailroom) > PAGE_SIZE) { in xdp_linearize_page()
1688 memcpy(page_address(page) + page_off, in xdp_linearize_page()
1690 page_off += buflen; in xdp_linearize_page()
1695 *len = page_off - XDP_PACKET_HEADROOM; in xdp_linearize_page()
/linux-6.12.1/drivers/infiniband/ulp/isert/
Dib_isert.c1122 int rc, sg_nents, sg_off, page_off; in isert_handle_iscsi_dataout() local
1146 page_off = cmd->write_data_done % PAGE_SIZE; in isert_handle_iscsi_dataout()
1150 if (page_off) { in isert_handle_iscsi_dataout()
/linux-6.12.1/net/core/
Dskbuff.c978 u32 page_off; in skb_pp_cow_data() local
983 page = page_pool_dev_alloc(pool, &page_off, &truesize); in skb_pp_cow_data()
989 skb_add_rx_frag(nskb, i, page, page_off, size, truesize); in skb_pp_cow_data()
990 err = skb_copy_bits(skb, off, page_address(page) + page_off, in skb_pp_cow_data()
/linux-6.12.1/fs/btrfs/
Dscrub.c656 unsigned int page_off = scrub_stripe_get_page_offset(stripe, i); in scrub_verify_one_metadata() local
658 crypto_shash_update(shash, page_address(page) + page_off, in scrub_verify_one_metadata()
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dtg3.c3387 u32 phy_addr, page_off, size; in tg3_nvram_write_block_unbuffered() local
3400 page_off = offset & pagemask; in tg3_nvram_write_block_unbuffered()
3407 memcpy(tmp + page_off, buf, size); in tg3_nvram_write_block_unbuffered()
3409 offset = offset + (pagesize - page_off); in tg3_nvram_write_block_unbuffered()
3477 u32 page_off, phy_addr, nvram_cmd; in tg3_nvram_write_block_buffered() local
3483 page_off = offset % tp->nvram_pagesize; in tg3_nvram_write_block_buffered()
3489 if (page_off == 0 || i == 0) in tg3_nvram_write_block_buffered()
3491 if (page_off == (tp->nvram_pagesize - 4)) in tg3_nvram_write_block_buffered()