Searched refs:nvme_ns_is_readonly (Results 1 – 1 of 1) sorted by relevance
1931 static bool nvme_ns_is_readonly(struct nvme_ns *ns, struct nvme_ns_info *info) in nvme_ns_is_readonly() function1978 set_disk_ro(ns->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_generic()1983 set_disk_ro(ns->head->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_generic()2026 set_disk_ro(ns->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_block()2039 set_disk_ro(ns->head->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_block()