Lines Matching refs:node

192 	int node;  in nvme_mpath_clear_current_path()  local
197 for_each_node(node) { in nvme_mpath_clear_current_path()
198 if (ns == rcu_access_pointer(head->current_path[node])) { in nvme_mpath_clear_current_path()
199 rcu_assign_pointer(head->current_path[node], NULL); in nvme_mpath_clear_current_path()
225 int node; in nvme_mpath_revalidate_paths() local
236 for_each_node(node) in nvme_mpath_revalidate_paths()
237 rcu_assign_pointer(head->current_path[node], NULL); in nvme_mpath_revalidate_paths()
258 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path() argument
270 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path()
295 rcu_assign_pointer(head->current_path[node], found); in __nvme_find_path()
312 int node = numa_node_id(); in nvme_round_robin_path() local
313 struct nvme_ns *old = srcu_dereference(head->current_path[node], in nvme_round_robin_path()
317 return __nvme_find_path(head, node); in nvme_round_robin_path()
353 rcu_assign_pointer(head->current_path[node], found); in nvme_round_robin_path()
402 int node = numa_node_id(); in nvme_numa_path() local
405 ns = srcu_dereference(head->current_path[node], &head->srcu); in nvme_numa_path()
407 return __nvme_find_path(head, node); in nvme_numa_path()
409 return __nvme_find_path(head, node); in nvme_numa_path()
694 int node, srcu_idx; in nvme_mpath_set_live() local
697 for_each_online_node(node) in nvme_mpath_set_live()
698 __nvme_find_path(head, node); in nvme_mpath_set_live()
995 int node, srcu_idx; in numa_nodes_show() local
1007 for_each_node(node) { in numa_nodes_show()
1008 current_ns = srcu_dereference(head->current_path[node], in numa_nodes_show()
1011 node_set(node, numa_nodes); in numa_nodes_show()