Lines Matching refs:pages_per_frame

2166 	u32 i, idx, frame_size, pages_per_frame;  in ni_readpage_cmpr()  local
2189 pages_per_frame = frame_size >> PAGE_SHIFT; in ni_readpage_cmpr()
2190 pages = kcalloc(pages_per_frame, sizeof(struct page *), GFP_NOFS); in ni_readpage_cmpr()
2200 for (i = 0; i < pages_per_frame; i++, index++) { in ni_readpage_cmpr()
2212 err = ni_read_frame(ni, frame_vbo, pages, pages_per_frame); in ni_readpage_cmpr()
2215 for (i = 0; i < pages_per_frame; i++) { in ni_readpage_cmpr()
2252 u32 i, frame_size, pages_per_frame, bytes; in ni_decompress_file() local
2270 pages_per_frame = frame_size >> PAGE_SHIFT; in ni_decompress_file()
2271 pages = kcalloc(pages_per_frame, sizeof(struct page *), GFP_NOFS); in ni_decompress_file()
2289 nr_pages = pages_per_frame; in ni_decompress_file()
2302 for (i = 0; i < pages_per_frame; i++, index++) { in ni_decompress_file()
2317 err = ni_read_frame(ni, vbo, pages, pages_per_frame); in ni_decompress_file()
2327 for (i = 0; i < pages_per_frame; i++) { in ni_decompress_file()
2515 u32 pages_per_frame) in ni_read_frame() argument
2537 for (i = 0; i < pages_per_frame; i++) in ni_read_frame()
2540 frame_size = pages_per_frame << PAGE_SHIFT; in ni_read_frame()
2541 frame_mem = vmap(pages, pages_per_frame, VM_MAP, PAGE_KERNEL); in ni_read_frame()
2691 err = ntfs_bio_pages(sbi, run, pages, pages_per_frame, in ni_read_frame()
2784 for (i = 0; i < pages_per_frame; i++) { in ni_read_frame()
2799 u32 pages_per_frame) in ni_write_frame() argument
2849 pages_disk = kcalloc(pages_per_frame, sizeof(struct page *), GFP_NOFS); in ni_write_frame()
2855 for (i = 0; i < pages_per_frame; i++) { in ni_write_frame()
2867 frame_ondisk = vmap(pages_disk, pages_per_frame, VM_MAP, PAGE_KERNEL); in ni_write_frame()
2873 for (i = 0; i < pages_per_frame; i++) in ni_write_frame()
2877 frame_mem = vmap(pages, pages_per_frame, VM_MAP, PAGE_KERNEL_RO); in ni_write_frame()
2935 pages_per_frame, frame_vbo, ondisk_size, in ni_write_frame()
2943 for (i = 0; i < pages_per_frame; i++) in ni_write_frame()
2948 for (i = 0; i < pages_per_frame; i++) { in ni_write_frame()