Searched refs:cdev_to_ns_head (Results 1 – 1 of 1) sorted by relevance
423 static inline struct nvme_ns_head *cdev_to_ns_head(struct cdev *cdev) in cdev_to_ns_head() function430 if (!nvme_tryget_ns_head(cdev_to_ns_head(inode->i_cdev))) in nvme_ns_head_chr_open()437 nvme_put_ns_head(cdev_to_ns_head(inode->i_cdev)); in nvme_ns_head_chr_release()