Home
last modified time | relevance | path

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

/linux-4.4.14/sound/core/oss/
Dpcm_plugin.c324 unsigned int badness, best = -1; in snd_pcm_plug_slave_format() local
333 badness = w - width; in snd_pcm_plug_slave_format()
335 badness = width - w + 32; in snd_pcm_plug_slave_format()
336 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format()
337 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format()
338 if (badness < best) { in snd_pcm_plug_slave_format()
340 best = badness; in snd_pcm_plug_slave_format()
/linux-4.4.14/net/ipv6/
Dudp.c242 int score, badness, matches = 0, reuseport = 0; in udp6_lib_lookup2() local
247 badness = -1; in udp6_lib_lookup2()
251 if (score > badness) { in udp6_lib_lookup2()
253 badness = score; in udp6_lib_lookup2()
260 } else if (score == badness && reuseport) { in udp6_lib_lookup2()
279 daddr, hnum, dif) < badness)) { in udp6_lib_lookup2()
297 int score, badness, matches = 0, reuseport = 0; in __udp6_lib_lookup() local
327 badness = -1; in __udp6_lib_lookup()
330 if (score > badness) { in __udp6_lib_lookup()
332 badness = score; in __udp6_lib_lookup()
[all …]
/linux-4.4.14/sound/pci/hda/
Dhda_generic.c1251 int badness = 0; in assign_out_path_ctls() local
1266 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1270 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1280 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1284 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1285 return badness; in assign_out_path_ctls()
1337 int badness = 0; in try_assign_dacs() local
1349 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1356 badness += bad->shared_primary; in try_assign_dacs()
1383 badness += bad->shared_primary; in try_assign_dacs()
[all …]
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh27 T=/tmp/abat-chk-badness.sh.$$
/linux-4.4.14/net/ipv4/
Dudp.c448 int score, badness, matches = 0, reuseport = 0; in udp4_lib_lookup2() local
453 badness = 0; in udp4_lib_lookup2()
457 if (score > badness) { in udp4_lib_lookup2()
459 badness = score; in udp4_lib_lookup2()
466 } else if (score == badness && reuseport) { in udp4_lib_lookup2()
484 daddr, hnum, dif) < badness)) { in udp4_lib_lookup2()
504 int score, badness, matches = 0, reuseport = 0; in __udp4_lib_lookup() local
534 badness = 0; in __udp4_lib_lookup()
538 if (score > badness) { in __udp4_lib_lookup()
540 badness = score; in __udp4_lib_lookup()
[all …]
/linux-4.4.14/include/uapi/linux/
Dfd.h310 unsigned int badness; /* highest retry count for a read or write member
/linux-4.4.14/block/
Dcompat_ioctl.c274 compat_uint_t badness; member
510 err |= __put_user(f->badness, &uf->badness); in compat_fd_ioctl()
/linux-4.4.14/Documentation/filesystems/
Dproc.txt1440 These file can be used to adjust the badness heuristic used to select which
1443 The badness heuristic assigns a value to each candidate task ranging from 0
1447 For example, if a task is using all allowed memory, its badness score will be
1450 There is an additional factor included in the badness score: the current memory
1462 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1468 report a badness score of 0.
1479 be used to tune the badness score. Its acceptable values range from -16
/linux-4.4.14/drivers/block/
Dfloppy.c2049 INFBOUND(DRWE->badness, err_count); in bad_flp_intr()