Searched defs:name (Results 1 - 13 of 13) sorted by relevance

/lib/
H A Dnotifier-error-inject.h8 const char *name; member in struct:notifier_err_inject_action
12 .name = #action, .val = (action),
22 extern struct dentry *notifier_err_inject_init(const char *name,
H A Ddecompress.c42 const char *name; member in struct:compress_format
58 const char **name)
67 for (cf = compressed_formats; cf->name; cf++) {
72 if (name)
73 *name = cf->name;
57 decompress_method(const unsigned char *inbuf, long len, const char **name) argument
H A Dtest_firmware.c7 * unless explicitly requested by name.
46 .name = "test_firmware",
55 char *name; local
57 name = kzalloc(count + 1, GFP_KERNEL);
58 if (!name)
60 memcpy(name, buf, count);
62 pr_info("loading '%s'\n", name);
67 rc = request_firmware(&test_firmware, name, dev);
69 pr_info("load of '%s' failed: %d\n", name, rc);
73 kfree(name);
[all...]
H A Dnotifier-error-inject.c20 static struct dentry *debugfs_create_errno(const char *name, umode_t mode, argument
23 return debugfs_create_file(name, mode, parent, value, &fops_errno);
34 for (action = err_inject->actions; action->name; action++) {
41 pr_info("Injecting error (%d) to %s\n", err, action->name);
49 struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, argument
60 dir = debugfs_create_dir(name, parent);
68 for (action = err_inject->actions; action->name; action++) {
71 action_dir = debugfs_create_dir(action->name, actions_dir);
H A Dtextsearch.c38 * search parameters such as the pattern and algorithm name.
111 static inline struct ts_ops *lookup_ts_algo(const char *name) argument
117 if (!strcmp(name, o->name)) {
134 * their presence. The specified &@ops must have %name set to a
139 * with same name.
146 if (ops->name == NULL || ops->find == NULL || ops->init == NULL ||
152 if (!strcmp(ops->name, o->name))
245 * @algo: name o
[all...]
H A Dfault-inject.c156 static struct dentry *debugfs_create_ul(const char *name, umode_t mode, argument
159 return debugfs_create_file(name, mode, parent, value, &fops_ul);
176 const char *name, umode_t mode,
179 return debugfs_create_file(name, mode, parent, value,
185 struct dentry *fault_create_debugfs_attr(const char *name, argument
191 dir = debugfs_create_dir(name, parent);
175 debugfs_create_stacktrace_depth( const char *name, umode_t mode, struct dentry *parent, unsigned long *value) argument
H A Dtest-string_helpers.c14 static __init bool test_string_check_buf(const char *name, unsigned int flags, argument
22 pr_warn("Test '%s' failed: flags = %u\n", name, flags);
63 static void __init test_string_unescape(const char *name, unsigned int flags, argument
106 test_string_check_buf(name, flags, in, p - 1, out_real, q_real,
263 static __init void test_string_escape(const char *name, argument
306 test_string_check_buf(name, flags, in, p, out_real, q_real, out_test,
H A Ddevres.c110 const char *name; local
121 name = res->name ?: dev_name(dev);
123 if (!devm_request_mem_region(dev, res->start, size, name)) {
308 * @name: Name used when requesting regions
312 int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name) argument
332 rc = pci_request_region(pdev, i, name);
361 * @name: Name used when requesting regions
366 const char *name)
371 rc = pci_request_selected_regions(pdev, request_mask, name);
365 pcim_iomap_regions_request_all(struct pci_dev *pdev, int mask, const char *name) argument
[all...]
H A Ddigsig.c197 char name[20]; local
205 sprintf(name, "%llX", __be64_to_cpup((uint64_t *)sh->keyid));
211 &key_type_user, name);
217 key = request_key(&key_type_user, name, NULL);
220 pr_err("key not found, id: %s\n", name);
H A Dlru_cache.c90 * @name: descriptive name only used in lc_seq_printf_stats and lc_seq_dump_details
99 struct lru_cache *lc_create(const char *name, struct kmem_cache *cache, argument
135 lc->name = name;
252 lc->name, lc->used, lc->nr_elements,
H A Dkobject.c128 /* back up enough to print this name with '/' */
208 if (!kobj->name || !kobj->name[0]) {
210 "name!\n", kobj);
239 "the same name in the same directory.\n",
252 * kobject_set_name_vargs - Set the name of an kobject
253 * @kobj: struct kobject to set the name of
254 * @fmt: format string used to build the name
260 const char *old_name = kobj->name;
263 if (kobj->name
447 const char *dup_name = NULL, *name; local
598 const char *name = kobj->name; local
722 kobject_create_and_add(const char *name, struct kobject *parent) argument
824 kset_find_obj(struct kset *kset, const char *name) argument
870 kset_create(const char *name, const struct kset_uevent_ops *uevent_ops, struct kobject *parent_kobj) argument
913 kset_create_and_add(const char *name, const struct kset_uevent_ops *uevent_ops, struct kobject *parent_kobj) argument
[all...]
H A Ddynamic_debug.c151 /* match against the module name */
283 static int check_set(const char **dest, char *src, char *name) argument
290 name, *dest, src);
300 * func <function-name>
303 * module <module-name>
463 last error or number of matching callsites. Module name is either
841 const char *name)
849 new_name = kstrdup(name, GFP_KERNEL);
1013 pr_warn("ddebug_query param name is deprecated, change it to dyndbg\n");
840 ddebug_add_module(struct _ddebug *tab, unsigned int n, const char *name) argument
/lib/fonts/
H A Dfonts.c81 * @name: string name of a font
83 * Find a specified font with string name @name.
90 const struct font_desc *find_font(const char *name) argument
95 if (!strcmp(fonts[i]->name, name))

Completed in 177 milliseconds