Searched refs:consumed (Results 1 – 6 of 6) sorted by relevance
/lib/ |
D | scatterlist.c | 540 off_t consumed; in sg_miter_skip() local 545 consumed = min_t(off_t, offset, miter->__remaining); in sg_miter_skip() 546 miter->__offset += consumed; in sg_miter_skip() 547 miter->__remaining -= consumed; in sg_miter_skip() 548 offset -= consumed; in sg_miter_skip() 584 miter->consumed = miter->length = miter->__remaining; in sg_miter_next() 611 WARN_ON(miter->consumed > miter->length); in sg_miter_stop() 615 miter->__offset += miter->consumed; in sg_miter_stop() 616 miter->__remaining -= miter->consumed; in sg_miter_stop() 631 miter->consumed = 0; in sg_miter_stop()
|
D | textsearch.c | 202 static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, in get_linear_data() argument 208 if (likely(consumed < st->len)) { in get_linear_data() 209 *dst = st->data + consumed; in get_linear_data() 210 return st->len - consumed; in get_linear_data()
|
D | ts_kmp.c | 49 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() local 54 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find() 67 state->offset = consumed + i + 1; in kmp_find() 72 consumed += text_len; in kmp_find()
|
D | ts_bm.c | 65 unsigned int i, text_len, consumed = state->offset; in bm_find() local 71 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find() 87 return consumed += (shift-(bm->patlen-1)); in bm_find() 94 consumed += text_len; in bm_find()
|
D | ts_fsm.c | 143 unsigned block_len = 0, strict, consumed = state->offset; in fsm_find() local 147 ({ consumed += block_idx; \ in fsm_find() 149 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find() 167 match_start = consumed + block_idx; in fsm_find() 241 match_start = consumed + block_idx; in fsm_find() 255 state->offset = consumed + block_idx; in fsm_find()
|
/lib/mpi/ |
D | mpicoder.c | 366 miter.consumed = lzeros; in mpi_read_raw_from_sgl()
|