/kernel/trace/ |
D | trace_functions_graph.c | 77 print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu() argument 90 ret = trace_seq_printf(s, " "); in print_graph_cpu() 99 ret = trace_seq_printf(s, " "); in print_graph_cpu() 103 ret = trace_seq_printf(s, "%d) ", cpu); in print_graph_cpu() 113 print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc() argument 135 ret = trace_seq_printf(s, " "); in print_graph_proc() 140 ret = trace_seq_printf(s, "%s-%s", comm, pid_str); in print_graph_proc() 146 ret = trace_seq_printf(s, " "); in print_graph_proc() 156 verif_pid(struct trace_seq *s, pid_t pid, int cpu) in verif_pid() argument 175 ret = trace_seq_printf(s, in verif_pid() [all …]
|
D | trace.c | 344 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() argument 346 int len = (PAGE_SIZE - 1) - s->len; in trace_seq_printf() 354 ret = vsnprintf(s->buffer + s->len, len, fmt, ap); in trace_seq_printf() 361 s->len += ret; in trace_seq_printf() 377 trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts() argument 381 if (len > ((PAGE_SIZE - 1) - s->len)) in trace_seq_puts() 384 memcpy(s->buffer + s->len, str, len); in trace_seq_puts() 385 s->len += len; in trace_seq_puts() 391 trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc() argument 393 if (s->len >= (PAGE_SIZE - 1)) in trace_seq_putc() [all …]
|
D | trace_mmiotrace.c | 58 static int mmio_print_pcidev(struct trace_seq *s, const struct pci_dev *dev) in mmio_print_pcidev() argument 66 ret += trace_seq_printf(s, "PCIDEV %02x%02x %04x%04x %x", in mmio_print_pcidev() 76 ret += trace_seq_printf(s, " %llx", in mmio_print_pcidev() 82 ret += trace_seq_printf(s, " %llx", in mmio_print_pcidev() 87 ret += trace_seq_printf(s, " %s\n", drv->name); in mmio_print_pcidev() 89 ret += trace_seq_printf(s, " \n"); in mmio_print_pcidev() 104 struct trace_seq *s = &iter->seq; in mmio_pipe_open() local 106 trace_seq_printf(s, "VERSION 20070824\n"); in mmio_pipe_open() 140 struct trace_seq *s = &iter->seq; in mmio_read() local 146 trace_seq_printf(s, "MARK 0.000000 Lost %lu events.\n", n); in mmio_read() [all …]
|
D | trace_boot.c | 56 struct trace_seq *s = &iter->seq; in initcall_call_print_line() local 68 ret = trace_seq_printf(s, "[%5ld.%09ld] calling %s @ %i\n", in initcall_call_print_line() 81 struct trace_seq *s = &iter->seq; in initcall_ret_print_line() local 93 ret = trace_seq_printf(s, "[%5ld.%09ld] initcall %s " in initcall_ret_print_line()
|
D | trace.h | 314 #define TRACER_OPT(s, b) .name = #s, .bit = b argument 491 extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...); 492 extern void trace_seq_print_cont(struct trace_seq *s, 496 seq_print_ip_sym(struct trace_seq *s, unsigned long ip, 498 extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf,
|
D | trace_power.c | 53 struct trace_seq *s = &iter->seq; in power_print_line() local 64 ret = trace_seq_printf(s, "[%5ld.%09ld] CSTATE: Going to C%i on cpu %i for %ld.%09ld\n", in power_print_line() 71 ret = trace_seq_printf(s, "[%5ld.%09ld] PSTATE: Going to P%i on cpu %i\n", in power_print_line()
|
/kernel/ |
D | timeconst.pl | 194 my($s,$m); 200 for ($s = 0; 1; $s++) { 201 $m = fmul($s,$n,$d); 202 return $s if ($m >= $thres); 211 my $s = $x->as_hex(); 213 return (length($s) > 18) ? undef : $s; 220 my $s = fmuls($b, $t, $hz); 221 my $m = fmul($s, $t, $hz); 222 my $a = fadj($s, $t, $hz); 223 return (bignum_hex($m), bignum_hex($a), $s); [all …]
|
D | compat.c | 244 old_sigset_t s; in compat_sys_sigpending() local 249 ret = sys_sigpending((old_sigset_t __user *) &s); in compat_sys_sigpending() 252 ret = put_user(s, set); in compat_sys_sigpending() 259 old_sigset_t s; in compat_sys_sigprocmask() local 263 if (set && get_user(s, set)) in compat_sys_sigprocmask() 268 set ? (old_sigset_t __user *) &s : NULL, in compat_sys_sigprocmask() 269 oset ? (old_sigset_t __user *) &s : NULL); in compat_sys_sigprocmask() 273 ret = put_user(s, oset); in compat_sys_sigprocmask() 824 sigset_t s; in compat_sys_rt_sigtimedwait() local 835 sigset_from_compat(&s, &s32); in compat_sys_rt_sigtimedwait() [all …]
|
D | taskstats.c | 133 struct listener *s, *tmp; in send_cpu_listeners() local 146 list_for_each_entry(s, &listeners->list, list) { in send_cpu_listeners() 148 if (!list_is_last(&s->list, &listeners->list)) { in send_cpu_listeners() 153 rc = genlmsg_unicast(skb_cur, s->pid); in send_cpu_listeners() 155 s->valid = 0; in send_cpu_listeners() 170 list_for_each_entry_safe(s, tmp, &listeners->list, list) { in send_cpu_listeners() 171 if (!s->valid) { in send_cpu_listeners() 172 list_del(&s->list); in send_cpu_listeners() 173 kfree(s); in send_cpu_listeners() 296 struct listener *s, *tmp; in add_del_listener() local [all …]
|
D | res_counter.c | 115 char buf[64], *s; in res_counter_read() local 117 s = buf; in res_counter_read() 120 s += read_strategy(*val, s); in res_counter_read() 122 s += sprintf(s, "%llu\n", *val); in res_counter_read() 124 pos, buf, s - buf); in res_counter_read()
|
D | panic.c | 186 char *s; in print_tainted() local 189 s = buf + sprintf(buf, "Tainted: "); in print_tainted() 192 *s++ = test_bit(t->bit, &tainted_mask) ? in print_tainted() 195 *s = 0; in print_tainted()
|
D | printk.c | 841 char *s, *options, *brl_options = NULL; in console_setup() local 877 for (s = buf; *s; s++) in console_setup() 878 if ((*s >= '0' && *s <= '9') || *s == ',') in console_setup() 880 idx = simple_strtoul(s, NULL, 10); in console_setup() 881 *s = 0; in console_setup() 1084 void console_print(const char *s) in console_print() argument 1086 printk(KERN_EMERG "%s", s); in console_print()
|
D | audit_tree.c | 71 static struct audit_tree *alloc_tree(const char *s) in alloc_tree() argument 75 tree = kmalloc(sizeof(struct audit_tree) + strlen(s) + 1, GFP_KERNEL); in alloc_tree() 84 strcpy(tree->pathname, s); in alloc_tree() 280 struct audit_tree *s; in untag_chunk() local 286 s = chunk->owners[j].owner; in untag_chunk() 287 new->owners[i].owner = s; in untag_chunk() 289 if (!s) /* result of earlier fallback */ in untag_chunk() 291 get_tree(s); in untag_chunk() 402 struct audit_tree *s = old->owners[n].owner; in tag_chunk() local 403 p->owner = s; in tag_chunk() [all …]
|
D | sysctl.c | 1789 const char *s = branch->procname; in is_branch_in() local 1792 if (!s || !branch->child) in is_branch_in() 1803 if (p->procname && strcmp(p->procname, s) == 0) in is_branch_in() 2213 char __user *s = buffer; in __do_proc_dointvec() local 2232 if (get_user(c, s)) in __do_proc_dointvec() 2237 s++; in __do_proc_dointvec() 2245 if (copy_from_user(buf, s, len)) in __do_proc_dointvec() 2263 s += len; in __do_proc_dointvec() 2280 if(copy_to_user(s, buf, len)) in __do_proc_dointvec() 2283 s += len; in __do_proc_dointvec() [all …]
|
D | module.c | 541 static void setup_modinfo_##field(struct module *mod, const char *s) \ 543 mod->field = kstrdup(s, GFP_KERNEL); \ 1504 const struct kernel_symbol *s; in verify_export_symbols() local 1519 for (s = arr[i].sym; s < arr[i].sym + arr[i].num; s++) { in verify_export_symbols() 1520 if (!IS_ERR_VALUE(find_symbol(s->name, &owner, in verify_export_symbols() 1525 mod->name, s->name, module_name(owner)); in verify_export_symbols() 1640 Elf_Shdr *s = &sechdrs[i]; in layout_sections() local 1642 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections() 1643 || (s->sh_flags & masks[m][1]) in layout_sections() 1644 || s->sh_entsize != ~0UL in layout_sections() [all …]
|
D | signal.c | 151 unsigned long i, *s, *m, x; in next_signal() local 154 s = pending->signal.sig; in next_signal() 158 for (i = 0; i < _NSIG_WORDS; ++i, ++s, ++m) in next_signal() 159 if ((x = *s &~ *m) != 0) { in next_signal() 165 case 2: if ((x = s[0] &~ m[0]) != 0) in next_signal() 167 else if ((x = s[1] &~ m[1]) != 0) in next_signal() 174 case 1: if ((x = *s &~ *m) != 0) in next_signal() 531 static int rm_from_queue_full(sigset_t *mask, struct sigpending *s) in rm_from_queue_full() argument 536 sigandsets(&m, mask, &s->signal); in rm_from_queue_full() 540 signandsets(&s->signal, &s->signal, mask); in rm_from_queue_full() [all …]
|
D | audit.c | 879 struct audit_tty_status s; in audit_receive_msg() local 888 s.enabled = tsk->signal->audit_tty != 0; in audit_receive_msg() 893 &s, sizeof(s)); in audit_receive_msg() 897 struct audit_tty_status *s; in audit_receive_msg() local 902 s = data; in audit_receive_msg() 903 if (s->enabled != 0 && s->enabled != 1) in audit_receive_msg() 911 tsk->signal->audit_tty = s->enabled != 0; in audit_receive_msg()
|
D | rcutorture.c | 86 #define PRINTK_STRING(s) \ argument 87 do { printk(KERN_ALERT "%s" TORTURE_FLAG s "\n", torture_type); } while (0) 88 #define VERBOSE_PRINTK_STRING(s) \ argument 89 do { if (verbose) printk(KERN_ALERT "%s" TORTURE_FLAG s "\n", torture_type); } while (0) 90 #define VERBOSE_PRINTK_ERRSTRING(s) \ argument 91 do { if (verbose) printk(KERN_ALERT "%s" TORTURE_FLAG "!!! " s "\n", torture_type); } while (0)
|
D | cpuset.c | 1575 char *s; in cpuset_common_file_read() local 1580 s = page; in cpuset_common_file_read() 1584 s += cpuset_sprintf_cpulist(s, cs); in cpuset_common_file_read() 1587 s += cpuset_sprintf_memlist(s, cs); in cpuset_common_file_read() 1593 *s++ = '\n'; in cpuset_common_file_read() 1595 retval = simple_read_from_buffer(buf, nbytes, ppos, page, s - page); in cpuset_common_file_read()
|
D | kgdb.c | 770 static void kgdb_msg_write(const char *s, int len) in kgdb_msg_write() argument 791 bufptr = pack_hex_byte(bufptr, s[i]); in kgdb_msg_write() 795 s += wcount; in kgdb_msg_write() 1549 static void kgdb_console_write(struct console *co, const char *s, in kgdb_console_write() argument 1560 kgdb_msg_write(s, count); in kgdb_console_write()
|
D | audit.h | 164 #define audit_signal_info(s,t) AUDIT_DISABLED argument
|
/kernel/power/ |
D | main.c | 72 char *s = buf; in pm_test_show() local 78 s += sprintf(s, "[%s] ", pm_tests[level]); in pm_test_show() 80 s += sprintf(s, "%s ", pm_tests[level]); in pm_test_show() 83 if (s != buf) in pm_test_show() 85 *(s-1) = '\n'; in pm_test_show() 87 return (s - buf); in pm_test_show() 93 const char * const *s; in pm_test_store() local 105 for (s = &pm_tests[level]; level <= TEST_MAX; s++, level++) in pm_test_store() 106 if (*s && len == strlen(*s) && !strncmp(buf, *s, len)) { in pm_test_store() 492 char *s = buf; in state_show() local [all …]
|
D | userwakelock.c | 131 char *s = buf; in wake_lock_show() local 141 s += scnprintf(s, end - s, "%s ", l->name); in wake_lock_show() 143 s += scnprintf(s, end - s, "\n"); in wake_lock_show() 146 return (s - buf); in wake_lock_show() 179 char *s = buf; in wake_unlock_show() local 189 s += scnprintf(s, end - s, "%s ", l->name); in wake_unlock_show() 191 s += scnprintf(s, end - s, "\n"); in wake_unlock_show() 194 return (s - buf); in wake_unlock_show()
|
D | fbearlysuspend.c | 69 char *s = buf; in wait_for_fb_sleep_show() local 77 s += sprintf(buf, "sleeping"); in wait_for_fb_sleep_show() 78 return s - buf; in wait_for_fb_sleep_show() 84 char *s = buf; in wait_for_fb_wake_show() local 100 s += sprintf(buf, "awake"); in wait_for_fb_wake_show() 102 return s - buf; in wait_for_fb_wake_show()
|
D | Kconfig | 70 dmesg -s 1000000 | grep 'hash matches' 72 CAUTION: this option will cause your machine's real-time clock to be 105 You probably want to have your system's RTC driver statically 106 linked, ensuring that it's available when this test runs. 196 in your bootloader's configuration file. 219 meantime you cannot use the swap partition(s)/file(s) involved in
|