Home
last modified time | relevance | path

Searched refs:nwh_name (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c61 (void) strlcpy((*hpp)->nwh_name, name, strlen(name) + 1); in nwam_handle_create()
90 type == NWAM_OBJECT_TYPE_NCP ? NULL : (*hpp)->nwh_name, flags, in nwam_read()
105 (void) strlcpy((*hpp)->nwh_name, ncpname, in nwam_read()
106 sizeof ((*hpp)->nwh_name)); in nwam_read()
141 if ((*namep = strdup(hp->nwh_name)) == NULL) { in nwam_get_name()
156 if (strlen(name) >= sizeof (hp->nwh_name)) in nwam_set_name()
159 (void) strcpy(hp->nwh_name, name); in nwam_set_name()
392 switch (nwam_read(hp->nwh_object_type, (char *)dbname, hp->nwh_name, 0, in nwam_commit()
408 hp->nwh_object_type == NWAM_OBJECT_TYPE_NCP ? NULL : hp->nwh_name, in nwam_commit()
424 hp->nwh_name, ncpname, action); in nwam_commit()
[all …]
H A Dlibnwam_ncp.c305 if ((err = nwam_ncp_name_to_file(newncph->nwh_name, &newfilename)) in nwam_ncp_copy_callback()
310 if ((err = nwam_handle_create(NWAM_OBJECT_TYPE_NCU, oldncuh->nwh_name, in nwam_ncp_copy_callback()
319 if ((err = nwam_value_create_string(newncph->nwh_name, &newparentval)) in nwam_ncp_copy_callback()
617 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &filename)) in nwam_ncp_destroy()
702 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &ncpfile)) in nwam_ncp_walk_ncus()
805 (err = nwam_value_create_string(ncph->nwh_name, &parentval)) in nwam_ncu_create()
882 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &ncpfile)) in nwam_ncu_read()
940 return (nwam_ncu_internal_name_to_name(ncuh->nwh_name, &type, namep)); in nwam_ncu_get_name()
1684 return (nwam_get_state(ncph->nwh_name, ncph, statep, auxp)); in nwam_ncp_get_state()
1709 err = nwam_request_state(NWAM_OBJECT_TYPE_NCU, ncuh->nwh_name, ncpname, in nwam_ncu_get_state()
H A Dlibnwam_impl.h86 char nwh_name[NWAM_MAX_NAME_LEN]; member
H A Dlibnwam_loc.c462 if (strcmp(loch->nwh_name, NWAM_LOC_NAME_LEGACY) == 0) { in nwam_loc_destroy()
586 if (NWAM_LOC_NAME_PRE_DEFINED(loch->nwh_name)) { in nwam_loc_validate_activation_mode()