Home
last modified time | relevance | path

Searched full:consumed (Results 1 – 25 of 788) sorted by relevance

12345678910>>...32

/linux-6.15/drivers/firmware/google/
Dvpd_decode.c40 u32 consumed = *_consumed; in vpd_decode_entry() local
42 if (vpd_decode_len(max_len - consumed, &input_buf[consumed], in vpd_decode_entry()
45 if (max_len - consumed < decoded_len) in vpd_decode_entry()
48 consumed += decoded_len; in vpd_decode_entry()
49 *entry = input_buf + consumed; in vpd_decode_entry()
52 if (max_len - consumed < *entry_len) in vpd_decode_entry()
55 consumed += *entry_len; in vpd_decode_entry()
56 *_consumed = consumed; in vpd_decode_entry()
60 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed, in vpd_decode_string() argument
70 if (*consumed >= max_len) in vpd_decode_string()
[all …]
Dvpd_decode.h36 * (key, value). The *consumed will be plused the number of bytes consumed in
41 * The *consumed starts from 0, which is actually the next byte to be decoded.
47 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
/linux-6.15/net/netfilter/
Dnft_quota.c18 atomic64_t *consumed; member
24 return atomic64_add_return(skb->len, priv->consumed) >= in nft_overquota()
70 u64 quota, consumed = 0; in nft_quota_do_init() local
80 consumed = be64_to_cpu(nla_get_be64(tb[NFTA_QUOTA_CONSUMED])); in nft_quota_do_init()
81 if (consumed > quota) in nft_quota_do_init()
93 priv->consumed = kmalloc(sizeof(*priv->consumed), GFP_KERNEL_ACCOUNT); in nft_quota_do_init()
94 if (!priv->consumed) in nft_quota_do_init()
99 atomic64_set(priv->consumed, consumed); in nft_quota_do_init()
107 kfree(priv->consumed); in nft_quota_do_destroy()
134 u64 consumed, consumed_cap, quota; in nft_quota_do_dump() local
[all …]
/linux-6.15/include/linux/
Diov_iter.h48 size_t remain, consumed; in iterate_iovec() local
53 consumed = part - remain; in iterate_iovec()
54 progress += consumed; in iterate_iovec()
55 skip += consumed; in iterate_iovec()
56 len -= consumed; in iterate_iovec()
82 size_t remain, consumed; in iterate_kvec() local
87 consumed = part - remain; in iterate_kvec()
88 progress += consumed; in iterate_kvec()
89 skip += consumed; in iterate_kvec()
90 len -= consumed; in iterate_kvec()
[all …]
Dvringh.h89 * @consumed: number of bytes consumed within iov[i]
100 size_t consumed; /* Within iov[i] */ member
107 * @consumed: number of bytes consumed within iov[i]
118 size_t consumed; /* Within iov[i] */ member
136 iov->consumed = 0; in vringh_iov_init()
143 iov->iov[iov->i].iov_len += iov->consumed; in vringh_iov_reset()
144 iov->iov[iov->i].iov_base -= iov->consumed; in vringh_iov_reset()
145 iov->consumed = 0; in vringh_iov_reset()
153 iov->max_num = iov->used = iov->i = iov->consumed = 0; in vringh_iov_cleanup()
198 kiov->consumed = 0; in vringh_kiov_init()
[all …]
Dtextsearch.h66 * @consumed: number of bytes consumed by the caller
73 * of the block or 0 if at the end. consumed == 0 indicates
76 unsigned int (*get_next_block)(unsigned int consumed,
/linux-6.15/drivers/misc/cb710/
Dsgbuf2.c14 miter->consumed = 0; in sg_dwiter_next()
22 return miter->length == miter->consumed && !sg_dwiter_next(miter); in sg_dwiter_is_at_end()
32 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer()
33 memcpy(addr, miter->addr + miter->consumed, len); in sg_dwiter_read_buffer()
34 miter->consumed += len; in sg_dwiter_read_buffer()
61 len = miter->length - miter->consumed; in sg_dwiter_get_next_block()
64 miter->addr + miter->consumed))) { in sg_dwiter_get_next_block()
65 *ptr = miter->addr + miter->consumed; in sg_dwiter_get_next_block()
66 miter->consumed += 4; in sg_dwiter_get_next_block()
107 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow()
[all …]
/linux-6.15/tools/perf/pmu-events/arch/x86/grandridge/
Dpipeline.json263 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
267consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
271 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
275consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
279 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
287 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
295 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
303 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
311 …"BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls [Thi…
318 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
Dgrr-metrics.json217 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
224 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
229 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backend…
233 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
238consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
250 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
287 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
294 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
656 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
664 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
[all …]
/linux-6.15/tools/perf/pmu-events/arch/x86/sierraforest/
Dpipeline.json304 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
308consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
312 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
316consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
320 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
328 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
336 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
344 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
352 …"BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls [Thi…
359 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
Dsrf-metrics.json289 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
296 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
301 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backend…
305 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
310consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
322 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
359 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
366 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
728 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
736 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
[all …]
/linux-6.15/tools/testing/selftests/powerpc/papr_vpd/
Dpapr_vpd.c54 ssize_t consumed = pread(fd, buf, size, 0); in dev_papr_vpd_get_handle_all() local
55 FAIL_IF(consumed != size); in dev_papr_vpd_get_handle_all()
86 size_t consumed = 0; in dev_papr_vpd_get_handle_byte_at_a_time() local
96 consumed += res; in dev_papr_vpd_get_handle_byte_at_a_time()
101 FAIL_IF(consumed != lseek(fd, 0, SEEK_END)); in dev_papr_vpd_get_handle_byte_at_a_time()
203 ssize_t consumed = pread(fd, bufs[i], size, 0); in papr_vpd_reread() local
204 FAIL_IF(consumed != size); in papr_vpd_reread()
286 ssize_t consumed = pread(fd, buf, size, 0); in papr_vpd_system_loc_code() local
287 FAIL_IF(consumed != size); in papr_vpd_system_loc_code()
/linux-6.15/tools/perf/pmu-events/arch/x86/snowridgex/
Dpipeline.json290 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
294consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
299 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
307 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
315 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
332 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
339 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
347 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
355 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
363 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/linux-6.15/tools/perf/pmu-events/arch/x86/elkhartlake/
Dpipeline.json290 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
294consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
299 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
307 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
315 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
332 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
339 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
347 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
355 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
363 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/linux-6.15/tools/perf/pmu-events/arch/x86/alderlaken/
Dadln-metrics.json74 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
82 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
89 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backend…
93 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
100consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
113 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
155 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
163 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
513 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
522 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
[all …]
Dpipeline.json427 …"BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-s…
431 …"PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-…
436 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
440consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
444 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
452 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
460 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
468 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
476 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
483 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/linux-6.15/sound/firewire/motu/
Dmotu-hwdep.c66 size_t consumed = 0; in hwdep_read() local
73 consumed += sizeof(event.motu_register_dsp_change); in hwdep_read()
75 while (consumed < count && in hwdep_read()
77 ptr = (u32 __user *)(buf + consumed); in hwdep_read()
80 consumed += sizeof(ev); in hwdep_read()
85 (consumed - sizeof(event.motu_register_dsp_change)) / 4; in hwdep_read()
89 count = consumed; in hwdep_read()
/linux-6.15/tools/perf/pmu-events/arch/x86/clearwaterforest/
Dpipeline.json77 …"BriefDescription": "Fixed Counter: Counts the number of issue slots that were not consumed by the…
84 …"BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls. [Th…
92 …"BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls. [Th…
100 …"BriefDescription": "Fixed Counter: Counts the number of retirement slots not consumed due to fron…
107 "BriefDescription": "Fixed Counter: Counts the number of consumed retirement slots.",
/linux-6.15/Documentation/hwmon/
Dfam15h_power.rst29 is the power consumed when running a specific application. Thermal
41 consumed by the processor for NB and logic external to the core.
48 consumed by the processor.
62 calculate the average power consumed by a processor during a
/linux-6.15/drivers/accessibility/speakup/
Dsynth.c222 * In all cases, returns the number of consumed bytes in *consumed,
226 s32 synth_utf8_get(const char *buf, size_t count, size_t *consumed, size_t *want) in synth_utf8_get() argument
238 *consumed = 1; in synth_utf8_get()
244 *consumed = 1; in synth_utf8_get()
253 *consumed = 0; in synth_utf8_get()
266 *consumed = i; in synth_utf8_get()
273 *consumed = nbytes; in synth_utf8_get()
281 size_t i, consumed, want; in synth_writeu() local
287 value = synth_utf8_get(buf + i, count - i, &consumed, &want); in synth_writeu()
/linux-6.15/kernel/
Drelay.c713 * relay_subbufs_consumed - update the buffer's sub-buffers-consumed count
718 * Adds to the channel buffer's consumed sub-buffer count.
719 * subbufs_consumed should be the number of sub-buffers newly consumed,
720 * not the total consumed.
875 * relay_file_read_consume - update the consumed count for the buffer
916 size_t consumed; in relay_file_read_avail() local
920 consumed = buf->subbufs_consumed; in relay_file_read_avail()
923 if (produced == consumed) in relay_file_read_avail()
928 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()
929 consumed = produced - n_subbufs + 1; in relay_file_read_avail()
[all …]
/linux-6.15/sound/firewire/fireface/
Dff-protocol-latter.c492 int consumed; in latter_fill_midi_msg() local
495 consumed = snd_rawmidi_transmit_peek(substream, buf + 1, 3); in latter_fill_midi_msg()
496 if (consumed <= 0) in latter_fill_midi_msg()
497 return consumed; in latter_fill_midi_msg()
501 if (consumed < calculate_message_bytes(buf[1])) in latter_fill_midi_msg()
508 buf[0] |= consumed; in latter_fill_midi_msg()
513 consumed -= 1; in latter_fill_midi_msg()
516 buf[0] |= consumed; in latter_fill_midi_msg()
520 consumed = 1; in latter_fill_midi_msg()
526 ff->rx_bytes[port] = consumed; in latter_fill_midi_msg()
/linux-6.15/lib/
Dts_kmp.c45 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() local
50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
63 state->offset = consumed + i + 1; in kmp_find()
68 consumed += text_len; in kmp_find()
/linux-6.15/tools/perf/pmu-events/arch/x86/arrowlake/
Dpipeline.json1464 …"BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-s…
1468 …"PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-…
1474 …": "This event counts a subset of the Topdown Slots event that were not consumed by the back-end p…
1478 …": "This event counts a subset of the Topdown Slots event that were not consumed by the back-end p…
1532 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
1540 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
1544consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
1549 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
1558 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
1567 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
[all …]
/linux-6.15/kernel/kcsan/
Dkcsan.h120 * The calling thread hit and consumed a watchpoint: set the access information
121 * to be consumed by the reporting thread. No report is printed yet.
128 * consumed: print the full report based on information set by the racing

12345678910>>...32