Home
last modified time | relevance | path

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

12

/scripts/coccinelle/misc/
A Darray_size_dup.cocci5 /// 1. An opencoded expression is used before array_size() to compute the same size
6 /// 2. An opencoded expression is used after array_size() to compute the same size
43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
80 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
108 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
116 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
138 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
172 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line)
[all …]
A Dorplus.cocci2 /// Check for constants that are added but are used elsewhere as bitmasks
A Dbadty.cocci8 //# sizeof argument is not used in constructing the return value. The result
A Dreturnvar.cocci3 /// Remove unneeded variable used to store return value.
A Darray_size.cocci4 //# This makes an effort to find cases where ARRAY_SIZE can be used such as
A Dflexible_array.cocci5 /// Flexible-array members should be used instead.
A Dcond_no_effect.cocci6 // information is used (as with lockdep) or where the identity
/scripts/coccinelle/api/
A Dkfree_mismatch.cocci169 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
177 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
201 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
209 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
218 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
227 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
A Derr_cast.cocci47 msg="WARNING ERR_CAST can be used with %s" % (x)
56 msg="WARNING: ERR_CAST can be used with %s" % (x)
A Datomic_as_refcounter.cocci2 // Check if refcount_t type and API should be used
A Dstream_open.cocci188 // XXX maybe_steam.fops cannot be used in other rules - it gives "bad rule maybe_stream or bad vari…
203 // if both are used in the same file_operations together with an opener -
A Dcheck_bq27xxx_data.cocci4 //# Doesn't unfold macros used in register or property fields.
A Dplatform_no_drv_owner.cocci2 /// Remove .owner field if calls are used which set it automatically
/scripts/
A Dinsert-sys-cert.c284 int *used; in main() local
381 used = (int *)used_sym.content; in main()
389 if (cert_size == *used && in main()
395 if (*used > 0) in main()
403 *lsize = *lsize + cert_size - *used; in main()
404 *used = cert_size; in main()
407 info("Used %d bytes out of %d bytes reserved.\n", *used, in main()
A Dhead-object-list.txt5 # with head-y, which Kbuild used to support.
A DKbuild.include85 # filechk is used to check if the content of a generated file is updated.
95 # - If the content differ the new file is used
159 # including used config symbols
232 # (5) No dir/.target.cmd file (used to store command line)
/scripts/coccinelle/api/alloc/
A Dzalloc-simple.cocci170 msg="WARNING: kzalloc should be used for %s, instead of kmalloc/memset" % (x)
200 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
230 msg="WARNING: dma_alloc_coherent used in %s already zeroes out memory, so memset is not needed" % (…
260 msg="WARNING: kzalloc_node should be used for %s, instead of kmalloc_node/memset" % (x)
290 msg="WARNING: kmem_cache_zalloc should be used for %s, instead of kmem_cache_alloc/memset" % (x)
320 msg="WARNING: kmem_zalloc should be used for %s, instead of kmem_alloc/memset" % (x)
350 msg="WARNING: devm_kzalloc should be used for %s, instead of devm_kmalloc/memset" % (x)
380 msg="WARNING: kvzalloc should be used for %s, instead of kvmalloc/memset" % (x)
410 msg="WARNING: kvzalloc_node should be used for %s, instead of kvmalloc_node/memset" % (x)
A Dpool_zalloc-simple.cocci84 msg="WARNING: *_pool_zalloc should be used for %s, instead of *_pool_alloc/memset" % (x)
/scripts/atomic/
A Dgen-atomic-instrumented.sh139 * KASAN, KCSAN), which should be used unless it is necessary to avoid
141 * raw_atomic*() operations should be used.
/scripts/coccinelle/null/
A Dbadzero.cocci4 //# This makes an effort to choose between !x and x == NULL. !x is used
5 //# if it has previously been used with the function used to initialize x.
/scripts/coccinelle/tests/
A Ddoublebitand.cocci5 //# such as 0 for | is used to indicate no information, to maintain the
A Dunsigned_lesser_than_zero.cocci12 /// result is used to avoid false positives difficult to detect by other ways
/scripts/mod/
A Dmodpost.c227 bool used; /* there exists a user of this symbol */ member
1752 exp->used = true; in check_exports()
1784 sym->used = true; in handle_white_list_exports()
1808 sym->used = true; in keep_no_trim_symbols()
1862 if (trim_unused_exports && !sym->used) in add_exported_symbols()
1876 if (trim_unused_exports && !sym->used) in add_exported_symbols()
2186 if (trim_unused_exports && !sym->used) in write_dump()
/scripts/coccinelle/iterators/
A Duse_after_iter.cocci4 /// and not a meaningful structure. Thus this value should not be used after
/scripts/package/
A Dmkdebian234 are used by the installed headers for GNU glibc and other system libraries.

Completed in 16 milliseconds

12