Home
last modified time | relevance | path

Searched refs:badness (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/sound/core/oss/
Dpcm_plugin.c329 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local
338 badness = w - width; in snd_pcm_plug_slave_format()
340 badness = width - w + 32; in snd_pcm_plug_slave_format()
341 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()
342 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()
343 if (badness < best) { in snd_pcm_plug_slave_format()
345 best = badness; in snd_pcm_plug_slave_format()
/Linux-v5.10/sound/pci/hda/
Dhda_generic.c1271 int badness = 0; in assign_out_path_ctls() local
1286 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1290 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1300 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1304 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1305 return badness; in assign_out_path_ctls()
1357 int badness = 0; in try_assign_dacs() local
1370 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1378 badness += bad->shared_primary; in try_assign_dacs()
1380 badness += BAD_NO_PRIMARY_DAC; in try_assign_dacs()
[all …]
/Linux-v5.10/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh120 console-badness.sh < $file > $T.diags
/Linux-v5.10/include/uapi/linux/
Dfd.h314 unsigned int badness; /* highest retry count for a read or write member
/Linux-v5.10/net/ipv6/
Dudp.c170 int score, badness; in udp6_lib_lookup2() local
173 badness = -1; in udp6_lib_lookup2()
177 if (score > badness) { in udp6_lib_lookup2()
185 badness = score; in udp6_lib_lookup2()
/Linux-v5.10/net/ipv4/
Dudp.c437 int score, badness; in udp4_lib_lookup2() local
440 badness = 0; in udp4_lib_lookup2()
444 if (score > badness) { in udp4_lib_lookup2()
452 badness = score; in udp4_lib_lookup2()
/Linux-v5.10/fs/proc/
Dbase.c554 long badness; in proc_oom_score() local
556 badness = oom_badness(task, totalpages); in proc_oom_score()
562 if (badness != LONG_MIN) in proc_oom_score()
563 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()
/Linux-v5.10/drivers/block/
Dfloppy.c2099 INFBOUND(write_errors[current_drive].badness, err_count); in bad_flp_intr()
3715 compat_uint_t badness; member
3928 v32.badness = v.badness; in compat_werrorget()
/Linux-v5.10/Documentation/filesystems/
Dproc.rst1626 These files can be used to adjust the badness heuristic used to select which
1629 The badness heuristic assigns a value to each candidate task ranging from 0
1633 For example, if a task is using all allowed memory, its badness score will be
1645 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1651 report a badness score of 0.
1662 be used to tune the badness score. Its acceptable values range from -16