Searched refs:nm2 (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddisks_private.h254 int libdiskmgt_str_eq(char *nm1, char *nm2);
H A Dentry.c1164 libdiskmgt_str_eq(char *nm1, char *nm2) argument
1171 if (nm2 == NULL) {
1180 if (nm2 == NULL) {
1182 (void) fprintf(stderr, "WARNING: str_eq nm2 NULL\n");
1187 if (strcmp(nm1, nm2) == 0) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c928 const char *nm2 = ((rdsk_node_t *)arg2)->rn_name; local
937 nm2slice = strstr(nm2, "s0");
945 nm2slice = strstr(nm2, "s2");
953 rv = strcmp(nm1, nm2);
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c844 char *nm2 = NULL; local
849 (void) nvlist_lookup_string(hcp2[i], FM_FMRI_HC_NAME, &nm2);
852 if (nm1 == NULL || nm2 == NULL || id1 == NULL || id2 == NULL)
855 if (strcmp(nm1, nm2) == 0 &&
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c402 char *nm2 = NULL; local
407 (void) nvlist_lookup_string(hcp2[i], FM_FMRI_HC_NAME, &nm2);
410 if (nm1 == NULL || nm2 == NULL || id1 == NULL || id2 == NULL)
413 if (strcmp(nm1, nm2) == 0 && strcmp(id1, id2) == 0)

Completed in 79 milliseconds