Lines Matching refs:item

156 static struct o2nm_cluster *to_o2nm_cluster(struct config_item *item)  in to_o2nm_cluster()  argument
158 return item ? in to_o2nm_cluster()
159 container_of(to_config_group(item), struct o2nm_cluster, in to_o2nm_cluster()
164 static struct o2nm_node *to_o2nm_node(struct config_item *item) in to_o2nm_node() argument
166 return item ? container_of(item, struct o2nm_node, nd_item) : NULL; in to_o2nm_node()
169 static void o2nm_node_release(struct config_item *item) in o2nm_node_release() argument
171 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release()
409 static ssize_t o2nm_node_show(struct config_item *item, in o2nm_node_show() argument
413 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_show()
423 static ssize_t o2nm_node_store(struct config_item *item, in o2nm_node_store() argument
427 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_store()
662 static ssize_t o2nm_cluster_show(struct config_item *item, in o2nm_cluster_show() argument
666 struct o2nm_cluster *cluster = to_o2nm_cluster(item); in o2nm_cluster_show()
676 static ssize_t o2nm_cluster_store(struct config_item *item, in o2nm_cluster_store() argument
680 struct o2nm_cluster *cluster = to_o2nm_cluster(item); in o2nm_cluster_store()
719 struct config_item *item) in o2nm_node_group_drop_item() argument
721 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_group_drop_item()
751 config_item_put(item); in o2nm_node_group_drop_item()
766 static void o2nm_cluster_release(struct config_item *item) in o2nm_cluster_release() argument
768 struct o2nm_cluster *cluster = to_o2nm_cluster(item); in o2nm_cluster_release()
853 static void o2nm_cluster_group_drop_item(struct config_group *group, struct config_item *item) in o2nm_cluster_group_drop_item() argument
855 struct o2nm_cluster *cluster = to_o2nm_cluster(item); in o2nm_cluster_group_drop_item()
868 config_item_put(item); in o2nm_cluster_group_drop_item()
892 int o2nm_depend_item(struct config_item *item) in o2nm_depend_item() argument
894 return configfs_depend_item(&o2nm_cluster_group.cs_subsys, item); in o2nm_depend_item()
897 void o2nm_undepend_item(struct config_item *item) in o2nm_undepend_item() argument
899 configfs_undepend_item(&o2nm_cluster_group.cs_subsys, item); in o2nm_undepend_item()