Lines Matching full:dn
122 const char *dn, *ep, *ev; in proto_probe() local
131 dn = ev; in proto_probe()
132 while (*dn != '\0') { in proto_probe()
133 ep = dn; in proto_probe()
136 if ((ep - dn) > pfxlen && in proto_probe()
137 strncmp(dn, prefix, pfxlen) == 0) in proto_probe()
139 dn = (*ep == ',') ? ep + 1 : ep; in proto_probe()
146 dn = ev; in proto_probe()
148 while (*dn != '\0') { in proto_probe()
149 ep = dn; in proto_probe()
152 if ((ep - dn) > pfxlen && in proto_probe()
153 strncmp(dn, prefix, pfxlen) == 0) { in proto_probe()
154 devnames[idx] = malloc(ep - dn + 1, in proto_probe()
156 memcpy(devnames[idx], dn, ep - dn); in proto_probe()
159 dn = (*ep == ',') ? ep + 1 : ep; in proto_probe()
165 dn = device_get_desc(dev); in proto_probe()
167 if (strcmp(dn, *devnames) == 0) in proto_probe()