Home
last modified time | relevance | path

Searched refs:probability (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v5.15/tools/testing/fault-injection/
Dfailcmd.sh25 --probability=percent
87 LONGOPTS=probability:,interval:,times:,space:,verbose:,task-filter:
109 echo 0 > $FAULTATTR/probability
129 declare -i probability=1
134 -p|--probability)
135 probability=$2
214 echo $probability > $FAULTATTR/probability
/Linux-v5.15/lib/
Dfault-inject.c20 unsigned long probability; in setup_fault_attr() local
27 &interval, &probability, &space, &times) < 4) { in setup_fault_attr()
33 attr->probability = probability; in setup_fault_attr()
48 attr->interval, attr->probability, in fail_dump()
119 if (attr->probability == 0) in should_fail()
139 if (attr->probability <= prandom_u32() % 100) in should_fail()
209 debugfs_create_ul("probability", mode, dir, &attr->probability); in fault_create_debugfs_attr()
DKconfig.kfence63 The inverse probability with which to randomly protect KFENCE object
/Linux-v5.15/Documentation/fault-injection/
Dnvme-fault-injection.rst23 echo 100 > /sys/kernel/debug/nvme0n1/fault_inject/probability
33 name fault_inject, interval 1, probability 100, space 0, times 1
78 echo 100 > /sys/kernel/debug/nvme0n1/fault_inject/probability
91 name fault_inject, interval 1, probability 100, space 0, times 1
127 echo 100 > /sys/kernel/debug/nvme0/fault_inject/probability
141 name fault_inject, interval 1, probability 100, space 1, times 1
Dfault-injection.rst65 - /sys/kernel/debug/fail*/probability:
72 for some testcases. Consider setting probability=100 and configure
81 probably want to set probability=100.
209 mmc_core.fail_request=<interval>,<probability>,<space>,<times>
223 like probability, interval, times, etc. But per-capability settings
278 echo 10 > /sys/kernel/debug/$FAILTYPE/probability
332 echo 10 > /sys/kernel/debug/$FAILTYPE/probability
341 trap "echo 0 > /sys/kernel/debug/$FAILTYPE/probability" SIGINT SIGTERM EXIT
363 echo 100 > /sys/kernel/debug/$FAILTYPE/probability
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_ets.sh32 probability 1.0 avpkt 8000 burst 38 "${args[@]}"
35 probability 1.0 avpkt 8000 burst 63 "${args[@]}"
Dsch_red_root.sh22 probability 1.0 avpkt 8000 burst 38 "${args[@]}"
/Linux-v5.15/drivers/ras/
DKconfig11 Reliability can be defined as the probability that the system will
16 Availability is the probability a system is operational at a given
/Linux-v5.15/include/uapi/linux/netfilter/
Dxt_statistic.h26 __u32 probability; member
/Linux-v5.15/include/linux/
Dfault-inject.h17 unsigned long probability; member
/Linux-v5.15/net/netfilter/
Dxt_statistic.c37 if ((prandom_u32() & 0x7FFFFFFF) < info->u.random.probability) in statistic_mt()
/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-class-backlight53 interface reduces the probability of confusion with
/Linux-v5.15/drivers/block/drbd/
DKconfig68 Example: Simulate data write errors on /dev/drbd0 with a probability of 5%.
/Linux-v5.15/net/sched/
Dsch_netem.c841 q->reorder = r->probability; in get_reorder()
849 q->corrupt = r->probability; in get_corrupt()
1172 reorder.probability = q->reorder; in netem_dump()
1177 corrupt.probability = q->corrupt; in netem_dump()
/Linux-v5.15/tools/include/uapi/linux/
Dpkt_sched.h607 __u32 probability; member
612 __u32 probability; member
/Linux-v5.15/drivers/staging/media/sunxi/cedrus/
Dcedrus_vp8.c437 unsigned int probability) in read_bits() argument
442 VE_H264_TRIGGER_TYPE_PROBABILITY(probability)); in read_bits()
/Linux-v5.15/include/uapi/linux/
Dpkt_sched.h627 __u32 probability; member
632 __u32 probability; member
Dopenvswitch.h639 u32 probability; /* Same value as member
/Linux-v5.15/include/net/
Dpkt_cls.h839 u32 probability; member
873 u32 probability; member
/Linux-v5.15/tools/testing/selftests/net/forwarding/
Dsch_red.sh440 limit 1M avpkt $PKTSZ probability 1 \
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dmmap.rst212 thereby reducing the probability of data loss. The queues are organized
278 probability of data loss. Random fill order allows drivers to reuse
Dext-ctrls-codec-stateless.rst969 - Indicates the probability that the macroblock is not skipped.
972 - Indicates the probability that a macroblock is intra-predicted.
975 - Indicates the probability that the last reference frame is used
979 - Indicates the probability that the golden reference frame is used
/Linux-v5.15/net/openvswitch/
Dflow_netlink.c2441 const struct nlattr *probability, *actions; in validate_and_copy_sample() local
2456 probability = attrs[OVS_SAMPLE_ATTR_PROBABILITY]; in validate_and_copy_sample()
2457 if (!probability || nla_len(probability) != sizeof(u32)) in validate_and_copy_sample()
2481 arg.probability = nla_get_u32(probability); in validate_and_copy_sample()
3397 if (nla_put_u32(skb, OVS_SAMPLE_ATTR_PROBABILITY, arg->probability)) { in sample_action_to_attr()
Dactions.c999 if ((arg->probability != U32_MAX) && in sample()
1000 (!arg->probability || prandom_u32() > arg->probability)) { in sample()
/Linux-v5.15/arch/mips/kernel/
Dcpu-probe.c281 unsigned int probability = c->tlbsize / c->tlbsizevtlb; in calculate_ftlb_probability() local
292 if (probability >= 12) in calculate_ftlb_probability()
294 else if (probability >= 6) in calculate_ftlb_probability()

12