Searched refs:pages_buf (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_cloud.c | 140 void *pages_buf = NULL; in hmdfs_do_readpages_cloud() local 151 pages_buf = vmap(vec, cnt, VM_MAP, PAGE_KERNEL); in hmdfs_do_readpages_cloud() 152 if (!pages_buf) { in hmdfs_do_readpages_cloud() 158 ret = kernel_read(lower_filp, pages_buf, cnt * HMDFS_PAGE_SIZE, &pos); in hmdfs_do_readpages_cloud() 162 memset(pages_buf + ret, 0, cnt * HMDFS_PAGE_SIZE - ret); in hmdfs_do_readpages_cloud() 166 vunmap(pages_buf); in hmdfs_do_readpages_cloud() 174 if (pages_buf) in hmdfs_do_readpages_cloud() 175 vunmap(pages_buf); in hmdfs_do_readpages_cloud()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_cloud.c | 140 void *pages_buf = NULL; in hmdfs_do_readpages_cloud() local 151 pages_buf = vmap(vec, cnt, VM_MAP, PAGE_KERNEL); in hmdfs_do_readpages_cloud() 152 if (!pages_buf) { in hmdfs_do_readpages_cloud() 158 ret = kernel_read(lower_filp, pages_buf, cnt * HMDFS_PAGE_SIZE, &pos); in hmdfs_do_readpages_cloud() 162 memset(pages_buf + ret, 0, cnt * HMDFS_PAGE_SIZE - ret); in hmdfs_do_readpages_cloud() 166 vunmap(pages_buf); in hmdfs_do_readpages_cloud() 174 if (pages_buf) in hmdfs_do_readpages_cloud() 175 vunmap(pages_buf); in hmdfs_do_readpages_cloud()
|
Completed in 2 milliseconds