Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 27) sorted by relevance

12

/lib/kunit/
A Dresource.c21 kunit_resource_free_t free, in __kunit_add_resource() argument
28 res->free = free; in __kunit_add_resource()
134 if (res->free != __kunit_action_free) in __kunit_action_match()
154 res->free = NULL; in kunit_remove_action()
A Dexecutor_test.c270 struct kunit_suite_set *free; in free_suite_set_at_end() local
275 free = kzalloc(sizeof(struct kunit_suite_set), GFP_KERNEL); in free_suite_set_at_end()
276 *free = *(struct kunit_suite_set *)to_free; in free_suite_set_at_end()
278 kunit_add_action(test, free_suite_set, (void *)free); in free_suite_set_at_end()
A Dplatform.c78 return res->data == pdev && res->free == kunit_platform_device_alloc_exit; in kunit_platform_device_alloc_match()
121 res->free = kunit_platform_device_add_exit; in kunit_platform_device_add()
A Dstatic_stub.c34 if (res->free != &__kunit_static_stub_resource_free) in __kunit_static_stub_resource_match()
A Dkunit-test.c198 kunit_resource_free_t free = fake_resource_free; in kunit_resource_test_alloc_resource() local
211 KUNIT_EXPECT_PTR_EQ(test, free, res->free); in kunit_resource_test_alloc_resource()
/lib/
A Ddecompress_unxz.c165 #define kfree(ptr) free(ptr)
167 #define vfree(ptr) do { if (ptr != NULL) free(ptr); } while (0)
347 free(in); in unxz()
350 free(b.out); in unxz()
390 free(b.out); in unxz()
A Ddecompress_inflate.c186 free(strm->workspace); in __gunzip()
188 free(strm); in __gunzip()
191 free(zbuf); in __gunzip()
194 free(out_buf); in __gunzip()
A Dtest_objpool.c25 atomic_long_t free; member
98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree()
104 long alloc, free; in ot_mem_report() local
109 free = atomic_long_read(&test->data.kmalloc.free); in ot_mem_report()
110 pr_info(" kmalloc: %lu - %lu = %lu\n", alloc, free, alloc - free); in ot_mem_report()
113 free = atomic_long_read(&test->data.vmalloc.free); in ot_mem_report()
114 pr_info(" vmalloc: %lu - %lu = %lu\n", alloc, free, alloc - free); in ot_mem_report()
A Dlru_cache.c110 INIT_LIST_HEAD(&lc->free); in lc_create()
132 list_add(&e->list, &lc->free); in lc_create()
189 INIT_LIST_HEAD(&lc->free); in lc_reset()
210 list_add(&e->list, &lc->free); in lc_reset()
307 list_move(&e->list, &lc->free); in lc_del()
316 if (!list_empty(&lc->free)) in lc_prepare_for_change()
317 n = lc->free.next; in lc_prepare_for_change()
337 if (!list_empty(&lc->free)) in lc_unused_element_available()
A Dinflate.c266 static void free(void *where) in free() function
274 #define free(a) kfree(a) macro
561 free(stk); in huft_build()
582 free((char*)p); in huft_free()
794 free(l); in inflate_fixed()
805 free(l); in inflate_fixed()
814 free(l); in inflate_fixed()
819 free(l); in inflate_fixed()
1024 free(ll);
A Ddecompress_unlzo.c268 free(in_buf_save); in unlzo()
271 free(out_buf); in unlzo()
A DKconfig.kasan44 error detector designed to find out-of-bounds and use-after-free bugs.
192 out-of-bounds and use-after-free accesses. Useful for testing whether
206 recorded for each heap block at allocation and free time, and
208 allocation or free information.
A DKconfig.kfence13 access, use-after-free, and invalid-free errors. KFENCE is designed
A Ddecompress_bunzip2.c737 free(bd); in bunzip2()
740 free(inbuf); in bunzip2()
743 free(outbuf); in bunzip2()
A Dradix-tree.c856 bool free = node_tag_get(root, node, IDR_FREE, offset); in calculate_count() local
857 if (!free) in calculate_count()
A Ddebugobjects.c1440 goto free; in debug_objects_replace_static_objects()
1460 free: in debug_objects_replace_static_objects()
A Ddecompress_unlzma.c666 free(inbuf); in unlzma()
A Dbootconfig.c79 free(addr); in xbc_free_mem()
A Dmaple_tree.c161 struct ma_topiary *free; /* nodes to be freed */ member
987 bool free);
5318 bool free) in mt_destroy_walk() argument
5339 if (free) in mt_destroy_walk()
5363 if (free) in mt_destroy_walk()
5367 if (free) in mt_destroy_walk()
/lib/tests/
A Doverflow_kunit.c616 #define free0(free, arg, ptr) free(ptr) argument
617 #define free1(free, arg, ptr) free(arg, ptr) argument
633 free ## want_arg (free_func, arg, ptr); \
640 free ## want_arg (free_func, arg, ptr); \
647 free ## want_arg (free_func, arg, ptr); \
A Dfortify_kunit.c156 #define check_const(_expected, alloc, free) do { \ argument
162 free; \
166 #define check_dynamic(_expected, alloc, free) do { \ argument
172 free; \
/lib/raid6/
A Dvpermxor.uc4 * This program is free software; you can redistribute it and/or
A Daltivec.uc5 * This program is free software; you can redistribute it and/or modify
A Dint.uc5 * This program is free software; you can redistribute it and/or modify
A Dneon.uc11 * This program is free software; you can redistribute it and/or modify

Completed in 52 milliseconds

12