Lines Matching refs:p_aps
698 aps_add(topo_mod_t *mod, char ***p_aps, int *p_n, const char *new)
703 if ((p_aps == NULL) || (p_n == NULL))
708 if (n && *p_aps) {
709 bcopy(*p_aps, aps, n * sizeof (new));
710 topo_mod_free(mod, *p_aps, n * sizeof (new));
713 *p_aps = aps;
719 aps_findadd(topo_mod_t *mod, char ***p_aps, int *p_n, const char *new,
725 if ((p_aps == NULL) || (p_n == NULL))
728 if ((*cmp)((*p_aps)[i], new) == cmp_match)
730 return (aps_add(mod, p_aps, p_n, new));