tp               1233 fencing/commands.c count_active_levels(stonith_topology_t * tp)
tp               1239 fencing/commands.c         if (tp->levels[lpc] != NULL) {
tp               1249 fencing/commands.c     stonith_topology_t *tp = data;
tp               1254 fencing/commands.c         if (tp->levels[lpc] != NULL) {
tp               1255 fencing/commands.c             g_list_free_full(tp->levels[lpc], free);
tp               1258 fencing/commands.c     free(tp->target);
tp               1259 fencing/commands.c     free(tp->target_value);
tp               1260 fencing/commands.c     free(tp->target_pattern);
tp               1261 fencing/commands.c     free(tp->target_attribute);
tp               1262 fencing/commands.c     free(tp);
tp               1366 fencing/commands.c     stonith_topology_t *tp;
tp               1398 fencing/commands.c     tp = g_hash_table_lookup(topology, target);
tp               1399 fencing/commands.c     if (tp == NULL) {
tp               1400 fencing/commands.c         tp = calloc(1, sizeof(stonith_topology_t));
tp               1401 fencing/commands.c         tp->kind = mode;
tp               1402 fencing/commands.c         tp->target = target;
tp               1403 fencing/commands.c         tp->target_value = crm_element_value_copy(level, XML_ATTR_STONITH_TARGET_VALUE);
tp               1404 fencing/commands.c         tp->target_pattern = crm_element_value_copy(level, XML_ATTR_STONITH_TARGET_PATTERN);
tp               1405 fencing/commands.c         tp->target_attribute = crm_element_value_copy(level, XML_ATTR_STONITH_TARGET_ATTRIBUTE);
tp               1407 fencing/commands.c         g_hash_table_replace(topology, tp->target, tp);
tp               1414 fencing/commands.c     if (tp->levels[id] != NULL) {
tp               1416 fencing/commands.c                  tp->target, id);
tp               1423 fencing/commands.c         crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id);
tp               1424 fencing/commands.c         tp->levels[id] = g_list_append(tp->levels[id], strdup(device));
tp               1429 fencing/commands.c              tp->target, count_active_levels(tp));
tp               1437 fencing/commands.c     stonith_topology_t *tp;
tp               1457 fencing/commands.c     tp = g_hash_table_lookup(topology, target);
tp               1458 fencing/commands.c     if (tp == NULL) {
tp               1466 fencing/commands.c     } else if (id > 0 && tp->levels[id] != NULL) {
tp               1467 fencing/commands.c         g_list_free_full(tp->levels[id], free);
tp               1468 fencing/commands.c         tp->levels[id] = NULL;
tp               1471 fencing/commands.c                  id, target, count_active_levels(tp));
tp                624 fencing/remote.c topology_is_empty(stonith_topology_t *tp)
tp                628 fencing/remote.c     if (tp == NULL) {
tp                633 fencing/remote.c         if (tp->levels[i] != NULL) {
tp                702 fencing/remote.c topology_matches(const stonith_topology_t *tp, const char *node)
tp                706 fencing/remote.c     CRM_CHECK(node && tp && tp->target, return FALSE);
tp                707 fencing/remote.c     switch(tp->kind) {
tp                715 fencing/remote.c             if (node_has_attr(node, tp->target_attribute, tp->target_value)) {
tp                716 fencing/remote.c                 crm_notice("Matched %s with %s by attribute", node, tp->target);
tp                725 fencing/remote.c             if (regcomp(&r_patt, tp->target_pattern, REG_EXTENDED|REG_NOSUB)) {
tp                726 fencing/remote.c                 crm_info("Bad regex '%s' for fencing level", tp->target);
tp                732 fencing/remote.c                     crm_notice("Matched %s with %s by name", node, tp->target);
tp                738 fencing/remote.c             crm_trace("Testing %s against %s", node, tp->target);
tp                739 fencing/remote.c             return safe_str_eq(tp->target, node);
tp                741 fencing/remote.c     crm_trace("No match for %s with %s", node, tp->target);
tp                749 fencing/remote.c     stonith_topology_t *tp = g_hash_table_lookup(topology, host);
tp                751 fencing/remote.c     if(tp != NULL) {
tp                752 fencing/remote.c         crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology));
tp                753 fencing/remote.c         return tp;
tp                757 fencing/remote.c     while (g_hash_table_iter_next(&tIter, NULL, (gpointer *) & tp)) {
tp                758 fencing/remote.c         if (topology_matches(tp, host)) {
tp                759 fencing/remote.c             crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology));
tp                760 fencing/remote.c             return tp;
tp                780 fencing/remote.c     stonith_topology_t *tp = NULL;
tp                784 fencing/remote.c         tp = find_topology_for_host(op->target);
tp                786 fencing/remote.c     if (topology_is_empty(tp)) {
tp                798 fencing/remote.c     } while (op->level < ST_LEVEL_MAX && tp->levels[op->level] == NULL);
tp                802 fencing/remote.c                   op->level, op->target, g_list_length(tp->levels[op->level]),
tp                804 fencing/remote.c         set_op_device_list(op, tp->levels[op->level]);
tp               1291 fencing/remote.c     stonith_topology_t *tp = find_topology_for_host(op->target);
tp               1293 fencing/remote.c     if (is_set(op->call_options, st_opt_topology) && tp) {
tp               1306 fencing/remote.c             if (!tp->levels[i]) {
tp               1309 fencing/remote.c             for (device_list = tp->levels[i]; device_list; device_list = device_list->next) {
tp               1616 fencing/remote.c     stonith_topology_t *tp = NULL;
tp               1620 fencing/remote.c     tp = find_topology_for_host(op->target);
tp               1621 fencing/remote.c     if (!tp) {
tp               1631 fencing/remote.c         for (device = tp->levels[i]; device; device = device->next) {
tp                 38 libltdl/libltdl/lt__alloc.h #define MALLOC(tp, n)		(tp*) lt__malloc((n) * sizeof(tp))
tp                 39 libltdl/libltdl/lt__alloc.h #define REALLOC(tp, mem, n)	(tp*) lt__realloc((mem), (n) * sizeof(tp))