Lines Matching refs:nodenum
712 int ret, nodenum; in dlm_get_lock_resource() local
937 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_get_lock_resource()
938 ret = dlm_do_master_request(res, mle, nodenum); in dlm_get_lock_resource()
943 if (mle->master <= nodenum) in dlm_get_lock_resource()
951 lockid, nodenum, mle->master); in dlm_get_lock_resource()
2171 int nodenum; in dlm_pre_master_reco_lockres() local
2179 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_pre_master_reco_lockres()
2181 if (nodenum == dlm->node_num) in dlm_pre_master_reco_lockres()
2183 ret = dlm_do_master_requery(dlm, res, nodenum, &master); in dlm_pre_master_reco_lockres()
2201 nodenum, master); in dlm_pre_master_reco_lockres()
2985 u8 nodenum = O2NM_MAX_NODES; in dlm_pick_migration_target() local
2998 nodenum = lock->ml.node; in dlm_pick_migration_target()
3014 nodenum = noderef; in dlm_pick_migration_target()
3019 return nodenum; in dlm_pick_migration_target()
3031 int nodenum; in dlm_do_migrate_request() local
3042 while ((nodenum = dlm_node_iter_next(iter)) >= 0) { in dlm_do_migrate_request()
3043 if (nodenum == master || in dlm_do_migrate_request()
3044 nodenum == new_master) in dlm_do_migrate_request()
3049 skip = (!test_bit(nodenum, dlm->domain_map)); in dlm_do_migrate_request()
3052 clear_bit(nodenum, iter->node_map); in dlm_do_migrate_request()
3057 &migrate, sizeof(migrate), nodenum, in dlm_do_migrate_request()
3062 migrate.namelen, migrate.name, ret, nodenum); in dlm_do_migrate_request()
3067 clear_bit(nodenum, iter->node_map); in dlm_do_migrate_request()
3071 nodenum, status); in dlm_do_migrate_request()
3079 nodenum); in dlm_do_migrate_request()
3081 dlm_lockres_set_refmap_bit(dlm, res, nodenum); in dlm_do_migrate_request()