Searched refs:magic_size_max (Results 1 – 1 of 1) sorted by relevance
433 size_t magic_size_max = 0; in kmod_file_open() local446 if (magic_size_max < itr->magic_size) in kmod_file_open()447 magic_size_max = itr->magic_size; in kmod_file_open()451 if (magic_size_max > 0) { in kmod_file_open()452 char *buf = alloca(magic_size_max + 1); in kmod_file_open()459 sz = read_str_safe(file->fd, buf, magic_size_max + 1); in kmod_file_open()461 if (sz != (ssize_t)magic_size_max) { in kmod_file_open()