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

/linux-4.1.27/drivers/block/
H A Dbrd.c30 * Each block ramdisk device has a radix_tree brd_pages of pages that stores
48 struct radix_tree_root brd_pages; member in struct:brd_device
73 page = radix_tree_lookup(&brd->brd_pages, idx); brd_lookup_page()
121 if (radix_tree_insert(&brd->brd_pages, idx, page)) { brd_insert_page()
123 page = radix_tree_lookup(&brd->brd_pages, idx); brd_insert_page()
141 page = radix_tree_delete(&brd->brd_pages, idx); brd_free_page()
170 nr_pages = radix_tree_gang_lookup(&brd->brd_pages, brd_free_pages()
178 ret = radix_tree_delete(&brd->brd_pages, pos); brd_free_pages()
484 INIT_RADIX_TREE(&brd->brd_pages, GFP_ATOMIC); brd_alloc()

Completed in 30 milliseconds