Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/net/ipv6/
Dudp.c237 int score, badness, matches = 0, reuseport = 0; in udp6_lib_lookup2() local
242 badness = -1; in udp6_lib_lookup2()
246 if (score > badness) { in udp6_lib_lookup2()
248 badness = score; in udp6_lib_lookup2()
256 } else if (score == badness && reuseport) { in udp6_lib_lookup2()
276 daddr, hnum, dif) < badness)) { in udp6_lib_lookup2()
294 int score, badness, matches = 0, reuseport = 0; in __udp6_lib_lookup() local
324 badness = -1; in __udp6_lib_lookup()
327 if (score > badness) { in __udp6_lib_lookup()
329 badness = score; in __udp6_lib_lookup()
[all …]
/linux-4.1.27/sound/pci/hda/
Dhda_generic.c1249 int badness = 0; in assign_out_path_ctls() local
1264 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1268 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1278 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1282 badness += BAD_SHARED_VOL; in assign_out_path_ctls()
1283 return badness; in assign_out_path_ctls()
1335 int badness = 0; in try_assign_dacs() local
1347 badness += assign_out_path_ctls(codec, path); in try_assign_dacs()
1354 badness += bad->shared_primary; in try_assign_dacs()
1381 badness += bad->shared_primary; in try_assign_dacs()
[all …]
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh27 T=/tmp/abat-chk-badness.sh.$$
/linux-4.1.27/net/ipv4/
Dudp.c445 int score, badness, matches = 0, reuseport = 0; in udp4_lib_lookup2() local
450 badness = 0; in udp4_lib_lookup2()
454 if (score > badness) { in udp4_lib_lookup2()
456 badness = score; in udp4_lib_lookup2()
463 } else if (score == badness && reuseport) { in udp4_lib_lookup2()
481 daddr, hnum, dif) < badness)) { in udp4_lib_lookup2()
501 int score, badness, matches = 0, reuseport = 0; in __udp4_lib_lookup() local
531 badness = 0; in __udp4_lib_lookup()
535 if (score > badness) { in __udp4_lib_lookup()
537 badness = score; in __udp4_lib_lookup()
[all …]
/linux-4.1.27/include/uapi/linux/
Dfd.h310 unsigned int badness; /* highest retry count for a read or write member
/linux-4.1.27/block/
Dcompat_ioctl.c274 compat_uint_t badness; member
510 err |= __put_user(f->badness, &uf->badness); in compat_fd_ioctl()
/linux-4.1.27/Documentation/filesystems/
Dproc.txt1425 These file can be used to adjust the badness heuristic used to select which
1428 The badness heuristic assigns a value to each candidate task ranging from 0
1432 For example, if a task is using all allowed memory, its badness score will be
1435 There is an additional factor included in the badness score: the current memory
1447 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1453 report a badness score of 0.
1464 be used to tune the badness score. Its acceptable values range from -16
/linux-4.1.27/drivers/block/
Dfloppy.c2049 INFBOUND(DRWE->badness, err_count); in bad_flp_intr()