Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 1342) sorted by relevance

12345678910>>...54

/linux-6.3-rc2/arch/arm64/lib/
A Dmemcmp.S22 #define limit x2 macro
36 subs limit, limit, 8
44 subs limit, limit, 8
59 subs limit, limit, 16
64 cmp limit, 96
69 add limit, limit, tmp1
80 subs limit, limit, 16
119 adds limit, limit, 4
125 sub limit, limit, 4
127 adds limit, limit, 4
[all …]
A Dstrncmp.S26 #define limit x2 macro
78 subs limit, limit, #8
91 add limit, limit, 8 /* Rewind limit to before last subs. */
172 adds limit, limit, count
173 csinv limit, limit, xzr, lo
181 cmp limit, #16
188 subs limit, limit, #1
202 sub limit, limit, count
248 subs limit, limit, #8
286 cmp limit, #8
[all …]
/linux-6.3-rc2/arch/x86/mm/
A Damdtopology.c83 u64 base, limit; in amd_numa_init() local
96 base, limit); in amd_numa_init()
100 if (!limit) { in amd_numa_init()
116 limit >>= 16; in amd_numa_init()
117 limit++; in amd_numa_init()
118 limit <<= 24; in amd_numa_init()
120 if (limit > end) in amd_numa_init()
121 limit = end; in amd_numa_init()
122 if (limit <= base) in amd_numa_init()
130 if (limit > end) in amd_numa_init()
[all …]
/linux-6.3-rc2/lib/
A Ddynamic_queue_limits.c20 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()
53 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed()
82 slack = POSDIFF(limit + dql->prev_ovlimit, in dql_completed()
94 limit = POSDIFF(limit, dql->lowest_slack); in dql_completed()
101 limit = clamp(limit, dql->min_limit, dql->max_limit); in dql_completed()
103 if (limit != dql->limit) { in dql_completed()
104 dql->limit = limit; in dql_completed()
108 dql->adj_limit = limit + completed; in dql_completed()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dnft_limit.c24 struct nft_limit *limit; member
39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval()
43 priv->limit->last = now; in nft_limit_eval()
93 priv->limit = kmalloc(sizeof(*priv->limit), GFP_KERNEL_ACCOUNT); in nft_limit_init()
94 if (!priv->limit) in nft_limit_init()
135 kfree(priv->limit); in nft_limit_destroy()
147 priv_dst->limit = kmalloc(sizeof(*priv_dst->limit), GFP_ATOMIC); in nft_limit_clone()
148 if (!priv_dst->limit) in nft_limit_clone()
192 priv->cost = div64_u64(priv->limit.nsecs, priv->limit.rate); in nft_limit_pkts_init()
219 return nft_limit_clone(&priv_dst->limit, &priv_src->limit); in nft_limit_pkts_clone()
[all …]
A Dnf_conntrack_sip.c252 if (++dptr >= limit) in ct_sip_parse_request()
315 if (++dptr >= limit) in sip_follow_continuation()
353 for (limit -= len; dptr < limit; dptr++) { in ct_sip_header_search()
547 limit = ct_sip_header_search(dptr + dataoff, limit, ",", strlen(",")); in ct_sip_parse_param()
548 if (!limit) in ct_sip_parse_param()
558 end = limit; in ct_sip_parse_param()
575 limit = ct_sip_header_search(dptr + dataoff, limit, ",", strlen(",")); in ct_sip_parse_address_param()
576 if (!limit) in ct_sip_parse_address_param()
603 limit = ct_sip_header_search(dptr + dataoff, limit, ",", strlen(",")); in ct_sip_parse_numerical_param()
604 if (!limit) in ct_sip_parse_numerical_param()
[all …]
/linux-6.3-rc2/drivers/clk/bcm/
A Dclk-kona-setup.c21 u32 limit; in ccu_data_offsets_valid() local
24 limit = round_down(limit, sizeof(u32)); 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()
102 if (gate->offset > limit) { in peri_clk_data_offsets_valid()
142 if (sel->offset > limit) { in peri_clk_data_offsets_valid()
176 if (bit_posn > limit) { in bit_posn_valid()
291 u32 limit; in sel_valid() local
303 if (max_sel > limit) { in sel_valid()
[all …]
/linux-6.3-rc2/Documentation/hwmon/
A Dina209.rst44 in0_max shunt voltage max alarm limit (mV)
45 in0_min shunt voltage min alarm limit (mV)
57 in1_max bus voltage max alarm limit (mV)
58 in1_min bus voltage min alarm limit (mV)
59 in1_crit_max bus voltage crit max alarm limit (mV)
60 in1_crit_min bus voltage crit min alarm limit (mV)
61 in1_max_alarm bus voltage max alarm limit exceeded
69 power1_max power max alarm limit (uW)
70 power1_crit power crit alarm limit (uW)
71 power1_max_alarm power max alarm limit exceeded
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Dpaca.c27 unsigned long limit, int cpu) in alloc_paca_data() argument
45 limit, nid); in alloc_paca_data()
80 limit, NUMA_NO_NODE); in alloc_shared_lppaca()
131 lp = alloc_shared_lppaca(LPPACA_SIZE, limit, cpu); in new_lppaca()
133 lp = alloc_paca_data(LPPACA_SIZE, 0x400, limit, cpu); in new_lppaca()
256 u64 limit; in allocate_paca() local
266 limit = min(ppc64_bolted_size(), ppc64_rma_size); in allocate_paca()
268 limit = ppc64_rma_size; in allocate_paca()
272 limit, cpu); in allocate_paca()
277 paca->lppaca_ptr = new_lppaca(cpu, limit); in allocate_paca()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_dpll.c374 if (clock->n < limit->n.min || limit->n.max < clock->n) in intel_pll_is_valid()
376 if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1) in intel_pll_is_valid()
378 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in intel_pll_is_valid()
388 if (clock->p < limit->p.min || limit->p.max < clock->p) in intel_pll_is_valid()
390 if (clock->m < limit->m.min || limit->m.max < clock->m) in intel_pll_is_valid()
454 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; in i9xx_find_best_dpll()
468 limit, in i9xx_find_best_dpll()
512 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; in pnv_find_best_dpll()
524 limit, in pnv_find_best_dpll()
585 limit, in g4x_find_best_dpll()
[all …]
/linux-6.3-rc2/net/sched/
A Dsch_fifo.c31 if (likely(sch->q.qlen < sch->limit)) in pfifo_enqueue()
42 if (likely(sch->q.qlen < sch->limit)) in pfifo_tail_enqueue()
103 u32 limit = qdisc_dev(sch)->tx_queue_len; in __fifo_init() local
106 limit *= psched_mtu(qdisc_dev(sch)); in __fifo_init()
108 sch->limit = limit; in __fifo_init()
115 sch->limit = ctl->limit; in __fifo_init()
121 bypass = sch->limit >= 1; in __fifo_init()
157 struct tc_fifo_qopt opt = { .limit = sch->limit }; in __fifo_dump()
243 ((struct tc_fifo_qopt *)nla_data(nla))->limit = limit; in fifo_set_limit()
253 unsigned int limit, in fifo_create_dflt() argument
[all …]
/linux-6.3-rc2/fs/romfs/
A Dstorage.c140 while (limit > 0) { 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
243 if (pos >= limit) in romfs_dev_strnlen()
245 if (maxlen > limit - pos) in romfs_dev_strnlen()
246 maxlen = limit - pos; in romfs_dev_strnlen()
268 size_t limit; in romfs_dev_strcmp() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dkv_smc.c75 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument
79 if ((smc_address + 3) > limit) in kv_set_smc_sram_address()
89 u32 *value, u32 limit) in kv_read_smc_sram_dword() argument
93 ret = kv_set_smc_sram_address(rdev, smc_address, limit); in kv_read_smc_sram_dword()
119 const u8 *src, u32 byte_count, u32 limit) in kv_copy_bytes_to_smc() argument
124 if ((smc_start_address + byte_count) > limit) in kv_copy_bytes_to_smc()
134 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc()
160 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc()
173 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc()
188 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc()
[all …]
A Drv770_smc.c278 u16 smc_address, u16 limit) in rv770_set_smc_sram_address() argument
284 if ((smc_address + 3) > limit) in rv770_set_smc_sram_address()
297 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument
306 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc()
473 for (i = 0; i < limit; i += 4) { in rv770_clear_smc_sram()
474 rv770_set_smc_sram_address(rdev, i, limit); in rv770_clear_smc_sram()
481 u16 limit) in rv770_load_smc_ucode() argument
494 rv770_clear_smc_sram(rdev, limit); in rv770_load_smc_ucode()
590 ucode_data, ucode_size, limit); in rv770_load_smc_ucode()
604 u16 smc_address, u32 *value, u16 limit) in rv770_read_smc_sram_dword() argument
[all …]
A Dci_smc.c34 u32 smc_address, u32 limit) in ci_set_smc_sram_address() argument
38 if ((smc_address + 3) > limit) in ci_set_smc_sram_address()
49 const u8 *src, u32 byte_count, u32 limit) in ci_copy_bytes_to_smc() argument
59 if ((smc_start_address + byte_count) > limit) in ci_copy_bytes_to_smc()
69 ret = ci_set_smc_sram_address(rdev, addr, limit); in ci_copy_bytes_to_smc()
84 ret = ci_set_smc_sram_address(rdev, addr, limit); in ci_copy_bytes_to_smc()
101 ret = ci_set_smc_sram_address(rdev, addr, limit); in ci_copy_bytes_to_smc()
247 u32 smc_address, u32 *value, u32 limit) in ci_read_smc_sram_dword() argument
253 ret = ci_set_smc_sram_address(rdev, smc_address, limit); in ci_read_smc_sram_dword()
262 u32 smc_address, u32 value, u32 limit) in ci_write_smc_sram_dword() argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/
A Dkv_smc.c78 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument
82 if ((smc_address + 3) > limit) in kv_set_smc_sram_address()
93 u32 *value, u32 limit) in amdgpu_kv_read_smc_sram_dword() argument
97 ret = kv_set_smc_sram_address(adev, smc_address, limit); in amdgpu_kv_read_smc_sram_dword()
123 const u8 *src, u32 byte_count, u32 limit) in amdgpu_kv_copy_bytes_to_smc() argument
128 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc()
138 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
164 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
177 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
192 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
[all …]
A Dsi_smc.c34 u32 smc_address, u32 limit) in si_set_smc_sram_address() argument
38 if ((smc_address + 3) > limit) in si_set_smc_sram_address()
49 const u8 *src, u32 byte_count, u32 limit) in amdgpu_si_copy_bytes_to_smc() argument
57 if ((smc_start_address + byte_count) > limit) in amdgpu_si_copy_bytes_to_smc()
67 ret = si_set_smc_sram_address(adev, addr, limit); in amdgpu_si_copy_bytes_to_smc()
82 ret = si_set_smc_sram_address(adev, addr, limit); in amdgpu_si_copy_bytes_to_smc()
98 ret = si_set_smc_sram_address(adev, addr, limit); in amdgpu_si_copy_bytes_to_smc()
246 u32 *value, u32 limit) in amdgpu_si_read_smc_sram_dword() argument
252 ret = si_set_smc_sram_address(adev, smc_address, limit); in amdgpu_si_read_smc_sram_dword()
261 u32 value, u32 limit) in amdgpu_si_write_smc_sram_dword() argument
[all …]
/linux-6.3-rc2/kernel/cgroup/
A Dpids.c49 atomic64_t limit; member
164 int64_t limit = atomic64_read(&p->limit); in pids_try_charge() local
171 if (new > limit) in pids_try_charge()
287 int64_t limit; in pids_max_write() local
292 limit = PIDS_MAX; in pids_max_write()
296 err = kstrtoll(buf, 0, &limit); in pids_max_write()
300 if (limit < 0 || limit >= PIDS_MAX) in pids_max_write()
308 atomic64_set(&pids->limit, limit); in pids_max_write()
316 int64_t limit = atomic64_read(&pids->limit); in pids_max_show() local
318 if (limit >= PIDS_MAX) in pids_max_show()
[all …]
/linux-6.3-rc2/fs/xfs/
A Dxfs_qm_bhv.c24 uint64_t limit; in xfs_fill_statvfs_from_dquot() local
26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot()
29 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot()
30 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot()
36 limit = dqp->q_ino.softlimit ? in xfs_fill_statvfs_from_dquot()
39 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot()
40 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/
A 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
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dregulator.yaml122 description: Set over current protection limit. This is a limit where
128 description: Set over current error limit. This is a limit where part of
134 description: Set over current warning limit. This is a limit where hardware
141 description: Set over voltage protection limit. This is a limit where
148 description: Set over voltage error limit. This is a limit where part of
155 description: Set over voltage warning limit. This is a limit where hardware
163 description: Set over under voltage protection limit. This is a limit where
170 description: Set under voltage error limit. This is a limit where part of
177 description: Set over under voltage warning limit. This is a limit where
185 description: Set over temperature protection limit. This is a limit where
[all …]
/linux-6.3-rc2/net/wireless/
A Dof.c30 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()
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-6.3-rc2/drivers/gpu/drm/gma500/
A Doaktrail_crtc.c106 limit = NULL; in mrst_limit()
110 return limit; in mrst_limit()
137 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_sdvo_find_best_pll()
138 for (clock.n = limit->n.min; clock.n <= limit->n.max; in mrst_sdvo_find_best_pll()
140 for (clock.p1 = limit->p1.min; in mrst_sdvo_find_best_pll()
147 if (target_vco > limit->vco.max) in mrst_sdvo_find_best_pll()
194 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { in mrst_lvds_find_best_pll()
195 for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; in mrst_lvds_find_best_pll()
372 const struct gma_limit_t *limit; in oaktrail_crtc_mode_set() local
507 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, in oaktrail_crtc_mode_set()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_eeprom.c185 u16 limit; in amdgpu_eeprom_xfer() local
188 limit = 0; in amdgpu_eeprom_xfer()
190 limit = quirks->max_read_len; in amdgpu_eeprom_xfer()
192 limit = quirks->max_write_len; in amdgpu_eeprom_xfer()
194 if (limit == 0) { in amdgpu_eeprom_xfer()
197 } else if (limit <= EEPROM_OFFSET_SIZE) { in amdgpu_eeprom_xfer()
211 limit -= EEPROM_OFFSET_SIZE; in amdgpu_eeprom_xfer()
214 ps = min(limit, buf_size); in amdgpu_eeprom_xfer()
/linux-6.3-rc2/arch/arm/boot/dts/
A Domap3-gta04a3.dts29 st,click-click-time-limit = <9>;
38 st,min-limit-x = <32>;
39 st,min-limit-y = <3>;
40 st,min-limit-z = <3>;
41 st,max-limit-x = <3>;
42 st,max-limit-y = <32>;
43 st,max-limit-z = <32>;

Completed in 56 milliseconds

12345678910>>...54