Home
last modified time | relevance | path

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

12345678910>>...34

/openbmc/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,
/openbmc/linux/net/netfilter/
H A 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 …]
/openbmc/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 …]
/openbmc/linux/include/linux/
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()
198 kiov->consumed = 0; in vringh_kiov_init()
[all …]
H A 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,
/openbmc/linux/tools/perf/pmu-events/arch/x86/alderlaken/
H A Dadln-metrics.json88 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due t…
96 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend…
103 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backen…
107 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend…
114 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backen…
118 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
125consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
147 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due t…
206 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due t…
248 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due t…
[all …]
H A Dpipeline.json332 …"BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-s…
335 …"PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-…
340 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
343consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
347 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
354 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
361 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
368 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
375 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
381 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/sierraforest/
H A Dpipeline.json71 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
74consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
78 … "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls",
84 … "BriefDescription": "Counts the number of retirement slots not consumed due to front end stalls",
90 …"BriefDescription": "Counts the number of consumed retirement slots. Similar to UOPS_RETIRED.ALL",
/openbmc/linux/tools/perf/pmu-events/arch/x86/grandridge/
H A Dpipeline.json71 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend becaus…
74consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
78 … "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls",
84 … "BriefDescription": "Counts the number of retirement slots not consumed due to front end stalls",
90 …"BriefDescription": "Counts the number of consumed retirement slots. Similar to UOPS_RETIRED.ALL",
/openbmc/webui-vue/src/utilities/
H A DNBDServer.js96 var consumed = handler(this.msgbuf);
97 if (consumed < 0) {
99 'handler[state=' + this.state + '] returned error ' + consumed,
104 if (consumed == 0) {
107 if (consumed > 0) {
108 if (consumed == this.msgbuf.byteLength) {
112 this.msgbuf = this.msgbuf.slice(consumed);
215 var consumed = 28;
233 consumed += req.length;
252 return consumed;
/openbmc/linux/tools/perf/pmu-events/arch/x86/elkhartlake/
H A Dpipeline.json257 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
260consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
265 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
272 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
279 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
294 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
300 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
307 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
314 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
321 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Dpipeline.json257 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
260consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clea…
265 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
272 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend …
279 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
294 …ion": "Counts the total number of issue slots every cycle that were not consumed by the backend du…
300 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
307 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
314 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
321 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba…
[all …]
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dvirtual-media-controller.js167 var consumed = handler(this.msgbuf);
168 if (consumed < 0) {
170 'handler[state=' + this.state + '] returned error ' + consumed);
175 if (consumed == 0) {
179 if (consumed > 0) {
180 if (consumed == this.msgbuf.byteLength) {
184 this.msgbuf = this.msgbuf.slice(consumed);
310 var consumed = 28;
331 consumed += req.length;
350 return consumed;
/openbmc/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()
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()
/openbmc/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
/openbmc/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()
/openbmc/linux/kernel/
H A Drelay.c714 * relay_subbufs_consumed - update the buffer's sub-buffers-consumed count
719 * Adds to the channel buffer's consumed sub-buffer count.
720 * subbufs_consumed should be the number of sub-buffers newly consumed,
721 * not the total consumed.
876 * relay_file_read_consume - update the consumed count for the buffer
917 size_t consumed; in relay_file_read_avail() local
921 consumed = buf->subbufs_consumed; in relay_file_read_avail()
924 if (produced == consumed) in relay_file_read_avail()
929 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()
930 consumed = produced - n_subbufs + 1; in relay_file_read_avail()
[all …]
/openbmc/linux/lib/
H A 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()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_comp_algs.c159 int consumed; in qat_comp_rfc1950_callback() local
161 consumed = qat_comp_get_consumed_ctr(resp); in qat_comp_rfc1950_callback()
162 footer_offset = consumed + QAT_RFC_1950_HDR_SIZE; in qat_comp_rfc1950_callback()
183 int consumed, produced; in qat_comp_generic_callback() local
194 consumed = qat_comp_get_consumed_ctr(resp); in qat_comp_generic_callback()
198 "[%s][%s][%s] slen = %8d dlen = %8d consumed = %8d produced = %8d cmp_err = %3d xlt_err = %3d", in qat_comp_generic_callback()
202 areq->slen, areq->dlen, consumed, produced, cmp_err, xlt_err); in qat_comp_generic_callback()
/openbmc/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
/openbmc/qemu/hw/char/
H A Dxen_console.c42 size_t consumed; member
102 if (buffer->consumed > buffer->max_capacity - over) in OBJECT_DECLARE_SIMPLE_TYPE()
103 buffer->consumed = buffer->max_capacity - over; in OBJECT_DECLARE_SIMPLE_TYPE()
110 buffer->consumed += len; in buffer_advance()
111 if (buffer->consumed == buffer->size) { in buffer_advance()
112 buffer->consumed = 0; in buffer_advance()
165 size = con->buffer.size - con->buffer.consumed; in xencons_send()
168 con->buffer.data + con->buffer.consumed, in xencons_send()
199 if (con->buffer.size - con->buffer.consumed) { in con_event()
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_ringbuffer.c326 int consumed; in dvb_ringbuffer_pkt_next() local
338 consumed = (idx - rbuf->pread); in dvb_ringbuffer_pkt_next()
339 if (consumed < 0) in dvb_ringbuffer_pkt_next()
340 consumed += rbuf->size; in dvb_ringbuffer_pkt_next()
342 while((dvb_ringbuffer_avail(rbuf) - consumed) > DVB_RINGBUFFER_PKTHDRSIZE) { in dvb_ringbuffer_pkt_next()
353 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; in dvb_ringbuffer_pkt_next()
/openbmc/linux/drivers/crypto/cavium/zip/
H A Dzip_device.c50 * zip_cmd_queue_consumed - Calculates the space consumed in the command queue.
55 * Return: Bytes consumed in the command queue buffer.
82 u32 consumed = 0; in zip_load_instr() local
112 consumed = zip_cmd_queue_consumed(zip_dev, queue); in zip_load_instr()
114 if ((consumed + 128) == (ZIP_CMD_QBUF_SIZE - 8)) { in zip_load_instr()
/openbmc/linux/include/linux/sunrpc/
H A Dxdr.h392 * On success, returns length in bytes of XDR buffer consumed
411 * On success, returns length in bytes of XDR buffer consumed
445 * On success, returns length in bytes of XDR buffer consumed
465 * On success, returns length in bytes of XDR buffer consumed
486 * On success, returns length in bytes of XDR buffer consumed
507 * On success, returns length in bytes of XDR buffer consumed
529 * On success, returns length in bytes of XDR buffer consumed
554 * On success, returns length in bytes of XDR buffer consumed
575 * On success, returns length in bytes of XDR buffer consumed
597 * On success, returns length in bytes of XDR buffer consumed

12345678910>>...34