Lines Matching defs:blocks_per_page
112 * take up 2 blocks. A page can contain blocks_per_page (PAGE_CACHE_SIZE /
114 * which is blocks_per_page/2
747 * contain blocks_per_page (PAGE_CACHE_SIZE / blocksize) blocks.
749 * is blocks_per_page/2
759 int blocks_per_page;
778 blocks_per_page = PAGE_CACHE_SIZE / blocksize;
780 groups_per_page = blocks_per_page >> 1;
794 first_group = page->index * blocks_per_page / 2;
864 first_block = page->index * blocks_per_page;
867 for (i = 0; i < blocks_per_page; i++) {
951 int blocks_per_page;
960 blocks_per_page = PAGE_CACHE_SIZE / sb->s_blocksize;
984 pnum = block / blocks_per_page;
985 poff = block % blocks_per_page;
1006 pnum = block / blocks_per_page;
1007 poff = block % blocks_per_page;
1048 int blocks_per_page;
1060 blocks_per_page = PAGE_CACHE_SIZE / sb->s_blocksize;
1103 pnum = block / blocks_per_page;
1104 poff = block % blocks_per_page;
1144 pnum = block / blocks_per_page;
1145 poff = block % blocks_per_page;
1917 int blocks_per_page;
1923 blocks_per_page = PAGE_CACHE_SIZE / sb->s_blocksize;
1930 pnum = block / blocks_per_page;
1931 first_group = pnum * blocks_per_page / 2;
1933 groups_per_page = blocks_per_page >> 1;
1957 int blocks_per_page;
1961 blocks_per_page = PAGE_CACHE_SIZE / sb->s_blocksize;
1968 pnum = block / blocks_per_page;
1969 first_group = pnum * blocks_per_page / 2;