Lines Matching refs:nullb_page
61 struct nullb_page { struct
813 static struct nullb_page *null_alloc_page(void) in null_alloc_page()
815 struct nullb_page *t_page; in null_alloc_page()
817 t_page = kmalloc(sizeof(struct nullb_page), GFP_NOIO); in null_alloc_page()
831 static void null_free_page(struct nullb_page *t_page) in null_free_page()
840 static bool null_page_empty(struct nullb_page *page) in null_page_empty()
852 struct nullb_page *t_page, *ret; in null_free_sector()
873 static struct nullb_page *null_radix_tree_insert(struct nullb *nullb, u64 idx, in null_radix_tree_insert()
874 struct nullb_page *t_page, bool is_cache) in null_radix_tree_insert()
894 struct nullb_page *ret, *t_pages[FREE_BATCH]; in null_free_device_storage()
919 static struct nullb_page *__null_lookup_page(struct nullb *nullb, in __null_lookup_page()
924 struct nullb_page *t_page; in __null_lookup_page()
940 static struct nullb_page *null_lookup_page(struct nullb *nullb, in null_lookup_page()
943 struct nullb_page *page = NULL; in null_lookup_page()
952 static struct nullb_page *null_insert_page(struct nullb *nullb, in null_insert_page()
958 struct nullb_page *t_page; in null_insert_page()
987 static int null_flush_cache_page(struct nullb *nullb, struct nullb_page *c_page) in null_flush_cache_page()
992 struct nullb_page *t_page, *ret; in null_flush_cache_page()
1039 struct nullb_page *c_pages[FREE_BATCH]; in null_make_cache_space()
1094 struct nullb_page *t_page; in copy_to_nullb()
1131 struct nullb_page *t_page; in copy_from_nullb()