Home
last modified time | relevance | path

Searched refs:result (Results 1 – 23 of 23) sorted by relevance

/kernel/
Dsysctl_binary.c930 ssize_t result, copied = 0; in bin_string() local
937 result = vfs_read(file, oldval, oldlen, &pos); in bin_string()
938 if (result < 0) in bin_string()
941 copied = result; in bin_string()
944 result = -EFAULT; in bin_string()
950 result = -EFAULT; in bin_string()
960 result = vfs_write(file, newval, newlen, &pos); in bin_string()
961 if (result < 0) in bin_string()
965 result = copied; in bin_string()
967 return result; in bin_string()
[all …]
Dkexec.c163 int result, i; in sanity_check_segment_list() local
179 result = -EADDRNOTAVAIL; in sanity_check_segment_list()
186 return result; in sanity_check_segment_list()
188 return result; in sanity_check_segment_list()
196 result = -EINVAL; in sanity_check_segment_list()
209 return result; in sanity_check_segment_list()
218 result = -EINVAL; in sanity_check_segment_list()
221 return result; in sanity_check_segment_list()
235 result = -EADDRNOTAVAIL; in sanity_check_segment_list()
244 return result; in sanity_check_segment_list()
[all …]
Dauditsc.c457 int result = 0; in audit_filter_rules() local
463 result = audit_comparator(pid, f->op, f->val); in audit_filter_rules()
469 result = audit_comparator(ctx->ppid, f->op, f->val); in audit_filter_rules()
473 result = audit_uid_comparator(cred->uid, f->op, f->uid); in audit_filter_rules()
476 result = audit_uid_comparator(cred->euid, f->op, f->uid); in audit_filter_rules()
479 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules()
482 result = audit_uid_comparator(cred->fsuid, f->op, f->uid); in audit_filter_rules()
485 result = audit_gid_comparator(cred->gid, f->op, f->gid); in audit_filter_rules()
487 if (!result) in audit_filter_rules()
488 result = in_group_p(f->gid); in audit_filter_rules()
[all …]
Dpid.c433 struct task_struct *result = NULL; in pid_task() local
439 result = hlist_entry(first, struct task_struct, pids[(type)].node); in pid_task()
441 return result; in pid_task()
475 struct task_struct *result; in get_pid_task() local
477 result = pid_task(pid, type); in get_pid_task()
478 if (result) in get_pid_task()
479 get_task_struct(result); in get_pid_task()
481 return result; in get_pid_task()
Dauditfilter.c1264 int result = 0; in audit_filter_user_rules() local
1270 result = audit_comparator(pid, f->op, f->val); in audit_filter_user_rules()
1273 result = audit_uid_comparator(current_uid(), f->op, f->uid); in audit_filter_user_rules()
1276 result = audit_gid_comparator(current_gid(), f->op, f->gid); in audit_filter_user_rules()
1279 result = audit_uid_comparator(audit_get_loginuid(current), in audit_filter_user_rules()
1283 result = audit_comparator(audit_loginuid_set(current), in audit_filter_user_rules()
1287 result = audit_comparator(type, f->op, f->val); in audit_filter_user_rules()
1296 result = security_audit_rule_match(sid, in audit_filter_user_rules()
1305 if (!result) in audit_filter_user_rules()
1340 int result = 0; in audit_filter_type() local
[all …]
Dkallsyms.c92 char *result, size_t maxlen) in kallsyms_expand_symbol() argument
121 *result = *tptr; in kallsyms_expand_symbol()
122 result++; in kallsyms_expand_symbol()
132 *result = '\0'; in kallsyms_expand_symbol()
Dkthread.c35 struct task_struct *result; member
199 create->result = current; in kthread()
240 create->result = ERR_PTR(pid); in create_kthread()
308 task = create->result; in kthread_create_on_node()
Dresource.c869 int result = -EBUSY; in __adjust_resource() local
895 result = 0; in __adjust_resource()
898 return result; in __adjust_resource()
914 int result; in adjust_resource() local
917 result = __adjust_resource(res, start, size); in adjust_resource()
919 return result; in adjust_resource()
Dsignal.c1039 int ret = 0, result; in __send_signal() local
1043 result = TRACE_SIGNAL_IGNORED; in __send_signal()
1054 result = TRACE_SIGNAL_ALREADY_PENDING; in __send_signal()
1058 result = TRACE_SIGNAL_DELIVERED; in __send_signal()
1116 result = TRACE_SIGNAL_OVERFLOW_FAIL; in __send_signal()
1124 result = TRACE_SIGNAL_LOSE_INFO; in __send_signal()
1133 trace_signal_generate(sig, info, t, group, result); in __send_signal()
1579 int ret, result; in send_sigqueue() local
1588 result = TRACE_SIGNAL_IGNORED; in send_sigqueue()
1600 result = TRACE_SIGNAL_ALREADY_PENDING; in send_sigqueue()
[all …]
DKconfig.hz13 contention and cacheline bounces as a result of timer interrupts.
/kernel/time/
Dtimeconv.c77 void time_to_tm(time_t totalsecs, int offset, struct tm *result) in time_to_tm() argument
94 result->tm_hour = rem / SECS_PER_HOUR; in time_to_tm()
96 result->tm_min = rem / 60; in time_to_tm()
97 result->tm_sec = rem % 60; in time_to_tm()
100 result->tm_wday = (4 + days) % 7; in time_to_tm()
101 if (result->tm_wday < 0) in time_to_tm()
102 result->tm_wday += 7; in time_to_tm()
115 result->tm_year = y - 1900; in time_to_tm()
117 result->tm_yday = days; in time_to_tm()
124 result->tm_mon = y; in time_to_tm()
[all …]
Dntp.c657 int result; in __do_adjtimex() local
680 result = time_state; /* mostly `TIME_OK' */ in __do_adjtimex()
683 result = TIME_ERROR; in __do_adjtimex()
704 return result; in __do_adjtimex()
Dposix-clock.c72 unsigned int result = 0; in posix_clock_poll() local
78 result = clk->ops.poll(clk, fp, wait); in posix_clock_poll()
82 return result; in posix_clock_poll()
Dalarmtimer.c470 enum alarmtimer_restart result = ALARMTIMER_NORESTART; in alarm_handle_timer() local
482 result = ALARMTIMER_RESTART; in alarm_handle_timer()
486 return result; in alarm_handle_timer()
/kernel/locking/
Dsemaphore.c78 int result = 0; in down_interruptible() local
84 result = __down_interruptible(sem); in down_interruptible()
87 return result; in down_interruptible()
104 int result = 0; in down_killable() local
110 result = __down_killable(sem); in down_killable()
113 return result; in down_killable()
158 int result = 0; in down_timeout() local
164 result = __down_timeout(sem, timeout); in down_timeout()
167 return result; in down_timeout()
Dlockdep.c1300 int result; in check_noncircular() local
1304 result = __bfs_forwards(root, target, class_equal, target_entry); in check_noncircular()
1306 return result; in check_noncircular()
1337 int result; in find_usage_forwards() local
1341 result = __bfs_forwards(root, (void *)bit, usage_match, target_entry); in find_usage_forwards()
1343 return result; in find_usage_forwards()
1360 int result; in find_usage_backwards() local
1364 result = __bfs_backwards(root, (void *)bit, usage_match, target_entry); in find_usage_backwards()
1366 return result; in find_usage_backwards()
/kernel/sched/
Dloadavg.c248 unsigned long result = 1UL << frac_bits; in fixed_power_int() local
253 result *= x; in fixed_power_int()
254 result += 1UL << (frac_bits - 1); in fixed_power_int()
255 result >>= frac_bits; in fixed_power_int()
266 return result; in fixed_power_int()
/kernel/debug/kdb/
Dkdb_main.c953 int result = kdb_defcmd2(cmdstr, argv[0]); in kdb_parse() local
958 return result; in kdb_parse()
1005 int result; in kdb_parse() local
1007 result = (*tp->cmd_func)(argc-1, (const char **)argv); in kdb_parse()
1008 if (result && ignore_errors && result > KDB_CMD_GO) in kdb_parse()
1009 result = 0; in kdb_parse()
1025 return result; in kdb_parse()
1347 int result = 1; in kdb_main_loop() local
1369 result = kdb_local(reason2, error, regs, db_result); in kdb_main_loop()
1370 KDB_DEBUG_STATE("kdb_main_loop 3", result); in kdb_main_loop()
[all …]
/kernel/gcov/
Dfs.c333 char *result; in get_link_target() local
338 result = link_target(srctree, rel, ext->ext); in get_link_target()
340 result = link_target(objtree, rel, ext->ext); in get_link_target()
343 result = link_target(NULL, filename, ext->ext); in get_link_target()
346 return result; in get_link_target()
Dgcc_3_4.c158 unsigned int result = 0; in num_counter_active() local
162 result++; in num_counter_active()
164 return result; in num_counter_active()
Dgcc_4_7.c170 unsigned int result = 0; in num_counter_active() local
174 result++; in num_counter_active()
176 return result; in num_counter_active()
/kernel/trace/
Dtrace_stat.c92 int result; in insert_stat() local
95 result = cmp(data->stat, this->stat); in insert_stat()
98 if (result >= 0) in insert_stat()
/kernel/events/
Duprobes.c1674 int result; in is_trap_at_addr() local
1677 result = __copy_from_user_inatomic(&opcode, (void __user*)vaddr, in is_trap_at_addr()
1681 if (likely(result == 0)) in is_trap_at_addr()
1684 result = get_user_pages(NULL, mm, vaddr, 1, 0, 1, &page, NULL); in is_trap_at_addr()
1685 if (result < 0) in is_trap_at_addr()
1686 return result; in is_trap_at_addr()