Home
last modified time | relevance | path

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

/scripts/coccinelle/misc/
Difcol.cocci2 /// Find confusingly indented code in or after an if. An if branch should
3 /// be indented. The code following an if should not be indented.
4 /// Sometimes, code after an if that is indented is actually intended to be
Darray_size.cocci2 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
4 //# This makes an effort to find cases where ARRAY_SIZE can be used such as
Duninitialized_var.cocci8 /// an initializer. Using warning-silencing tricks is dangerous as it
12 /// changes. Keep in mind that in most cases, if an initialization is
Dbadty.cocci4 //# This makes an effort to find cases where the argument to sizeof is wrong
Dcond_no_effect.cocci11 // on kernelnewbies though it seems that this is not really an
Darray_size_dup.cocci8 /// perform arithmetic overflow check. Thus, if we use an opencoded expression
9 /// before a call to the *_size() function we can miss an overflow.
Ddo_div.cocci7 //# This makes an effort to find those inappropriate do_div() calls.
/scripts/dtc/
Dlivetree.c832 struct node *an; in build_root_node() local
834 an = get_subnode(dt, name); in build_root_node()
835 if (!an) in build_root_node()
836 an = build_and_name_child_node(dt, name); in build_root_node()
838 if (!an) in build_root_node()
841 return an; in build_root_node()
859 struct node *an, struct node *node, in generate_label_tree_internal() argument
874 p = get_property(an, l->label); in generate_label_tree_internal()
878 an->name); in generate_label_tree_internal()
887 add_property(an, p); in generate_label_tree_internal()
[all …]
/scripts/coccinelle/locks/
Dmini_lock.cocci3 /// where the unlock is missing from an if branch, and there is a lock
4 /// before the if and an unlock after the if. False positives are due to
Ddouble_lock.cocci4 /// an intervening function call that releases the lock.
/scripts/coccinelle/api/
Dplatform_get_irq.cocci101 msg = "line %s is redundant because platform_get_irq() already prints an error" % (p1[0].line)
Dsimple_open.cocci2 /// Remove an open coded simple_open() function
Dstream_open.cocci203 // if both are used in the same file_operations together with an opener -
/scripts/coccinelle/iterators/
Duse_after_iter.cocci3 /// variable ends up pointing to an address at an offset from the list head,
Ddevice_node_continue.cocci2 /// Device node iterators put the previous value of the index variable, so an
Dfor_each_child.cocci4 //# loop that may encapsulate an of_node_put.
/scripts/kconfig/tests/preprocess/variable/
DKconfig30 # Use += operator to an undefined variable.
/scripts/coccinelle/free/
Diounmap.cocci4 //# This only signals a missing iounmap when there is an iounmap later
/scripts/coccinelle/null/
Dbadzero.cocci4 //# This makes an effort to choose between !x and x == NULL. !x is used
7 //# using the option -all_includes and the option -I to specify an
/scripts/
DKconfig.include62 # $(m32-flag): -m32 if the compiler supports it, or an empty string otherwise.
63 # $(m64-flag): -m64 if the compiler supports it, or an empty string otherwise.
Dhead-object-list.txt4 # is an object that contains the entry point. This is kept for compatibility
Ddev-needs.sh21 It also takes an optional modifier flag as the first parameter to change
Dcheck-uapi.sh27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers
Dspelling.txt131 an union||a union
132 an user||a user
133 an userspace||a userspace
134 an one||a one
/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci5 //# This makes an effort to find cases of casting of values returned by