Home
last modified time | relevance | path

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

/Linux-v4.19/sound/core/oss/
Dpcm_plugin.c325 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local
334 badness = w - width; in snd_pcm_plug_slave_format()
336 badness = width - w + 32; in snd_pcm_plug_slave_format()
337 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()
338 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()
339 if (badness < best) { in snd_pcm_plug_slave_format()
341 best = badness; in snd_pcm_plug_slave_format()
/Linux-v4.19/sound/pci/hda/
Dhda_generic.c1283 int badness = 0; in assign_out_path_ctls() local
1298 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1302 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1312 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1316 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1317 return badness; in assign_out_path_ctls()
1369 int badness = 0; in try_assign_dacs() local
1381 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1388 badness += bad->shared_primary; in try_assign_dacs()
1415 badness += bad->shared_primary; in try_assign_dacs()
[all …]
/Linux-v4.19/net/ipv6/
Dudp.c171 int score, badness; in udp6_lib_lookup2() local
175 badness = -1; in udp6_lib_lookup2()
179 if (score > badness) { in udp6_lib_lookup2()
190 badness = score; in udp6_lib_lookup2()
208 int score, badness; in __udp6_lib_lookup() local
244 badness = -1; in __udp6_lib_lookup()
248 if (score > badness) { in __udp6_lib_lookup()
260 badness = score; in __udp6_lib_lookup()
/Linux-v4.19/include/uapi/linux/
Dfd.h311 unsigned int badness; /* highest retry count for a read or write member
/Linux-v4.19/net/ipv4/
Dudp.c437 int score, badness; in udp4_lib_lookup2() local
441 badness = 0; in udp4_lib_lookup2()
445 if (score > badness) { in udp4_lib_lookup2()
454 badness = score; in udp4_lib_lookup2()
473 int score, badness; in __udp4_lib_lookup() local
508 badness = 0; in __udp4_lib_lookup()
512 if (score > badness) { in __udp4_lib_lookup()
524 badness = score; in __udp4_lib_lookup()
/Linux-v4.19/Documentation/filesystems/
Dproc.txt1478 These file can be used to adjust the badness heuristic used to select which
1481 The badness heuristic assigns a value to each candidate task ranging from 0
1485 For example, if a task is using all allowed memory, its badness score will be
1488 There is an additional factor included in the badness score: the current memory
1500 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1506 report a badness score of 0.
1517 be used to tune the badness score. Its acceptable values range from -16
/Linux-v4.19/drivers/block/
Dfloppy.c2055 INFBOUND(DRWE->badness, err_count); in bad_flp_intr()
3644 compat_uint_t badness; member
3852 v32.badness = v.badness; in compat_werrorget()