Searched refs:retval (Results 1 – 10 of 10) sorted by relevance
/lib/ |
D | lockref.c | 65 int retval; in lockref_get_not_zero() local 76 retval = 0; in lockref_get_not_zero() 79 retval = 1; in lockref_get_not_zero() 82 return retval; in lockref_get_not_zero() 93 int retval; in lockref_put_not_zero() local 104 retval = 0; in lockref_put_not_zero() 107 retval = 1; in lockref_put_not_zero() 110 return retval; in lockref_put_not_zero() 201 int retval; in lockref_get_not_dead() local 212 retval = 0; in lockref_get_not_dead() [all …]
|
D | kobject_uevent.c | 314 int retval = 0; in uevent_net_broadcast_untagged() local 324 retval = -ENOMEM; in uevent_net_broadcast_untagged() 330 retval = netlink_broadcast(uevent_sock, skb_get(skb), 0, 1, in uevent_net_broadcast_untagged() 333 if (retval == -ENOBUFS || retval == -ESRCH) in uevent_net_broadcast_untagged() 334 retval = 0; in uevent_net_broadcast_untagged() 338 return retval; in uevent_net_broadcast_untagged() 467 int retval = 0; in kobject_uevent_env() local 530 retval = -ENOENT; in kobject_uevent_env() 535 retval = add_uevent_var(env, "ACTION=%s", action_string); in kobject_uevent_env() 536 if (retval) in kobject_uevent_env() [all …]
|
D | kobject.c | 327 int retval; in kobject_set_name() local 330 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_set_name() 333 return retval; in kobject_set_name() 382 int retval; in kobject_add_varg() local 384 retval = kobject_set_name_vargs(kobj, fmt, vargs); in kobject_add_varg() 385 if (retval) { in kobject_add_varg() 387 return retval; in kobject_add_varg() 430 int retval; in kobject_add() local 442 retval = kobject_add_varg(kobj, parent, fmt, args); in kobject_add() 445 return retval; in kobject_add() [all …]
|
D | strnlen_user.c | 103 long retval; in strnlen_user() local 113 retval = do_strnlen_user(str, count, max); in strnlen_user() 115 return retval; in strnlen_user()
|
D | strncpy_from_user.c | 108 long retval; in strncpy_from_user() local 120 retval = do_strncpy_from_user(dst, src, count, max); in strncpy_from_user() 122 return retval; in strncpy_from_user()
|
D | stackdepot.c | 224 depot_stack_handle_t retval = 0; in stack_depot_save() local 299 retval = found->handle.handle; in stack_depot_save() 301 return retval; in stack_depot_save()
|
D | test_user_copy.c | 93 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/ |
D | test_rslib.c | 324 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/ |
D | generic_mpih-rshift.c | 34 mpi_limb_t retval; in mpihelp_rshift() local 40 retval = high_limb << sh_2; in mpihelp_rshift() 49 return retval; in mpihelp_rshift()
|
D | generic_mpih-lshift.c | 33 mpi_limb_t retval; in mpihelp_lshift() local 40 retval = low_limb >> sh_2; in mpihelp_lshift() 49 return retval; in mpihelp_lshift()
|