pe_find_current 432 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); pe_find_current 248 lib/pengine/native.c if (pcmk_is_set(flags, pe_find_current) && rsc->running_on) { pe_find_current 262 lib/pengine/native.c } else if (!pcmk_is_set(flags, pe_find_current) && rsc->allocated_to pe_find_current 141 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(dummy, native_find_rsc(dummy, "dummy", NULL, pe_find_current)); pe_find_current 148 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(dummy, "dummy", cluster01, pe_find_current)); pe_find_current 154 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(dummy, native_find_rsc(dummy, "dummy", cluster02, pe_find_current)); pe_find_current 163 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(exim_group, native_find_rsc(exim_group, "exim-group", NULL, pe_find_current)); pe_find_current 170 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(exim_group, "exim-group", cluster01, pe_find_current)); pe_find_current 176 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(exim_group, native_find_rsc(exim_group, "exim-group", cluster02, pe_find_current)); pe_find_current 185 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(inactive_group, native_find_rsc(inactive_group, "inactive-group", NULL, pe_find_current)); pe_find_current 193 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(inactive_group, "inactive-group", cluster01, pe_find_current)); pe_find_current 194 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(inactive_group, "inactive-group", cluster02, pe_find_current)); pe_find_current 220 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(public_ip, native_find_rsc(public_ip, "Public-IP", NULL, pe_find_current)); pe_find_current 227 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(public_ip, "Public-IP", cluster01, pe_find_current)); pe_find_current 233 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(public_ip, native_find_rsc(public_ip, "Public-IP", cluster02, pe_find_current)); pe_find_current 254 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(inactive_dummy_1, native_find_rsc(inactive_dummy_1, "inactive-dummy-1", NULL, pe_find_current)); pe_find_current 261 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(inactive_dummy_1, "inactive-dummy-1", cluster01, pe_find_current)); pe_find_current 262 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(inactive_dummy_1, "inactive-dummy-1", cluster02, pe_find_current)); pe_find_current 276 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_clone, native_find_rsc(promotable_clone, "promotable-clone", NULL, pe_find_current)); pe_find_current 283 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_clone, native_find_rsc(promotable_clone, "promotable-clone", cluster01, pe_find_current)); pe_find_current 289 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_clone, native_find_rsc(promotable_clone, "promotable-clone", cluster02, pe_find_current)); pe_find_current 292 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_clone, native_find_rsc(promotable_clone, "promotable-clone", cluster01, pe_find_clone|pe_find_current)); pe_find_current 293 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_clone, native_find_rsc(promotable_clone, "promotable-clone", cluster02, pe_find_clone|pe_find_current)); pe_find_current 302 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(inactive_clone, native_find_rsc(inactive_clone, "inactive-clone", NULL, pe_find_current)); pe_find_current 307 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(inactive_clone, "inactive-clone", cluster01, pe_find_current|pe_find_clone)); pe_find_current 308 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(inactive_clone, "inactive-clone", cluster02, pe_find_current|pe_find_clone)); pe_find_current 337 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_0, "promotable-rsc:0", NULL, pe_find_current)); pe_find_current 339 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_1, "promotable-rsc:1", NULL, pe_find_current)); pe_find_current 346 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_0, "promotable-rsc:0", cluster02, pe_find_current)); pe_find_current 347 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_0, "promotable-rsc:0", cluster01, pe_find_current)); pe_find_current 348 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_1, "promotable-rsc:1", cluster01, pe_find_current)); pe_find_current 349 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_1, "promotable-rsc:1", cluster02, pe_find_current)); pe_find_current 363 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_0, "promotable-rsc", cluster02, pe_find_any|pe_find_current)); pe_find_current 364 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_0, "promotable-rsc", cluster02, pe_find_anon|pe_find_current)); pe_find_current 365 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_0, "promotable-rsc", cluster01, pe_find_any|pe_find_current)); pe_find_current 366 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_0, "promotable-rsc", cluster01, pe_find_anon|pe_find_current)); pe_find_current 367 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_1, "promotable-rsc", cluster01, pe_find_any|pe_find_current)); pe_find_current 368 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_1, "promotable-rsc", cluster01, pe_find_anon|pe_find_current)); pe_find_current 369 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_1, "promotable-rsc", cluster02, pe_find_any|pe_find_current)); pe_find_current 370 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_1, "promotable-rsc", cluster02, pe_find_anon|pe_find_current)); pe_find_current 373 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_0, "promotable-rsc", NULL, pe_find_current)); pe_find_current 374 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(promotable_1, "promotable-rsc", NULL, pe_find_current)); pe_find_current 385 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_clone, "promotable-rsc:0", cluster02, pe_find_current)); pe_find_current 386 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_clone, "promotable-rsc", cluster02, pe_find_any|pe_find_current)); pe_find_current 387 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_0, native_find_rsc(promotable_clone, "promotable-rsc", cluster02, pe_find_anon|pe_find_current)); pe_find_current 388 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_clone, "promotable-rsc:1", cluster01, pe_find_current)); pe_find_current 389 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_clone, "promotable-rsc", cluster01, pe_find_any|pe_find_current)); pe_find_current 390 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(promotable_1, native_find_rsc(promotable_clone, "promotable-rsc", cluster01, pe_find_anon|pe_find_current)); pe_find_current 423 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(httpd_bundle, native_find_rsc(httpd_bundle, "httpd-bundle", NULL, pe_find_current)); pe_find_current 433 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(httpd_bundle, native_find_rsc(httpd_bundle, "httpd-bundle", cluster01, pe_find_current)); pe_find_current 472 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(ip_0, native_find_rsc(ip_0, "httpd-bundle-ip-192.168.122.131", cluster01, pe_find_current)); pe_find_current 473 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(ip_0, "httpd-bundle-ip-192.168.122.131", cluster02, pe_find_current)); pe_find_current 474 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(ip_0, "httpd-bundle-ip-192.168.122.131", httpd_bundle_0, pe_find_current)); pe_find_current 475 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(child_0, native_find_rsc(child_0, "httpd:0", httpd_bundle_0, pe_find_current)); pe_find_current 476 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd:0", cluster01, pe_find_current)); pe_find_current 477 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd:0", cluster02, pe_find_current)); pe_find_current 478 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(container_0, native_find_rsc(container_0, "httpd-bundle-docker-0", cluster01, pe_find_current)); pe_find_current 479 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(container_0, "httpd-bundle-docker-0", cluster02, pe_find_current)); pe_find_current 480 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(container_0, "httpd-bundle-docker-0", httpd_bundle_0, pe_find_current)); pe_find_current 481 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(remote_0, native_find_rsc(remote_0, "httpd-bundle-0", cluster01, pe_find_current)); pe_find_current 482 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(remote_0, "httpd-bundle-0", cluster02, pe_find_current)); pe_find_current 483 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(remote_0, "httpd-bundle-0", httpd_bundle_0, pe_find_current)); pe_find_current 492 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(child_0, native_find_rsc(child_0, "httpd", httpd_bundle_0, pe_find_any|pe_find_current)); pe_find_current 493 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(child_0, native_find_rsc(child_0, "httpd", httpd_bundle_0, pe_find_anon|pe_find_current)); pe_find_current 494 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd", cluster01, pe_find_any|pe_find_current)); pe_find_current 495 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd", cluster01, pe_find_anon|pe_find_current)); pe_find_current 496 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd", cluster02, pe_find_any|pe_find_current)); pe_find_current 497 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd", cluster02, pe_find_anon|pe_find_current)); pe_find_current 500 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(child_0, "httpd", NULL, pe_find_current)); pe_find_current 513 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(ip_0, native_find_rsc(httpd_bundle, "httpd-bundle-ip-192.168.122.131", cluster01, pe_find_current)); pe_find_current 514 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(child_0, native_find_rsc(httpd_bundle, "httpd:0", httpd_bundle_0, pe_find_current)); pe_find_current 515 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(container_0, native_find_rsc(httpd_bundle, "httpd-bundle-docker-0", cluster01, pe_find_current)); pe_find_current 516 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(remote_0, native_find_rsc(httpd_bundle, "httpd-bundle-0", cluster01, pe_find_current)); pe_find_current 525 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_clone_group, native_find_rsc(mysql_clone_group, "mysql-clone-group", NULL, pe_find_current)); pe_find_current 532 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_clone_group, native_find_rsc(mysql_clone_group, "mysql-clone-group", cluster01, pe_find_current)); pe_find_current 538 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_clone_group, native_find_rsc(mysql_clone_group, "mysql-clone-group", cluster02, pe_find_current)); pe_find_current 541 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_clone_group, native_find_rsc(mysql_clone_group, "mysql-clone-group", cluster01, pe_find_clone|pe_find_current)); pe_find_current 542 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_clone_group, native_find_rsc(mysql_clone_group, "mysql-clone-group", cluster02, pe_find_clone|pe_find_current)); pe_find_current 566 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_group_0, "mysql-group:0", NULL, pe_find_current)); pe_find_current 568 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_group_1, "mysql-group:1", NULL, pe_find_current)); pe_find_current 575 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_group_0, "mysql-group:0", cluster02, pe_find_current)); pe_find_current 576 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_0, "mysql-group:0", cluster01, pe_find_current)); pe_find_current 577 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_group_1, "mysql-group:1", cluster01, pe_find_current)); pe_find_current 578 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_1, "mysql-group:1", cluster02, pe_find_current)); pe_find_current 592 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_group_0, "mysql-group", cluster02, pe_find_any|pe_find_current)); pe_find_current 593 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_group_0, "mysql-group", cluster02, pe_find_anon|pe_find_current)); pe_find_current 594 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_0, "mysql-group", cluster01, pe_find_any|pe_find_current)); pe_find_current 595 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_0, "mysql-group", cluster01, pe_find_anon|pe_find_current)); pe_find_current 596 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_group_1, "mysql-group", cluster01, pe_find_any|pe_find_current)); pe_find_current 597 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_group_1, "mysql-group", cluster01, pe_find_anon|pe_find_current)); pe_find_current 598 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_1, "mysql-group", cluster02, pe_find_any|pe_find_current)); pe_find_current 599 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_1, "mysql-group", cluster02, pe_find_anon|pe_find_current)); pe_find_current 602 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_0, "mysql-group", NULL, pe_find_current)); pe_find_current 603 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_group_1, "mysql-group", NULL, pe_find_current)); pe_find_current 614 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_clone_group, "mysql-group:0", cluster02, pe_find_current)); pe_find_current 615 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_clone_group, "mysql-group", cluster02, pe_find_any|pe_find_current)); pe_find_current 616 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_0, native_find_rsc(mysql_clone_group, "mysql-group", cluster02, pe_find_anon|pe_find_current)); pe_find_current 617 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_clone_group, "mysql-group:1", cluster01, pe_find_current)); pe_find_current 618 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_clone_group, "mysql-group", cluster01, pe_find_any|pe_find_current)); pe_find_current 619 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_group_1, native_find_rsc(mysql_clone_group, "mysql-group", cluster01, pe_find_anon|pe_find_current)); pe_find_current 648 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_proxy, native_find_rsc(mysql_proxy, "mysql-proxy:0", NULL, pe_find_current)); pe_find_current 652 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_proxy, native_find_rsc(mysql_proxy, "mysql-proxy:0", cluster02, pe_find_clone|pe_find_current)); pe_find_current 655 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(mysql_proxy, "mysql-proxy:0", cluster01, pe_find_current)); pe_find_current 661 lib/pengine/tests/native/native_find_rsc_test.c assert_ptr_equal(mysql_proxy, native_find_rsc(mysql_proxy, "mysql-proxy:0", cluster02, pe_find_current)); pe_find_current 1314 tools/crm_resource_runtime.c rsc = parent->fns->find_rsc(parent, lookup_id, node, pe_find_any|pe_find_current);