Home
last modified time | relevance | path

Searched refs:pagelen (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/staging/rts5208/
Dspi.c580 u16 pagelen = SF_PAGE_LEN - (u8)addr; in spi_read_flash() local
582 if (pagelen > len) in spi_read_flash()
583 pagelen = len; in spi_read_flash()
612 (u8)(pagelen >> 8)); in spi_read_flash()
614 (u8)pagelen); in spi_read_flash()
623 retval = rtsx_transfer_data(chip, 0, buf, pagelen, 0, in spi_read_flash()
632 rtsx_stor_access_xfer_buf(buf, pagelen, srb, &index, &offset, in spi_read_flash()
635 addr += pagelen; in spi_read_flash()
636 len -= pagelen; in spi_read_flash()
771 u16 pagelen = SF_PAGE_LEN - (u8)addr; in spi_write_flash() local
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/
Dgzfht_test.c248 uint32_t pagelen = 65536; in compress_file() local
268 nxu_touch_pages(outbuf, outlen, pagelen, 1); in compress_file()
311 nxu_touch_pages(cmdp, sizeof(struct nx_gzip_crb_cpb_t), pagelen, in compress_file()
313 nxu_touch_pages(srcbuf, srclen, pagelen, 0); in compress_file()
314 nxu_touch_pages(dstbuf, dstlen, pagelen, 1); in compress_file()
/linux-6.1.9/drivers/usb/storage/
Dsddr09.c858 unsigned int pagelen; in sddr09_write_lba() local
888 pagelen = (1 << info->pageshift) + (1 << CONTROL_SHIFT); in sddr09_write_lba()
899 bptr = blockbuffer + i*pagelen; in sddr09_write_lba()
920 bptr = blockbuffer + i*pagelen; in sddr09_write_lba()
964 unsigned int pagelen, blocklen; in sddr09_write_data() local
988 pagelen = (1 << info->pageshift) + (1 << CONTROL_SHIFT); in sddr09_write_data()
989 blocklen = (pagelen << info->blockshift); in sddr09_write_data()
/linux-6.1.9/fs/nfs/
Dfile.c552 unsigned pagelen; in nfs_vm_page_mkwrite() local
580 pagelen = nfs_page_length(page); in nfs_vm_page_mkwrite()
581 if (pagelen == 0) in nfs_vm_page_mkwrite()
586 nfs_updatepage(filp, page, 0, pagelen) == 0) in nfs_vm_page_mkwrite()
Dwrite.c1287 unsigned int pagelen) in nfs_write_pageuptodate() argument
1297 if (test_bit(NFS_INO_INVALIDATING, &nfsi->flags) && pagelen != 0) in nfs_write_pageuptodate()
1300 if (nfsi->cache_validity & NFS_INO_INVALID_DATA && pagelen != 0) in nfs_write_pageuptodate()
1321 struct inode *inode, unsigned int pagelen) in nfs_can_extend_write() argument
1329 if (!nfs_write_pageuptodate(page, inode, pagelen)) in nfs_can_extend_write()
1367 unsigned int pagelen = nfs_page_length(page); in nfs_updatepage() local
1378 if (nfs_can_extend_write(file, page, inode, pagelen)) { in nfs_updatepage()
1379 count = max(count + offset, pagelen); in nfs_updatepage()
/linux-6.1.9/net/sunrpc/
Dxdr.c484 unsigned int i, npages, pagelen; in xdr_buf_pages_fill_sparse() local
490 pagelen = buflen - buf->head->iov_len; in xdr_buf_pages_fill_sparse()
491 if (pagelen > buf->page_len) in xdr_buf_pages_fill_sparse()
492 pagelen = buf->page_len; in xdr_buf_pages_fill_sparse()
493 npages = (pagelen + buf->page_base + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pages_fill_sparse()
500 buflen -= pagelen; in xdr_buf_pages_fill_sparse()
501 pagelen = i << PAGE_SHIFT; in xdr_buf_pages_fill_sparse()
502 if (pagelen > buf->page_base) in xdr_buf_pages_fill_sparse()
503 buflen += pagelen - buf->page_base; in xdr_buf_pages_fill_sparse()
/linux-6.1.9/include/trace/events/
Drpcrdma.h827 __field(unsigned int, pagelen)
841 __entry->pagelen = rqst->rq_snd_buf.page_len;
851 __entry->headlen, __entry->pagelen, __entry->taillen,
1381 __field(unsigned int, pagelen)
1390 __entry->pagelen = rqst->rq_rcv_buf.page_len;
1396 __entry->headlen, __entry->pagelen, __entry->taillen
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fc.h801 u8 pagelen; member
Dbfa_fcbuild.c1046 rscn->pagelen = sizeof(rscn->event[0]); in fc_rscn_build()
1048 payldlen = sizeof(u32) + rscn->pagelen; in fc_rscn_build()