Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 7 of 7) sorted by relevance

/lib/
Dtest_stackinit.c70 #define INIT_STRUCT_static_all = { .one = arg->one, \
71 .two = arg->two, \
72 .three = arg->three, \
73 .four = arg->four, \
75 #define INIT_STRUCT_dynamic_partial = { .two = arg->two, }
76 #define INIT_STRUCT_dynamic_all = { .one = arg->one, \
77 .two = arg->two, \
78 .three = arg->three, \
79 .four = arg->four, \
163 var_type *arg) \
[all …]
Dtest_overflow.c490 #define alloc010(alloc, arg, sz) alloc(sz, alloc_GFP) argument
491 #define alloc011(alloc, arg, sz) alloc(sz, alloc_GFP, NUMA_NO_NODE) argument
492 #define alloc000(alloc, arg, sz) alloc(sz) argument
493 #define alloc001(alloc, arg, sz) alloc(sz, NUMA_NO_NODE) argument
494 #define alloc110(alloc, arg, sz) alloc(arg, sz, alloc_GFP) argument
495 #define free0(free, arg, ptr) free(ptr) argument
496 #define free1(free, arg, ptr) free(arg, ptr) argument
502 static int __init test_ ## func (void *arg) \
509 ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, 1);\
514 free ## want_arg (free_func, arg, ptr); \
[all …]
Drhashtable.c483 struct rhashtable_compare_arg arg = { in rhashtable_lookup_one() local
499 ht->p.obj_cmpfn(&arg, rht_obj(ht, head)) : in rhashtable_lookup_one()
500 rhashtable_compare(&arg, rht_obj(ht, head)))) { in rhashtable_lookup_one()
1090 void (*free_fn)(void *ptr, void *arg), in rhashtable_free_one() argument
1091 void *arg) in rhashtable_free_one()
1096 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1104 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1124 void (*free_fn)(void *ptr, void *arg), in rhashtable_free_and_destroy() argument
1125 void *arg) in rhashtable_free_and_destroy()
1147 rhashtable_free_one(ht, pos, free_fn, arg); in rhashtable_free_and_destroy()
Dobjagg.c909 static int objagg_hints_obj_cmp(struct rhashtable_compare_arg *arg, in objagg_hints_obj_cmp() argument
912 struct rhashtable *ht = arg->ht; in objagg_hints_obj_cmp()
919 return ops->hints_obj_cmp ? ops->hints_obj_cmp(ptr, arg->key) : in objagg_hints_obj_cmp()
920 memcmp(ptr, arg->key, ht->p.key_len); in objagg_hints_obj_cmp()
Dtest_rhashtable.c86 static int my_cmpfn(struct rhashtable_compare_arg *arg, const void *obj) in my_cmpfn() argument
89 const struct test_obj_val *val = arg->key; in my_cmpfn()
Dradix-tree.c1579 radix_tree_node_ctor(void *arg) in radix_tree_node_ctor() argument
1581 struct radix_tree_node *node = arg; in radix_tree_node_ctor()
Ddynamic_debug.c934 const char *unused, void *arg) in ddebug_dyndbg_boot_param_cb() argument