Searched refs:devstr (Results 1 – 6 of 6) sorted by relevance
/freebsd/tests/sys/cddl/zfs/tests/devices/ |
H A D | devices_common.kshlib | 50 devstr=$(get_disklist $rootpool) 51 devstr=$($ECHO "$devstr" | \ 53 [[ -z $devstr ]] && \ 55 devstr=/dev/${devstr} 62 devstr=$($DF -lht ufs | \ 65 devstr=$($ECHO "$devstr" | \ 67 [[ -z $devstr ]] && \ 81 devstr=$($FILE $devstr) 86 major=${devstr##*\(} 88 minor=${devstr##*/}
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/devices/ |
H A D | devices_common.kshlib | 45 typeset devstr=$3 56 major=$(stat --dereference --format="%t" "$devstr") 57 minor=$(stat --dereference --format="%T" "$devstr") 65 devstr=$(file $devstr) 66 major=${devstr##*\(} 68 minor=${devstr##*/}
|
/freebsd/stand/uboot/ |
H A D | main.c | 139 get_device_type(const char *devstr, int *devtype) in get_device_type() argument 145 if (devstr) { in get_device_type() 149 if (strncmp(dt->name, devstr, namelen) == 0) { in get_device_type() 151 return (devstr + namelen); in get_device_type() 154 printf("Unknown device type '%s'\n", devstr); in get_device_type() 208 char *devstr; in get_load_device() local 217 devstr = ub_env_get("loaderdev"); in get_load_device() 218 if (devstr == NULL) { in get_load_device() 222 printf("U-Boot env: loaderdev='%s'\n", devstr); in get_load_device() 224 p = get_device_type(devstr, type); in get_load_device()
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | dev.c | 413 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/usr.sbin/mixer/ |
H A D | mixer.c | 61 char *p, *q, *devstr, *ctlstr, *valstr = NULL; in main() local 168 devstr = strsep(&p, ".="); in main() 169 if ((m->dev = mixer_get_dev_byname(m, devstr)) == NULL) { in main() 170 warnx("%s: no such device", devstr); in main() 192 warnx("%s.%s: no such control", devstr, ctlstr); in main()
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdaa.c | 1616 const char *devstr; in hdaa_widget_postprocess() local 1620 devstr = HDA_DEVS[(config & HDA_CONFIG_DEFAULTCONF_DEVICE_MASK) >> in hdaa_widget_postprocess() 1627 strlcat(w->name, devstr, sizeof(w->name)); in hdaa_widget_postprocess()
|