Searched refs:weight (Results 1 – 4 of 4) sorted by relevance
61 memb->weight = w; in dlm_add_member()126 if (memb->weight) in make_member_array()127 total += memb->weight; in make_member_array()144 if (!all_zero && !memb->weight) in make_member_array()150 w = memb->weight; in make_member_array()
294 int weight; member578 nd->weight = 1; /* default weight of 1 if none is set */ in make_node()749 return sprintf(buf, "%d\n", nd->weight); in node_weight_read()755 nd->weight = simple_strtol(buf, NULL, 0); in node_weight_write()929 w = nd->weight; in dlm_node_weight()
124 int weight; member
2236 int weight = num_online_cpus(); in xfs_icsb_balance_counter_locked() local2246 resid = do_div(count, weight); in xfs_icsb_balance_counter_locked()2252 resid = do_div(count, weight); in xfs_icsb_balance_counter_locked()2258 resid = do_div(count, weight); in xfs_icsb_balance_counter_locked()