/freebsd/sys/kern/ |
H A D | subr_hints.c | 123 const char *name, int *unit, const char *resname, const char *value, in res_find() argument 252 if (resname && strcmp(resname, r_resname) != 0) in res_find() 308 const char *name, int *unit, const char *resname, const char *value, in resource_find() argument 320 i = res_find(&hintp, line, startln, name, unit, resname, value, in resource_find() 329 i = res_find(&hintp, line, startln, name, &un, resname, value, in resource_find() 338 resource_int_value(const char *name, int unit, const char *resname, int *result) in resource_int_value() argument 347 error = resource_find(&line, NULL, name, &unit, resname, NULL, in resource_int_value() 361 resource_long_value(const char *name, int unit, const char *resname, in resource_long_value() argument 371 error = resource_find(&line, NULL, name, &unit, resname, NULL, in resource_long_value() 385 resource_string_value(const char *name, int unit, const char *resname, in resource_string_value() argument [all …]
|
/freebsd/sys/dev/iicbus/adc/ |
H A D | ads111x.c | 457 char resname[16]; in ads111x_add_channels() local 461 snprintf(resname, sizeof(resname), "%d.gain_index", chan); in ads111x_add_channels() 462 if (resource_int_value(name, unit, resname, &gainidx) == 0) in ads111x_add_channels() 464 snprintf(resname, sizeof(resname), "%d.rate_index", chan); in ads111x_add_channels() 465 if (resource_int_value(name, unit, resname, &rateidx) == 0) in ads111x_add_channels()
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | test_helpers.c | 123 const char *resname) in run_h_tc() argument 133 struct run_h_tc_data data = { tc, resname }; in run_h_tc()
|
/freebsd/contrib/atf/atf-c++/ |
H A D | check_test.cpp | 302 const char* resname) in check_lines() argument 310 resname); in check_lines() 313 resname); in check_lines()
|
/freebsd/contrib/atf/atf-c/ |
H A D | check_test.c | 437 #define CHECK_LINES(path, outname, resname) \ in ATF_TC_BODY() argument 441 check_line(fd, "Line 1 to " outname " for " resname); \ in ATF_TC_BODY() 442 check_line(fd, "Line 2 to " outname " for " resname); \ in ATF_TC_BODY()
|
/freebsd/sbin/hastd/ |
H A D | hastd.c | 747 const char *resname; in listen_accept() local 793 resname = nv_get_string(nvin, "resource"); in listen_accept() 794 if (resname == NULL) { in listen_accept() 799 pjdlog_debug(2, "%s: resource=%s", raddr, resname); in listen_accept() 825 if (strcmp(resname, res->hr_name) == 0) in listen_accept() 831 resname, raddr); in listen_accept()
|
/freebsd/sys/sys/ |
H A D | bus.h | 733 int resource_int_value(const char *name, int unit, const char *resname, 735 int resource_long_value(const char *name, int unit, const char *resname, 737 int resource_string_value(const char *name, int unit, const char *resname, 741 const char *resname, const char *value); 743 const char *resname, const char *value); 744 int resource_unset_value(const char *name, int unit, const char *resname);
|
/freebsd/sys/dev/etherswitch/e6000sw/ |
H A D | e6000sw.c | 396 char *resname; in e6000sw_check_hint_val() local 403 resname = malloc(len, M_E6000SW, M_WAITOK); in e6000sw_check_hint_val() 404 memset(resname, 0, len); in e6000sw_check_hint_val() 406 vsnprintf(resname, len - 1, fmt, ap); in e6000sw_check_hint_val() 409 resname, val); in e6000sw_check_hint_val() 410 free(resname, M_E6000SW); in e6000sw_check_hint_val()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_ioctl.c | 1203 char *resname = NULL; in ocs_debug_attach() local 1207 resname = "debug_mask"; in ocs_debug_attach() 1209 resname, &ocs_debug_mask))) { in ocs_debug_attach() 1210 device_printf(ocs->dev, "setting %s to %010x\n", resname, ocs_debug_mask); in ocs_debug_attach()
|