Lines Matching refs:tmp
188 unsigned long tmp; in o2nm_node_num_store() local
192 tmp = simple_strtoul(p, &p, 0); in o2nm_node_num_store()
196 if (tmp >= O2NM_MAX_NODES) in o2nm_node_num_store()
215 if (cluster->cl_nodes[tmp]) in o2nm_node_num_store()
221 cluster->cl_nodes[tmp] = node; in o2nm_node_num_store()
222 node->nd_num = tmp; in o2nm_node_num_store()
223 set_bit(tmp, cluster->cl_nodes_bitmap); in o2nm_node_num_store()
242 unsigned long tmp; in o2nm_node_ipv4_port_store() local
245 tmp = simple_strtoul(p, &p, 0); in o2nm_node_ipv4_port_store()
249 if (tmp == 0) in o2nm_node_ipv4_port_store()
251 if (tmp >= (u16)-1) in o2nm_node_ipv4_port_store()
256 node->nd_ipv4_port = htons(tmp); in o2nm_node_ipv4_port_store()
327 unsigned long tmp; in o2nm_node_local_store() local
331 tmp = simple_strtoul(p, &p, 0); in o2nm_node_local_store()
335 tmp = !!tmp; /* boolean of whether this node wants to be local */ in o2nm_node_local_store()
353 if (tmp && tmp == cluster->cl_has_local && in o2nm_node_local_store()
360 if (tmp && !cluster->cl_has_local) { in o2nm_node_local_store()
366 if (!tmp && cluster->cl_has_local && in o2nm_node_local_store()
372 node->nd_local = tmp; in o2nm_node_local_store()
374 cluster->cl_has_local = tmp; in o2nm_node_local_store()
427 unsigned long tmp; in o2nm_cluster_attr_write() local
430 tmp = simple_strtoul(p, &p, 0); in o2nm_cluster_attr_write()
434 if (tmp == 0) in o2nm_cluster_attr_write()
436 if (tmp >= (u32)-1) in o2nm_cluster_attr_write()
439 *val = tmp; in o2nm_cluster_attr_write()