Home
last modified time | relevance | path

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

12345678910>>...22

/linux/drivers/firmware/google/
H A 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 …]
H A 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/include/linux/
H A 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 …]
H A 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()
195 kiov->consumed = 0; in vringh_kiov_init()
[all …]
H A Dtextsearch.h67 * @consumed: number of bytes consumed by the caller
74 * of the block or 0 if at the end. consumed == 0 indicates
77 unsigned int (*get_next_block)(unsigned int consumed,
/linux/drivers/misc/cb710/
H A 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/tools/perf/pmu-events/arch/x86/sierraforest/
H A Dpipeline.json353 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
357 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
361 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
365 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
369 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Fast Nukes such as Memory Ordering Machine clears and MRN nukes",
377 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
385 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Branch Mispredict",
393 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed b
[all...]
H A Dsrf-metrics.json337 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
345 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
351 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backend…
355 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
361consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
374 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
416 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
424 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
795 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
804 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
[all …]
/linux/tools/perf/pmu-events/arch/x86/grandridge/
H A Dpipeline.json345 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
349 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
353 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
357 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
361 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Fast Nukes such as Memory Ordering Machine clears and MRN nukes",
369 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
377 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Branch Mispredict",
385 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed b
[all...]
H A Dgrr-metrics.json235 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
243 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
249 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backend…
253 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
259consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
272 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
314 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
322 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
693 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
702 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to…
[all …]
/linux/tools/testing/selftests/powerpc/papr_vpd/
H A 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/sound/firewire/motu/
H A 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()
78 if (consumed + sizeof(ev) > count || put_user(ev, ptr)) in hwdep_read()
80 consumed += sizeof(ev); in hwdep_read()
85 (consumed - sizeof(event.motu_register_dsp_change)) / 4; in hwdep_read()
90 count = min_t(long, count, consumed); in hwdep_read()
/linux/tools/perf/pmu-events/arch/x86/elkhartlake/
H A Dpipeline.json307 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
311consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
316 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
324 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
332 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
349 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
356 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
364 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
372 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
380 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Dpipeline.json307 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
311consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
316 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
324 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
332 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
349 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
356 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
364 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
372 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
380 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/linux/tools/perf/pmu-events/arch/x86/alderlaken/
H A 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 …]
H A Dpipeline.json486 "BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires.",
490 "PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires. The most commonly executed instruction with an MS scoreboard is PAUSE.",
495 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear.",
499 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ) even if an FE_bound event occurs during this period. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
503 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to fast nukes such as memory ordering and memory disambiguation machine clears.",
511 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
519 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to branch mispredicts.",
527 "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to a machine clear (nuke).",
535 "BriefDescription": "Counts the total number of issue slots every cycle that were not consumed b
[all...]
/linux/kernel/
H A Drelay.c611 * relay_subbufs_consumed - update the buffer's sub-buffers-consumed count
616 * Adds to the channel buffer's consumed sub-buffer count.
617 * subbufs_consumed should be the number of sub-buffers newly consumed,
618 * not the total consumed.
804 * relay_file_read_consume - update the consumed count for the buffer
845 size_t consumed; in relay_file_read_avail() local
849 consumed = buf->subbufs_consumed; in relay_file_read_avail()
852 if (produced == consumed) in relay_file_read_avail()
857 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()
858 consumed = produced - n_subbufs + 1; in relay_file_read_avail()
[all …]
/linux/tools/perf/pmu-events/arch/x86/clearwaterforest/
H A Dpipeline.json79 …"BriefDescription": "Fixed Counter: Counts the number of issue slots that were not consumed by the…
86 …"BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls. [Th…
94 …"BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls. [Th…
102 …"BriefDescription": "Fixed Counter: Counts the number of retirement slots not consumed due to fron…
109 "BriefDescription": "Fixed Counter: Counts the number of consumed retirement slots.",
/linux/drivers/accessibility/speakup/
H A 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/Documentation/hwmon/
H A 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/sound/firewire/fireface/
H A 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/drivers/platform/x86/intel/pmt/
H A Dcrashlog.c88 u32 consumed; member
207 return pmt_crashlog_rc(crashlog, crashlog->info->status.consumed); in pmt_crashlog_consumed()
272 bool consumed = pmt_crashlog_consumed(crashlog); in consumed_show() local
274 return sysfs_emit(buf, "%d\n", consumed); in consumed_show()
282 bool consumed; in consumed_store() local
287 result = kstrtobool(buf, &consumed); in consumed_store()
292 if (!consumed) in consumed_store()
307 static DEVICE_ATTR_RW(consumed);
475 .status.consumed = TYPE1_VER2_CONSUMED,
/linux/tools/testing/selftests/filesystems/
H A Dfclog.c75 /* The message has been consumed. */ in TEST_F()
100 /* The message has been consumed. */ in TEST_F()
115 * result in the message getting consumed. in TEST_F()
125 /* The message has been consumed. */ in TEST_F()
/linux/tools/perf/pmu-events/arch/x86/arrowlake/
H A Dpipeline.json1964 "BriefDescription": "Counts the number issue slots not consumed due to a color request for an FCW or MXCSR control register when all 4 colors (copies) are already in use",
1982 "BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires.",
1986 "PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires. The most commonly executed instruction with an MS scoreboard is PAUSE.",
1992 "BriefDescription": "This event counts a subset of the Topdown Slots event that were not consumed by the back-end pipeline due to lack of back-end resources, as a result of memory subsystem delays, execution units limitations, or other conditions.",
1996 "PublicDescription": "This event counts a subset of the Topdown Slots event that were not consumed by the back-end pipeline due to lack of back-end resources, as a result of memory subsystem delays, execution units limitations, or other conditions. Software can use this event as the numerator for the Backend Bound metric (or top-level category) of the Top-down Microarchitecture Analysis method.",
2050 "BriefDescription": "Fixed Counter: Counts the number of issue slots not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear.",
2053 "PublicDescription": "Fixed Counter: Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the IQ. Also, includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
2059 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear.",
2067 "BriefDescription": "Counts the number of issue slots that were not consumed b
[all...]
/linux/kernel/kcsan/
H A 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>>...22