/lib/ |
D | Makefile | 41 obj-y += lockref.o 43 obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \ 50 obj-$(CONFIG_STRING_SELFTEST) += test_string.o 51 obj-y += string_helpers.o 52 obj-$(CONFIG_TEST_STRING_HELPERS) += test-string_helpers.o 53 obj-y += hexdump.o 54 obj-$(CONFIG_TEST_HEXDUMP) += test_hexdump.o 55 obj-y += kstrtox.o 56 obj-$(CONFIG_FIND_BIT_BENCHMARK) += find_bit_benchmark.o 57 obj-$(CONFIG_TEST_BPF) += test_bpf.o [all …]
|
D | debugobjects.c | 132 struct debug_obj *obj; in fill_pool() local 149 obj = hlist_entry(obj_to_free.first, typeof(*obj), node); in fill_pool() 150 hlist_del(&obj->node); in fill_pool() 152 hlist_add_head(&obj->node, &obj_pool); in fill_pool() 188 struct debug_obj *obj; in lookup_object() local 191 hlist_for_each_entry(obj, &b->list, node) { in lookup_object() 193 if (obj->object == addr) in lookup_object() 194 return obj; in lookup_object() 207 struct debug_obj *obj = NULL; in __alloc_object() local 210 obj = hlist_entry(list->first, typeof(*obj), node); in __alloc_object() [all …]
|
D | test_rhashtable.c | 81 const struct test_obj_rhl *obj = data; in my_hashfn() local 83 return (obj->value.id % 10); in my_hashfn() 86 static int my_cmpfn(struct rhashtable_compare_arg *arg, const void *obj) in my_cmpfn() argument 88 const struct test_obj_rhl *test_obj = obj; in my_cmpfn() 115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() argument 123 err = rhashtable_insert_fast(ht, &obj->node, params); in insert_retry() 143 struct test_obj *obj; in test_rht_lookup() local 152 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup() 154 if (expected && !obj) { in test_rht_lookup() 157 } else if (!expected && obj) { in test_rht_lookup() [all …]
|
D | objagg.c | 31 unsigned long obj[0]; member 35 objagg_hints_lookup(struct objagg_hints *objagg_hints, void *obj) in objagg_hints_lookup() argument 39 return rhashtable_lookup_fast(&objagg_hints->node_ht, obj, in objagg_hints_lookup() 69 unsigned long obj[0]; member 154 return objagg_obj->obj; in objagg_obj_raw() 158 static struct objagg_obj *objagg_obj_lookup(struct objagg *objagg, void *obj) in objagg_obj_lookup() argument 160 return rhashtable_lookup_fast(&objagg->obj_ht, obj, objagg->ht_params); in objagg_obj_lookup() 170 delta_priv = objagg->ops->delta_create(objagg->priv, parent->obj, in objagg_obj_parent_assign() 171 objagg_obj->obj); in objagg_obj_parent_assign() 271 objagg_obj->obj, in objagg_obj_root_create() [all …]
|
D | cpu_rmap.c | 39 rmap = kzalloc(obj_offset + size * sizeof(rmap->obj[0]), flags); in alloc_cpu_rmap() 44 rmap->obj = (void **)((char *)rmap + obj_offset); in alloc_cpu_rmap() 138 int cpu_rmap_add(struct cpu_rmap *rmap, void *obj) in cpu_rmap_add() argument 144 rmap->obj[index] = obj; in cpu_rmap_add() 234 glue = rmap->obj[index]; in free_irq_cpu_rmap()
|
D | rhashtable.c | 481 const void *key, struct rhash_head *obj) in rhashtable_lookup_one() argument 508 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_lookup_one() 515 rcu_assign_pointer(*pprev, obj); in rhashtable_lookup_one() 518 rht_assign_locked(bkt, obj); in rhashtable_lookup_one() 533 struct rhash_head *obj, in rhashtable_insert_one() argument 560 RCU_INIT_POINTER(obj->next, head); in rhashtable_insert_one() 564 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_insert_one() 571 rht_assign_locked(bkt, obj); in rhashtable_insert_one() 581 struct rhash_head *obj) in rhashtable_try_insert() argument 593 hash = rht_head_hashfn(ht, tbl, obj, ht->p); in rhashtable_try_insert() [all …]
|
D | test_objagg.c | 90 static bool delta_check(void *priv, const void *parent_obj, const void *obj) in delta_check() argument 93 const struct tokey *key = obj; in delta_check() 99 static void *delta_create(void *priv, void *parent_obj, void *obj) in delta_create() argument 103 struct tokey *key = obj; in delta_create() 107 if (!delta_check(priv, parent_obj, obj)) in delta_create() 127 static void *root_create(void *priv, void *obj, unsigned int id) in root_create() argument 130 struct tokey *key = obj; in root_create() 281 const void *obj) in delta_check_dummy() argument 286 static void *delta_create_dummy(void *priv, void *parent_obj, void *obj) in delta_create_dummy() argument
|
/lib/livepatch/ |
D | test_klp_shadow_vars.c | 61 static void *shadow_get(void *obj, unsigned long id) in shadow_get() argument 63 void *ret = klp_shadow_get(obj, id); in shadow_get() 66 __func__, ptr_id(obj), id, ptr_id(ret)); in shadow_get() 71 static void *shadow_alloc(void *obj, unsigned long id, size_t size, in shadow_alloc() argument 75 void *ret = klp_shadow_alloc(obj, id, size, gfp_flags, ctor, in shadow_alloc() 78 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_alloc() 83 static void *shadow_get_or_alloc(void *obj, unsigned long id, size_t size, in shadow_get_or_alloc() argument 87 void *ret = klp_shadow_get_or_alloc(obj, id, size, gfp_flags, ctor, in shadow_get_or_alloc() 90 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_get_or_alloc() 95 static void shadow_free(void *obj, unsigned long id, klp_shadow_dtor_t dtor) in shadow_free() argument [all …]
|
D | test_klp_callbacks_demo2.c | 21 static void callback_info(const char *callback, struct klp_object *obj) in callback_info() argument 23 if (obj->mod) in callback_info() 24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 25 module_state[obj->mod->state]); in callback_info() 31 static int pre_patch_callback(struct klp_object *obj) in pre_patch_callback() argument 33 callback_info(__func__, obj); in pre_patch_callback() 38 static void post_patch_callback(struct klp_object *obj) in post_patch_callback() argument 40 callback_info(__func__, obj); in post_patch_callback() 44 static void pre_unpatch_callback(struct klp_object *obj) in pre_unpatch_callback() argument 46 callback_info(__func__, obj); in pre_unpatch_callback() [all …]
|
D | test_klp_callbacks_demo.c | 21 static void callback_info(const char *callback, struct klp_object *obj) in callback_info() argument 23 if (obj->mod) in callback_info() 24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 25 module_state[obj->mod->state]); in callback_info() 31 static int pre_patch_callback(struct klp_object *obj) in pre_patch_callback() argument 33 callback_info(__func__, obj); in pre_patch_callback() 38 static void post_patch_callback(struct klp_object *obj) in post_patch_callback() argument 40 callback_info(__func__, obj); in post_patch_callback() 44 static void pre_unpatch_callback(struct klp_object *obj) in pre_unpatch_callback() argument 46 callback_info(__func__, obj); in pre_unpatch_callback() [all …]
|
D | Makefile | 5 obj-$(CONFIG_TEST_LIVEPATCH) += test_klp_atomic_replace.o \
|
/lib/math/ |
D | Makefile | 2 obj-y += div64.o gcd.o lcm.o int_pow.o int_sqrt.o reciprocal_div.o 4 obj-$(CONFIG_CORDIC) += cordic.o 5 obj-$(CONFIG_PRIME_NUMBERS) += prime_numbers.o 6 obj-$(CONFIG_RATIONAL) += rational.o
|
/lib/crypto/ |
D | Makefile | 3 obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o 6 obj-$(CONFIG_CRYPTO_LIB_ARC4) += libarc4.o 9 obj-$(CONFIG_CRYPTO_LIB_DES) += libdes.o 12 obj-$(CONFIG_CRYPTO_LIB_SHA256) += libsha256.o
|
/lib/raid6/ |
D | Makefile | 2 obj-$(CONFIG_RAID6_PQ) += raid6_pq.o 54 $(obj)/int%.c: $(src)/int.uc $(src)/unroll.awk FORCE 62 $(obj)/altivec%.c: $(src)/altivec.uc $(src)/unroll.awk FORCE 70 $(obj)/vpermxor%.c: $(src)/vpermxor.uc $(src)/unroll.awk FORCE 78 $(obj)/neon%.c: $(src)/neon.uc $(src)/unroll.awk FORCE 82 $(obj)/s390vx%.c: $(src)/s390vx.uc $(src)/unroll.awk FORCE 86 cmd_mktable = $(obj)/mktables > $@ 89 $(obj)/tables.c: $(obj)/mktables FORCE
|
/lib/lz4/ |
D | Makefile | 4 obj-$(CONFIG_LZ4_COMPRESS) += lz4_compress.o 5 obj-$(CONFIG_LZ4HC_COMPRESS) += lz4hc_compress.o 6 obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o
|
/lib/reed_solomon/ |
D | Makefile | 6 obj-$(CONFIG_REED_SOLOMON) += reed_solomon.o 7 obj-$(CONFIG_REED_SOLOMON_TEST) += test_rslib.o
|
/lib/842/ |
D | Makefile | 2 obj-$(CONFIG_842_COMPRESS) += 842_compress.o 3 obj-$(CONFIG_842_DECOMPRESS) += 842_decompress.o
|
/lib/lzo/ |
D | Makefile | 5 obj-$(CONFIG_LZO_COMPRESS) += lzo_compress.o 6 obj-$(CONFIG_LZO_DECOMPRESS) += lzo_decompress.o
|
/lib/xz/ |
D | Makefile | 2 obj-$(CONFIG_XZ_DEC) += xz_dec.o 6 obj-$(CONFIG_XZ_DEC_TEST) += xz_dec_test.o
|
/lib/zstd/ |
D | Makefile | 2 obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o 3 obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o
|
/lib/dim/ |
D | Makefile | 5 obj-$(CONFIG_DIMLIB) += dim.o
|
/lib/zlib_deflate/ |
D | Makefile | 10 obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate.o
|
/lib/zlib_inflate/ |
D | Makefile | 17 obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate.o
|
/lib/mpi/ |
D | Makefile | 6 obj-$(CONFIG_MPILIB) = mpi.o
|
/lib/fonts/ |
D | Makefile | 21 obj-$(CONFIG_FONT_SUPPORT) += font.o
|