Home
last modified time | relevance | path

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

/linux-6.1.9/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
1635 if (page_off > xd_card->page_off) in xd_finish_write()
1643 page_off, xd_card->page_off + 1); in xd_finish_write()
[all …]
Dxd.h105 (xd_card)->page_off = 0x1F; \
Dms.c2018 ms_card->page_off = 0x1F;
2022 ms_card->page_off = 0x0F;
2468 ms_card->page_off + 1);
3297 page_addr == ms_card->page_off) {
3314 u16 log_blk, u8 page_off) argument
3320 page_off, ms_card->page_off + 1);
3417 start_page = (u8)(start_sector & ms_card->page_off);
3519 if ((start_page + total_sec_cnt) > (ms_card->page_off + 1))
3520 end_page = ms_card->page_off + 1;
3553 if (end_page == (ms_card->page_off + 1)) {
[all …]
Drtsx_chip.h533 u8 page_off; member
584 u8 page_off; member
/linux-6.1.9/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c434 unsigned int sge_no, sge_bytes, page_off, page_no; in svc_rdma_pagelist_to_sg() local
439 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
440 page_no = page_off >> PAGE_SHIFT; in svc_rdma_pagelist_to_sg()
441 page_off = offset_in_page(page_off); in svc_rdma_pagelist_to_sg()
448 PAGE_SIZE - page_off); in svc_rdma_pagelist_to_sg()
449 sg_set_page(sg, *page, sge_bytes, page_off); in svc_rdma_pagelist_to_sg()
453 page_off = 0; in svc_rdma_pagelist_to_sg()
/linux-6.1.9/fs/ntfs3/
Dfile.c201 loff_t page_off; in ntfs_zero_range() local
208 page_off = (loff_t)idx << PAGE_SHIFT; in ntfs_zero_range()
209 z_end = (page_off + PAGE_SIZE) > vbo_to ? (vbo_to - page_off) in ntfs_zero_range()
211 iblock = page_off >> inode->i_blkbits; in ntfs_zero_range()
291 loff_t page_off; in ntfs_sparse_cluster() local
302 page_off = (loff_t)idx << PAGE_SHIFT; in ntfs_sparse_cluster()
303 to = (page_off + PAGE_SIZE) > end ? (end - page_off) in ntfs_sparse_cluster()
Dfslog.c1123 u32 page_off = vbo & log->page_mask; in read_log_page() local
1124 u32 bytes = log->page_size - page_off; in read_log_page()
1141 page_buf = page_off ? log->one_page_buf : *buffer; in read_log_page()
1152 memcpy(*buffer, Add2Ptr(page_buf, page_off), bytes); in read_log_page()
1408 u32 page_off = base_vbo & log->page_mask; in final_log_off() local
1409 u32 tail = log->page_size - page_off; in final_log_off()
1411 page_off -= 1; in final_log_off()
1423 page_off = log->data_off - 1; in final_log_off()
1442 return final_log_off + data_len + page_off; in final_log_off()
1587 u32 page_off = 0, page_off1 = 0, saved_off = 0; in last_log_lsn() local
[all …]
/linux-6.1.9/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.1.9/fs/ceph/
Daddr.c312 size_t page_off; in ceph_netfs_issue_read() local
331 err = iov_iter_get_pages_alloc2(&iter, &pages, len, &page_off); in ceph_netfs_issue_read()
338 WARN_ON_ONCE(page_off); in ceph_netfs_issue_read()
556 loff_t page_off = page_offset(page); in writepage_nounlock() local
585 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
592 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
593 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
596 inode, page, page->index, page_off, len, snapc, snapc->seq); in writepage_nounlock()
602 req = ceph_osdc_new_request(osdc, &ci->i_layout, ceph_vino(inode), page_off, &len, 0, 1, in writepage_nounlock()
614 ceph_fscache_write_to_cache(inode, page_off, len, caching); in writepage_nounlock()
[all …]
Dfile.c955 size_t page_off; in ceph_sync_read() local
973 page_off = off & ~PAGE_MASK; in ceph_sync_read()
981 osd_req_op_extent_osd_data_pages(req, 0, pages, len, page_off, in ceph_sync_read()
1001 int zoff = page_off + ret; in ceph_sync_read()
1012 page_off = off & ~PAGE_MASK; in ceph_sync_read()
1013 len = min_t(size_t, left, PAGE_SIZE - page_off); in ceph_sync_read()
1016 page_off, len, to); in ceph_sync_read()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dmcdi_port_common.c991 unsigned int page_off; in efx_mcdi_phy_get_module_eeprom() local
1012 page_off = ee->offset % SFP_PAGE_SIZE; in efx_mcdi_phy_get_module_eeprom()
1017 data, page_off, in efx_mcdi_phy_get_module_eeprom()
1023 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
1028 int intended_size = SFP_PAGE_SIZE - page_off; in efx_mcdi_phy_get_module_eeprom()
1036 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
/linux-6.1.9/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.1.9/drivers/nvdimm/
Dpmem.c165 struct page *page, unsigned int page_off, in pmem_do_read() argument
175 rc = read_pmem(page, page_off, pmem_addr, len); in pmem_do_read()
181 struct page *page, unsigned int page_off, in pmem_do_write() argument
195 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
/linux-6.1.9/include/xen/interface/
Dgrant_table.h214 uint16_t page_off; member
/linux-6.1.9/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.1.9/drivers/misc/habanalabs/common/mmu/
Dmmu.c540 u32 page_off; in hl_mmu_pa_page_with_offset() local
554 div_u64_rem(abs_virt_addr, dram_page_size, &page_off); in hl_mmu_pa_page_with_offset()
556 *phys_addr = page_start + page_off + dram_base; in hl_mmu_pa_page_with_offset()
/linux-6.1.9/drivers/target/iscsi/
Discsi_target.c896 unsigned int page_off; in iscsit_map_iovec() local
912 page_off = (data_offset % PAGE_SIZE); in iscsit_map_iovec()
915 cmd->first_data_sg_off = page_off; in iscsit_map_iovec()
923 cur_len = min_t(u32, data_length, sg->length - page_off); in iscsit_map_iovec()
925 iov[i].iov_base = kmap(sg_page(sg)) + sg->offset + page_off; in iscsit_map_iovec()
929 page_off = 0; in iscsit_map_iovec()
1423 unsigned int page_off; in iscsit_do_crypto_hash_sg() local
1428 page_off = cmd->first_data_sg_off; in iscsit_do_crypto_hash_sg()
1430 if (data_length && page_off) { in iscsit_do_crypto_hash_sg()
1432 u32 len = min_t(u32, data_length, sg->length - page_off); in iscsit_do_crypto_hash_sg()
[all …]
/linux-6.1.9/drivers/net/
Dvirtio_net.c724 int page_off, in xdp_linearize_page() argument
732 memcpy(page_address(page) + page_off, page_address(p) + offset, *len); in xdp_linearize_page()
733 page_off += *len; in xdp_linearize_page()
751 if ((page_off + buflen + tailroom) > PAGE_SIZE) { in xdp_linearize_page()
756 memcpy(page_address(page) + page_off, in xdp_linearize_page()
758 page_off += buflen; in xdp_linearize_page()
763 *len = page_off - VIRTIO_XDP_HEADROOM; in xdp_linearize_page()
/linux-6.1.9/kernel/power/
Dswap.c272 static int hib_submit_io(blk_opf_t opf, pgoff_t page_off, void *addr, in hib_submit_io() argument
280 bio->bi_iter.bi_sector = page_off * (PAGE_SIZE >> 9); in hib_submit_io()
/linux-6.1.9/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.1.9/drivers/net/ethernet/broadcom/
Dtg3.c3386 u32 phy_addr, page_off, size; in tg3_nvram_write_block_unbuffered() local
3399 page_off = offset & pagemask; in tg3_nvram_write_block_unbuffered()
3406 memcpy(tmp + page_off, buf, size); in tg3_nvram_write_block_unbuffered()
3408 offset = offset + (pagesize - page_off); in tg3_nvram_write_block_unbuffered()
3476 u32 page_off, phy_addr, nvram_cmd; in tg3_nvram_write_block_buffered() local
3482 page_off = offset % tp->nvram_pagesize; in tg3_nvram_write_block_buffered()
3488 if (page_off == 0 || i == 0) in tg3_nvram_write_block_buffered()
3490 if (page_off == (tp->nvram_pagesize - 4)) in tg3_nvram_write_block_buffered()