/openbmc/linux/drivers/staging/rts5208/ |
H A D | spi.c | 580 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 …]
|
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gzfht_test.c | 200 uint32_t pagelen = 65536; in compress_file() local 220 nxu_touch_pages(outbuf, outlen, pagelen, 1); in compress_file() 263 nxu_touch_pages(cmdp, sizeof(struct nx_gzip_crb_cpb_t), pagelen, in compress_file() 265 nxu_touch_pages(srcbuf, srclen, pagelen, 0); in compress_file() 266 nxu_touch_pages(dstbuf, dstlen, pagelen, 1); in compress_file()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | sddr09.c | 858 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()
|
/openbmc/linux/fs/nfs/ |
H A D | file.c | 585 unsigned pagelen; in nfs_vm_page_mkwrite() local 614 pagelen = nfs_folio_length(folio); in nfs_vm_page_mkwrite() 615 if (pagelen == 0) in nfs_vm_page_mkwrite() 620 nfs_update_folio(filp, folio, 0, pagelen) == 0) in nfs_vm_page_mkwrite()
|
H A D | write.c | 1292 static bool nfs_folio_write_uptodate(struct folio *folio, unsigned int pagelen) in nfs_folio_write_uptodate() argument 1303 if (test_bit(NFS_INO_INVALIDATING, &nfsi->flags) && pagelen != 0) in nfs_folio_write_uptodate() 1306 if (nfsi->cache_validity & NFS_INO_INVALID_DATA && pagelen != 0) in nfs_folio_write_uptodate() 1327 unsigned int pagelen) in nfs_can_extend_write() argument 1336 if (!nfs_folio_write_uptodate(folio, pagelen)) in nfs_can_extend_write() 1374 unsigned int pagelen = nfs_folio_length(folio); in nfs_update_folio() local 1385 if (nfs_can_extend_write(file, folio, pagelen)) { in nfs_update_folio() 1386 count = max(count + offset, pagelen); in nfs_update_folio()
|
/openbmc/linux/net/sunrpc/ |
H A D | xdr.c | 533 unsigned int i, npages, pagelen; in xdr_buf_pages_fill_sparse() local 539 pagelen = buflen - buf->head->iov_len; in xdr_buf_pages_fill_sparse() 540 if (pagelen > buf->page_len) in xdr_buf_pages_fill_sparse() 541 pagelen = buf->page_len; in xdr_buf_pages_fill_sparse() 542 npages = (pagelen + buf->page_base + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pages_fill_sparse() 549 buflen -= pagelen; in xdr_buf_pages_fill_sparse() 550 pagelen = i << PAGE_SHIFT; in xdr_buf_pages_fill_sparse() 551 if (pagelen > buf->page_base) in xdr_buf_pages_fill_sparse() 552 buflen += pagelen - buf->page_base; in xdr_buf_pages_fill_sparse()
|
/openbmc/linux/include/trace/events/ |
H A D | rpcrdma.h | 827 __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
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_fcbuild.c | 1046 rscn->pagelen = sizeof(rscn->event[0]); in fc_rscn_build() 1048 payldlen = sizeof(u32) + rscn->pagelen; in fc_rscn_build()
|
H A D | bfa_fc.h | 801 u8 pagelen; member
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | mem_helper.c | 2892 const uint64_t pagelen = -(addr | TARGET_PAGE_MASK); in probe_write_access() local 2893 const uint64_t curlen = MIN(pagelen, len); in probe_write_access()
|
/openbmc/qemu/target/riscv/ |
H A D | vector_helper.c | 127 target_ulong pagelen = -(addr | TARGET_PAGE_MASK); in probe_pages() local 128 target_ulong curlen = MIN(pagelen, len); in probe_pages()
|