Home
last modified time | relevance | path

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

/linux-6.12.1/security/integrity/ima/
Dima_policy.c316 char *src_copy; in ima_alloc_rule_opt_list() local
320 src_copy = match_strdup(src); in ima_alloc_rule_opt_list()
321 if (!src_copy) in ima_alloc_rule_opt_list()
324 next = src_copy; in ima_alloc_rule_opt_list()
328 kfree(src_copy); in ima_alloc_rule_opt_list()
336 kfree(src_copy); in ima_alloc_rule_opt_list()
342 kfree(src_copy); in ima_alloc_rule_opt_list()
357 for (i = 0, cur = src_copy; i < count; i++) { in ima_alloc_rule_opt_list()
/linux-6.12.1/fs/btrfs/
Dtree-log.c424 char *src_copy; in overwrite_item() local
436 src_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item()
437 if (!dst_copy || !src_copy) { in overwrite_item()
440 kfree(src_copy); in overwrite_item()
444 read_extent_buffer(eb, src_copy, src_ptr, item_size); in overwrite_item()
449 ret = memcmp(dst_copy, src_copy, item_size); in overwrite_item()
452 kfree(src_copy); in overwrite_item()