Lines Matching refs:dm_ima_alloc
48 static void *dm_ima_alloc(size_t len, gfp_t flags, bool noio) in dm_ima_alloc() function
71 *dev_name = dm_ima_alloc(DM_NAME_LEN*2, GFP_KERNEL, noio); in dm_ima_alloc_and_copy_name_uuid()
77 *dev_uuid = dm_ima_alloc(DM_UUID_LEN*2, GFP_KERNEL, noio); in dm_ima_alloc_and_copy_name_uuid()
112 *device_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN, GFP_KERNEL, noio); in dm_ima_alloc_and_copy_device_data()
156 *capacity_str = dm_ima_alloc(DM_IMA_DEVICE_CAPACITY_BUF_LEN, GFP_KERNEL, noio); in dm_ima_alloc_and_copy_capacity_str()
198 ima_buf = dm_ima_alloc(DM_IMA_MEASUREMENT_BUF_LEN, GFP_KERNEL, noio); in dm_ima_measure_on_table_load()
202 target_metadata_buf = dm_ima_alloc(DM_IMA_TARGET_METADATA_BUF_LEN, GFP_KERNEL, noio); in dm_ima_measure_on_table_load()
206 target_data_buf = dm_ima_alloc(DM_IMA_TARGET_DATA_BUF_LEN, GFP_KERNEL, noio); in dm_ima_measure_on_table_load()
221 digest = dm_ima_alloc(digest_size, GFP_KERNEL, noio); in dm_ima_measure_on_table_load()
329 digest_buf = dm_ima_alloc((digest_size*2) + hash_alg_prefix_len + 1, GFP_KERNEL, noio); in dm_ima_measure_on_table_load()
379 device_table_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN, GFP_KERNEL, noio); in dm_ima_measure_on_device_resume()
493 device_table_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN*2, GFP_KERNEL, noio); in dm_ima_measure_on_device_remove()
615 device_table_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN, GFP_KERNEL, noio); in dm_ima_measure_on_table_clear()
718 combined_device_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN * 2, GFP_KERNEL, noio); in dm_ima_measure_on_device_rename()