Searched refs:blocks_per_page (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dmpage.c179 const unsigned blocks_per_page = PAGE_CACHE_SIZE >> blkbits; local
186 unsigned first_hole = blocks_per_page;
197 last_block = block_in_file + nr_pages * blocks_per_page;
217 if (page_block == blocks_per_page)
231 while (page_block < blocks_per_page) {
244 if (first_hole == blocks_per_page)
262 if (first_hole != blocks_per_page)
273 } else if (page_block == blocks_per_page)
282 if (first_hole != blocks_per_page) {
317 (first_hole != blocks_per_page))
448 const unsigned blocks_per_page = PAGE_CACHE_SIZE >> blkbits; local
[all...]
H A Ddirect-io.c840 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; local
856 while (block_in_page < blocks_per_page) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext4/
H A Dmove_extent.c809 int blocks_per_page = PAGE_CACHE_SIZE >> orig_inode->i_blkbits; local
825 orig_blk_offset = orig_page_offset * blocks_per_page +
1193 int blocks_per_page = PAGE_CACHE_SIZE >> orig_inode->i_blkbits; local
1315 data_offset_in_page = seq_start % blocks_per_page;
1321 if (data_offset_in_page + seq_blocks > blocks_per_page) {
1324 blocks_per_page - data_offset_in_page;
1372 if (rest_blocks > blocks_per_page)
1373 block_len_in_page = blocks_per_page;
H A Dmballoc.c112 * 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; local
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;
951 int blocks_per_page; local
1048 int blocks_per_page; local
1917 int blocks_per_page; local
1957 int blocks_per_page; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dswapfile.c1453 unsigned blocks_per_page; local
1471 blocks_per_page = PAGE_SIZE >> blkbits;
1480 while ((probe_block + blocks_per_page) <= last_block &&
1492 if (first_block & (blocks_per_page - 1)) {
1497 for (block_in_page = 1; block_in_page < blocks_per_page;
1527 probe_block += blocks_per_page;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jfs/
H A Djfs_metapage.c495 int blocks_per_page = PAGE_CACHE_SIZE >> inode->i_blkbits; local
507 while (block_offset < blocks_per_page) {
508 xlen = blocks_per_page - block_offset;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dniu.c3440 int blocks_per_page = rp->rbr_blocks_per_page; local
3444 while (index < (rp->rbr_table_size - blocks_per_page)) {
3449 index += blocks_per_page;

Completed in 195 milliseconds