Home
last modified time | relevance | path

Searched refs:tunable (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c160 list_tunables_cb(const zfs_tunable_t *tunable, void *arg) in list_tunables_cb() argument
173 int err = zfs_tunable_get(tunable, val, sizeof (val)); in list_tunables_cb()
175 printf("%s: %s\n", tunable->zt_name, val); in list_tunables_cb()
178 tunable->zt_name, strerror(err)); in list_tunables_cb()
180 printf("%s [%s %s]: %s\n", tunable->zt_name, in list_tunables_cb()
181 type[tunable->zt_type], perm[tunable->zt_perm], in list_tunables_cb()
182 tunable->zt_desc); in list_tunables_cb()
217 const zfs_tunable_t *tunable = zfs_tunable_lookup(k); in handle_tunable_option() local
218 if (tunable == NULL) { in handle_tunable_option()
224 if (zfs_tunable_get(tunable, vold, sizeof (vold)) != 0) in handle_tunable_option()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_cmdline.c35 char tunable[64]; in video_get_options() local
51 snprintf(tunable, sizeof(tunable), "kern.vt.fb.modes.%s", in video_get_options()
55 printf("[drm] - %s\n", tunable); in video_get_options()
58 options = kern_getenv(tunable); in video_get_options()
/freebsd/sys/dev/isci/
H A Disci_controller.c302 unsigned long tunable; in isci_controller_initialize() local
320 if (TUNABLE_ULONG_FETCH("hw.isci.no_outbound_task_timeout", &tunable)) in isci_controller_initialize()
322 (uint8_t)tunable; in isci_controller_initialize()
324 if (TUNABLE_ULONG_FETCH("hw.isci.ssp_max_occupancy_timeout", &tunable)) in isci_controller_initialize()
326 (uint16_t)tunable; in isci_controller_initialize()
328 if (TUNABLE_ULONG_FETCH("hw.isci.stp_max_occupancy_timeout", &tunable)) in isci_controller_initialize()
330 (uint16_t)tunable; in isci_controller_initialize()
332 if (TUNABLE_ULONG_FETCH("hw.isci.ssp_inactivity_timeout", &tunable)) in isci_controller_initialize()
334 (uint16_t)tunable; in isci_controller_initialize()
336 if (TUNABLE_ULONG_FETCH("hw.isci.stp_inactivity_timeout", &tunable)) in isci_controller_initialize()
[all …]
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dtunables.h43 _SYS_TUNABLES_H int zfs_tunable_set(const zfs_tunable_t *tunable,
45 _SYS_TUNABLES_H int zfs_tunable_get(const zfs_tunable_t *tunable, char *val,
50 typedef int (*zfs_tunable_iter_t)(const zfs_tunable_t *tunable, void *arg);
/freebsd/sys/arm64/arm64/
H A Dcpu_feat.c43 char tunable[32]; in enable_cpu_feat() local
59 snprintf(tunable, sizeof(tunable), "hw.feat.%s", in enable_cpu_feat()
61 if (TUNABLE_BOOL_FETCH(tunable, &val)) { in enable_cpu_feat()
/freebsd/sys/dev/vt/colors/
H A Dvt_termcolors.c136 char tunable[32]; in vt_palette_init() local
140 snprintf(tunable, sizeof(tunable), in vt_palette_init()
142 if (TUNABLE_STR_FETCH(tunable, rgb, sizeof(rgb))) { in vt_palette_init()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dtunables.cfg1 # This file exports variables for each tunable used in the test suite.
4 # the tests with conditional logic for deciding how to set each tunable, the
13 # tunable is not implemented.
17 # NAME FreeBSD tunable Linux tunable
H A Dlibtest.shlib3222 # The raidz expansion tests pause a reflow by setting the tunable
3505 # Set a global system tunable (64-bit value)
3507 # $1 tunable name (use a NAME defined in tunables.cfg)
3508 # $2 tunable values
3516 # Set a global system tunable (32-bit value)
3518 # $1 tunable name (use a NAME defined in tunables.cfg)
3519 # $2 tunable values
3532 eval "typeset tunable=\$$name"
3533 case "$tunable" in
3550 echo "$value" >"$zfs_tunables/$tunable"
[all …]
/freebsd/tests/sys/netinet/
H A Dfib_bind.py18 def _common(tunable, addr, domain, type, proto): argument
/freebsd/sys/dev/hid/
H A Dhidmap.c745 char tunable[40]; in hidmap_attach() local
752 snprintf(tunable, sizeof(tunable), "hw.hid.%s.debug", in hidmap_attach()
754 TUNABLE_INT_FETCH(tunable, &hm->debug_level); in hidmap_attach()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/perf/
H A Dperf.shlib487 for tunable in \
501 if [ "$tunable" != "zfs_arc_max" ]
505 printf " \"$tunable\": \"$(<$zfs_tunables/$tunable)\"" \
/freebsd/sys/dev/drm2/
H A Ddrm_fb_helper.c111 char tunable[64]; in fb_get_options() local
126 snprintf(tunable, sizeof(tunable), "kern.vt.fb.modes.%s", in fb_get_options()
129 DRM_INFO(" - %s\n", tunable); in fb_get_options()
131 *option = kern_getenv(tunable); in fb_get_options()
/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dlock15 # suppressed (default 1 ms; tunable via DWATCH_LOCK_MS in the environment,
H A Dslow11 # (default 100 ms; tunable via DWATCH_SLOW_MS in the environment). Answers
H A Ddtmalloc13 # frees meeting a size threshold (default 65536 bytes; tunable via
H A Dsched13 # wait that meets a threshold (default 10 ms; tunable via
H A Dio13 # a threshold (default 100 ms; tunable via DWATCH_IO_MS in the
H A Dhang13 # (default 1000 ms; tunable via DWATCH_HANG_MS in the environment, 0 to
/freebsd/tests/sys/netpfil/common/
H A Dutils.subr91 atf_skip "ipfw tests require net.inet.ip.fw.default_to_accept=1 tunable"
/freebsd/sys/kern/
H A Dlinker_if.m183 # Propagate system tunable values to all vnets.
/freebsd/stand/common/
H A Dhelp.common299 # Tset Stunables DSet kernel tunable values
301 Various kernel tunable parameters can be overridden by specifying new
/freebsd/
H A DRELNOTES100 setting the kern.sched_name tunable to the scheduler name
203 same kernel. The scheduler is selectable at boot-time using a tunable.
H A DUPDATING405 To keep using the random address, set the loader tunable
421 tunable hw.usb.usbhid.enable=0.
759 A new loader tunable net.pf.default_to_drop allows pf(4)'s default
778 Enable vnet sysctl variables to be loader tunable. SYSCTLs which
937 the sysctl/tunable hw.bus.disable_failed_devices=false).
1608 kern.random.initial_seeding.bypass_before_seeding: tunable; set
1622 kern.random.initial_seeding.disable_bypass_warnings: tunable; set
1789 loader tunable 'hw.nvme.use_nvd=1' if you wish to use the existing
1845 EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dnvidia,tegra20-sdhci.txt83 trimmer value for non-tunable modes.
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A DREADME.md118 I/O has been issued to the vdev. The scheduler and its tunable

12