Searched refs:limit (Results 1 - 25 of 851) sorted by relevance

1234567891011>>

/linux-master/arch/s390/boot/
H A Duv.h6 unsigned long adjust_to_uv_max(unsigned long limit);
9 static inline unsigned long adjust_to_uv_max(unsigned long limit) argument
11 return limit;
/linux-master/include/asm-generic/
H A Daccess_ok.h23 * limit and catch all possible overflows.
29 * for constant 'size' and 'limit' values.
33 unsigned long limit = TASK_SIZE_MAX; local
40 return (size <= limit) && (addr <= (limit - size));
/linux-master/arch/arm64/lib/
H A Dmemcmp.S22 #define limit x2 define
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 i
[all...]
H A Dstrncmp.S26 #define limit x2 define
62 cbz limit, L(ret0)
78 subs limit, limit, #8
91 add limit, limit, 8 /* Rewind limit to before last subs. */
94 is before the limit. */
100 cmp limit, pos, lsr #3
109 /* Not reached the limit, mus
[all...]
/linux-master/include/linux/mfd/pcf50633/
H A Dbacklight.h18 * Brightness limit to be used after the driver has been probed. This is useful
39 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit);
/linux-master/include/linux/spi/
H A Dcorgi_lcd.h18 void corgi_lcd_limit_intensity(int limit);
/linux-master/arch/x86/mm/
H A Damdtopology.c81 u64 base, limit; local
84 limit = read_pci_config(0, nb, 1, 0x44 + i*8);
86 nodeids[i] = nodeid = limit & 7;
94 base, limit);
98 if (!limit) {
103 if ((base >> 8) & 3 || (limit >> 8) & 3) {
105 nodeid, (base >> 8) & 3, (limit >> 8) & 3);
114 limit >>= 16;
115 limit++;
116 limit <<
[all...]
/linux-master/fs/xfs/
H A Dxfs_qm_bhv.c25 uint64_t limit; local
27 limit = dqp->q_blk.softlimit ?
30 if (limit && statp->f_blocks > limit) {
31 statp->f_blocks = limit;
37 limit = dqp->q_ino.softlimit ?
40 if (limit && statp->f_files > limit) {
41 statp->f_files = limit;
/linux-master/arch/x86/um/asm/
H A Ddesc.h9 (info)->limit == 0 && \
/linux-master/arch/x86/include/uapi/asm/
H A Dldt.h17 * Note on 64bit base and limit is ignored and you cannot set DS/ES/CS
24 unsigned int limit; member in struct:user_desc
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dga100.c25 ga100_acr_wpr_check(struct nvkm_acr *acr, u64 *start, u64 *limit) argument
30 *limit = (u64)(nvkm_rd32(device, 0x1fa820) & 0xffffff00) << 8;
31 *limit = *limit + 0x20000;
/linux-master/arch/loongarch/kernel/
H A Dftrace.c29 int limit = 32; local
36 limit--;
41 } while (!is_stack_alloc_ins(insn) && limit);
43 if (!limit)
/linux-master/arch/powerpc/boot/
H A Ddecompress.c42 static unsigned long limit; variable
59 * if we hit our decompression limit, we need to fake an error to abort
62 if (decompressed_bytes >= limit)
81 size = min(decompressed_bytes + size, limit) - decompressed_bytes;
92 if (decompressed_bytes >= limit)
129 limit = output_size;
139 if (decompressed_bytes < limit)
/linux-master/net/netfilter/
H A Dnft_limit.c24 struct nft_limit *limit; member in struct:nft_limit_priv
37 spin_lock_bh(&priv->limit->lock);
39 tokens = priv->limit->tokens + now - priv->limit->last;
43 priv->limit->last = now;
46 priv->limit->tokens = delta;
47 spin_unlock_bh(&priv->limit->lock);
50 priv->limit->tokens = tokens;
51 spin_unlock_bh(&priv->limit->lock);
113 priv->limit
173 struct nft_limit_priv limit; member in struct:nft_limit_priv_pkts
[all...]
/linux-master/net/wireless/
H A Dof.c30 struct ieee80211_freq_range *limit = &freq_limits[i]; local
32 if (cfg80211_does_bw_fit_range(limit,
91 prop = of_find_property(np, "ieee80211-freq-limit", &len);
96 dev_err(dev, "ieee80211-freq-limit wrong format");
109 struct ieee80211_freq_range *limit = &freq_limits[i]; local
111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz);
117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz);
123 if (!limit->start_freq_khz ||
124 !limit->end_freq_khz ||
125 limit
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_eeprom.c185 u16 limit; local
190 limit = 0;
192 limit = quirks->max_read_len;
194 limit = quirks->max_write_len;
196 if (limit == 0) {
199 } else if (limit <= EEPROM_OFFSET_SIZE) {
207 /* The "limit" includes all data bytes sent/received,
211 limit -= EEPROM_OFFSET_SIZE;
214 ps = min(limit, buf_size);
/linux-master/net/sched/
H A Dsch_fifo.c22 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit))
31 if (likely(sch->q.qlen < sch->limit))
42 if (likely(sch->q.qlen < sch->limit))
46 /* queue full, remove one skb to fulfill the limit */
103 u32 limit = qdisc_dev(sch)->tx_queue_len; local
106 limit *= psched_mtu(qdisc_dev(sch));
108 sch->limit = limit;
115 sch->limit = ctl->limit;
227 fifo_set_limit(struct Qdisc *q, unsigned int limit) argument
252 fifo_create_dflt(struct Qdisc *sch, struct Qdisc_ops *ops, unsigned int limit, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_smc.c78 u32 smc_address, u32 limit)
82 if ((smc_address + 3) > limit)
93 u32 *value, u32 limit)
97 ret = kv_set_smc_sram_address(adev, smc_address, limit);
123 const u8 *src, u32 byte_count, u32 limit)
128 if ((smc_start_address + byte_count) > limit)
138 ret = kv_set_smc_sram_address(adev, addr, limit);
164 ret = kv_set_smc_sram_address(adev, addr, limit);
177 ret = kv_set_smc_sram_address(adev, addr, limit);
192 ret = kv_set_smc_sram_address(adev, addr, limit);
77 kv_set_smc_sram_address(struct amdgpu_device *adev, u32 smc_address, u32 limit) argument
92 amdgpu_kv_read_smc_sram_dword(struct amdgpu_device *adev, u32 smc_address, u32 *value, u32 limit) argument
121 amdgpu_kv_copy_bytes_to_smc(struct amdgpu_device *adev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dkv_smc.c75 u32 smc_address, u32 limit)
79 if ((smc_address + 3) > limit)
89 u32 *value, u32 limit)
93 ret = kv_set_smc_sram_address(rdev, smc_address, limit);
119 const u8 *src, u32 byte_count, u32 limit)
124 if ((smc_start_address + byte_count) > limit)
134 ret = kv_set_smc_sram_address(rdev, addr, limit);
160 ret = kv_set_smc_sram_address(rdev, addr, limit);
173 ret = kv_set_smc_sram_address(rdev, addr, limit);
188 ret = kv_set_smc_sram_address(rdev, addr, limit);
74 kv_set_smc_sram_address(struct radeon_device *rdev, u32 smc_address, u32 limit) argument
88 kv_read_smc_sram_dword(struct radeon_device *rdev, u32 smc_address, u32 *value, u32 limit) argument
117 kv_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
[all...]
/linux-master/fs/romfs/
H A Dstorage.c131 unsigned long pos, size_t limit)
140 while (limit > 0) {
142 segment = min_t(size_t, limit, ROMBSIZE - offset);
151 limit -= segment;
217 size_t limit; local
219 limit = romfs_maxsize(sb);
220 if (pos >= limit || buflen > limit - pos)
240 size_t limit; local
242 limit
130 romfs_blk_strnlen(struct super_block *sb, unsigned long pos, size_t limit) argument
268 size_t limit; local
[all...]
/linux-master/arch/x86/um/shared/sysdep/
H A Dtls.h14 unsigned int limit; member in struct:um_dup_user_desc
/linux-master/include/uapi/linux/netfilter/
H A Dxt_connlimit.h25 unsigned int limit; member in struct:xt_connlimit_info
/linux-master/kernel/cgroup/
H A 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 in struct:pids_cgroup
55 /* Number of times fork failed because limit was hit. */
79 atomic64_set(&pids->limit, PIDS_MAX);
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
164 int64_t limit = atomic64_read(&p->limit); local
287 int64_t limit; local
316 int64_t limit = atomic64_read(&pids->limit); local
[all...]
/linux-master/lib/
H A Ddynamic_queue_limits.c84 /* Records completed count and recalculates the queue limit */
87 unsigned int inprogress, prev_inprogress, limit; local
97 limit = dql->limit;
98 ovlimit = POSDIFF(num_queued - dql->num_completed, limit);
107 * - The queue was over-limit in the last interval,
110 * - The queue was over-limit in the previous interval and
116 * When queue is starved increase the limit by the amount
118 * plus any previous over-limit.
120 limit
[all...]
/linux-master/drivers/clk/bcm/
H A Dclk-kona-setup.c21 u32 limit; local
23 limit = ccu->range - sizeof(u32);
24 limit = round_down(limit, sizeof(u32));
26 if (ccu_policy->enable.offset > limit) {
29 ccu->name, ccu_policy->enable.offset, limit);
32 if (ccu_policy->control.offset > limit) {
35 ccu->name, ccu_policy->control.offset, limit);
80 u32 limit; local
87 limit
174 u32 limit = BITS_PER_BYTE * sizeof(u32) - 1; local
194 u32 limit = BITS_PER_BYTE * sizeof(u32); local
291 u32 limit; local
365 u32 limit; local
[all...]

Completed in 503 milliseconds

1234567891011>>