Lines Matching refs:nodeid
279 int nodeid; member
293 int nodeid; member
523 cm->nodeid = -1; in make_comm()
535 dlm_midcomms_close(cm->nodeid); in drop_comm()
557 nd->nodeid = -1; in make_node()
617 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); in comm_nodeid_show()
623 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store()
667 rv = dlm_midcomms_addr(cm->nodeid, addr, len); in comm_addr_store()
742 rc = dlm_lowcomms_nodes_set_mark(comm->nodeid, mark); in comm_mark_store()
750 CONFIGFS_ATTR(comm_, nodeid);
767 return sprintf(buf, "%d\n", config_item_to_node(item)->nodeid); in node_nodeid_show()
775 int rc = kstrtoint(buf, 0, &nd->nodeid); in node_nodeid_store()
779 dlm_comm_seq(nd->nodeid, &seq); in node_nodeid_store()
799 CONFIGFS_ATTR(node_, nodeid);
831 static struct dlm_comm *get_comm(int nodeid) in get_comm() argument
845 if (cm->nodeid != nodeid) in get_comm()
893 node->nodeid = nd->nodeid; in dlm_config_nodes()
911 int dlm_comm_seq(int nodeid, uint32_t *seq) in dlm_comm_seq() argument
913 struct dlm_comm *cm = get_comm(nodeid); in dlm_comm_seq()
923 return local_comm ? local_comm->nodeid : 0; in dlm_our_nodeid()