Searched refs:magic_size_max (Results 1 – 1 of 1) sorted by relevance
289 size_t magic_size_max = 0; in kmod_file_open() local302 if (magic_size_max < itr->magic_size) in kmod_file_open()303 magic_size_max = itr->magic_size; in kmod_file_open()307 if (magic_size_max > 0) { in kmod_file_open()308 char *buf = alloca(magic_size_max + 1); in kmod_file_open()315 sz = read_str_safe(file->fd, buf, magic_size_max + 1); in kmod_file_open()317 if (sz != (ssize_t)magic_size_max) { in kmod_file_open()