Lines Matching refs:nodenum

710 	int ret, nodenum;  in dlm_get_lock_resource()  local
935 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_get_lock_resource()
936 ret = dlm_do_master_request(res, mle, nodenum); in dlm_get_lock_resource()
941 if (mle->master <= nodenum) in dlm_get_lock_resource()
949 lockid, nodenum, mle->master); in dlm_get_lock_resource()
2169 int nodenum; in dlm_pre_master_reco_lockres() local
2177 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_pre_master_reco_lockres()
2179 if (nodenum == dlm->node_num) in dlm_pre_master_reco_lockres()
2181 ret = dlm_do_master_requery(dlm, res, nodenum, &master); in dlm_pre_master_reco_lockres()
2199 nodenum, master); in dlm_pre_master_reco_lockres()
2983 u8 nodenum = O2NM_MAX_NODES; in dlm_pick_migration_target() local
2996 nodenum = lock->ml.node; in dlm_pick_migration_target()
3012 nodenum = noderef; in dlm_pick_migration_target()
3017 return nodenum; in dlm_pick_migration_target()
3029 int nodenum; in dlm_do_migrate_request() local
3040 while ((nodenum = dlm_node_iter_next(iter)) >= 0) { in dlm_do_migrate_request()
3041 if (nodenum == master || in dlm_do_migrate_request()
3042 nodenum == new_master) in dlm_do_migrate_request()
3047 skip = (!test_bit(nodenum, dlm->domain_map)); in dlm_do_migrate_request()
3050 clear_bit(nodenum, iter->node_map); in dlm_do_migrate_request()
3055 &migrate, sizeof(migrate), nodenum, in dlm_do_migrate_request()
3060 migrate.namelen, migrate.name, ret, nodenum); in dlm_do_migrate_request()
3065 clear_bit(nodenum, iter->node_map); in dlm_do_migrate_request()
3069 nodenum, status); in dlm_do_migrate_request()
3077 nodenum); in dlm_do_migrate_request()
3079 dlm_lockres_set_refmap_bit(dlm, res, nodenum); in dlm_do_migrate_request()