Home
last modified time | relevance | path

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

/Linux-v5.15/sound/core/oss/
Dpcm_plugin.c330 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local
339 badness = w - width; in snd_pcm_plug_slave_format()
341 badness = width - w + 32; in snd_pcm_plug_slave_format()
342 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()
343 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()
344 if (badness < best) { in snd_pcm_plug_slave_format()
346 best = badness; in snd_pcm_plug_slave_format()
/Linux-v5.15/sound/pci/hda/
Dhda_generic.c1279 int badness = 0; in assign_out_path_ctls() local
1294 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1298 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1308 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1312 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1313 return badness; in assign_out_path_ctls()
1365 int badness = 0; in try_assign_dacs() local
1378 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1386 badness += bad->shared_primary; in try_assign_dacs()
1388 badness += BAD_NO_PRIMARY_DAC; in try_assign_dacs()
[all …]
/Linux-v5.15/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh120 console-badness.sh < $file > $T.diags
/Linux-v5.15/include/uapi/linux/
Dfd.h314 unsigned int badness; /* highest retry count for a read or write member
/Linux-v5.15/net/ipv6/
Dudp.c171 int score, badness; in udp6_lib_lookup2() local
174 badness = -1; in udp6_lib_lookup2()
178 if (score > badness) { in udp6_lib_lookup2()
186 badness = score; in udp6_lib_lookup2()
/Linux-v5.15/net/ipv4/
Dudp.c438 int score, badness; in udp4_lib_lookup2() local
441 badness = 0; in udp4_lib_lookup2()
445 if (score > badness) { in udp4_lib_lookup2()
453 badness = score; in udp4_lib_lookup2()
/Linux-v5.15/fs/proc/
Dbase.c552 long badness; in proc_oom_score() local
554 badness = oom_badness(task, totalpages); in proc_oom_score()
560 if (badness != LONG_MIN) in proc_oom_score()
561 points = (1000 + badness * 1000 / (long)totalpages) * 2 / 3; in proc_oom_score()
/Linux-v5.15/drivers/block/
Dfloppy.c2098 INFBOUND(write_errors[current_drive].badness, err_count); in bad_flp_intr()
3624 compat_uint_t badness; member
3837 v32.badness = v.badness; in compat_werrorget()
/Linux-v5.15/Documentation/filesystems/
Dproc.rst1647 These files can be used to adjust the badness heuristic used to select which
1650 The badness heuristic assigns a value to each candidate task ranging from 0
1654 For example, if a task is using all allowed memory, its badness score will be
1666 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1672 report a badness score of 0.
1683 be used to tune the badness score. Its acceptable values range from -16