Searched refs:pnfs_block_dev (Results 1 – 3 of 3) sorted by relevance
/linux/fs/nfs/blocklayout/ |
H A D | dev.c | 17 static void bl_unregister_scsi(struct pnfs_block_dev *dev) in bl_unregister_scsi() 33 static bool bl_register_scsi(struct pnfs_block_dev *dev) in bl_register_scsi() 51 static void bl_unregister_dev(struct pnfs_block_dev *dev) in bl_unregister_dev() 65 bool bl_register_dev(struct pnfs_block_dev *dev) in bl_register_dev() 86 bl_free_device(struct pnfs_block_dev *dev) in bl_free_device() 105 struct pnfs_block_dev *dev = in bl_free_deviceid_node() 106 container_of(d, struct pnfs_block_dev, node); in bl_free_deviceid_node() 226 static bool bl_map_simple(struct pnfs_block_dev *dev, u64 offset, in bl_map_simple() 236 static bool bl_map_concat(struct pnfs_block_dev *dev, u64 offset, in bl_map_concat() 242 struct pnfs_block_dev *child = &dev->children[i]; in bl_map_concat() [all …]
|
H A D | blocklayout.h | 47 struct pnfs_block_dev; 101 struct pnfs_block_dev { struct 109 struct pnfs_block_dev *children; argument 118 bool (*map)(struct pnfs_block_dev *dev, u64 offset, argument 181 bool bl_register_dev(struct pnfs_block_dev *d);
|
H A D | blocklayout.c | 129 struct pnfs_block_dev *dev = in do_add_page_to_bio() 130 container_of(be->be_device, struct pnfs_block_dev, node); in do_add_page_to_bio() 585 if (!bl_register_dev(container_of(node, struct pnfs_block_dev, node))) in bl_find_get_deviceid()
|