Lines Matching refs:tmp
190 unsigned long tmp; in o2nm_node_num_store() local
194 tmp = simple_strtoul(p, &p, 0); in o2nm_node_num_store()
198 if (tmp >= O2NM_MAX_NODES) in o2nm_node_num_store()
217 if (cluster->cl_nodes[tmp]) in o2nm_node_num_store()
223 cluster->cl_nodes[tmp] = node; in o2nm_node_num_store()
224 node->nd_num = tmp; in o2nm_node_num_store()
225 set_bit(tmp, cluster->cl_nodes_bitmap); in o2nm_node_num_store()
244 unsigned long tmp; in o2nm_node_ipv4_port_store() local
247 tmp = simple_strtoul(p, &p, 0); in o2nm_node_ipv4_port_store()
251 if (tmp == 0) in o2nm_node_ipv4_port_store()
253 if (tmp >= (u16)-1) in o2nm_node_ipv4_port_store()
258 node->nd_ipv4_port = htons(tmp); in o2nm_node_ipv4_port_store()
329 unsigned long tmp; in o2nm_node_local_store() local
333 tmp = simple_strtoul(p, &p, 0); in o2nm_node_local_store()
337 tmp = !!tmp; /* boolean of whether this node wants to be local */ in o2nm_node_local_store()
355 if (tmp && tmp == cluster->cl_has_local && in o2nm_node_local_store()
362 if (tmp && !cluster->cl_has_local) { in o2nm_node_local_store()
368 if (!tmp && cluster->cl_has_local && in o2nm_node_local_store()
374 node->nd_local = tmp; in o2nm_node_local_store()
376 cluster->cl_has_local = tmp; in o2nm_node_local_store()
429 unsigned long tmp; in o2nm_cluster_attr_write() local
432 tmp = simple_strtoul(p, &p, 0); in o2nm_cluster_attr_write()
436 if (tmp == 0) in o2nm_cluster_attr_write()
438 if (tmp >= (u32)-1) in o2nm_cluster_attr_write()
441 *val = tmp; in o2nm_cluster_attr_write()