hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/zpool.h
....@@ -46,6 +46,8 @@
4646
4747 void zpool_destroy_pool(struct zpool *pool);
4848
49
+bool zpool_malloc_support_movable(struct zpool *pool);
50
+
4951 int zpool_malloc(struct zpool *pool, size_t size, gfp_t gfp,
5052 unsigned long *handle);
5153
....@@ -90,6 +92,7 @@
9092 struct zpool *zpool);
9193 void (*destroy)(void *pool);
9294
95
+ bool malloc_support_movable;
9396 int (*malloc)(void *pool, size_t size, gfp_t gfp,
9497 unsigned long *handle);
9598 void (*free)(void *pool, unsigned long handle);