Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 6 of 6) sorted by relevance

/mm/kfence/
Dkfence_test.c79 void *fn; /* Function pointer to expected function where access occurred. */ member
129 scnprintf(cur, end - cur, " in %pS", r->fn); in report_matches()
317 .fn = test_out_of_bounds_read, in test_out_of_bounds_read()
351 .fn = test_out_of_bounds_write, in test_out_of_bounds_write()
369 .fn = test_use_after_free_read, in test_use_after_free_read()
385 .fn = test_double_free, in test_double_free()
400 .fn = test_invalid_addr_free, in test_invalid_addr_free()
417 .fn = test_corruption, in test_corruption()
454 .fn = test_kmalloc_aligned_oob_read, in test_kmalloc_aligned_oob_read()
488 .fn = test_kmalloc_aligned_oob_write, in test_kmalloc_aligned_oob_write()
[all …]
Dcore.c302 static __always_inline void for_each_canary(const struct kfence_metadata *meta, bool (*fn)(u8 *)) in for_each_canary()
320 if (!fn((u8 *)addr)) in for_each_canary()
326 if (!fn((u8 *)addr)) in for_each_canary()
/mm/
Dmemory.c2584 pte_fn_t fn, void *data, bool create, in apply_to_pte_range() argument
2607 if (fn) { in apply_to_pte_range()
2610 err = fn(pte++, addr, data); in apply_to_pte_range()
2627 pte_fn_t fn, void *data, bool create, in apply_to_pmd_range() argument
2655 fn, data, create, mask); in apply_to_pmd_range()
2665 pte_fn_t fn, void *data, bool create, in apply_to_pud_range() argument
2691 fn, data, create, mask); in apply_to_pud_range()
2701 pte_fn_t fn, void *data, bool create, in apply_to_p4d_range() argument
2727 fn, data, create, mask); in apply_to_p4d_range()
2736 unsigned long size, pte_fn_t fn, in __apply_to_page_range() argument
[all …]
Dslab.h239 int (*fn)(const struct kmem_cache *, const void *,
252 int (*fn)(const struct kmem_cache *, const void *, in get_each_object_track()
Dslub.c694 int (*fn)(const struct kmem_cache *, const void *, in get_each_object_track()
710 ret = fn(s, p, t, private); in get_each_object_track()
Dmemcontrol.c1206 int (*fn)(struct task_struct *, void *), void *arg) in mem_cgroup_scan_tasks()
1219 ret = fn(task, arg); in mem_cgroup_scan_tasks()