diff options
Diffstat (limited to 'include/linux/dax.h')
-rw-r--r-- | include/linux/dax.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/dax.h b/include/linux/dax.h index 74ebb92b625a..39a0312c45c3 100644 --- a/include/linux/dax.h +++ b/include/linux/dax.h | |||
@@ -21,6 +21,12 @@ struct dax_operations { | |||
21 | int dax_read_lock(void); | 21 | int dax_read_lock(void); |
22 | void dax_read_unlock(int id); | 22 | void dax_read_unlock(int id); |
23 | struct dax_device *dax_get_by_host(const char *host); | 23 | struct dax_device *dax_get_by_host(const char *host); |
24 | struct dax_device *alloc_dax(void *private, const char *host, | ||
25 | const struct dax_operations *ops); | ||
26 | void put_dax(struct dax_device *dax_dev); | ||
27 | bool dax_alive(struct dax_device *dax_dev); | ||
28 | void kill_dax(struct dax_device *dax_dev); | ||
29 | void *dax_get_private(struct dax_device *dax_dev); | ||
24 | 30 | ||
25 | /* | 31 | /* |
26 | * We use lowest available bit in exceptional entry for locking, one bit for | 32 | * We use lowest available bit in exceptional entry for locking, one bit for |