Home
last modified time | relevance | path

Searched refs:sm_error (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_kernel_printf.c384 sm_error("passing __user pointer to '%%p%c4'", fmt[0]); in ip4()
420 sm_error("passing __user pointer to '%%p%c6'", fmt[0]); in ip6()
462 sm_error("passing __user pointer to %%ph"); in hex_string()
473 sm_error("passing __user pointer to %%pE"); in escaped_string()
504 sm_error("passing __user pointer to '%%p%c'", fmt[0]); in mac_address_string()
564 sm_error("%%pN must be followed by 'F'"); in netdev_feature()
596 sm_error("'%%pa' can only be followed by one of [dp]"); in address_val()
630 sm_error("%%pG must be followed by one of [gpv]"); in flag_string()
647 sm_error("'%%pG' must be followed by one of [gpv]"); in flag_string()
654 sm_error("%%pO can only be followed by 'F'"); in device_node_string()
[all …]
H A Dcheck_all_func_returns.c33 sm_error("unknown type for func '%s'", func); in check_func_return()
38 sm_error("func '%s' is not a call site", func); in check_func_return()
78 sm_error("unchecked function return '%s'", expr_to_str(expr->fn)); in check_func_return()
H A Dcheck_deref.c90 sm_error("potential NULL dereference '%s'.", tmp->name); in check_dereference()
95 sm_error("potentially dereferencing uninitialized '%s'.", tmp->name); in check_dereference()
98 sm_error("potential null dereference '%s'. (%s returns null)", in check_dereference()
127 sm_error("potential NULL dereference '%s'.", tmp->name); in check_dereference_name_sym()
132 sm_error("potentially dereferencing uninitialized '%s'.", tmp->name); in check_dereference_name_sym()
135 sm_error("potential null dereference '%s'. (%s returns null)", in check_dereference_name_sym()
H A Dcheck_err_ptr_deref.c61 sm_error("'%s' dereferencing possible ERR_PTR()", sm->name); in check_is_err_ptr()
93 sm_error("'%s' dereferencing possible ERR_PTR()", sm->name); in set_param_dereferenced()
183 sm_error("passing non negative %s to ERR_PTR", sval_to_str(sval)); in match_err_ptr_positive_const()
209 sm_error("%s too low for ERR_PTR", sval_to_str(min)); in match_err_ptr()
211 sm_error("passing non negative %s to ERR_PTR", sval_to_str(max)); in match_err_ptr()
H A Dcheck_type.c47 sm_error("use kfree_skb() here instead of kfree(%s)", name); in match_free()
53 sm_error("use free_netdev() here instead of kfree(%s)", name); in match_free()
H A Dcheck_snprintf_overflow.c41 sm_error("snprintf() is printing too much %s vs %d", in match_snprintf()
53 sm_error("snprintf() chops off the last chars of '%s': %d vs %s", in match_snprintf()
H A Dcheck_dma_on_stack.c36 sm_error("doing dma on the stack (%s)", name); in match_dma_func()
48 sm_error("doing dma on the stack (%s)", name); in match_dma_func()
H A Dcheck_free.c95 sm_error("dereferencing freed memory '%s'", name); in match_dereferences()
179 sm_error("double free of '%s'", name); in match_call()
220 sm_error("double free of '%s'", name); in match_free()
H A Dcheck_check_deref.c72 sm_error("we previously assumed '%s' could be null (see line %d)", in check_dereference()
99 sm_error("we previously assumed '%s' could be null (see line %d)", in check_dereference_name_sym()
H A Dcheck_index_overflow.c318 sm_error("buffer overflow '%s' %d <= %s (assuming for loop doesn't break)", in array_check()
321 sm_error("buffer overflow '%s' %d <= %s user_rl='%s'%s", in array_check()
325 sm_error("buffer overflow '%s' %d <= %s%s", in array_check()
H A Dcheck_free_strict.c111 sm_error("dereferencing freed memory '%s'", name); in match_dereferences()
195 sm_error("double free of '%s'", name); in match_call()
234 sm_error("double free of '%s'", name); in match_free()
H A Dcheck_uninitialized.c163 sm_error("potentially dereferencing uninitialized '%s'.", name); in match_dereferences()
183 sm_error("potentially using uninitialized '%s'.", name); in match_condition()
316 sm_error("uninitialized symbol '%s'.", name); in match_symbol()
H A Dcheck_bogus_irqrestore.c30 sm_error("calling '%s()' with bogus flags", fn); in match_irqrestore()
H A Dcheck_wait_for_common.c29 sm_error("'%s()' returns negative and '%s' is unsigned", fn, name); in match_wait_for_common()
H A Dcheck_debug.c56 sm_error("the check_name argument to %s is supposed to be a string literal", fn); in match_state()
61 sm_error("the state_name argument to %s is supposed to be a string literal", fn); in match_state()
84 sm_error("the check_name argument to %s is supposed to be a string literal", fn); in match_states()
105 sm_error("the argument to %s is supposed to be a string literal", fn); in match_print_value()
360 sm_error("the argument to %s is supposed to be a string literal", fn); in match_possible()
424 sm_error("the argument to %s is supposed to be a string literal", fn); in match_note()
H A Dcheck_gfp_dma.c41 sm_error("no modifiers for allocation."); in match_alloc()
H A Dcheck_memset.c32 sm_error("calling memset(x, y, 0);"); in check_size_not_zero()
H A Dcheck_allocating_enough_data.c48 sm_error("not allocating enough for = '%s' %d vs %s", str, bytes, sval_to_str(sval)); in db_returns_buf_size()
H A Dcheck_sprintf_overflow.c47 sm_error("sprintf() copies too much data from '%s': %d vs %d", in match_sprintf()
H A Dcheck_strcpy_overflow.c49 sm_error("%s() '%s' too large for '%s' (%d vs %d)", in match_strcpy()
H A Dcheck_input_free_device.c58 sm_error("don't call input_free_device() after input_unregister_device()"); in match_input_free()
H A Dcheck_wine_filehandles.c76 sm_error("comparing a filehandle against zero '%s'", name); in match_condition()
H A Dcheck_testing_index_after_use.c102 sm_error("testing array offset '%s' after use.", name); in match_condition()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dferror.c40 return sm_error(fp);
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dio.h374 #define sm_error(p) (((p)->f_flags & SMERR) != 0) macro
378 #define sm_io_error(p) sm_error(p)

12