Lines Matching defs:start
172 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes)
175 if (*start != value)
176 return (void *)start;
177 start++;
185 * @start: The memory area
192 void *memchr_inv(const void *start, int c, size_t bytes)
199 return check_bytes8(start, value, bytes);
206 prefix = (unsigned long)start % 8;
211 r = check_bytes8(start, value, prefix);
214 start += prefix;
221 if (*(u64 *)start != value64)
222 return check_bytes8(start, value, 8);
223 start += 8;
227 return check_bytes8(start, value, bytes % 8);