Home
last modified time | relevance | path

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

/linux-6.6.21/sound/core/oss/
Dpcm_plugin.c333 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local
342 badness = w - width; in snd_pcm_plug_slave_format()
344 badness = width - w + 32; in snd_pcm_plug_slave_format()
345 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()
346 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()
347 if (badness < best) { in snd_pcm_plug_slave_format()
349 best = badness; in snd_pcm_plug_slave_format()
/linux-6.6.21/sound/pci/hda/
Dhda_generic.c1290 int badness = 0; in assign_out_path_ctls() local
1305 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1309 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1319 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1323 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1324 return badness; in assign_out_path_ctls()
1376 int badness = 0; in try_assign_dacs() local
1389 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1397 badness += bad->shared_primary; in try_assign_dacs()
1399 badness += BAD_NO_PRIMARY_DAC; in try_assign_dacs()
[all …]
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh120 console-badness.sh < $file > $T.diags
/linux-6.6.21/include/uapi/linux/
Dfd.h314 unsigned int badness; /* highest retry count for a read or write member
/linux-6.6.21/net/ipv6/
Dudp.c173 int score, badness; in udp6_lib_lookup2() local
176 badness = -1; in udp6_lib_lookup2()
180 if (score > badness) { in udp6_lib_lookup2()
181 badness = score; in udp6_lib_lookup2()
203 badness = compute_score(sk, net, saddr, sport, in udp6_lib_lookup2()
/linux-6.6.21/net/ipv4/
Dudp.c431 int score, badness; in udp4_lib_lookup2() local
434 badness = 0; in udp4_lib_lookup2()
438 if (score > badness) { in udp4_lib_lookup2()
439 badness = score; in udp4_lib_lookup2()
461 badness = compute_score(result, net, saddr, sport, in udp4_lib_lookup2()
/linux-6.6.21/fs/proc/
Dbase.c555 long badness; in proc_oom_score() local
557 badness = oom_badness(task, totalpages); in proc_oom_score()
563 if (badness != LONG_MIN) in proc_oom_score()
564 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()
/linux-6.6.21/drivers/block/
Dfloppy.c2098 INFBOUND(write_errors[current_drive].badness, err_count); in bad_flp_intr()
3646 compat_uint_t badness; member
3859 v32.badness = v.badness; in compat_werrorget()
/linux-6.6.21/Documentation/filesystems/
Dproc.rst1644 These files can be used to adjust the badness heuristic used to select which
1647 The badness heuristic assigns a value to each candidate task ranging from 0
1651 For example, if a task is using all allowed memory, its badness score will be
1663 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1669 report a badness score of 0.
1680 be used to tune the badness score. Its acceptable values range from -16