Home
last modified time | relevance | path

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

123

/kernel/
Dtracepoint.c58 char name[0]; member
178 static struct tracepoint_entry *get_tracepoint(const char *name) in get_tracepoint() argument
183 u32 hash = jhash(name, strlen(name), 0); in get_tracepoint()
187 if (!strcmp(name, e->name)) in get_tracepoint()
197 static struct tracepoint_entry *add_tracepoint(const char *name) in add_tracepoint() argument
202 size_t name_len = strlen(name) + 1; in add_tracepoint()
203 u32 hash = jhash(name, name_len-1, 0); in add_tracepoint()
207 if (!strcmp(name, e->name)) { in add_tracepoint()
209 "tracepoint %s busy\n", name); in add_tracepoint()
220 memcpy(&e->name[0], name, name_len); in add_tracepoint()
[all …]
Dpm_qos_params.c57 char *name; member
67 char *name; member
78 .name = "cpu_dma_latency",
88 .name = "network_latency",
100 .name = "network_throughput",
169 qos->pm_qos_power_miscdev.name = qos->name; in register_pm_qos_misc()
210 int pm_qos_add_requirement(int pm_qos_class, char *name, s32 value) in pm_qos_add_requirement() argument
221 dep->name = kstrdup(name, GFP_KERNEL); in pm_qos_add_requirement()
222 if (!dep->name) in pm_qos_add_requirement()
251 int pm_qos_update_requirement(int pm_qos_class, char *name, s32 new_value) in pm_qos_update_requirement() argument
[all …]
Dkallsyms.c131 const u8 *name; in get_symbol_offset() local
136 name = &kallsyms_names[ kallsyms_markers[pos>>8] ]; in get_symbol_offset()
143 name = name + (*name) + 1; in get_symbol_offset()
145 return name - kallsyms_names; in get_symbol_offset()
149 unsigned long kallsyms_lookup_name(const char *name) in kallsyms_lookup_name() argument
158 if (strcmp(namebuf, name) == 0) in kallsyms_lookup_name()
161 return module_kallsyms_lookup_name(name); in kallsyms_lookup_name()
283 unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
285 name[0] = '\0'; in lookup_symbol_attrs()
286 name[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_attrs()
[all …]
Dmarker.c69 char name[0]; /* Contains name'\0'format'\0' */ member
356 static struct marker_entry *get_marker(const char *name) in get_marker() argument
361 u32 hash = jhash(name, strlen(name), 0); in get_marker()
365 if (!strcmp(name, e->name)) in get_marker()
375 static struct marker_entry *add_marker(const char *name, const char *format) in add_marker() argument
380 size_t name_len = strlen(name) + 1; in add_marker()
382 u32 hash = jhash(name, name_len-1, 0); in add_marker()
388 if (!strcmp(name, e->name)) { in add_marker()
390 "Marker %s busy\n", name); in add_marker()
402 memcpy(&e->name[0], name, name_len); in add_marker()
[all …]
Dmodule.c126 const char *name) in find_sec() argument
133 && strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_sec()
140 const char *secstrings, const char *name) in section_addr() argument
143 return (void *)shdrs[find_sec(hdr, shdrs, secstrings, name)].sh_addr; in section_addr()
150 const char *name, in section_objs() argument
154 unsigned int sec = find_sec(hdr, sechdrs, secstrings, name); in section_objs()
278 const char *name; member
294 if (strcmp(syms->start[symnum].name, fsa->name) != 0) in find_symbol_in_section()
303 "be allowed in the future\n", fsa->name); in find_symbol_in_section()
313 "however this module is using it.\n", fsa->name); in find_symbol_in_section()
[all …]
Dparams.c59 if (parameq(param, params[i].name)) { in parse_one()
130 int parse_args(const char *name, in parse_args() argument
158 name, param); in parse_args()
163 name, val ?: "", param); in parse_args()
170 name, val ?: "", param); in parse_args()
180 #define STANDARD_PARAM_DEF(name, type, format, tmptype, strtolfn) \ argument
181 int param_set_##name(const char *val, struct kernel_param *kp) \
193 int param_get_##name(char *buffer, struct kernel_param *kp) \
210 kp->name); in param_set_charp()
216 kp->name); in param_set_charp()
[all …]
Dutsname_sysctl.c84 .data = init_uts_ns.name.sysname,
85 .maxlen = sizeof(init_uts_ns.name.sysname),
93 .data = init_uts_ns.name.release,
94 .maxlen = sizeof(init_uts_ns.name.release),
102 .data = init_uts_ns.name.version,
103 .maxlen = sizeof(init_uts_ns.name.version),
111 .data = init_uts_ns.name.nodename,
112 .maxlen = sizeof(init_uts_ns.name.nodename),
120 .data = init_uts_ns.name.domainname,
121 .maxlen = sizeof(init_uts_ns.name.domainname),
Dauditsc.c103 const char *name; member
437 struct audit_names *name, in audit_filter_rules() argument
504 if (name) in audit_filter_rules()
505 result = audit_comparator(MAJOR(name->dev), in audit_filter_rules()
517 if (name) in audit_filter_rules()
518 result = audit_comparator(MINOR(name->dev), in audit_filter_rules()
530 if (name) in audit_filter_rules()
531 result = (name->ino == f->val); in audit_filter_rules()
542 if (name && rule->watch->ino != (unsigned long)-1) in audit_filter_rules()
543 result = (name->dev == rule->watch->dev && in audit_filter_rules()
[all …]
Dprintk.c116 char name[8]; /* Name of the driver */ member
805 static int __add_preferred_console(char *name, int idx, char *options, in __add_preferred_console() argument
815 for (i = 0; i < MAX_CMDLINECONSOLES && console_cmdline[i].name[0]; i++) in __add_preferred_console()
816 if (strcmp(console_cmdline[i].name, name) == 0 && in __add_preferred_console()
827 strlcpy(c->name, name, sizeof(c->name)); in __add_preferred_console()
840 char buf[sizeof(console_cmdline[0].name) + 4]; /* 4 for index */ in console_setup()
902 int add_preferred_console(char *name, int idx, char *options) in add_preferred_console() argument
904 return __add_preferred_console(name, idx, options, NULL); in add_preferred_console()
907 int update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options) in update_console_cmdline() argument
912 for (i = 0; i < MAX_CMDLINECONSOLES && console_cmdline[i].name[0]; i++) in update_console_cmdline()
[all …]
Dcgroup_debug.c72 .name = "cgroup_refcount",
76 .name = "taskcount",
81 .name = "current_css_set",
86 .name = "current_css_set_refcount",
91 .name = "releasable",
102 .name = "debug",
Dresource.c25 .name = "PCI IO",
33 .name = "PCI mem",
88 r->name ? r->name : "<BAD>"); in r_show()
469 printk("Expanded resource %s due to conflict with %s\n", new->name, conflict->name); in insert_resource_expand_to_fit()
522 const char *name) in __reserve_region_with_split() argument
531 res->name = name; in __reserve_region_with_split()
560 __reserve_region_with_split(root, start, conflict->start-1, name); in __reserve_region_with_split()
567 __reserve_region_with_split(root, common_start, common_end, name); in __reserve_region_with_split()
570 __reserve_region_with_split(root, conflict->end+1, end, name); in __reserve_region_with_split()
577 const char *name) in reserve_region_with_split() argument
[all …]
Dlockdep_proc.c69 const char *name = class->name; in print_name() local
71 if (!name) { in print_name()
72 name = __get_key_name(class->key, str); in print_name()
73 seq_printf(m, "%s", name); in print_name()
75 seq_printf(m, "%s", name); in print_name()
499 char name[39]; in seq_stats() local
513 if (!class->name) { in seq_stats()
518 snprintf(name, namelen, "%s", key_name); in seq_stats()
520 snprintf(name, namelen, "%s", class->name); in seq_stats()
522 namelen = strlen(name); in seq_stats()
[all …]
Dns_cgroup.c29 char name[PROC_NUMBUF]; in ns_cgroup_clone() local
31 snprintf(name, PROC_NUMBUF, "%d", pid_vnr(pid)); in ns_cgroup_clone()
32 return cgroup_clone(task, &ns_subsys, name); in ns_cgroup_clone()
99 .name = "ns",
Drtmutex-debug.c97 if (lock->name) in printk_lock()
99 lock, lock->name); in printk_lock()
222 void debug_rt_mutex_init(struct rt_mutex *lock, const char *name) in debug_rt_mutex_init() argument
228 lock->name = name; in debug_rt_mutex_init()
Dutsname.c32 memcpy(&ns->name, &old_ns->name, sizeof(ns->name)); in clone_uts_ns()
Dlockdep.c327 !strcmp(class->name, "lockname")) in class_filter()
330 !strcmp(class->name, "&struct->lockfield")) in class_filter()
501 const char *name; in print_lock_name() local
505 name = class->name; in print_lock_name()
506 if (!name) { in print_lock_name()
507 name = __get_key_name(class->key, str); in print_lock_name()
508 printk(" (%s", name); in print_lock_name()
510 printk(" (%s", name); in print_lock_name()
521 const char *name; in print_lockdep_cache() local
524 name = lock->name; in print_lockdep_cache()
[all …]
Dpid_namespace.c21 char name[16]; member
49 snprintf(pcache->name, sizeof(pcache->name), "pid_%d", nr_ids); in create_pid_cachep()
50 cachep = kmem_cache_create(pcache->name, in create_pid_cachep()
Dcapability.c53 char name[sizeof(current->comm)]; in warn_legacy_capability_use() local
57 get_task_comm(name, current)); in warn_legacy_capability_use()
83 char name[sizeof(current->comm)]; in warn_deprecated_v2() local
87 get_task_comm(name, current)); in warn_deprecated_v2()
/kernel/irq/
Dproc.c174 if ((action != new_action) && action->name && in name_unique()
175 !strcmp(new_action->name, action->name)) { in name_unique()
186 char name [MAX_NAMELEN]; in register_handler_proc() local
189 if (!desc->dir || action->dir || !action->name || in register_handler_proc()
193 memset(name, 0, MAX_NAMELEN); in register_handler_proc()
194 snprintf(name, MAX_NAMELEN, "%s", action->name); in register_handler_proc()
197 action->dir = proc_mkdir(name, desc->dir); in register_handler_proc()
206 char name [MAX_NAMELEN]; in register_irq_proc() local
212 memset(name, 0, MAX_NAMELEN); in register_irq_proc()
213 sprintf(name, "%d", irq); in register_irq_proc()
[all …]
Dchip.c80 desc->name = NULL; in dynamic_irq_cleanup()
281 if (!chip->name) in irq_chip_set_defaults()
282 chip->name = chip->typename; in irq_chip_set_defaults()
549 const char *name) in __set_irq_handler() argument
587 desc->name = name; in __set_irq_handler()
609 irq_flow_handler_t handle, const char *name) in set_irq_chip_and_handler_name() argument
612 __set_irq_handler(irq, handle, 0, name); in set_irq_chip_and_handler_name()
/kernel/power/
Duserwakelock.c37 char name[0]; member
84 diff = strncmp(buf, l->name, name_len); in lookup_wake_lock_name()
85 if (!diff && l->name[name_len]) in lookup_wake_lock_name()
89 name_len, buf, l->name, diff); in lookup_wake_lock_name()
113 memcpy(l->name, buf, name_len); in lookup_wake_lock_name()
115 pr_info("lookup_wake_lock_name: new wake lock %s\n", l->name); in lookup_wake_lock_name()
116 wake_lock_init(&l->wake_lock, WAKE_LOCK_SUSPEND, l->name); in lookup_wake_lock_name()
141 s += scnprintf(s, end - s, "%s ", l->name); in wake_lock_show()
164 pr_info("wake_lock_store: %s, timeout %ld\n", l->name, timeout); in wake_lock_store()
189 s += scnprintf(s, end - s, "%s ", l->name); in wake_unlock_show()
[all …]
Dwakelock.c117 lock->name, lock_count, expire_count, in print_lock_stat()
222 pr_info("expired wake lock %s\n", lock->name); in expire_wake_lock()
236 pr_info("wake lock %s, expired\n", lock->name); in print_active_locks()
239 lock->name, timeout); in print_active_locks()
241 pr_info("active wake lock %s\n", lock->name); in print_active_locks()
338 .driver.name = "power",
342 .name = "power",
345 void wake_lock_init(struct wake_lock *lock, int type, const char *name) in wake_lock_init() argument
349 if (name) in wake_lock_init()
350 lock->name = name; in wake_lock_init()
[all …]
/kernel/time/
Dtick-oneshot.c54 dev->name ? dev->name : "?", in tick_dev_program_event()
116 printk(" %s is not functional.\n", dev->name); in tick_switch_to_oneshot()
119 dev->name); in tick_switch_to_oneshot()
Dclocksource.c91 cs->name, delta); in clocksource_ratewd()
311 if (strlen(c->name) == strlen(override_name) && in clocksource_enqueue()
312 !strcmp(c->name, override_name)) in clocksource_enqueue()
389 count = snprintf(buf, PAGE_SIZE, "%s\n", curr_clocksource->name); in sysfs_show_current_clocksources()
433 if (strlen(cs->name) == len && in sysfs_override_clocksource()
434 !strcmp(cs->name, override_name)) in sysfs_override_clocksource()
469 "%s ", src->name); in sysfs_show_available_clocksources()
489 .name = "clocksource",
/kernel/trace/
Dtrace.c564 if (!type->name) {
581 if (strcmp(type->name, t->name) == 0) {
584 type->name);
616 pr_info("Testing tracer %s: ", type->name);
634 len = strlen(type->name);
656 pr_info("Trace %s not registered\n", type->name);
661 if (strlen(type->name) != max_tracer_type_len)
666 len = strlen((*t)->name);
1476 static inline const char *kretprobed(const char *name) argument
1481 if (strncmp(tramp_name, name, size) == 0)
[all …]

123