Home
last modified time | relevance | path

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

12

/lib/
Dtest_firmware.c46 .name = "test_firmware",
55 char *name; in trigger_request_store() local
57 name = kzalloc(count + 1, GFP_KERNEL); in trigger_request_store()
58 if (!name) in trigger_request_store()
60 memcpy(name, buf, count); in trigger_request_store()
62 pr_info("loading '%s'\n", name); in trigger_request_store()
67 rc = request_firmware(&test_firmware, name, dev); in trigger_request_store()
69 pr_info("load of '%s' failed: %d\n", name, rc); in trigger_request_store()
73 kfree(name); in trigger_request_store()
Dlocking-selftest.c224 #define GENERATE_TESTCASE(name) \ argument
226 static void name(void) { E(); }
228 #define GENERATE_PERMUTATIONS_2_EVENTS(name) \ argument
230 static void name##_12(void) { E1(); E2(); } \
231 static void name##_21(void) { E2(); E1(); }
233 #define GENERATE_PERMUTATIONS_3_EVENTS(name) \ argument
235 static void name##_123(void) { E1(); E2(); E3(); } \
236 static void name##_132(void) { E1(); E3(); E2(); } \
237 static void name##_213(void) { E2(); E1(); E3(); } \
238 static void name##_231(void) { E2(); E3(); E1(); } \
[all …]
Ddecompress.c42 const char *name; member
58 const char **name) in decompress_method() argument
67 for (cf = compressed_formats; cf->name; cf++) { in decompress_method()
72 if (name) in decompress_method()
73 *name = cf->name; in decompress_method()
Dnotifier-error-inject.c20 static struct dentry *debugfs_create_errno(const char *name, umode_t mode, in debugfs_create_errno() argument
23 return debugfs_create_file(name, mode, parent, value, &fops_errno); in debugfs_create_errno()
34 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback()
41 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback()
49 struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, in notifier_err_inject_init() argument
60 dir = debugfs_create_dir(name, parent); in notifier_err_inject_init()
68 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init()
71 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init()
Dkobject.c208 if (!kobj->name || !kobj->name[0]) { in kobject_add_internal()
260 const char *old_name = kobj->name; in kobject_set_name_vargs()
263 if (kobj->name && !fmt) in kobject_set_name_vargs()
266 kobj->name = kvasprintf(GFP_KERNEL, fmt, vargs); in kobject_set_name_vargs()
267 if (!kobj->name) { in kobject_set_name_vargs()
268 kobj->name = old_name; in kobject_set_name_vargs()
273 while ((s = strchr(kobj->name, '/'))) in kobject_set_name_vargs()
447 const char *dup_name = NULL, *name; in kobject_rename() local
471 name = dup_name = kstrdup(new_name, GFP_KERNEL); in kobject_rename()
472 if (!name) { in kobject_rename()
[all …]
Dnotifier-error-inject.h8 const char *name; member
12 .name = #action, .val = (action),
22 extern struct dentry *notifier_err_inject_init(const char *name,
Dtextsearch.c111 static inline struct ts_ops *lookup_ts_algo(const char *name) in lookup_ts_algo() argument
117 if (!strcmp(name, o->name)) { in lookup_ts_algo()
146 if (ops->name == NULL || ops->find == NULL || ops->init == NULL || in textsearch_register()
152 if (!strcmp(ops->name, o->name)) in textsearch_register()
Ddevres.c110 const char *name; in devm_ioremap_resource() local
121 name = res->name ?: dev_name(dev); in devm_ioremap_resource()
123 if (!devm_request_mem_region(dev, res->start, size, name)) { in devm_ioremap_resource()
312 int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name) in pcim_iomap_regions() argument
332 rc = pci_request_region(pdev, i, name); in pcim_iomap_regions()
366 const char *name) in pcim_iomap_regions_request_all() argument
371 rc = pci_request_selected_regions(pdev, request_mask, name); in pcim_iomap_regions_request_all()
375 rc = pcim_iomap_regions(pdev, mask, name); in pcim_iomap_regions_request_all()
Dfault-inject.c156 static struct dentry *debugfs_create_ul(const char *name, umode_t mode, in debugfs_create_ul() argument
159 return debugfs_create_file(name, mode, parent, value, &fops_ul); in debugfs_create_ul()
176 const char *name, umode_t mode, in debugfs_create_stacktrace_depth() argument
179 return debugfs_create_file(name, mode, parent, value, in debugfs_create_stacktrace_depth()
185 struct dentry *fault_create_debugfs_attr(const char *name, in fault_create_debugfs_attr() argument
191 dir = debugfs_create_dir(name, parent); in fault_create_debugfs_attr()
Ddigsig.c203 char name[20]; in digsig_verify() local
211 sprintf(name, "%llX", __be64_to_cpup((uint64_t *)sh->keyid)); in digsig_verify()
217 &key_type_user, name); in digsig_verify()
223 key = request_key(&key_type_user, name, NULL); in digsig_verify()
226 pr_err("key not found, id: %s\n", name); in digsig_verify()
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()
263 static __init void test_string_escape(const char *name, in test_string_escape() argument
306 test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, in test_string_escape()
/lib/fonts/
Dfonts.c90 const struct font_desc *find_font(const char *name) in find_font() argument
95 if (!strcmp(fonts[i]->name, name)) in find_font()
Dfont_6x10.c3081 .name = "6x10",
Dfont_acorn_8x8.c266 .name = "Acorn8x8",
Dfont_mini_4x6.c2152 .name = "MINI4x6",
Dfont_6x11.c3346 .name = "ProFont6x11",
Dfont_pearl_8x8.c2582 .name = "PEARL8x8",
Dfont_7x14.c4113 .name = "7x14",
Dfont_8x8.c2578 .name = "VGA8x8",
Dfont_sun12x22.c6156 .name = "SUN12x22",
Dfont_10x18.c5137 .name = "10x18",
Dfont_8x16.c4627 .name = "VGA8x16",
Dfont_sun8x16.c266 .name = "SUN8x16",
/lib/raid6/
Dalgos.c124 pr_info("raid6: using %s recovery algorithm\n", best->name); in raid6_choose_recov()
160 pr_info("raid6: %-8s %5ld MB/s\n", (*algo)->name, in raid6_choose_gen()
167 best->name, in raid6_choose_gen()
/lib/raid6/test/
Dtest.c76 raid6_call.name, in test_disks()
105 printf("using recovery %s\n", (*ra)->name); in main()

12