Home
last modified time | relevance | path

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

123

/linux/samples/livepatch/
H A Dlivepatch-shadow-fix1.c12 * Fixes the memory leak introduced in livepatch-shadow-mod through the
56 int **leak = ctor_data; in shadow_leak_ctor() local
61 *shadow_leak = *leak; in shadow_leak_ctor()
68 int *leak; in livepatch_fix1_dummy_alloc() local
82 leak = kzalloc(sizeof(*leak), GFP_KERNEL); in livepatch_fix1_dummy_alloc()
83 if (!leak) in livepatch_fix1_dummy_alloc()
86 shadow_leak = klp_shadow_alloc(d, SV_LEAK, sizeof(leak), GFP_KERNEL, in livepatch_fix1_dummy_alloc()
87 shadow_leak_ctor, &leak); in livepatch_fix1_dummy_alloc()
89 pr_err("%s: failed to allocate shadow variable for the leaking pointer: dummy @ %p, leak in livepatch_fix1_dummy_alloc()
[all...]
H A Dlivepatch-shadow-mod.c13 * introduces memory leak behavior that livepatch modules
18 * memory leak, please load these modules at your own risk -- some
98 int *leak; in dummy_alloc() local
106 /* Oops, forgot to save leak! */ in dummy_alloc()
107 leak = kzalloc(sizeof(*leak), GFP_KERNEL); in dummy_alloc()
108 if (!leak) { in dummy_alloc()
135 * memory, aptly named "leak", but doesn't keep
159 * "leak", it leaks the additional memory that
/linux/drivers/of/unittest-data/
H A Doverlay_bad_add_dup_prop.dtso17 * Modifying a property results in a WARNING that a memory leak
19 * fails, the memory leak does actually occur, and kmemleak will
20 * further report the memory leak if CONFIG_DEBUG_KMEMLEAK is
22 * memory leak and thus people who use kmemleak will not
/linux/Documentation/devicetree/bindings/power/
H A Dpower_domain.txt33 compatible = "foo,i-leak-current";
40 compatible = "foo,i-leak-current";
99 compatible = "foo,i-leak-current";
106 compatible = "foo,i-leak-current";
/linux/Documentation/dev-tools/
H A Dkmemleak.rst9 Valgrind tool (``memcheck --leak-check``) to detect the memory leaks in
60 clear list of current memory leak suspects, done by
95 memory leak.
115 block is not considered a leak. One example is __vmalloc().
163 - ``kmemleak_not_leak`` - mark an object as not a leak
164 - ``kmemleak_transient_leak`` - mark an object as a transient leak
165 - ``kmemleak_ignore`` - do not scan or report an object as leak
199 the minimum age of an object to be reported as a memory leak.
212 number of false negatives. However, it is likely that a real memory leak
/linux/Documentation/features/debug/kmemleak/
H A Darch-support.txt4 # description: arch supports the kernel memory leak detector
/linux/tools/net/ynl/lib/
H A DMakefile6 CFLAGS += -g -fsanitize=address -fsanitize=leak -static-libasan
/linux/drivers/gpu/drm/ci/xfails/
H A Di915-apl-flakes.txt13 kms_universal_plane@cursor-fb-leak
H A Di915-amly-flakes.txt27 kms_universal_plane@cursor-fb-leak
/linux/Documentation/gpu/nova/core/
H A Dguidelines.rst17 Therefore, it is not permitted to leak firmware (version) specifics, through the
/linux/lib/
H A Dref_tracker.c224 bool leak = false; in ref_tracker_dir_exit() local
240 leak = true; in ref_tracker_dir_exit()
247 WARN_ON_ONCE(leak); in ref_tracker_dir_exit()
/linux/scripts/
H A Dgit-resolve.sh105 'ffef737 ("net/tls: Fix skb memory leak when running kTLS traffic")'
110 '--force 99999999 ("net/tls: Fix skb memory leak when running kTLS traffic")' # Force mode with non-existent ID but valid subject
/linux/Documentation/locking/
H A Dpercpu-rw-semaphore.rst21 The lock must be freed with percpu_free_rwsem to avoid memory leak.
/linux/tools/net/ynl/generated/
H A DMakefile7 CFLAGS += -g -fsanitize=address -fsanitize=leak -static-libasan
/linux/drivers/net/ethernet/freescale/fman/
H A DKconfig23 internal resource leak thus stopping further packet processing.
/linux/Documentation/translations/zh_CN/process/
H A Dresearcher-guidelines.rst97 would result in a 64 byte slab memory leak once per device attach,
/linux/arch/x86/
H A DKconfig.debug94 allow to enable IOMMU leak tracing. Can be disabled at boot
104 bool "IOMMU leak tracing"
107 Add a simple leak tracer to the IOMMU code. This is useful when you
/linux/Documentation/filesystems/ext4/
H A Dorphan.rst9 would leak. Similarly if we truncate or extend the file, we need not be able
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dkmemleak.rst14 (``memcheck --leak-check``)使用了一种相似的方法来检测用户空间应用中的内存泄
/linux/rust/kernel/sync/
H A Darc.rs238 let inner = KBox::leak(inner).into(); in new()
488 // SAFETY: The pointer was initialised from the result of `KBox::leak`. in drop()
787 inner: unsafe { Arc::from_inner(KBox::leak(inner).into()) }, in new_uninit()
/linux/Documentation/admin-guide/hw-vuln/
H A Dattack_vector_controls.rst35 attempting to leak kernel data into userspace by exploiting a CPU vulnerability.
74 The guest-to-host attack vector involves a malicious VM attempting to leak
/linux/Documentation/filesystems/
H A Dhpfs.rst231 0.92 Fixed a little memory leak in freeing directory inodes
235 0.94 Fixed a little memory leak when trying to delete busy file or directory
276 Fixed one buffer leak
290 1.95 Fixed one buffer leak, that could happen on corrupted filesystem
/linux/drivers/gpu/drm/
H A DKconfig.debug46 Enable allocation tracking of memory manager and leak detection on
/linux/fs/btrfs/
H A DKconfig69 sysfs exported information is enabled, like leak checks of internal
/linux/rust/kernel/alloc/
H A Dkbox.rs210 pub fn leak<'a>(b: Self) -> &'a mut T { in leak() function

123