Lines Matching refs:memcpy
230 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load()
234 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load()
290 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load()
293 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load()
309 memcpy(ima_buf + l, target_metadata_buf, target_metadata_buf_len); in dm_ima_measure_on_table_load()
312 memcpy(ima_buf + l, target_data_buf, target_data_buf_len); in dm_ima_measure_on_table_load()
391 memcpy(device_table_data + l, DM_IMA_VERSION_STR, md->ima.dm_version_str_len); in dm_ima_measure_on_device_resume()
429 memcpy(device_table_data + l, md->ima.active_table.device_metadata, in dm_ima_measure_on_device_resume()
437 memcpy(device_table_data + l, active, active_len); in dm_ima_measure_on_device_resume()
440 memcpy(device_table_data + l, md->ima.active_table.hash, in dm_ima_measure_on_device_resume()
444 memcpy(device_table_data + l, ";", 1); in dm_ima_measure_on_device_resume()
463 memcpy(device_table_data + l, capacity_str, capacity_len); in dm_ima_measure_on_device_resume()
507 memcpy(device_table_data + l, DM_IMA_VERSION_STR, md->ima.dm_version_str_len); in dm_ima_measure_on_device_remove()
511 memcpy(device_table_data + l, device_active_str, device_active_len); in dm_ima_measure_on_device_remove()
514 memcpy(device_table_data + l, md->ima.active_table.device_metadata, in dm_ima_measure_on_device_remove()
522 memcpy(device_table_data + l, device_inactive_str, device_inactive_len); in dm_ima_measure_on_device_remove()
525 memcpy(device_table_data + l, md->ima.inactive_table.device_metadata, in dm_ima_measure_on_device_remove()
533 memcpy(device_table_data + l, active_table_str, active_table_len); in dm_ima_measure_on_device_remove()
536 memcpy(device_table_data + l, md->ima.active_table.hash, in dm_ima_measure_on_device_remove()
540 memcpy(device_table_data + l, ",", 1); in dm_ima_measure_on_device_remove()
547 memcpy(device_table_data + l, inactive_table_str, inactive_table_len); in dm_ima_measure_on_device_remove()
550 memcpy(device_table_data + l, md->ima.inactive_table.hash, in dm_ima_measure_on_device_remove()
554 memcpy(device_table_data + l, ",", 1); in dm_ima_measure_on_device_remove()
574 memcpy(device_table_data + l, remove_all_str, remove_all_len); in dm_ima_measure_on_device_remove()
576 memcpy(device_table_data + l, remove_all ? "y;" : "n;", 2); in dm_ima_measure_on_device_remove()
580 memcpy(device_table_data + l, capacity_str, capacity_len); in dm_ima_measure_on_device_remove()
627 memcpy(device_table_data + l, DM_IMA_VERSION_STR, md->ima.dm_version_str_len); in dm_ima_measure_on_table_clear()
632 memcpy(device_table_data + l, md->ima.inactive_table.device_metadata, in dm_ima_measure_on_table_clear()
636 memcpy(device_table_data + l, inactive_str, inactive_len); in dm_ima_measure_on_table_clear()
639 memcpy(device_table_data + l, md->ima.inactive_table.hash, in dm_ima_measure_on_table_clear()
644 memcpy(device_table_data + l, ";", 1); in dm_ima_measure_on_table_clear()
661 memcpy(device_table_data + l, capacity_str, capacity_len); in dm_ima_measure_on_table_clear()