Searched refs:remlen (Results 1 – 2 of 2) sorted by relevance
284 size_t remlen = len; in do_rng_read() local307 remlen, len); in do_rng_read()310 if ((rng->size - rng->rdindex) <= remlen) { in do_rng_read()319 remlen -= rng->size - rng->rdindex; in do_rng_read()325 RNG_TRACE("Copy %zu data", remlen); in do_rng_read()326 memcpy(rngbuf, &rng->data[rng->rdindex], remlen); in do_rng_read()327 rng->rdindex += remlen; in do_rng_read()328 remlen = 0; in do_rng_read()330 } while (remlen); in do_rng_read()
356 size_t remlen = 0; in check_buffer_alignment() local395 remlen = entry->origbuf.length - in check_buffer_alignment()397 if (remlen <= cacheline_size) { in check_buffer_alignment()405 remlen, cacheline_size); in check_buffer_alignment()455 if (remlen <= cacheline_size) { in check_buffer_alignment()463 remlen, cacheline_size); in check_buffer_alignment()525 size_t remlen = maxlen; in check_buffer_boundary() local534 nb_pa_area, remlen); in check_buffer_boundary()560 if (remlen > pabufs[idx].length) in check_buffer_boundary()561 remlen -= pabufs[idx].length; in check_buffer_boundary()[all …]
Completed in 5 milliseconds