Home
last modified time | relevance | path

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

1234567

/kernel/
Dkallsyms.c126 const u8 *name; in get_symbol_offset() local
133 name = &kallsyms_names[kallsyms_markers[pos >> 8]]; in get_symbol_offset()
142 name = name + (*name) + 1; in get_symbol_offset()
144 return name - kallsyms_names; in get_symbol_offset()
185 unsigned long kallsyms_lookup_name(const char *name) in kallsyms_lookup_name() argument
194 if (strcmp(namebuf, name) == 0) in kallsyms_lookup_name()
197 if (cleanup_symbol_name(namebuf) && strcmp(namebuf, name) == 0) in kallsyms_lookup_name()
200 return module_kallsyms_lookup_name(name); in kallsyms_lookup_name()
371 unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
375 name[0] = '\0'; in lookup_symbol_attrs()
[all …]
Dauditsc.c336 struct audit_names *name, in audit_compare_uid() argument
343 if (name) { in audit_compare_uid()
344 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid()
360 struct audit_names *name, in audit_compare_gid() argument
367 if (name) { in audit_compare_gid()
368 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid()
387 struct audit_names *name) in audit_field_compare() argument
392 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare()
394 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare()
396 return audit_compare_uid(cred->euid, name, f, ctx); in audit_field_compare()
[all …]
Dmodule.c356 static unsigned int find_sec(const struct load_info *info, const char *name) in find_sec() argument
364 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec()
371 static void *section_addr(const struct load_info *info, const char *name) in section_addr() argument
374 return (void *)info->sechdrs[find_sec(info, name)].sh_addr; in section_addr()
379 const char *name, in section_objs() argument
383 unsigned int sec = find_sec(info, name); in section_objs()
499 const char *name; member
522 fsa->name); in check_exported_symbol()
529 "using it.\n", fsa->name); in check_exported_symbol()
559 return sym->name; in kernel_symbol_name()
[all …]
Dutsname_sysctl.c78 .data = init_uts_ns.name.sysname,
79 .maxlen = sizeof(init_uts_ns.name.sysname),
85 .data = init_uts_ns.name.release,
86 .maxlen = sizeof(init_uts_ns.name.release),
92 .data = init_uts_ns.name.version,
93 .maxlen = sizeof(init_uts_ns.name.version),
99 .data = init_uts_ns.name.nodename,
100 .maxlen = sizeof(init_uts_ns.name.nodename),
107 .data = init_uts_ns.name.domainname,
108 .maxlen = sizeof(init_uts_ns.name.domainname),
Dparams.c108 kp->name); in param_check_unsafe()
131 if (parameq(param, params[i].name)) { in parse_one()
217 #define STANDARD_PARAM_DEF(name, type, format, strtolfn) \ argument
218 int param_set_##name(const char *val, const struct kernel_param *kp) \
222 int param_get_##name(char *buffer, const struct kernel_param *kp) \
227 const struct kernel_param_ops param_ops_##name = { \
228 .set = param_set_##name, \
229 .get = param_get_##name, \
231 EXPORT_SYMBOL(param_set_##name); \
232 EXPORT_SYMBOL(param_get_##name); \
[all …]
Dcpu.c123 const char *name; member
1885 .name = "offline",
1891 .name = "threads:prepare",
1897 .name = "perf:prepare",
1902 .name = "workqueue:prepare",
1907 .name = "hrtimers:prepare",
1912 .name = "smpcfd:prepare",
1917 .name = "relay:prepare",
1922 .name = "slab:prepare",
1927 .name = "RCU/tree:prepare",
[all …]
Dresource.c31 .name = "PCI IO",
39 .name = "PCI mem",
128 r->name ? r->name : "<BAD>"); in r_show()
907 printk("Expanded resource %s due to conflict with %s\n", new->name, conflict->name); in insert_resource_expand_to_fit()
999 resource_size_t end, const char *name) in __reserve_region_with_split() argument
1010 res->name = name; in __reserve_region_with_split()
1045 next_res->name = name; in __reserve_region_with_split()
1060 resource_size_t end, const char *name) in reserve_region_with_split() argument
1083 __reserve_region_with_split(root, start, end, name); in reserve_region_with_split()
1128 const char *name, int flags) in __request_region() argument
[all …]
/kernel/livepatch/
Dcore.c49 return obj->name; in klp_is_module()
66 mod = find_module(obj->name); in klp_find_object_module()
108 strcmp(old_obj->name, obj->name) == 0) { in klp_find_object()
121 const char *name; member
127 static int klp_find_callback(void *data, const char *name, in klp_find_callback() argument
135 if (strcmp(args->name, name)) in klp_find_callback()
138 if (args->objname && strcmp(args->objname, mod->name)) in klp_find_callback()
155 static int klp_find_object_symbol(const char *objname, const char *name, in klp_find_object_symbol() argument
160 .name = name, in klp_find_object_symbol()
178 pr_err("symbol '%s' not found in symbol table\n", name); in klp_find_object_symbol()
[all …]
/kernel/trace/
Dtrace_events_synth.c102 return strcmp(sev->name, event) == 0 && in synth_event_match()
117 char *name, *type; in synth_event_define_fields() local
125 name = event->fields[i]->name; in synth_event_define_fields()
126 ret = trace_define_field(call, type, name, offset, size, in synth_event_define_fields()
289 char *print_fmt, char *name, in print_synth_event_num_val() argument
294 trace_seq_printf(s, print_fmt, name, (u8)val, space); in print_synth_event_num_val()
298 trace_seq_printf(s, print_fmt, name, (u16)val, space); in print_synth_event_num_val()
302 trace_seq_printf(s, print_fmt, name, (u32)val, space); in print_synth_event_num_val()
306 trace_seq_printf(s, print_fmt, name, val, space); in print_synth_event_num_val()
326 trace_seq_printf(s, "%s: ", se->name); in print_synth_event()
[all …]
Dtrace_export.c32 #define FTRACE_ENTRY_REG(name, struct_name, id, tstruct, print, regfn) \ argument
33 FTRACE_ENTRY(name, struct_name, id, PARAMS(tstruct), PARAMS(print))
67 #define FTRACE_ENTRY(name, struct_name, id, tstruct, print) \ argument
68 struct ____ftrace_##name { \
71 static void __always_unused ____ftrace_check_##name(void) \
73 struct ____ftrace_##name *__entry = NULL; \
80 #define FTRACE_ENTRY_DUP(name, struct_name, id, tstruct, print) \ argument
81 FTRACE_ENTRY(name, struct_name, id, PARAMS(tstruct), PARAMS(print))
87 .type = #_type, .name = #_item, \
94 .type = #_type, .name = #_item, \
[all …]
Dtrace_probe.c134 for (i = 0; probe_fetch_types[i].name; i++) { in find_fetch_type()
135 if (strcmp(type, probe_fetch_types[i].name) == 0) in find_fetch_type()
633 if (!strcmp(parg->type->name, "string") || in traceprobe_parse_probe_arg_body()
634 !strcmp(parg->type->name, "ustring")) { in traceprobe_parse_probe_arg_body()
659 if (!strcmp(parg->type->name, "ustring") || in traceprobe_parse_probe_arg_body()
733 static int traceprobe_conflict_field_name(const char *name, in traceprobe_conflict_field_name() argument
739 if (strcmp(reserved_field_names[i], name) == 0) in traceprobe_conflict_field_name()
743 if (strcmp(args[i].name, name) == 0) in traceprobe_conflict_field_name()
767 parg->name = kmemdup_nul(arg, body - arg, GFP_KERNEL); in traceprobe_parse_probe_arg()
771 parg->name = kasprintf(GFP_KERNEL, "arg%d", i + 1); in traceprobe_parse_probe_arg()
[all …]
Dtrace_events.c77 __find_event_field(struct list_head *head, char *name) in __find_event_field() argument
82 if (!strcmp(field->name, name)) in __find_event_field()
90 trace_find_event_field(struct trace_event_call *call, char *name) in trace_find_event_field() argument
96 field = __find_event_field(head, name); in trace_find_event_field()
100 field = __find_event_field(&ftrace_generic_fields, name); in trace_find_event_field()
104 return __find_event_field(&ftrace_common_fields, name); in trace_find_event_field()
108 const char *name, int offset, int size, in __trace_define_field() argument
117 field->name = name; in __trace_define_field()
135 const char *name, int offset, int size, int is_signed, in trace_define_field() argument
144 return __trace_define_field(head, type, name, offset, size, in trace_define_field()
[all …]
Dsynth_event_gen_test.c238 { .type = "pid_t", .name = "next_pid_field" },
239 { .type = "char[16]", .name = "next_comm_field" },
240 { .type = "u64", .name = "ts_ns" },
241 { .type = "char[]", .name = "dynstring_field_1" },
242 { .type = "u64", .name = "ts_ms" },
243 { .type = "unsigned int", .name = "cpu" },
244 { .type = "char[64]", .name = "my_string_field" },
245 { .type = "char[]", .name = "dynstring_field_2" },
246 { .type = "int", .name = "my_int_field" },
/kernel/cgroup/
Ddebug.c67 seq_printf(seq, "%2d: %-4s\t- %p[%d]\n", ss->id, ss->name, in current_css_set_read()
227 seq_printf(seq, "%2d: %-4s\t- %p[%d] %d%s\n", ss->id, ss->name, in cgroup_subsys_states_read()
236 static void cgroup_masks_read_one(struct seq_file *seq, const char *name, in cgroup_masks_read_one() argument
243 seq_printf(seq, "%-17s: ", name); in cgroup_masks_read_one()
249 seq_puts(seq, ss->name); in cgroup_masks_read_one()
279 .name = "taskcount",
284 .name = "current_css_set",
290 .name = "current_css_set_refcount",
296 .name = "current_css_set_cg_links",
302 .name = "cgroup_css_links",
[all …]
Dcgroup-internal.h57 char *name; /* Hierarchy name */ member
158 #define CGROUP_MGCTX_INIT(name) \ argument
160 LIST_HEAD_INIT(name.preloaded_src_csets), \
161 LIST_HEAD_INIT(name.preloaded_dst_csets), \
162 CGROUP_TASKSET_INIT(name.tset), \
165 #define DEFINE_CGROUP_MGCTX(name) \ argument
166 struct cgroup_mgctx name = CGROUP_MGCTX_INIT(name)
261 int cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode);
/kernel/irq/
Dproc.c309 if ((action != new_action) && action->name && in name_unique()
310 !strcmp(new_action->name, action->name)) { in name_unique()
321 char name [MAX_NAMELEN]; in register_handler_proc() local
324 if (!desc->dir || action->dir || !action->name || in register_handler_proc()
328 snprintf(name, MAX_NAMELEN, "%s", action->name); in register_handler_proc()
331 action->dir = proc_mkdir(name, desc->dir); in register_handler_proc()
342 char name [MAX_NAMELEN]; in register_irq_proc() local
357 sprintf(name, "%d", irq); in register_irq_proc()
360 desc->dir = proc_mkdir(name, root_irq_dir); in register_irq_proc()
395 char name [MAX_NAMELEN]; in unregister_irq_proc() local
[all …]
Dirqdomain.c36 char *name; member
68 const char *name, in __irq_domain_alloc_fwnode() argument
78 n = kasprintf(GFP_KERNEL, "%s", name); in __irq_domain_alloc_fwnode()
81 n = kasprintf(GFP_KERNEL, "%s-%d", name, id); in __irq_domain_alloc_fwnode()
95 fwid->name = n; in __irq_domain_alloc_fwnode()
115 kfree(fwid->name); in irq_domain_free_fwnode()
144 domain->name = kstrdup(fwid->name, GFP_KERNEL); in __irq_domain_create()
145 if (!domain->name) { in __irq_domain_create()
153 domain->name = fwid->name; in __irq_domain_create()
158 char *name; in __irq_domain_create() local
[all …]
Ddebugfs.c14 char *name; member
16 #define BIT_MASK_DESCR(m) { .mask = m, .name = #m }
25 seq_printf(m, "%*s%s\n", ind + 12, "", sd->name); in irq_debug_show_bits()
72 seq_printf(m, "%*schip: %s\n", ind, "", chip->name); in irq_debug_show_chip()
82 data->domain ? data->domain->name : ""); in irq_debug_show_data()
222 const char *name = dev_name(dev); in irq_debugfs_copy_devname() local
224 if (name) in irq_debugfs_copy_devname()
225 desc->dev_name = kstrdup(name, GFP_KERNEL); in irq_debugfs_copy_devname()
230 char name [10]; in irq_add_debugfs_entry() local
235 sprintf(name, "%d", irq); in irq_add_debugfs_entry()
[all …]
/kernel/power/
Dwakelock.c28 char *name; member
49 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks()
124 kfree(wl->name); in __wakelocks_gc()
147 static struct wakelock *wakelock_lookup_add(const char *name, size_t len, in wakelock_lookup_add() argument
159 diff = strncmp(name, wl->name, len); in wakelock_lookup_add()
161 if (wl->name[len]) in wakelock_lookup_add()
182 wl->name = kstrndup(name, len, GFP_KERNEL); in wakelock_lookup_add()
183 if (!wl->name) { in wakelock_lookup_add()
188 wl->ws = wakeup_source_register(NULL, wl->name); in wakelock_lookup_add()
190 kfree(wl->name); in wakelock_lookup_add()
/kernel/printk/
Dprintk_ringbuffer.h233 #define _DEFINE_PRINTKRB(name, descbits, avgtextbits, text_buf) \ argument
234 static struct prb_desc _##name##_descs[_DESCS_COUNT(descbits)] = { \
243 static struct printk_info _##name##_infos[_DESCS_COUNT(descbits)] = { \
255 static struct printk_ringbuffer name = { \
258 .descs = &_##name##_descs[0], \
259 .infos = &_##name##_infos[0], \
284 #define DEFINE_PRINTKRB(name, descbits, avgtextbits) \ argument
285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \
287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])
/kernel/time/
Dclocksource.c216 smp_processor_id(), watchdog->name, nretries); in cs_watchdog_read()
223 smp_processor_id(), watchdog->name, wd_delay, nretries); in cs_watchdog_read()
249 pr_warn("Checking clocksource %s synchronization from CPU %d.\n", cs->name, testcpu); in clocksource_verify_percpu()
272 cpumask_pr_args(&cpus_ahead), testcpu, cs->name); in clocksource_verify_percpu()
275 cpumask_pr_args(&cpus_behind), testcpu, cs->name); in clocksource_verify_percpu()
278 testcpu, cs_nsec_min, cs_nsec_max, cs->name); in clocksource_verify_percpu()
335 smp_processor_id(), cs->name); in clocksource_watchdog()
337 watchdog->name, wdnow, wdlast, watchdog->mask); in clocksource_watchdog()
339 cs->name, csnow, cslast, cs->mask); in clocksource_watchdog()
584 cs->name); in __clocksource_suspend_select()
[all …]
/kernel/locking/
Dlockdep_proc.c63 const char *name = class->name; in print_name() local
65 if (!name) { in print_name()
66 name = __get_key_name(class->key, str); in print_name()
67 seq_printf(m, "%s", name); in print_name()
69 seq_printf(m, "%s", name); in print_name()
463 char name[39]; in seq_stats() local
475 cname = rcu_dereference_sched(class->name); in seq_stats()
487 snprintf(name, namelen, "%s", key_name); in seq_stats()
489 snprintf(name, namelen, "%s", cname); in seq_stats()
493 namelen = strlen(name); in seq_stats()
[all …]
Dlock_events.c27 #define LOCK_EVENT(name) [LOCKEVENT_ ## name] = #name, argument
121 static bool __init skip_lockevent(const char *name) in skip_lockevent() argument
130 if (!pv_on && !memcmp(name, "pv_", 3)) in skip_lockevent()
135 static inline bool skip_lockevent(const char *name) in skip_lockevent() argument
Drtmutex-debug.c45 if (lock->name) in printk_lock()
47 lock, lock->name); in printk_lock()
170 void debug_rt_mutex_init(struct rt_mutex *lock, const char *name, struct lock_class_key *key) in debug_rt_mutex_init() argument
176 lock->name = name; in debug_rt_mutex_init()
179 lockdep_init_map(&lock->dep_map, name, key, 0); in debug_rt_mutex_init()
/kernel/gcov/
Dfs.c61 char name[]; member
238 static struct gcov_node *get_node_by_name(const char *name) in get_node_by_name() argument
245 if (info && (strcmp(gcov_info_filename(info), name) == 0)) in get_node_by_name()
411 const char *name, struct gcov_node *parent) in init_node() argument
421 if (name) in init_node()
422 strcpy(node->name, name); in init_node()
430 struct gcov_info *info, const char *name) in new_node() argument
434 node = kzalloc(sizeof(struct gcov_node) + strlen(name) + 1, GFP_KERNEL); in new_node()
443 init_node(node, info, name, parent); in new_node()
446 node->dentry = debugfs_create_file(deskew(node->name), 0600, in new_node()
[all …]

1234567