Home
last modified time | relevance | path

Searched refs:dev2 (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_netdevice.c11 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 Dissubdir.c53 #define deveq(dev1, dev2) ((dev1) == (dev2)) argument
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c1447 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 Ddevfsinfo.c1948 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 Ddevfsmap.c989 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 Dcfga_scsi.h441 int dev_cmp(const char *dev1, const char *dev2, int match_minor);
H A Dcfga_utils.c1202 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 Dcfga_fp.h528 int dev_cmp(const char *dev1, const char *dev2, int match_minor);
H A Dcfga_utils.c1065 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 Dmap.c5408 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()