Lines Matching defs:is_empty
38 * is_empty - determine whether a buffer is empty (contains all 0xff).
45 static int is_empty(void *buf, int len)
156 if (!is_empty(buf, min_t(int, len, sz))) {
166 if (!is_empty(buf, len))
380 return is_empty(p, check_len);
433 if (is_empty(buf + skip, len - skip))
446 if (is_empty(buf + skip, len - skip))
620 if (!is_empty(buf, len)) {
667 if (!empty_chkd && !is_empty(buf, len)) {
852 if (err || !is_empty(sbuf, len)) {