Lines Matching refs:tmp
194 unsigned long tmp; in o2nm_node_num_write() local
197 tmp = simple_strtoul(p, &p, 0); in o2nm_node_num_write()
201 if (tmp >= O2NM_MAX_NODES) in o2nm_node_num_write()
213 if (cluster->cl_nodes[tmp]) in o2nm_node_num_write()
216 cluster->cl_nodes[tmp] = node; in o2nm_node_num_write()
217 node->nd_num = tmp; in o2nm_node_num_write()
218 set_bit(tmp, cluster->cl_nodes_bitmap); in o2nm_node_num_write()
234 unsigned long tmp; in o2nm_node_ipv4_port_write() local
237 tmp = simple_strtoul(p, &p, 0); in o2nm_node_ipv4_port_write()
241 if (tmp == 0) in o2nm_node_ipv4_port_write()
243 if (tmp >= (u16)-1) in o2nm_node_ipv4_port_write()
246 node->nd_ipv4_port = htons(tmp); in o2nm_node_ipv4_port_write()
303 unsigned long tmp; in o2nm_node_local_write() local
307 tmp = simple_strtoul(p, &p, 0); in o2nm_node_local_write()
311 tmp = !!tmp; /* boolean of whether this node wants to be local */ in o2nm_node_local_write()
322 if (tmp && tmp == cluster->cl_has_local && in o2nm_node_local_write()
327 if (tmp && !cluster->cl_has_local) { in o2nm_node_local_write()
333 if (!tmp && cluster->cl_has_local && in o2nm_node_local_write()
339 node->nd_local = tmp; in o2nm_node_local_write()
341 cluster->cl_has_local = tmp; in o2nm_node_local_write()
483 unsigned long tmp; in o2nm_cluster_attr_write() local
486 tmp = simple_strtoul(p, &p, 0); in o2nm_cluster_attr_write()
490 if (tmp == 0) in o2nm_cluster_attr_write()
492 if (tmp >= (u32)-1) in o2nm_cluster_attr_write()
495 *val = tmp; in o2nm_cluster_attr_write()