Home
last modified time | relevance | path

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

/lib/
Dstackinit_kunit.c103 #define __dynamic_partial { .two = arg->two, }
104 #define __dynamic_all { .one = arg->one, \
105 .two = arg->two, \
106 .three = arg->three, \
107 .four = arg->four, \
138 ; var = *(arg)
209 var_type *arg) \
392 uint64_t *arg) in leaf_switch_1_none() argument
398 uint64_t *arg) in leaf_switch_2_none() argument
Doverflow_kunit.c551 #define alloc010(alloc, arg, sz) alloc(sz, alloc_GFP) argument
552 #define alloc011(alloc, arg, sz) alloc(sz, alloc_GFP, NUMA_NO_NODE) argument
553 #define alloc000(alloc, arg, sz) alloc(sz) argument
554 #define alloc001(alloc, arg, sz) alloc(sz, NUMA_NO_NODE) argument
555 #define alloc110(alloc, arg, sz) alloc(arg, sz, alloc_GFP) argument
556 #define free0(free, arg, ptr) free(ptr) argument
557 #define free1(free, arg, ptr) free(arg, ptr) argument
563 static void test_ ## func (struct kunit *test, void *arg) \
570 ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, 1);\
573 free ## want_arg (free_func, arg, ptr); \
[all …]
Ddynamic_debug.c431 char *arg = words[i+1]; in ddebug_parse_query() local
434 rc = check_set(&query->function, arg, "func"); in ddebug_parse_query()
436 if (check_set(&query->filename, arg, "file")) in ddebug_parse_query()
453 rc = check_set(&query->module, arg, "module"); in ddebug_parse_query()
455 string_unescape_inplace(arg, UNESCAPE_SPACE | in ddebug_parse_query()
458 rc = check_set(&query->format, arg, "format"); in ddebug_parse_query()
460 if (parse_linerange(query, arg)) in ddebug_parse_query()
463 rc = check_set(&query->class_string, arg, "class"); in ddebug_parse_query()
640 const struct ddebug_class_param *dcp = kp->arg; in param_set_dyndbg_classnames()
721 const struct ddebug_class_param *dcp = kp->arg; in param_set_dyndbg_classes()
[all …]
Drhashtable.c495 struct rhashtable_compare_arg arg = { in rhashtable_lookup_one() local
511 ht->p.obj_cmpfn(&arg, rht_obj(ht, head)) : in rhashtable_lookup_one()
512 rhashtable_compare(&arg, rht_obj(ht, head)))) { in rhashtable_lookup_one()
1101 void (*free_fn)(void *ptr, void *arg), in rhashtable_free_one() argument
1102 void *arg) in rhashtable_free_one()
1107 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1115 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1135 void (*free_fn)(void *ptr, void *arg), in rhashtable_free_and_destroy() argument
1136 void *arg) in rhashtable_free_and_destroy()
1158 rhashtable_free_one(ht, pos, free_fn, arg); in rhashtable_free_and_destroy()
Dtest_bpf.c821 static int __bpf_fill_pattern(struct bpf_test *self, void *arg, in __bpf_fill_pattern() argument
838 len = extra + count * (*emit)(self, arg, NULL, 0, 0); in __bpf_fill_pattern()
861 i += (*emit)(self, arg, in __bpf_fill_pattern()
879 i += (*emit)(self, arg, &insns[i], in __bpf_fill_pattern()
916 static int __bpf_emit_alu64_imm(struct bpf_test *self, void *arg, in __bpf_emit_alu64_imm() argument
919 int op = *(int *)arg; in __bpf_emit_alu64_imm()
937 static int __bpf_emit_alu32_imm(struct bpf_test *self, void *arg, in __bpf_emit_alu32_imm() argument
940 int op = *(int *)arg; in __bpf_emit_alu32_imm()
958 static int __bpf_emit_alu64_reg(struct bpf_test *self, void *arg, in __bpf_emit_alu64_reg() argument
961 int op = *(int *)arg; in __bpf_emit_alu64_reg()
[all …]
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.c1570 radix_tree_node_ctor(void *arg) in radix_tree_node_ctor() argument
1572 struct radix_tree_node *node = arg; in radix_tree_node_ctor()
Dtest_hmm.c1301 unsigned long arg) in dmirror_fops_unlocked_ioctl() argument
1303 void __user *uarg = (void __user *)arg; in dmirror_fops_unlocked_ioctl()