/linux/arch/arm64/lib/ |
H A D | memcmp.S | 22 #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 …]
|
H A D | strncmp.S | 26 #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 …]
|
/linux/net/netfilter/ |
H A D | nft_limit.c | 24 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 …]
|
/linux/Documentation/hwmon/ |
H A D | ina209.rst | 44 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 …]
|
H A D | adm9240.rst | 52 microprocessor-based systems, providing measurement and limit comparison 56 for limit comparisons can be programmed in over the same serial bus. The 58 analog channels to ensure a fast interrupt response to any out-of-limit 90 Temperature alarm is asserted once the temperature exceeds the high limit, 102 * User sets 0 to fan_min limit 108 * User sets fan_min limit too low 124 * User sets unreasonably high low fan speed limit 126 - resolution of the low speed limit may be reduced 187 0 +2.5 V_Error high or low limit exceeded 188 1 VCCP_Error high or low limit exceeded [all …]
|
/linux/lib/ |
H A D | dynamic_queue_limits.c | 82 /* Records completed count and recalculates the queue limit */ 85 unsigned int inprogress, prev_inprogress, limit; in dql_completed() local 102 limit = dql->limit; in dql_completed() 103 ovlimit = POSDIFF(num_queued - dql->num_completed, limit); in dql_completed() 112 * - The queue was over-limit in the last interval, in dql_completed() 115 * - The queue was over-limit in the previous interval and in dql_completed() 121 * When queue is starved increase the limit by the amount in dql_completed() 123 * plus any previous over-limit. in dql_completed() 125 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed() 131 * Queue was not starved, check if the limit can be decreased. in dql_completed() [all …]
|
/linux/drivers/gpu/host1x/ |
H A D | dev.c | 145 { /* SE1 */ .base = 0x1ac8, .offset = 0x90, .limit = 0x90 }, 146 { /* SE2 */ .base = 0x1ad0, .offset = 0x90, .limit = 0x90 }, 147 { /* SE3 */ .base = 0x1ad8, .offset = 0x90, .limit = 0x90 }, 148 { /* SE4 */ .base = 0x1ae0, .offset = 0x90, .limit = 0x90 }, 149 { /* ISP */ .base = 0x1ae8, .offset = 0x50, .limit = 0x50 }, 150 { /* VIC */ .base = 0x1af0, .offset = 0x30, .limit = 0x34 }, 151 { /* NVENC */ .base = 0x1af8, .offset = 0x30, .limit = 0x34 }, 152 { /* NVDEC */ .base = 0x1b00, .offset = 0x30, .limit = 0x34 }, 153 { /* NVJPG */ .base = 0x1b08, .offset = 0x30, .limit = 0x34 }, 154 { /* TSEC */ .base = 0x1b10, .offset = 0x30, .limit = 0x34 }, [all …]
|
/linux/fs/quota/ |
H A D | quotaio_v2.h | 40 __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 …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | choke.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000", 17 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 min 100", 38 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 100p max 250p", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 max 900", 59 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min.*max 900p", 77 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 ecn", 80 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p ecn", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 burst 10… 101 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p", [all …]
|
H A D | fq_codel.json | 17 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 25 "name": "Create FQ_CODEL with limit setting", 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000", 38 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms i… 59 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 80 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 2ms … 101 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 122 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum 9000 target … 143 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 164 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … [all …]
|
H A D | fq.json | 17 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit", 25 "name": "Create FQ with limit packet setting", 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq limit 3000", 38 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 3000p", 59 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 300p", 80 … "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*quantum 9000b", 101 …"matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p buckets.*initial_quan… 142 …"matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p buckets.*maxrate 100K… 163 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*nopacing", 184 … "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*refill_delay 100ms", [all …]
|
H A D | codel.json | 17 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 25 "name": "Create CODEL with limit packet setting", 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel limit 1500", 38 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1500p target 5ms interval 100ms", 59 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 100ms interval 100ms", 80 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 20ms", 101 … "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms ecn", 122 …"matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms ce_threshold 20ms interv… 144 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 151 "name": "Replace CODEL with limit setting", [all …]
|
H A D | red.json | 14 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K… 17 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1M avpkt 1500 min 100K… 38 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn limit 1M avpkt 1500 min 100K max … 59 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $", 77 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn adaptive limit 1M avpkt 1500 min … 80 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn adaptive $", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn harddrop limit 1M avpkt 1500 min … 101 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn harddrop $", [all …]
|
H A D | sfq.json | 17 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024", 25 "name": "Create SFQ with limit setting", 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq limit 8", 38 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 8p", 80 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024", 101 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512", 143 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 64 divisor 1024", 164 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis… 185 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis… 214 "name": "Check that limit of 1 is rejected", [all …]
|
H A D | tbf.json | 14 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 10000", 17 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 10Kbit burst 1500b limit 1000b", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 38 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b limit 1000b", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 59 …": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b peakrate 30Kbit minburst.*limit 1000b", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 over… 101 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1800b limit 1000b overhead 300", 119 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 link… 122 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1696b limit 1000b linklayer atm… [all …]
|
H A D | fifo.json | 17 "matchPattern": "qdisc bfifo 1: root.*limit [0-9]+b", 38 "matchPattern": "qdisc pfifo 1: root.*limit [0-9]+p", 59 "matchPattern": "qdisc bfifo ffff: root.*limit [0-9]+b", 77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root bfifo limit 3000b", 80 "matchPattern": "qdisc bfifo 1: root.*limit 3000b", 99 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root pfifo limit 3000", 102 "matchPattern": "qdisc pfifo 1: root.*limit 3000p", 123 "matchPattern": "qdisc bfifo 10000: root.*limit [0-9]+b", 182 "cmdUnderTest": "$TC qdisc replace dev $DUMMY handle 1: root bfifo limit 3000b", 185 "matchPattern": "qdisc bfifo 1: root.*limit 3000b", [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-intel-xe-hwmon | 5 Description: RW. Card reactive sustained (PL1) power limit in microwatts. 9 exceeds this limit. A read value of 0 means that the PL1 10 power limit is disabled, writing 0 disables the 11 limit. Writing values > 0 and <= TDP will enable the power limit. 19 Description: RO. Card default power limit (default TDP setting). 36 Description: RW. Card sustained power limit interval (Tau in PL1/Tau) in 45 Description: RW. Package reactive sustained (PL1) power limit in microwatts. 49 exceeds this limit. A read value of 0 means that the PL1 50 power limit is disabled, writing 0 disables the 51 limit. Writing values > 0 and <= TDP will enable the power limit. [all …]
|
H A D | sysfs-driver-intel-i915-hwmon | 13 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 …]
|
/linux/kernel/cgroup/ |
H A D | pids.c | 6 * 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). 42 /* Fork failed in subtree because this pids_cgroup limit was hit. */ 44 /* Fork failed in this pids_cgroup because ancestor limit was hit. */ 57 atomic64_t limit; member 87 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc() 141 * This function does *not* follow the pid limit set. It cannot fail and the new 142 * pid count may exceed the limit. This is only used for reverting failed [all …]
|
/linux/net/sched/ |
H A D | sch_fifo.c | 23 READ_ONCE(sch->limit))) in bfifo_enqueue() 32 if (likely(sch->q.qlen < READ_ONCE(sch->limit))) in pfifo_enqueue() 43 if (unlikely(READ_ONCE(sch->limit) == 0)) in pfifo_tail_enqueue() 46 if (likely(sch->q.qlen < READ_ONCE(sch->limit))) in pfifo_tail_enqueue() 50 /* queue full, remove one skb to fulfill the limit */ in pfifo_tail_enqueue() 107 u32 limit = qdisc_dev(sch)->tx_queue_len; in __fifo_init() local 110 limit *= psched_mtu(qdisc_dev(sch)); in __fifo_init() 112 WRITE_ONCE(sch->limit, limit); in __fifo_init() 119 WRITE_ONCE(sch->limit, ctl->limit); in __fifo_init() 123 bypass = sch->limit >= psched_mtu(qdisc_dev(sch)); in __fifo_init() [all …]
|
/linux/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 21 u32 limit; in ccu_data_offsets_valid() local 23 limit = ccu->range - sizeof(u32); in ccu_data_offsets_valid() 24 limit = round_down(limit, sizeof(u32)); in ccu_data_offsets_valid() 26 if (ccu_policy->enable.offset > limit) { in ccu_data_offsets_valid() 29 ccu->name, ccu_policy->enable.offset, limit); in ccu_data_offsets_valid() 32 if (ccu_policy->control.offset > limit) { in ccu_data_offsets_valid() 35 ccu->name, ccu_policy->control.offset, limit); in ccu_data_offsets_valid() 80 u32 limit; in peri_clk_data_offsets_valid() local 87 limit = range - sizeof(u32); in peri_clk_data_offsets_valid() 88 limit = round_down(limit, sizeof(u32)); in peri_clk_data_offsets_valid() [all …]
|
/linux/fs/romfs/ |
H A D | storage.c | 131 unsigned long pos, size_t limit) in romfs_blk_strnlen() argument 140 while (limit > 0) { in romfs_blk_strnlen() 142 segment = min_t(size_t, limit, ROMBSIZE - offset); in romfs_blk_strnlen() 151 limit -= segment; in romfs_blk_strnlen() 217 size_t limit; in romfs_dev_read() local 219 limit = romfs_maxsize(sb); in romfs_dev_read() 220 if (pos >= limit || buflen > limit - pos) in romfs_dev_read() 240 size_t limit; in romfs_dev_strnlen() local 242 limit = romfs_maxsize(sb); in romfs_dev_strnlen() 243 if (pos >= limit) in romfs_dev_strnlen() [all …]
|
/linux/net/wireless/ |
H A D | of.c | 30 struct ieee80211_freq_range *limit = &freq_limits[i]; in wiphy_freq_limits_valid_chan() local 32 if (cfg80211_does_bw_fit_range(limit, in wiphy_freq_limits_valid_chan() 91 prop = of_find_property(np, "ieee80211-freq-limit", &len); in wiphy_read_of_freq_limits() 96 dev_err(dev, "ieee80211-freq-limit wrong format"); in wiphy_read_of_freq_limits() 109 struct ieee80211_freq_range *limit = &freq_limits[i]; in wiphy_read_of_freq_limits() local 111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits() 117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz); in wiphy_read_of_freq_limits() 123 if (!limit->start_freq_khz || in wiphy_read_of_freq_limits() 124 !limit->end_freq_khz || in wiphy_read_of_freq_limits() 125 limit->start_freq_khz >= limit->end_freq_khz) { in wiphy_read_of_freq_limits()
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | adi,adp5055-regulator.yaml | 67 adi,dvs-limit-upper-microvolt: 69 Configure the allowable upper side limit of the voltage output of each 72 Vout_high = Vref_trim + dvs-limit-upper. 77 adi,dvs-limit-lower-microvolt: 79 Configure the allowable lower side limit of the voltage output of each 82 Vout_low = Vref_trim + dvs-limit-lower. 133 adi,dvs-limit-upper-microvolt = <192000>; 134 adi,dvs-limit-lower-microvolt = <(-190500)>; 142 adi,dvs-limit-upper-microvolt = <192000>; 143 adi,dvs-limit-lower-microvolt = <(-190500)>; [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq25980.yaml | 40 ti,sc-ovp-limit-microvolt: 42 Minimum input voltage limit in micro volts with a when the charger is in 48 ti,sc-ocp-limit-microamp: 50 Maximum input current limit in micro amps with a 100000 micro amp step. 54 ti,bypass-ovp-limit-microvolt: 56 Minimum input voltage limit in micro volts with a when the charger is in 61 ti,bypass-ocp-limit-microamp: 63 Maximum input current limit in micro amps with a 100000 micro amp step. 108 ti,sc-ocp-limit-microamp = <2000000>; 109 ti,sc-ovp-limit-microvolt = <17800000>;
|