| /linux/scripts/coccinelle/iterators/ |
| H A D | use_after_iter.cocci | 6 //#False positives arise when there is a goto in the iterator and the 43 list_for_each_entry@p1(c,...,member) { ... when != break; 44 when forall 45 when strict 48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break; 49 when forall 50 when strict 53 list_for_each_entry_continue@p1(c,...,member) { ... when != break; 54 when forall 55 when strict [all …]
|
| H A D | for_each_child.cocci | 76 ... when any 100 ... when any 102 ... when != n 103 when strict 104 when forall 133 ... when any 135 ... when exists 136 l: ... when != n 137 when strict 138 when forall [all …]
|
| /linux/scripts/coccinelle/locks/ |
| H A D | call_kern.cocci | 26 ... when != read_unlock_irq(...) 27 when != write_unlock_irq(...) 28 when != read_unlock_irqrestore(...) 29 when != write_unlock_irqrestore(...) 30 when != spin_unlock(...) 31 when != spin_unlock_irq(...) 32 when != spin_unlock_irqrestore(...) 33 when != local_irq_enable(...) 34 when any 36 ... when any [all …]
|
| H A D | double_lock.cocci | 2 /// Find double locks. False positives may occur when some paths cannot 3 /// occur at execution, due to the values of variables, and when there is 51 <+... when != E1 55 ... when != E1 56 when != \(x = E2\|&x\) 57 when forall 59 <+... when != E1 73 ... when != E1 74 when != \(x = E2\|&x\)
|
| H A D | mini_lock.cocci | 71 ... when != E1 72 when any 74 ... when != E1 77 ... when != E1 78 when any
|
| /linux/scripts/coccinelle/api/ |
| H A D | kfree_mismatch.cocci | 40 ... when != E = E1 41 when any 71 …... when != if (...) { ... E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|vzalloc_node\|vmall… 72 when != is_vmalloc_addr(E) 73 when any 85 …... when != if (...) { ... E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|vzalloc_node\|vmall… 86 when != is_vmalloc_addr(E) 87 when any 100 ... when != is_vmalloc_addr(E) 101 when any [all …]
|
| H A D | kstrdup.cocci | 25 ... when != \(from = E1 \| to = E1 \) 27 ... when != \(from = E2 \| to = E2 \) 37 ... when != \( x = E1 \| from = E1 \) 40 ... when != \(x = E2 \| from = E2 \| to = E2 \) 42 ... when != \(x = E3 \| from = E3 \| to = E3 \) 55 ... when != \(from = E1 \| to = E1 \) 57 ... when != \(from = E2 \| to = E2 \) 68 ... when != \( x = E1 \| from = E1 \) 70 ... when != \(x = E2 \| from = E2 \| to = E2 \) 72 ... when != \(x = E3 \| from = E3 \| to = E3 \)
|
| H A D | kfree_sensitive.cocci | 46 ... when != E 47 when strict 58 ... when != E 59 when strict 76 ... when != E 77 when strict
|
| H A D | d_find_alias.cocci | 27 <...when != dput(dent) 28 when != if (...) { <+... dput(dent) ...+> } 29 when != true !dent || ... 30 when != dent = E 31 when != E = dent
|
| /linux/scripts/coccinelle/free/ |
| H A D | put_device.cocci | 20 ... when != e = id 22 ... when != put_device(&id->dev) 23 when != platform_device_put(id) 24 when != if (id) { ... put_device(&id->dev) ... } 25 when != e1 = (T)id 26 when != e1 = (T)(&id->dev) 27 when != e1 = get_device(&id->dev) 28 when != e1 = (T1)platform_get_drvdata(id)
|
| H A D | clk_put.cocci | 4 //# This only signals a missing clk_put when there is a clk_put later 27 ... when != clk_put(e) 29 ... when any 30 when != clk_put(e) 31 when != if (...) { ... clk_put(e); ... } 44 { ... when != clk_put(e) 45 when forall 48 ... when any
|
| H A D | iounmap.cocci | 4 //# This only signals a missing iounmap when there is an iounmap later 27 ... when != iounmap(e) 29 ... when any 30 when != iounmap(e) 31 when != if (...) { ... iounmap(e); ... } 44 { ... when != iounmap(e) 45 when forall 48 ... when any
|
| H A D | pci_free_consistent.cocci | 21 ... when != e = id 23 ... when != pci_free_consistent(x,y,id,z) 24 when != if (id) { ... pci_free_consistent(x,y,id,z) ... } 25 when != if (y) { ... pci_free_consistent(x,y,id,z) ... } 26 when != e = (T)id 27 when exists
|
| /linux/scripts/coccinelle/tests/ |
| H A D | odd_ptr_err.cocci | 49 ... when any 50 when != IS_ERR(...) 59 ... when any 71 ... when any 72 when != IS_ERR(...) 80 ... when any 90 ... when any 91 when != IS_ERR(...) 95 ... when any
|
| /linux/Documentation/i2c/ |
| H A D | fault-codes.rst | 43 Returned by I2C adapters not supporting 10 bit addresses when 47 Returned by I2C adapters when they lose arbitration in master 51 Also returned when trying to invoke an I2C operation in an 52 atomic context, when some task is already using that I2C bus 56 Returned by SMBus logic when an invalid Packet Error Code byte 65 Returned by SMBus adapters when the bus was busy for longer 73 specific fault code when you can. 76 This rather vague error means something went wrong when 78 code when you can. 89 Returned by any component that can't allocate memory when [all …]
|
| /linux/scripts/coccinelle/misc/ |
| H A D | returnvar.cocci | 9 // "when strict" can be removed to get more hits, but adds false 24 ... when != ret 25 when strict 37 ... when != ret 38 when strict 48 ... when != ret 49 when strict
|
| H A D | array_size_dup.cocci | 34 ... when != \(subE1\|subE2\) aop E3 35 when != &\(subE1\|subE2\) 63 ... when != \(subE1\|subE2\) aop E3 64 when != &\(subE1\|subE2\) 99 ... when != \(subE1\|subE2\|subE3\) aop E4 100 when != &\(subE1\|subE2\|subE3\) 129 ... when != \(subE1\|subE2\|subE3\) aop E4 130 when != &\(subE1\|subE2\|subE3\) 163 ... when != subE3 aop E4 164 when != &subE3 [all …]
|
| /linux/Documentation/kbuild/ |
| H A D | kbuild.rst | 18 by modprobe to not fail when trying to load something builtin. 36 Additional options to pass when preprocessing. The preprocessing options 62 Additional options for $(CC) when used to compile 71 Additional options for $(RUSTC) when used to compile 80 Additional options used for $(LD) when linking modules. 84 Additional flags to be passed to $(HOSTCC) when building host programs. 88 Additional flags to be passed to $(HOSTCXX) when building host programs. 92 Additional flags to be passed to $(HOSTRUSTC) when building host programs. 96 Flags to be passed when linking Rust proc macros. Since proc macros are loaded 100 For instance, it can be useful when rustc uses a different C library than [all …]
|
| /linux/Documentation/livepatch/ |
| H A D | system-state.rst | 69 The check is done when the livepatch is enabled. The rules are: 89 - Modify the system state when the livepatch gets enabled and the state 93 - Take over or update the system state modification when is has already 96 - Restore the original state when the livepatch is disabled. 98 - Restore the previous state when the transition is reverted. 102 - Remove any already made changes when error occurs and the livepatch 113 - Allocate *state->data* when necessary. The allocation might fail 115 of the livepatch. The allocation is not needed when the data 123 when the entire system is able to handle it. 130 - Copy *state->data* from the previous livepatch when they are [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-power-wilco | 19 Charging begins when level drops below 20 charge_control_start_threshold, and ceases when 26 be denied by Wilco EC when Long Life mode is enabled. 32 Used when charge_type="Custom", as described above. Measured in 39 Used when charge_type="Custom", as described above. Measured in
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | errata.rst | 42 require the flag be set when injecting a #GP, clear when injecting a #UD, 43 clear when injecting a soft exception, etc. Intel CPUs that enumerate 51 On AMD CPUs, when GIF is cleared, #DB exceptions or traps due to a breakpoint 53 to fully virtualize this behavior, even when vGIF is enabled for the guest 54 (i.e. vGIF=0 does not cause the CPU to drop #DBs when the guest is running). 68 not enabled, KVM follows x86 architecture when processing interrupts (all vCPUs 75 honor guest MTRRs when determining the effective memory type, and instead 86 hardware, i.e. put the CPU caches into "no fill" mode when CR0.CD=1, even when
|
| /linux/Documentation/networking/ |
| H A D | ipvs-sysctl.rst | 42 bit 1: enable rescheduling of new connections when it is safe. 43 That is, whenever expire_nodest_conn and for TCP sockets, when 47 bit 2: it is bit 1 plus, for TCP connections, when connections 67 Only available when IPVS is compiled with CONFIG_IP_VS_NFCT enabled. 74 directly when no cache server is available and destination 93 Only available when IPVS is compiled with CONFIG_IP_VS_DEBUG enabled. 113 modes (when there is no enough available memory, the strategy 128 when available memory is less than the available memory 157 packets when its destination server is not available. It may 158 be useful, when user-space monitoring program deletes the [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | method-tracing.rst | 26 ACPICA subsystem provides debugging outputs when CONFIG_ACPI_DEBUG is 33 But when the particular layer/level is applied to the control method 37 logs when the control method evaluation is started, and disable the 38 detailed logging when the control method evaluation is stopped. 43 a. Filter out the debug layer/level matched logs when control methods 51 b. Filter out the debug layer/level matched logs when the specified 60 c. Filter out the debug layer/level matched logs when the specified 109 a. Filter out the method start/stop "AML tracer" logs when control 117 b. Filter out the method start/stop "AML tracer" when the specified 126 c. Filter out the method start/stop "AML tracer" logs when the specified [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | bh1770glc.rst | 37 interrupts the delayed work is pushed forward. So, when proximity level goes 41 Chip state is controlled via runtime pm framework when enabled in config. 65 sysfs_notify called when threshold interrupt occurs 102 sysfs_notify called when threshold interrupt occurs 119 RW - Measurement rate (in Hz) when the level is above threshold 120 i.e. when proximity on has been reported. 123 RW - Measurement rate (in Hz) when the level is below threshold 124 i.e. when proximity off has been reported.
|
| /linux/Documentation/virt/kvm/arm/ |
| H A D | hyp-abi.rst | 8 hypervisor layer when running Linux as a hypervisor (for example 10 hypervisor when running as a guest (under Xen, KVM or any other 11 hypervisor), or any hypervisor-specific interaction when the kernel is 15 here is still valid though, as it allows the kernel to kexec when 53 x2 = x0's value when entering the next payload (arm64) 54 x3 = x1's value when entering the next payload (arm64) 55 x4 = x2's value when entering the next payload (arm64)
|