Home
last modified time | relevance | path

Searched refs:devstr (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/tests/sys/cddl/zfs/tests/devices/
H A Ddevices_common.kshlib55 devstr=$(get_disklist $rootpool)
56 devstr=$($ECHO "$devstr" | \
58 [[ -z $devstr ]] && \
60 devstr=/dev/${devstr}
67 devstr=$($DF -lht ufs | \
70 devstr=$($ECHO "$devstr" | \
72 [[ -z $devstr ]] && \
86 devstr=$($FILE $devstr)
91 major=${devstr##*\(}
93 minor=${devstr##*/}
/freebsd-12.1/stand/uboot/common/
H A Dmain.c141 get_device_type(const char *devstr, int *devtype) in get_device_type() argument
147 if (devstr) { in get_device_type()
151 if (strncmp(dt->name, devstr, namelen) == 0) { in get_device_type()
153 return (devstr + namelen); in get_device_type()
156 printf("Unknown device type '%s'\n", devstr); in get_device_type()
210 char *devstr; in get_load_device() local
219 devstr = ub_env_get("loaderdev"); in get_load_device()
220 if (devstr == NULL) { in get_load_device()
224 printf("U-Boot env: loaderdev='%s'\n", devstr); in get_load_device()
226 p = get_device_type(devstr, type); in get_load_device()
/freebsd-12.1/sys/mips/atheros/
H A Dar71xx_machdep.c212 char devstr[32]; in ar71xx_platform_set_mac_hint() local
221 snprintf(devstr, 32, "hint.%s.%d.macaddr", dev, unit); in ar71xx_platform_set_mac_hint()
223 printf(" %s => %s\n", devstr, macstr); in ar71xx_platform_set_mac_hint()
226 if (kern_setenv(devstr, macstr) != 0) { in ar71xx_platform_set_mac_hint()
229 devstr, in ar71xx_platform_set_mac_hint()
/freebsd-12.1/contrib/ofed/libcxgb4/
H A Ddev.c413 char devstr[IBV_SYSFS_PATH_MAX], ibdev[16], value[128], *cp; in cxgb4_driver_init() local
485 memset(devstr, 0, sizeof devstr); in cxgb4_driver_init()
486 snprintf(devstr, sizeof devstr, "%s/class/infiniband/%s", in cxgb4_driver_init()
488 if (ibv_read_sysfs_file(devstr, "fw_ver", value, sizeof value) < 0) in cxgb4_driver_init()
/freebsd-12.1/usr.sbin/ndiscvt/
H A Dinf.c183 char *manstr, *devstr; in dump_pcmcia_id() local
214 devstr = p0; in dump_pcmcia_id()
224 fprintf(ofp, "\t\\\n\t{ \"%s\", \"%s\", ", manstr, devstr); in dump_pcmcia_id()
/freebsd-12.1/sys/dev/sound/pci/hda/
H A Dhdaa.c1618 const char *devstr; in hdaa_widget_postprocess() local
1622 devstr = HDA_DEVS[(config & HDA_CONFIG_DEFAULTCONF_DEVICE_MASK) >> in hdaa_widget_postprocess()
1629 strlcat(w->name, devstr, sizeof(w->name)); in hdaa_widget_postprocess()