Home
last modified time | relevance | path

Searched refs:cur_npages (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/netfs/
Diterator.c42 unsigned int cur_npages; in netfs_extract_user_iter() local
82 cur_npages = DIV_ROUND_UP(ret, PAGE_SIZE); in netfs_extract_user_iter()
84 if (npages + cur_npages > max_pages) { in netfs_extract_user_iter()
86 npages + cur_npages, max_pages); in netfs_extract_user_iter()
90 for (i = 0; i < cur_npages; i++) { in netfs_extract_user_iter()
97 npages += cur_npages; in netfs_extract_user_iter()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c1538 u64 chunk_size, bar_address, dma_max_seg_size, cur_size_to_export, cur_npages; in alloc_sgt_from_device_pages() local
1574 cur_npages = DIV_ROUND_UP_SECTOR_T(cur_size_to_export, page_size); in alloc_sgt_from_device_pages()
1575 nents = cur_npages * DIV_ROUND_UP_SECTOR_T(page_size, dma_max_seg_size); in alloc_sgt_from_device_pages()
1577 cur_npages = npages; in alloc_sgt_from_device_pages()
1580 for (i = 1, nents = 1, chunk_size = page_size ; i < cur_npages ; i++) { in alloc_sgt_from_device_pages()
1635 for (j = cur_page + 1 ; j < cur_npages ; j++) { in alloc_sgt_from_device_pages()