Searched refs:pagenrs (Results 1 – 1 of 1) sorted by relevance
105 static int read_pages(struct blkmtd_dev *dev, int pagenrs[], struct page **pagelst, int pages) in read_pages() argument144 page = grab_cache_page(dev->binding->bd_inode->i_mapping, pagenrs[cnt]); in read_pages()147 iobuf->blocks[iobuf->nr_pages] = pagenrs[cnt]; in read_pages()251 int pagenrs[2]; in write_pages() local273 pagenrs[0] = pagenr; in write_pages()280 pagenrs[readpages] = pagenr + pagecnt; in write_pages()306 err = read_pages(dev, pagenrs, pagelst, readpages); in write_pages()487 int *pagenrs; in blkmtd_read() local505 pagenrs = kmalloc(sizeof(int) * pages, GFP_KERNEL); in blkmtd_read()506 if(!pagenrs) { in blkmtd_read()[all …]