/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_netdevice.c | 11 struct net_device *dev2 = &dev; in func() local 12 struct net_device **dev3 = &dev2; in func() 17 kfree(dev2); in func()
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | issubdir.c | 53 #define deveq(dev1, dev2) ((dev1) == (dev2)) argument
|
/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 1447 char dev1[MAXPATHLEN], dev2[MAXPATHLEN]; in compareLUName() local 1455 (void) strlcpy(dev2, osName, MAXPATHLEN); in compareLUName() 1458 ((ch2 = strrchr(dev2, ',')) != NULL)) { in compareLUName() 1460 if (strcmp(dev1, dev2) == 0) { in compareLUName() 1465 (strncmp(dev2, "/dev/", 5) == 0)) { in compareLUName() 1467 ((strstr(dev2, "dsk") != NULL))) { in compareLUName() 1470 ((ch2 = strrchr(dev2, 's')) != NULL)) { in compareLUName() 1472 if (strcmp(dev1, dev2) == 0) { in compareLUName() 1478 if (strcmp(dev1, dev2) == 0) { in compareLUName()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 1948 char *dev1, *dev2; in prom_compare_devs() local 1975 dev2 = ptr2 + 1; in prom_compare_devs() 1978 if ((ptr2 = strchr(dev2, '/')) != NULL) in prom_compare_devs() 1982 (void) strcpy(component2, dev2); in prom_compare_devs() 2065 if ((dev2 = strrchr(devname2, ':')) != NULL) { in prom_compare_devs() 2066 *dev2 = '\0'; in prom_compare_devs()
|
H A D | devfsmap.c | 989 compare_controller(char *rootdir, char *dev1, char *dev2) in compare_controller() argument 997 rootdir, dev1, dev2)); in compare_controller() 1021 if ((p = strrchr(dev2, '/')) == NULL) in compare_controller() 1026 p1, dev2)); in compare_controller() 1027 if (strcmp(p1, dev2) == 0) { in compare_controller()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.h | 441 int dev_cmp(const char *dev1, const char *dev2, int match_minor);
|
H A D | cfga_utils.c | 1202 dev_cmp(const char *dev1, const char *dev2, int match_minor) in dev_cmp() argument 1209 (void) snprintf(l_dev2, sizeof (l_dev2), "%s", dev2); in dev_cmp()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.h | 528 int dev_cmp(const char *dev1, const char *dev2, int match_minor);
|
H A D | cfga_utils.c | 1065 dev_cmp(const char *dev1, const char *dev2, int match_minor) in dev_cmp() argument 1072 (void) snprintf(l_dev2, sizeof (l_dev2), "%s", dev2); in dev_cmp()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 5408 static int lilp_map_cmp(const void* dev1, const void* dev2) { in lilp_map_cmp() argument 5410 int i_dev2 = ((fc_port_dev_t *)dev2)->dev_did.priv_lilp_posit; in lilp_map_cmp()
|