Lines Matching refs:file
21 struct seq_file file; in ima_dump_measurement_list() local
26 file.buf = vmalloc(segment_size); in ima_dump_measurement_list()
27 if (!file.buf) { in ima_dump_measurement_list()
32 file.size = segment_size; in ima_dump_measurement_list()
33 file.read_pos = 0; in ima_dump_measurement_list()
34 file.count = sizeof(khdr); /* reserved space */ in ima_dump_measurement_list()
39 if (file.count < file.size) { in ima_dump_measurement_list()
41 ima_measurements_show(&file, qe); in ima_dump_measurement_list()
55 khdr.buffer_size = file.count; in ima_dump_measurement_list()
61 memcpy(file.buf, &khdr, sizeof(khdr)); in ima_dump_measurement_list()
64 16, 1, file.buf, in ima_dump_measurement_list()
65 file.count < 100 ? file.count : 100, true); in ima_dump_measurement_list()
67 *buffer_size = file.count; in ima_dump_measurement_list()
68 *buffer = file.buf; in ima_dump_measurement_list()
71 vfree(file.buf); in ima_dump_measurement_list()