Home
last modified time | relevance | path

Searched refs:num_nodes (Results 1 – 3 of 3) sorted by relevance

/net/tipc/
Ddiscover.c62 int num_nodes; member
264 if (!req->num_nodes) { in disc_update()
280 req->num_nodes++; in tipc_disc_add_dest()
291 req->num_nodes--; in tipc_disc_remove_dest()
309 if (tipc_node(req->domain) && req->num_nodes) { in disc_timeout()
325 if (req->num_nodes) in disc_timeout()
363 req->num_nodes = 0; in tipc_disc_create()
398 req->num_nodes = 0; in tipc_disc_reset()
/net/ceph/
Dosdmap.c92 ceph_decode_32_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket()
93 b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); in crush_decode_tree_bucket()
96 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket()
97 for (j = 0; j < b->num_nodes; j++) in crush_decode_tree_bucket()
/net/ceph/crush/
Dmapper.c197 n = bucket->num_nodes >> 1; in bucket_tree_choose()