Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 12 of 12) sorted by relevance

/lib/
Dlockref.c63 int retval; in lockref_get_not_zero() local
74 retval = 0; in lockref_get_not_zero()
77 retval = 1; in lockref_get_not_zero()
80 return retval; in lockref_get_not_zero()
91 int retval; in lockref_put_not_zero() local
102 retval = 0; in lockref_put_not_zero()
105 retval = 1; in lockref_put_not_zero()
108 return retval; in lockref_put_not_zero()
174 int retval; in lockref_get_not_dead() local
185 retval = 0; in lockref_get_not_dead()
[all …]
Dkobject_uevent.c315 int retval = 0; in uevent_net_broadcast_untagged() local
325 retval = -ENOMEM; in uevent_net_broadcast_untagged()
331 retval = netlink_broadcast(uevent_sock, skb_get(skb), 0, 1, in uevent_net_broadcast_untagged()
334 if (retval == -ENOBUFS || retval == -ESRCH) in uevent_net_broadcast_untagged()
335 retval = 0; in uevent_net_broadcast_untagged()
339 return retval; in uevent_net_broadcast_untagged()
468 int retval = 0; in kobject_uevent_env() local
531 retval = -ENOENT; in kobject_uevent_env()
536 retval = add_uevent_var(env, "ACTION=%s", action_string); in kobject_uevent_env()
537 if (retval) in kobject_uevent_env()
[all …]
Dkobject.c303 int retval; in kobject_set_name() local
306 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_set_name()
309 return retval; in kobject_set_name()
358 int retval; in kobject_add_varg() local
360 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_add_varg()
361 if (retval) { in kobject_add_varg()
363 return retval; in kobject_add_varg()
406 int retval; in kobject_add() local
418 retval = kobject_add_varg(kobj, parent, fmt, args); in kobject_add()
421 return retval; in kobject_add()
[all …]
Dstrnlen_user.c103 long retval; in strnlen_user() local
113 retval = do_strnlen_user(str, count, max); in strnlen_user()
115 return retval; in strnlen_user()
Dstrncpy_from_user.c127 long retval; in strncpy_from_user() local
139 retval = do_strncpy_from_user(dst, src, count, max); in strncpy_from_user()
141 return retval; in strncpy_from_user()
DKconfig.kmsan32 # -fsanitize-memory-param-retval is supported only by Clang >= 14.
34 def_bool $(cc-option,-fsanitize=kernel-memory -fsanitize-memory-param-retval)
41 If the compiler supports -fsanitize-memory-param-retval, KMSAN will
Dtest_kprobes.c217 unsigned long retval = regs_return_value(regs); in stacktrace_return_handler() local
221 KUNIT_EXPECT_EQ(current_test, retval, target_return_address[1]); in stacktrace_return_handler()
278 unsigned long retval = regs_return_value(regs); in stacktrace_internal_return_handler() local
282 KUNIT_EXPECT_EQ(current_test, retval, target_return_address[0]); in stacktrace_internal_return_handler()
Dstackdepot.c425 union handle_parts retval = { .handle = 0 }; in __stack_depot_save() local
509 retval.handle = found->handle.handle; in __stack_depot_save()
511 retval.extra = extra_bits; in __stack_depot_save()
513 return retval.handle; in __stack_depot_save()
Dtest_user_copy.c93 int retval = check_zeroed_user(umem + start, len); in test_check_nonzero_user() local
96 ret |= test(retval != expected, in test_check_nonzero_user()
98 retval, expected, start, end); in test_check_nonzero_user()
/lib/reed_solomon/
Dtest_rslib.c324 int errs, eras, retval; in ex_rs_helper() local
342 retval = stat.dwrong + stat.wepos + stat.irv; in ex_rs_helper()
343 if (retval && v >= V_PROGRESS) in ex_rs_helper()
344 pr_warn(" FAIL: %d decoding failures!\n", retval); in ex_rs_helper()
346 return retval; in ex_rs_helper()
353 int retval = 0; in exercise_rs() local
360 retval |= ex_rs_helper(rs, ws, len, trials, i); in exercise_rs()
362 return retval; in exercise_rs()
447 int retval = -ENOMEM; in run_exercise() local
455 return retval; in run_exercise()
[all …]
/lib/mpi/
Dgeneric_mpih-lshift.c33 mpi_limb_t retval; in mpihelp_lshift() local
40 retval = low_limb >> sh_2; in mpihelp_lshift()
49 return retval; in mpihelp_lshift()
Dgeneric_mpih-rshift.c34 mpi_limb_t retval; in mpihelp_rshift() local
40 retval = high_limb << sh_2; in mpihelp_rshift()
49 return retval; in mpihelp_rshift()