Home
last modified time | relevance | path

Searched refs:consumed (Results 1 – 18 of 18) sorted by relevance

/linux-4.19.296/drivers/misc/cb710/
Dsgbuf2.c17 miter->consumed = 0; in sg_dwiter_next()
25 return miter->length == miter->consumed && !sg_dwiter_next(miter); in sg_dwiter_is_at_end()
35 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer()
36 memcpy(addr, miter->addr + miter->consumed, len); in sg_dwiter_read_buffer()
37 miter->consumed += len; in sg_dwiter_read_buffer()
64 len = miter->length - miter->consumed; in sg_dwiter_get_next_block()
67 miter->addr + miter->consumed))) { in sg_dwiter_get_next_block()
68 *ptr = miter->addr + miter->consumed; in sg_dwiter_get_next_block()
69 miter->consumed += 4; in sg_dwiter_get_next_block()
110 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow()
[all …]
/linux-4.19.296/include/linux/
Dvringh.h92 size_t consumed; /* Within iov[i] */ member
104 size_t consumed; /* Within iov[i] */ member
122 iov->consumed = 0; in vringh_iov_init()
129 iov->iov[iov->i].iov_len += iov->consumed; in vringh_iov_reset()
130 iov->iov[iov->i].iov_base -= iov->consumed; in vringh_iov_reset()
131 iov->consumed = 0; in vringh_iov_reset()
139 iov->max_num = iov->used = iov->i = iov->consumed = 0; in vringh_iov_cleanup()
184 kiov->consumed = 0; in vringh_kiov_init()
191 kiov->iov[kiov->i].iov_len += kiov->consumed; in vringh_kiov_reset()
192 kiov->iov[kiov->i].iov_base -= kiov->consumed; in vringh_kiov_reset()
[all …]
Dtextsearch.h76 unsigned int (*get_next_block)(unsigned int consumed,
Drelay.h182 size_t consumed);
Dscatterlist.h418 size_t consumed; /* number of consumed bytes */ member
Dskbuff.h1103 unsigned int skb_seq_read(unsigned int consumed, const u8 **data,
/linux-4.19.296/lib/
Dtextsearch.c208 static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, in get_linear_data() argument
214 if (likely(consumed < st->len)) { in get_linear_data()
215 *dst = st->data + consumed; in get_linear_data()
216 return st->len - consumed; in get_linear_data()
Dts_kmp.c49 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()
Dscatterlist.c697 off_t consumed; in sg_miter_skip() local
702 consumed = min_t(off_t, offset, miter->__remaining); in sg_miter_skip()
703 miter->__offset += consumed; in sg_miter_skip()
704 miter->__remaining -= consumed; in sg_miter_skip()
705 offset -= consumed; in sg_miter_skip()
741 miter->consumed = miter->length = miter->__remaining; in sg_miter_next()
768 WARN_ON(miter->consumed > miter->length); in sg_miter_stop()
772 miter->__offset += miter->consumed; in sg_miter_stop()
773 miter->__remaining -= miter->consumed; in sg_miter_stop()
788 miter->consumed = 0; in sg_miter_stop()
Dts_bm.c65 unsigned int i, text_len, consumed = state->offset; in bm_find() local
73 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
89 return consumed += (shift-(bm->patlen-1)); in bm_find()
96 consumed += text_len; in bm_find()
Dts_fsm.c143 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()
/linux-4.19.296/drivers/media/dvb-core/
Ddvb_ringbuffer.c326 int consumed; in dvb_ringbuffer_pkt_next() local
338 consumed = (idx - rbuf->pread) % rbuf->size; in dvb_ringbuffer_pkt_next()
340 while((dvb_ringbuffer_avail(rbuf) - consumed) > DVB_RINGBUFFER_PKTHDRSIZE) { in dvb_ringbuffer_pkt_next()
351 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; in dvb_ringbuffer_pkt_next()
/linux-4.19.296/lib/zstd/
Dhuf_decompress.c394 static void HUF_fillDTableX4Level2(HUF_DEltX4 *DTable, U32 sizeLog, const U32 consumed, const U32 *… in HUF_fillDTableX4Level2() argument
407 DElt.nbBits = (BYTE)(consumed); in HUF_fillDTableX4Level2()
426 DElt.nbBits = (BYTE)(nbBits + consumed); in HUF_fillDTableX4Level2()
576 U32 consumed; in HUF_readDTableX4_wksp() local
577 for (consumed = minBits; consumed < maxTableLog - minBits + 1; consumed++) { in HUF_readDTableX4_wksp()
578 U32 *const rankValPtr = rankVal[consumed]; in HUF_readDTableX4_wksp()
581 rankValPtr[w] = rankVal0[w] >> consumed; in HUF_readDTableX4_wksp()
/linux-4.19.296/include/net/
Daf_unix.h41 u32 consumed; member
/linux-4.19.296/drivers/virtio/
Dvirtio_mmio.c649 int processed, consumed = 0; in vm_cmdline_set() local
657 &base, &irq, &consumed, in vm_cmdline_set()
658 &vm_cmdline_id, &consumed); in vm_cmdline_set()
665 if (processed < 2 || str[consumed]) in vm_cmdline_set()
/linux-4.19.296/drivers/misc/mic/vop/
Dvop_vringh.c692 u32 total = iov->consumed; in vop_vringh_iov_consumed()
735 iov->consumed += partlen; in vop_vringh_copy()
740 kiov->iov_len = iov->consumed; in vop_vringh_copy()
741 kiov->iov_base -= iov->consumed; in vop_vringh_copy()
743 iov->consumed = 0; in vop_vringh_copy()
/linux-4.19.296/fs/f2fs/
DKconfig30 - current memory footprint consumed by f2fs.
/linux-4.19.296/lib/mpi/
Dmpicoder.c366 miter.consumed = lzeros; in mpi_read_raw_from_sgl()