Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c200 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()
/linux/drivers/usb/storage/
H A 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/fs/nfs/
H A Dwrite.c1268 static bool nfs_folio_write_uptodate(struct folio *folio, unsigned int pagelen) in nfs_folio_write_uptodate() argument
1279 if (test_bit(NFS_INO_INVALIDATING, &nfsi->flags) && pagelen != 0) in nfs_folio_write_uptodate()
1282 if (nfsi->cache_validity & NFS_INO_INVALID_DATA && pagelen != 0) in nfs_folio_write_uptodate()
1303 unsigned int pagelen) in nfs_can_extend_write() argument
1315 if (!nfs_folio_write_uptodate(folio, pagelen)) in nfs_can_extend_write()
1353 unsigned int pagelen = nfs_folio_length(folio); in nfs_update_folio() local
1364 if (nfs_can_extend_write(file, folio, pagelen)) { in nfs_update_folio()
1368 if (end < pagelen) in nfs_update_folio()
1369 end = min(round_up(end, PAGE_SIZE), pagelen); in nfs_update_folio()
H A Dfile.c592 unsigned pagelen; in nfs_vm_page_mkwrite() local
621 pagelen = nfs_folio_length(folio); in nfs_vm_page_mkwrite()
622 if (pagelen == 0) in nfs_vm_page_mkwrite()
627 nfs_update_folio(filp, folio, 0, pagelen) == 0) in nfs_vm_page_mkwrite()
/linux/net/sunrpc/
H A Dxdr.c533 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()
/linux/include/trace/events/
H A Drpcrdma.h849 __field(unsigned int, pagelen)
863 __entry->pagelen = rqst->rq_snd_buf.page_len;
873 __entry->headlen, __entry->pagelen, __entry->taillen,
1383 __field(unsigned int, pagelen)
1392 __entry->pagelen = rqst->rq_rcv_buf.page_len;
1398 __entry->headlen, __entry->pagelen, __entry->taillen
/linux/drivers/scsi/bfa/
H A Dbfa_fc.h801 u8 pagelen; member