/linux-master/lib/ |
H A D | textsearch.c | 204 static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, argument 210 if (likely(consumed < st->len)) { 211 *dst = st->data + consumed; 212 return st->len - consumed;
|
H A D | ts_bm.c | 79 unsigned int i, text_len, consumed = state->offset; local 87 text_len = conf->get_next_block(consumed, &text, conf, state); 101 return consumed + (shift-(bm->patlen-1)); 109 consumed += text_len;
|
H A D | ts_fsm.c | 139 unsigned block_len = 0, strict, consumed = state->offset; local 143 ({ consumed += block_idx; \ 145 block_len = conf->get_next_block(consumed, &data, conf, state); }) 163 match_start = consumed + block_idx; 237 match_start = consumed + block_idx; 251 state->offset = consumed + block_idx;
|
H A D | ts_kmp.c | 45 unsigned int i, q = 0, text_len, consumed = state->offset; local 50 text_len = conf->get_next_block(consumed, &text, conf, state); 63 state->offset = consumed + i + 1; 68 consumed += text_len;
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_compress.c | 1546 * tells how much data has been consumed (input) and produced (output) for current frame. 1557 fp.consumed = cctx->consumedSrcSize; 3836 * All blocks will be terminated, all input will be consumed. 5547 assert(iPos == srcSize); /* all input is expected consumed */ 5657 * Occasionally, we may want to change the actual number of bytes we consumed from inSeqs to
|
/linux-master/lib/zstd/decompress/ |
H A D | huf_decompress.c | 228 * to count how many bits we've consumed. 254 * the next bit to read, and we may have consumed 100% 1114 U32 consumed; local 1115 for (consumed = minBits; consumed < maxTableLog - minBits + 1; consumed++) { 1116 U32* const rankValPtr = wksp->rankVal[consumed]; 1119 rankValPtr[w] = rankVal0[w] >> consumed;
|
/linux-master/net/batman-adv/ |
H A D | main.c | 605 unsigned int consumed = 0; local 610 while ((len = skb_seq_read(consumed, &data, &st)) != 0) { 612 consumed += len;
|
/linux-master/net/core/ |
H A D | skbuff.c | 4269 * @consumed: number of bytes consumed by the caller so far 4273 * Reads a block of skb data at @consumed relative to the 4280 * returned, i.e. @consumed is typically set to the number 4281 * of bytes already consumed and the next call to 4292 unsigned int skb_seq_read(unsigned int consumed, const u8 **data, argument 4295 unsigned int block_limit, abs_offset = consumed + st->lower_offset;
|
/linux-master/net/netfilter/ |
H A D | nft_quota.c | 18 atomic64_t *consumed; member in struct:nft_quota 24 return atomic64_add_return(skb->len, priv->consumed) >= 70 u64 quota, consumed = 0; local 80 consumed = be64_to_cpu(nla_get_be64(tb[NFTA_QUOTA_CONSUMED])); 81 if (consumed > quota) 93 priv->consumed = kmalloc(sizeof(*priv->consumed), GFP_KERNEL_ACCOUNT); 94 if (!priv->consumed) 99 atomic64_set(priv->consumed, consumed); 134 u64 consumed, consumed_cap, quota; local [all...] |
/linux-master/net/unix/ |
H A D | af_unix.c | 658 UNIXCB(skb).consumed = skb->len; 2545 return skb->len - UNIXCB(skb).consumed; 2588 UNIXCB(oob_skb).consumed += 1; 2811 UNIXCB(skb).consumed += chunk; 2866 ret = skb_copy_datagram_msg(skb, UNIXCB(skb).consumed + skip, 2911 UNIXCB(skb).consumed + skip,
|
/linux-master/sound/firewire/fireface/ |
H A D | ff-protocol-former.c | 685 long consumed = 0; local 692 consumed += sizeof(ev); 696 if (copy_to_user(buf + consumed, parser->msgs + parser->pull_pos, 708 consumed += sizeof(*parser->msgs); 718 return consumed;
|
H A D | ff-protocol-latter.c | 492 int consumed; local 495 consumed = snd_rawmidi_transmit_peek(substream, buf + 1, 3); 496 if (consumed <= 0) 497 return consumed; 501 if (consumed < calculate_message_bytes(buf[1])) 508 buf[0] |= consumed; 513 consumed -= 1; 516 buf[0] |= consumed; 520 consumed = 1; 526 ff->rx_bytes[port] = consumed; [all...] |
/linux-master/sound/firewire/motu/ |
H A D | motu-hwdep.c | 66 size_t consumed = 0; local 73 consumed += sizeof(event.motu_register_dsp_change); 75 while (consumed < count && 77 ptr = (u32 __user *)(buf + consumed); 80 consumed += sizeof(ev); 85 (consumed - sizeof(event.motu_register_dsp_change)) / 4; 89 count = consumed;
|
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 1517 int consumed = sizeof(*augmented_arg) + augmented_arg->size; local 1519 arg->augmented.args = ((void *)arg->augmented.args) + consumed; 1520 arg->augmented.size -= consumed;
|
/linux-master/tools/perf/util/cs-etm-decoder/ |
H A D | cs-etm-decoder.c | 778 size_t len, size_t *consumed) 819 *consumed = processed; 776 cs_etm_decoder__process_data_block(struct cs_etm_decoder *decoder, u64 indx, const u8 *buf, size_t len, size_t *consumed) argument
|
H A D | cs-etm-decoder.h | 92 size_t len, size_t *consumed);
|
/linux-master/tools/perf/util/ |
H A D | cs-etm.c | 772 size_t consumed; local 777 buffer->size - buffer_used, &consumed); 781 buffer_used += consumed; 2463 /* Run trace decoder until buffer consumed or end of trace */ 2498 /* Run trace decoder until buffer consumed or end of trace */
|
/linux-master/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 54 ssize_t consumed = pread(fd, buf, size, 0); local 55 FAIL_IF(consumed != size); 86 size_t consumed = 0; local 96 consumed += res; 101 FAIL_IF(consumed != lseek(fd, 0, SEEK_END)); 203 ssize_t consumed = pread(fd, bufs[i], size, 0); local 204 FAIL_IF(consumed != size); 286 ssize_t consumed = pread(fd, buf, size, 0); local 287 FAIL_IF(consumed != size);
|