Home
last modified time | relevance | path

Searched full:limit (Results 1 – 25 of 6836) sorted by relevance

12345678910>>...274

/kernel/linux/linux-5.10/net/netfilter/
Dnft_limit.c28 static inline bool nft_limit_eval(struct nft_limit *limit, u64 cost) in nft_limit_eval() argument
33 spin_lock_bh(&limit->lock); in nft_limit_eval()
35 tokens = limit->tokens + now - limit->last; in nft_limit_eval()
36 if (tokens > limit->tokens_max) in nft_limit_eval()
37 tokens = limit->tokens_max; in nft_limit_eval()
39 limit->last = now; in nft_limit_eval()
42 limit->tokens = delta; in nft_limit_eval()
43 spin_unlock_bh(&limit->lock); in nft_limit_eval()
44 return limit->invert; in nft_limit_eval()
46 limit->tokens = tokens; in nft_limit_eval()
[all …]
/kernel/linux/linux-6.6/arch/arm64/lib/
Dmemcmp.S22 #define limit x2 macro
36 subs limit, limit, 8
44 subs limit, limit, 8
47 ldr data1, [src1, limit]
48 ldr data2, [src2, limit]
59 subs limit, limit, 16
63 try to align, so limit it only to strings larger than 128 bytes. */
64 cmp limit, 96
69 add limit, limit, tmp1
74 Limit is pre-decremented by 16 and must be larger than zero.
[all …]
Dstrncmp.S26 #define limit x2 macro
62 cbz limit, L(ret0)
78 subs limit, limit, #8
91 add limit, limit, 8 /* Rewind limit to before last subs. */
93 /* Limit was reached. Check if the NUL byte or the difference
94 is before the limit. */
100 cmp limit, pos, lsr #3
109 /* Not reached the limit, must have found the end or a diff. */
110 tbz limit, #63, L(not_limit)
111 add tmp1, limit, 8
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dregulator.yaml34 regulator-input-current-limit-microamp:
122 description: Set over current protection limit. This is a limit where
125 limit setting can be omitted.
128 description: Set over current error limit. This is a limit where part of
131 that detection should be enabled but limit setting can be omitted.
134 description: Set over current warning limit. This is a limit where hardware
135 is assumed still to be functional but approaching limit where it gets
138 be enabled but limit setting can be omitted.
141 description: Set over voltage protection limit. This is a limit where
144 limit setting can be omitted. Limit is given as microvolt offset from
[all …]
/kernel/linux/linux-6.6/lib/
Ddynamic_queue_limits.c17 /* Records completed count and recalculates the queue limit */
20 unsigned int inprogress, prev_inprogress, limit; in dql_completed() local
30 limit = dql->limit; in dql_completed()
31 ovlimit = POSDIFF(num_queued - dql->num_completed, limit); in dql_completed()
40 * - The queue was over-limit in the last interval, in dql_completed()
43 * - The queue was over-limit in the previous interval and in dql_completed()
49 * When queue is starved increase the limit by the amount in dql_completed()
51 * plus any previous over-limit. in dql_completed()
53 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed()
59 * Queue was not starved, check if the limit can be decreased. in dql_completed()
[all …]
/kernel/linux/linux-5.10/lib/
Ddynamic_queue_limits.c17 /* Records completed count and recalculates the queue limit */
20 unsigned int inprogress, prev_inprogress, limit; in dql_completed() local
30 limit = dql->limit; in dql_completed()
31 ovlimit = POSDIFF(num_queued - dql->num_completed, limit); in dql_completed()
40 * - The queue was over-limit in the last interval, in dql_completed()
43 * - The queue was over-limit in the previous interval and in dql_completed()
49 * When queue is starved increase the limit by the amount in dql_completed()
51 * plus any previous over-limit. in dql_completed()
53 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed()
59 * Queue was not starved, check if the limit can be decreased. in dql_completed()
[all …]
/kernel/linux/linux-5.10/arch/arm64/lib/
Dmemcmp.S31 limit .req x2 label
50 cbz limit, .Lret0
56 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */
71 /* Not reached the limit, must have found a diff. */
74 /* Limit % 8 == 0 => the diff is in the last 8 bytes. */
75 ands limit, limit, #7
81 lsl limit, limit, #3 /* bytes-> bits. */
83 CPU_BE( lsr mask, mask, limit )
84 CPU_LE( lsl mask, mask, limit )
102 * We can not add limit with alignment offset(tmp1) here. Since the
[all …]
Dstrncmp.S35 limit .req x2 label
56 cbz limit, .Lret0
65 * when limit is mulitply of 8, if not sub 1,
68 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */
89 /*Not reached the limit, must have found the end or a diff. */
92 /* Limit % 8 == 0 => all bytes significant. */
93 ands limit, limit, #7
96 lsl limit, limit, #3 /* Bits -> bytes. */
98 CPU_BE( lsr mask, mask, limit )
99 CPU_LE( lsl mask, mask, limit )
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dina209.rst44 in0_max shunt voltage max alarm limit (mV)
45 in0_min shunt voltage min alarm limit (mV)
46 in0_crit_max shunt voltage crit max alarm limit (mV)
47 in0_crit_min shunt voltage crit min alarm limit (mV)
48 in0_max_alarm shunt voltage max alarm limit exceeded
49 in0_min_alarm shunt voltage min alarm limit exceeded
50 in0_crit_max_alarm shunt voltage crit max alarm limit exceeded
51 in0_crit_min_alarm shunt voltage crit min alarm limit exceeded
57 in1_max bus voltage max alarm limit (mV)
58 in1_min bus voltage min alarm limit (mV)
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dina209.rst44 in0_max shunt voltage max alarm limit (mV)
45 in0_min shunt voltage min alarm limit (mV)
46 in0_crit_max shunt voltage crit max alarm limit (mV)
47 in0_crit_min shunt voltage crit min alarm limit (mV)
48 in0_max_alarm shunt voltage max alarm limit exceeded
49 in0_min_alarm shunt voltage min alarm limit exceeded
50 in0_crit_max_alarm shunt voltage crit max alarm limit exceeded
51 in0_crit_min_alarm shunt voltage crit min alarm limit exceeded
57 in1_max bus voltage max alarm limit (mV)
58 in1_min bus voltage min alarm limit (mV)
[all …]
/kernel/linux/linux-6.6/net/netfilter/
Dnft_limit.c24 struct nft_limit *limit; member
37 spin_lock_bh(&priv->limit->lock); in nft_limit_eval()
39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval()
43 priv->limit->last = now; in nft_limit_eval()
46 priv->limit->tokens = delta; in nft_limit_eval()
47 spin_unlock_bh(&priv->limit->lock); in nft_limit_eval()
50 priv->limit->tokens = tokens; in nft_limit_eval()
51 spin_unlock_bh(&priv->limit->lock); in nft_limit_eval()
113 priv->limit = kmalloc(sizeof(*priv->limit), GFP_KERNEL_ACCOUNT); in nft_limit_init()
114 if (!priv->limit) in nft_limit_init()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dsch_red.sh58 rate 10Mbit burst 10K limit 1M
104 rate 10Mbit burst 10K limit 1M
257 local limit=$1; shift
261 # Build the below-the-limit backlog using UDP. We could use TCP just
263 # length is below the limit. The main stream is using TCP, and if the
264 # limit is misconfigured, we would see this traffic being ECN marked.
266 backlog=$(build_backlog $((2 * limit / 3)) udp)
269 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
270 log_test "$name backlog < limit"
273 # backlog crosses the limit, and we want to make sure that the backlog
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dsch_red.sh58 rate 10Mbit burst 10K limit 1M
104 rate 10Mbit burst 10K limit 1M
257 local limit=$1; shift
261 # Build the below-the-limit backlog using UDP. We could use TCP just
263 # length is below the limit. The main stream is using TCP, and if the
264 # limit is misconfigured, we would see this traffic being ECN marked.
266 backlog=$(build_backlog $((2 * limit / 3)) udp)
269 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
270 log_test "$name backlog < limit"
273 # backlog crosses the limit, and we want to make sure that the backlog
[all …]
/kernel/linux/linux-6.6/fs/quota/
Dquotaio_v2.h40 __le32 dqb_ihardlimit; /* absolute limit on allocated inodes */
41 __le32 dqb_isoftlimit; /* preferred inode limit */
43 __le32 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */
44 __le32 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */
46 __le64 dqb_btime; /* time limit for excessive disk use */
47 __le64 dqb_itime; /* time limit for excessive inode use */
53 __le64 dqb_ihardlimit; /* absolute limit on allocated inodes */
54 __le64 dqb_isoftlimit; /* preferred inode limit */
56 __le64 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */
57 __le64 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */
[all …]
/kernel/linux/linux-5.10/fs/quota/
Dquotaio_v2.h40 __le32 dqb_ihardlimit; /* absolute limit on allocated inodes */
41 __le32 dqb_isoftlimit; /* preferred inode limit */
43 __le32 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */
44 __le32 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */
46 __le64 dqb_btime; /* time limit for excessive disk use */
47 __le64 dqb_itime; /* time limit for excessive inode use */
53 __le64 dqb_ihardlimit; /* absolute limit on allocated inodes */
54 __le64 dqb_isoftlimit; /* preferred inode limit */
56 __le64 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */
57 __le64 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */
[all …]
/kernel/linux/linux-6.6/arch/x86/mm/
Damdtopology.c83 u64 base, limit; in amd_numa_init() local
86 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init()
88 nodeids[i] = nodeid = limit & 7; in amd_numa_init()
96 base, limit); in amd_numa_init()
100 if (!limit) { in amd_numa_init()
105 if ((base >> 8) & 3 || (limit >> 8) & 3) { in amd_numa_init()
107 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init()
116 limit >>= 16; in amd_numa_init()
117 limit++; in amd_numa_init()
118 limit <<= 24; in amd_numa_init()
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/
Damdtopology.c83 u64 base, limit; in amd_numa_init() local
86 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init()
88 nodeids[i] = nodeid = limit & 7; in amd_numa_init()
96 base, limit); in amd_numa_init()
100 if (!limit) { in amd_numa_init()
105 if ((base >> 8) & 3 || (limit >> 8) & 3) { in amd_numa_init()
107 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init()
116 limit >>= 16; in amd_numa_init()
117 limit++; in amd_numa_init()
118 limit <<= 24; in amd_numa_init()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh141 burst 128K limit 1G
203 burst 128K limit 1G
417 local limit=$1; shift
421 # Build the below-the-limit backlog using UDP. We could use TCP just
423 # length is below the limit. The main stream is using TCP, and if the
424 # limit is misconfigured, we would see this traffic being ECN marked.
426 backlog=$(build_backlog $vlan $((2 * limit / 3)) udp)
429 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
430 log_test "TC $((vlan - 10)): $name backlog < limit"
433 # backlog crosses the limit, and we want to make sure that the backlog
[all …]
/kernel/linux/linux-6.6/kernel/cgroup/
Dpids.c6 * after a certain limit is reached.
8 * Since it is trivial to hit the task limit without hitting any kmemcg limits
21 * To set a cgroup to have no limit, set pids.max to "max". This is the default
23 * stringent limit in the hierarchy is followed).
49 atomic64_t limit; member
55 /* Number of times fork failed because limit was hit. */
79 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc()
134 * This function does *not* follow the pid limit set. It cannot fail and the new
135 * pid count may exceed the limit. This is only used for reverting failed
136 * attaches, where there is no other way out than violating the limit.
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dchoke.json15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000",
18 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p",
38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 min 100",
41 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 100p max 250p",
61 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 max 900",
64 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min.*max 900p",
84 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 ecn",
87 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p ecn",
107 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 burst 10…
110 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p",
[all …]
/kernel/linux/linux-5.10/kernel/cgroup/
Dpids.c6 * after a certain limit is reached.
8 * Since it is trivial to hit the task limit without hitting any kmemcg limits
21 * To set a cgroup to have no limit, set pids.max to "max". This is the default
23 * stringent limit in the hierarchy is followed).
49 atomic64_t limit; member
54 /* Number of times fork failed because limit was hit. */
78 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc()
123 * This function does *not* follow the pid limit set. It cannot fail and the new
124 * pid count may exceed the limit. This is only used for reverting failed
125 * attaches, where there is no other way out than violating the limit.
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-driver-intel-i915-hwmon13 Description: RW. Card reactive sustained (PL1/Tau) power limit in microwatts.
17 exceeds this limit. A read value of 0 means that the PL1
18 power limit is disabled, writing 0 disables the
19 limit. Writing values > 0 will enable the power limit.
27 Description: RO. Card default power limit (default TDP setting).
35 Description: RW. Sustained power limit interval (Tau in PL1/Tau) in
44 Description: RW. Card reactive critical (I1) power limit in microwatts.
46 Card reactive critical (I1) power limit in microwatts is exposed
49 this limit.
57 Description: RW. Card reactive critical (I1) power limit in milliamperes.
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh408 local limit=$1; shift
412 # Build the below-the-limit backlog using UDP. We could use TCP just
414 # length is below the limit. The main stream is using TCP, and if the
415 # limit is misconfigured, we would see this traffic being ECN marked.
417 backlog=$(build_backlog $vlan $((2 * limit / 3)) udp)
420 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
421 log_test "TC $((vlan - 10)): $name backlog < limit"
424 # backlog crosses the limit, and we want to make sure that the backlog
425 # is above the limit.
427 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
[all …]
/kernel/linux/linux-6.6/net/sched/
Dsch_fifo.c22 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit)) in bfifo_enqueue()
31 if (likely(sch->q.qlen < sch->limit)) in pfifo_enqueue()
42 if (unlikely(sch->limit == 0)) in pfifo_tail_enqueue()
45 if (likely(sch->q.qlen < sch->limit)) in pfifo_tail_enqueue()
49 /* queue full, remove one skb to fulfill the limit */ in pfifo_tail_enqueue()
106 u32 limit = qdisc_dev(sch)->tx_queue_len; in __fifo_init() local
109 limit *= psched_mtu(qdisc_dev(sch)); in __fifo_init()
111 sch->limit = limit; in __fifo_init()
118 sch->limit = ctl->limit; in __fifo_init()
122 bypass = sch->limit >= psched_mtu(qdisc_dev(sch)); in __fifo_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dgpio-charger.yaml42 charge-current-limit-gpios:
47 charge-current-limit-mapping:
50 current limit.
55 Current limit in uA
58 charge-current-limit-gpios property. Bit 1 second to last
70 - charge-current-limit-gpios
73 charge-current-limit-gpios: [ charge-current-limit-mapping ]
74 charge-current-limit-mapping: [ charge-current-limit-gpios ]
89 charge-current-limit-gpios = <&gpioA 11 GPIO_ACTIVE_HIGH>,
91 charge-current-limit-mapping = <2500000 0x00>, // 2.5 A => both GPIOs low

12345678910>>...274