Lines Matching full:scanning
28 * (atomic or kmemleak_lock). This lock is also held when scanning the
31 * lock like kmemleak_lock during scanning.
35 * scanned. This list is only modified during a scanning episode when the
40 * modifications to the memory scanning parameters including the scan_thread
110 #define SECS_SCAN_WAIT 600 /* subsequent auto scanning delay */
121 /* scanning area inside a memory block */
224 /* enables or disables the task stacks scanning */
226 /* protects the memory scanning, parameters and debug/kmemleak file access */
784 * Add a scanning area to the object. If at least one such area is added,
805 pr_warn_once("Cannot allocate a scan area, scanning the full object\n"); in add_scan_area()
865 kmemleak_warn("Not scanning unknown object at 0x%08lx\n", ptr); in object_no_scan()
880 * scanning a number of references less than @min_count is found,
1207 * Memory scanning is a long process and it needs to be interruptible. This
1436 /* per-cpu sections scanning */ in kmemleak_scan()
1443 * Struct page scanning for each node. in kmemleak_scan()
1471 * Scanning the task stacks (may introduce false negatives). in kmemleak_scan()
1516 * If scanning was stopped do not report any new unreferenced objects. in kmemleak_scan()
1522 * Scanning result reporting. in kmemleak_scan()
1550 * Thread function performing automatic memory scanning. Unreferenced objects
1557 pr_info("Automatic memory scanning thread started\n"); in kmemleak_scan_thread()
1582 pr_info("Automatic memory scanning thread ended\n"); in kmemleak_scan_thread()
1588 * Start the automatic memory scanning thread. This function must be called
1603 * Stop the automatic memory scanning thread.
1616 * a memory scanning when the pos argument points to the first position.
1759 * stack=on - enable the task stacks scanning
1760 * stack=off - disable the tasks stacks scanning
1761 * scan=on - start the automatic memory scanning thread
1762 * scan=off - stop the automatic memory scanning thread
1763 * scan=... - set the automatic memory scanning period in seconds (0 to
1868 * Stop the memory scanning thread and free the kmemleak internal objects if