Searched refs:cmplen (Results 1 – 1 of 1) sorted by relevance
97 int retval = 0, cmplen; in msb_sg_compare_to_buffer() local109 cmplen = min(miter.length - offset, len); in msb_sg_compare_to_buffer()110 retval = memcmp(miter.addr + offset, buffer, cmplen) ? -1 : 0; in msb_sg_compare_to_buffer()114 buffer += cmplen; in msb_sg_compare_to_buffer()115 len -= cmplen; in msb_sg_compare_to_buffer()