Searched refs:comp_magic_cnt (Results 1 – 1 of 1) sorted by relevance
137 u32 comp_magic_cnt; member367 p = memchr(p, magic[ctx->comp_magic_cnt], in get_next_header()370 ctx->comp_magic_cnt = 0; in get_next_header()374 copy = sizeof(magic) - ctx->comp_magic_cnt; in get_next_header()378 memcpy(header + ctx->comp_magic_cnt, p, copy); in get_next_header()379 ctx->comp_magic_cnt += copy; in get_next_header()380 if (!memcmp(header, magic, ctx->comp_magic_cnt)) { in get_next_header()385 ctx->comp_magic_cnt = 0; in get_next_header()387 if (ctx->comp_magic_cnt < sizeof(magic)) { in get_next_header()455 ctx->comp_magic_cnt = 0; in device_run()[all …]