Searched refs:devnames (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/proto/ |
H A D | proto_core.c | 121 char **devnames = *devnamesp; in proto_probe() local 126 if (devnames == NULL) { in proto_probe() 142 devnames = malloc(names * sizeof(caddr_t), M_DEVBUF, in proto_probe() 144 *devnamesp = devnames; in proto_probe() 154 devnames[idx] = malloc(ep - dn + 1, in proto_probe() 156 memcpy(devnames[idx], dn, ep - dn); in proto_probe() 166 while (*devnames != NULL) { in proto_probe() 167 if (strcmp(dn, *devnames) == 0) in proto_probe() 169 devnames++; in proto_probe()
|
/freebsd/usr.sbin/sesutil/ |
H A D | sesutil.c | 159 disk_match(const char *devnames, const char *disk, size_t len) in disk_match() argument 163 dname = devnames; in disk_match() 278 char devnames[devnames_size]; in sesled() local 296 memset(devnames, 0, devnames_size); in sesled() 299 objdn.elm_devnames = devnames; in sesled() 554 skip_pass_devices(char *devnames, size_t devnameslen) in skip_pass_devices() argument 559 tmp = devnames; in skip_pass_devices() 572 strlcpy(devnames, devs, devnameslen); in skip_pass_devices() 573 if (devnames[0] == '\0') in skip_pass_devices() 574 strlcpy(devnames, passes, devnameslen); in skip_pass_devices() [all …]
|
/freebsd/sys/dev/firewire/ |
H A D | fwdev.c | 910 char *devnames[NDEVTYPE] = {"fw", "fwmem"}; in fwdev_clone() local 919 if (dev_stdclone(name, &subp, devnames[i], &unit) == 2) in fwdev_clone() 941 0660, "%s%d.%d", devnames[i], unit, sub); in fwdev_clone()
|
/freebsd/sys/dev/cxgbe/ |
H A D | adapter.h | 866 struct devnames { struct 890 const struct devnames *names; argument
|
H A D | t4_main.c | 1072 static const struct devnames devnames[] = { variable 1103 if (id >= CHELSIO_T4 && id - CHELSIO_T4 < nitems(devnames)) in t4_init_devnames() 1104 sc->names = &devnames[id - CHELSIO_T4]; in t4_init_devnames()
|