Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 77) sorted by relevance

1234

/lib/
Dtest_stackinit.c44 #define DO_NOTHING_CALL_SCALAR(var, name) \ argument
45 (var) = do_nothing_ ## name(&(var))
46 #define DO_NOTHING_CALL_STRING(var, name) \ argument
47 do_nothing_ ## name(var)
48 #define DO_NOTHING_CALL_STRUCT(var, name) \ argument
49 do_nothing_ ## name(&(var))
96 #define DEFINE_TEST_DRIVER(name, var_type, which, xfail) \ argument
98 static noinline __init int test_ ## name (void) \
112 ignored = leaf_ ##name((unsigned long)&ignored, 1, \
118 pr_err(#name ": leaf fill was not 0xFF!?\n"); \
[all …]
Dlocking-selftest.c264 #define GENERATE_TESTCASE(name) \ argument
266 static void name(void) { E(); }
268 #define GENERATE_PERMUTATIONS_2_EVENTS(name) \ argument
270 static void name##_12(void) { E1(); E2(); } \
271 static void name##_21(void) { E2(); E1(); }
273 #define GENERATE_PERMUTATIONS_3_EVENTS(name) \ argument
275 static void name##_123(void) { E1(); E2(); E3(); } \
276 static void name##_132(void) { E1(); E3(); E2(); } \
277 static void name##_213(void) { E2(); E1(); E3(); } \
278 static void name##_231(void) { E2(); E3(); E1(); } \
[all …]
Dtest_firmware.c44 const char *name; member
97 char *name; member
113 int (*req_firmware)(const struct firmware **fw, const char *name,
173 kfree_const(test_fw_config->name); in __test_firmware_config_free()
174 test_fw_config->name = NULL; in __test_firmware_config_free()
182 static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp) in __kstrncpy() argument
184 *dst = kstrndup(name, count, gfp); in __kstrncpy()
194 ret = __kstrncpy(&test_fw_config->name, TEST_FIRMWARE_NAME, in __test_firmware_config_init()
257 if (test_fw_config->name) in config_show()
260 test_fw_config->name); in config_show()
[all …]
Ddecompress.c47 const char *name; member
64 const char **name) in decompress_method() argument
69 if (name) in decompress_method()
70 *name = NULL; in decompress_method()
76 for (cf = compressed_formats; cf->name; cf++) { in decompress_method()
81 if (name) in decompress_method()
82 *name = cf->name; in decompress_method()
Dnotifier-error-inject.c21 static struct dentry *debugfs_create_errno(const char *name, umode_t mode, in debugfs_create_errno() argument
24 return debugfs_create_file(name, mode, parent, value, &fops_errno); in debugfs_create_errno()
35 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback()
42 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback()
50 struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, in notifier_err_inject_init() argument
61 dir = debugfs_create_dir(name, parent); in notifier_err_inject_init()
65 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init()
68 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init()
Dkobject.c241 if (!kobj->name || !kobj->name[0]) { in kobject_add_internal()
294 if (kobj->name && !fmt) in kobject_set_name_vargs()
317 kfree_const(kobj->name); in kobject_set_name_vargs()
318 kobj->name = s; in kobject_set_name_vargs()
502 const char *dup_name = NULL, *name; in kobject_rename() local
528 name = dup_name = kstrdup_const(new_name, GFP_KERNEL); in kobject_rename()
529 if (!name) { in kobject_rename()
539 dup_name = kobj->name; in kobject_rename()
540 kobj->name = name; in kobject_rename()
691 const char *name = kobj->name; in kobject_cleanup() local
[all …]
Dgenalloc.c163 pool->name = NULL; in gen_pool_create()
258 kfree_const(pool->name); in gen_pool_destroy()
784 if (!data && !(*p)->name) in devm_gen_pool_match()
787 if (!data || !(*p)->name) in devm_gen_pool_match()
790 return !strcmp((*p)->name, data); in devm_gen_pool_match()
800 struct gen_pool *gen_pool_get(struct device *dev, const char *name) in gen_pool_get() argument
805 (void *)name); in gen_pool_get()
824 int nid, const char *name) in devm_gen_pool_create() argument
830 if (gen_pool_get(dev, name)) in devm_gen_pool_create()
833 if (name) { in devm_gen_pool_create()
[all …]
Dtextsearch.c113 static inline struct ts_ops *lookup_ts_algo(const char *name) in lookup_ts_algo() argument
119 if (!strcmp(name, o->name)) { in lookup_ts_algo()
148 if (ops->name == NULL || ops->find == NULL || ops->init == NULL || in textsearch_register()
154 if (!strcmp(ops->name, o->name)) in textsearch_register()
Dnotifier-error-inject.h9 const char *name; member
13 .name = #action, .val = (action),
23 extern struct dentry *notifier_err_inject_init(const char *name,
Dfault-inject.c171 static void debugfs_create_ul(const char *name, umode_t mode, in debugfs_create_ul() argument
174 debugfs_create_file(name, mode, parent, value, &fops_ul); in debugfs_create_ul()
190 static void debugfs_create_stacktrace_depth(const char *name, umode_t mode, in debugfs_create_stacktrace_depth() argument
194 debugfs_create_file(name, mode, parent, value, &fops_stacktrace_depth); in debugfs_create_stacktrace_depth()
199 struct dentry *fault_create_debugfs_attr(const char *name, in fault_create_debugfs_attr() argument
205 dir = debugfs_create_dir(name, parent); in fault_create_debugfs_attr()
Dtest-string_helpers.c14 static __init bool test_string_check_buf(const char *name, unsigned int flags, in test_string_check_buf() argument
22 pr_warn("Test '%s' failed: flags = %u\n", name, flags); in test_string_check_buf()
63 static void __init test_string_unescape(const char *name, unsigned int flags, in test_string_unescape() argument
106 test_string_check_buf(name, flags, in, p - 1, out_real, q_real, in test_string_unescape()
287 int q_test, const char *name) in test_string_escape_overflow() argument
294 name, flags, q_test, q_real); in test_string_escape_overflow()
297 static __init void test_string_escape(const char *name, in test_string_escape() argument
340 test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, in test_string_escape()
343 test_string_escape_overflow(in, p, flags, esc, q_test, name); in test_string_escape()
Dsg_pool.c12 char *name; member
149 sgp->slab = kmem_cache_create(sgp->name, size, 0, in sg_pool_init()
153 sgp->name); in sg_pool_init()
161 sgp->name); in sg_pool_init()
Dinterval_tree_test.c9 #define __param(type, name, init, msg) \ argument
10 static type name = init; \
11 module_param(name, type, 0444); \
12 MODULE_PARM_DESC(name, msg);
Ddevres.c133 if (res->name) in __devm_ioremap_resource()
135 dev_name(dev), res->name); in __devm_ioremap_resource()
411 int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name) in pcim_iomap_regions() argument
431 rc = pci_request_region(pdev, i, name); in pcim_iomap_regions()
465 const char *name) in pcim_iomap_regions_request_all() argument
470 rc = pci_request_selected_regions(pdev, request_mask, name); in pcim_iomap_regions_request_all()
474 rc = pcim_iomap_regions(pdev, mask, name); in pcim_iomap_regions_request_all()
Ddigsig.c207 char name[20]; in digsig_verify() local
215 sprintf(name, "%llX", __be64_to_cpup((uint64_t *)sh->keyid)); in digsig_verify()
221 &key_type_user, name, true); in digsig_verify()
227 key = request_key(&key_type_user, name, NULL); in digsig_verify()
230 pr_err("key not found, id: %s\n", name); in digsig_verify()
Dbucket_locks.c16 const char *name, struct lock_class_key *key) in __alloc_bucket_spinlocks() argument
39 lockdep_init_map(&tlocks[i].dep_map, name, key, 0); in __alloc_bucket_spinlocks()
Derrname.c218 const char *name = __errname(abs(err)); in errname() local
219 if (!name) in errname()
222 return err > 0 ? name + 1 : name; in errname()
/lib/zstd/
Derror_private.h37 #define PREFIX(name) ZSTD_error_##name argument
42 #define ERROR(name) ((size_t)-PREFIX(name)) argument
Dhuf.h82 #define HUF_CREATE_STATIC_CTABLE(name, maxSymbolValue) \ argument
83 U32 name##hb[maxSymbolValue + 1]; \
84 void *name##hv = &(name##hb); \
85 HUF_CElt *name = (HUF_CElt *)(name##hv) /* no final ; */
/lib/livepatch/
Dtest_klp_callbacks_demo.c24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info()
73 .name = NULL, /* vmlinux */
82 .name = "test_klp_callbacks_mod",
91 .name = "test_klp_callbacks_busy",
Dtest_klp_callbacks_demo2.c24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info()
61 .name = NULL, /* vmlinux */
/lib/kunit/
Dtest.c59 suite->name); in kunit_print_subtest_start()
111 suite->name); in kunit_print_subtest_end()
212 void kunit_init_test(struct kunit *test, const char *name, char *log) in kunit_init_test() argument
216 test->name = name; in kunit_init_test()
334 kunit_init_test(&test, test_case->name, test_case->log); in kunit_run_case_catch_errors()
350 test_case->name); in kunit_run_case_catch_errors()
437 const char *name, in kunit_add_named_resource() argument
442 if (!name) in kunit_add_named_resource()
445 existing = kunit_find_named_resource(test, name); in kunit_add_named_resource()
451 res->name = name; in kunit_add_named_resource()
/lib/842/
D842_debugfs.h27 char name[32]; in sw842_debugfs_create() local
29 snprintf(name, 32, "template_%02x", i); in sw842_debugfs_create()
30 debugfs_create_atomic_t(name, m, sw842_debugfs_root, in sw842_debugfs_create()
/lib/raid6/
Dalgos.c138 pr_info("raid6: using %s recovery algorithm\n", best->name); in raid6_choose_recov()
180 pr_info("raid6: %-8s gen() %5ld MB/s\n", (*algo)->name, in raid6_choose_gen()
204 pr_info("raid6: %-8s xor() %5ld MB/s\n", (*algo)->name, in raid6_choose_gen()
213 best->name, in raid6_choose_gen()
222 best->name); in raid6_choose_gen()
/lib/fonts/
Dfonts.c82 const struct font_desc *find_font(const char *name) in find_font() argument
88 if (!strcmp(fonts[i]->name, name)) in find_font()

1234