Lines Matching refs:secondary_name
228 free(desc->secondary_name);
327 cache_get_desc(int type, void *gp, char *name, char *secondary_name, int *errp)
332 if ((dp = have_desc(type, gp, name, secondary_name)) == NULL) {
334 if ((dp = new_descriptor(type, gp, name, secondary_name))
421 cache_load_desc(int type, void *gp, char *name, char *secondary_name, int *errp)
424 if (have_desc(type, gp, name, secondary_name) == NULL) {
426 if (new_descriptor(type, gp, name, secondary_name) == NULL) {
603 have_desc(int type, void *gp, char *name, char *secondary_name)
611 if (secondary_name != NULL && secondary_name[0] == 0) {
612 secondary_name = NULL;
621 if (libdiskmgt_str_eq(descp->secondary_name,
622 secondary_name)) {
774 new_descriptor(dm_desc_type_t type, void *op, char *name, char *secondary_name)
782 if (secondary_name != NULL && secondary_name[0] == 0) {
783 secondary_name = NULL;
813 if (secondary_name != NULL) {
814 d->secondary_name = strdup(secondary_name);
815 if (d->secondary_name == NULL) {
821 d->secondary_name = NULL;
824 d->secondary_name = NULL;