Lines Matching refs:pe
1169 get_default_elem(const pool_elem_t *pe) in get_default_elem() argument
1181 if (set_char_buf(cb, "%s.default", pool_elem_class_string(pe)) != in get_default_elem()
1193 if ((rs = pool_exec_query(TO_CONF(pe), NULL, NULL, in get_default_elem()
1194 PEC_QRY_ELEM(pe), props)) == NULL) { in get_default_elem()
1260 pool_elem_class_string(const pool_elem_t *pe) in pool_elem_class_string() argument
1262 switch (pool_elem_class(pe)) { in pool_elem_class_string()
1265 return (pool_elem_class_name[pool_elem_class(pe)]); in pool_elem_class_string()
1269 [pool_resource_elem_class(pe)]); in pool_elem_class_string()
1272 [pool_component_elem_class(pe)]); in pool_elem_class_string()
1434 pool_elem_system(const pool_elem_t *pe) in pool_elem_system() argument
1436 if (pe->pe_class != PEC_SYSTEM) { in pool_elem_system()
1440 return ((pool_system_t *)pe); in pool_elem_system()
1444 pool_elem_pool(const pool_elem_t *pe) in pool_elem_pool() argument
1446 if (pe->pe_class != PEC_POOL) { in pool_elem_pool()
1450 return ((pool_t *)pe); in pool_elem_pool()
1454 pool_elem_res(const pool_elem_t *pe) in pool_elem_res() argument
1456 if (pe->pe_class != PEC_RES_COMP && in pool_elem_res()
1457 pool_elem_class(pe) != PEC_RES_AGG) { in pool_elem_res()
1461 return ((pool_resource_t *)pe); in pool_elem_res()
1465 pool_elem_comp(const pool_elem_t *pe) in pool_elem_comp() argument
1467 if (pe->pe_class != PEC_COMP) { in pool_elem_comp()
1471 return ((pool_component_t *)pe); in pool_elem_comp()
1647 pool_get_pair(const pool_elem_t *pe) in pool_get_pair() argument
1649 return (pe->pe_pair); in pool_get_pair()
2031 pool_elem_dprintf(const pool_elem_t *pe) in pool_elem_dprintf() argument
2033 if (pool_elem_class(pe) != PEC_COMP) { in pool_elem_dprintf()
2034 const char *name = elem_get_name(pe); in pool_elem_dprintf()
2036 pool_elem_class_string(pe), name); in pool_elem_dprintf()
2039 id_t sys_id = elem_get_sysid(pe); in pool_elem_dprintf()
2041 pool_elem_class_string(pe), sys_id); in pool_elem_dprintf()