Lines Matching refs:nodeid
228 int nodeid; member
241 int nodeid; member
465 cm->nodeid = -1; in make_comm()
476 dlm_lowcomms_close(cm->nodeid); in drop_comm()
498 nd->nodeid = -1; in make_node()
558 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); in comm_nodeid_show()
564 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store()
608 rv = dlm_lowcomms_addr(cm->nodeid, addr, len); in comm_addr_store()
663 CONFIGFS_ATTR(comm_, nodeid);
678 return sprintf(buf, "%d\n", config_item_to_node(item)->nodeid); in node_nodeid_show()
686 int rc = kstrtoint(buf, 0, &nd->nodeid); in node_nodeid_store()
690 dlm_comm_seq(nd->nodeid, &seq); in node_nodeid_store()
710 CONFIGFS_ATTR(node_, nodeid);
742 static struct dlm_comm *get_comm(int nodeid) in get_comm() argument
756 if (cm->nodeid != nodeid) in get_comm()
804 node->nodeid = nd->nodeid; in dlm_config_nodes()
822 int dlm_comm_seq(int nodeid, uint32_t *seq) in dlm_comm_seq() argument
824 struct dlm_comm *cm = get_comm(nodeid); in dlm_comm_seq()
834 return local_comm ? local_comm->nodeid : 0; in dlm_our_nodeid()