Home
last modified time | relevance | path

Searched refs:rbuf (Results 1 – 1 of 1) sorted by relevance

/security/integrity/ima/
Dima_crypto.c209 char *rbuf[2] = { NULL, }; in ima_calc_file_hash_atfm() local
240 rbuf[0] = ima_alloc_pages(i_size, &rbuf_size[0], 1); in ima_calc_file_hash_atfm()
241 if (!rbuf[0]) { in ima_calc_file_hash_atfm()
253 rbuf[1] = ima_alloc_pages(i_size - rbuf_size[0], in ima_calc_file_hash_atfm()
258 if (!rbuf[1] && offset) { in ima_calc_file_hash_atfm()
269 rc = integrity_kernel_read(file, offset, rbuf[active], in ima_calc_file_hash_atfm()
282 if (rbuf[1] && offset) { in ima_calc_file_hash_atfm()
292 sg_init_one(&sg[0], rbuf[active], rbuf_len); in ima_calc_file_hash_atfm()
297 if (rbuf[1]) in ima_calc_file_hash_atfm()
303 ima_free_pages(rbuf[0], rbuf_size[0]); in ima_calc_file_hash_atfm()
[all …]