Searched refs:num_nodes (Results 1 – 4 of 4) sorted by relevance
52 map->num_nodes = OCFS2_NODE_MAP_MAX_NODES; in ocfs2_node_map_init()96 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_set_bit()114 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_clear_bit()125 if (bit >= map->num_nodes) { in ocfs2_node_map_test_bit()126 mlog(ML_ERROR, "bit=%d map->num_nodes=%d\n", bit, map->num_nodes); in ocfs2_node_map_test_bit()
62 __u64 num_nodes; member
102 u16 num_nodes; member
1380 static int nodeid_warned(int nodeid, int num_nodes, int *warned) in nodeid_warned() argument1384 for (i = 0; i < num_nodes; i++) { in nodeid_warned()1403 int num_nodes = 0; in dlm_scan_waiters() local1428 if (!num_nodes) { in dlm_scan_waiters()1429 num_nodes = ls->ls_num_nodes; in dlm_scan_waiters()1430 warned = kzalloc(num_nodes * sizeof(int), GFP_KERNEL); in dlm_scan_waiters()1434 if (nodeid_warned(lkb->lkb_wait_nodeid, num_nodes, warned)) in dlm_scan_waiters()