Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_return_efault.c39 static void match_copy(const char *fn, struct expression *expr, void *unused) in match_copy() function
123 add_function_assign_hook("copy_to_user", &match_copy, NULL); in check_return_efault()
124 add_function_assign_hook("__copy_to_user", &match_copy, NULL); in check_return_efault()
125 add_function_assign_hook("copy_from_user", &match_copy, NULL); in check_return_efault()
126 add_function_assign_hook("__copy_from_user", &match_copy, NULL); in check_return_efault()
127 add_function_assign_hook("clear_user", &match_copy, NULL); in check_return_efault()
H A Dsmatch_buf_comparison.c772 static void match_copy(const char *fn, struct expression *expr, void *unused) in match_copy() function
827 add_function_hook("copy_from_user", &match_copy, NULL); in register_buf_comparison()
828 add_function_hook("__copy_from_user", &match_copy, NULL); in register_buf_comparison()