Lines Matching refs:dlm_node
49 struct dlm_node;
87 static ssize_t node_nodeid_read(struct dlm_node *nd, char *buf);
88 static ssize_t node_nodeid_write(struct dlm_node *nd, const char *buf,
90 static ssize_t node_weight_read(struct dlm_node *nd, char *buf);
91 static ssize_t node_weight_write(struct dlm_node *nd, const char *buf,
279 ssize_t (*show)(struct dlm_node *, char *);
280 ssize_t (*store)(struct dlm_node *, const char *, size_t);
337 struct dlm_node { struct
448 static struct dlm_node *config_item_to_node(struct config_item *i) in config_item_to_node()
450 return i ? container_of(i, struct dlm_node, item) : NULL; in config_item_to_node()
627 struct dlm_node *nd; in make_node()
629 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node()
649 struct dlm_node *nd = config_item_to_node(i); in drop_node()
661 struct dlm_node *nd = config_item_to_node(i); in release_node()
821 struct dlm_node *nd = config_item_to_node(i); in show_node()
830 struct dlm_node *nd = config_item_to_node(i); in store_node()
836 static ssize_t node_nodeid_read(struct dlm_node *nd, char *buf) in node_nodeid_read()
841 static ssize_t node_nodeid_write(struct dlm_node *nd, const char *buf, in node_nodeid_write()
851 static ssize_t node_weight_read(struct dlm_node *nd, char *buf) in node_weight_read()
856 static ssize_t node_weight_write(struct dlm_node *nd, const char *buf, in node_weight_write()
958 struct dlm_node *nd; in dlm_config_nodes()