Home
last modified time | relevance | path

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

/linux-6.1.9/security/integrity/ima/
Dima_policy.c292 char *src_copy; in ima_alloc_rule_opt_list() local
296 src_copy = match_strdup(src); in ima_alloc_rule_opt_list()
297 if (!src_copy) in ima_alloc_rule_opt_list()
300 next = src_copy; in ima_alloc_rule_opt_list()
304 kfree(src_copy); in ima_alloc_rule_opt_list()
312 kfree(src_copy); in ima_alloc_rule_opt_list()
318 kfree(src_copy); in ima_alloc_rule_opt_list()
332 for (i = 0, cur = src_copy; i < count; i++) { in ima_alloc_rule_opt_list()
/linux-6.1.9/fs/btrfs/
Dtree-log.c393 char *src_copy; in do_overwrite_item() local
405 src_copy = kmalloc(item_size, GFP_NOFS); in do_overwrite_item()
406 if (!dst_copy || !src_copy) { in do_overwrite_item()
409 kfree(src_copy); in do_overwrite_item()
413 read_extent_buffer(eb, src_copy, src_ptr, item_size); in do_overwrite_item()
418 ret = memcmp(dst_copy, src_copy, item_size); in do_overwrite_item()
421 kfree(src_copy); in do_overwrite_item()