Home
last modified time | relevance | path

Searched refs:err (Results 1 – 24 of 24) sorted by relevance

/lib/
Ddigsig.c74 int err = -EINVAL; in digsig_verify_rsa() local
106 err = -ENOMEM; in digsig_verify_rsa()
112 goto err; in digsig_verify_rsa()
120 goto err; in digsig_verify_rsa()
124 goto err; in digsig_verify_rsa()
129 goto err; in digsig_verify_rsa()
133 goto err; in digsig_verify_rsa()
135 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa()
136 if (err) in digsig_verify_rsa()
137 goto err; in digsig_verify_rsa()
[all …]
Dtextsearch.c143 int err = -EEXIST; in textsearch_register() local
157 err = 0; in textsearch_register()
160 return err; in textsearch_register()
177 int err = 0; in textsearch_unregister() local
188 err = -ENOENT; in textsearch_unregister()
191 return err; in textsearch_unregister()
263 int err = -ENOENT; in textsearch_prepare() local
288 err = PTR_ERR(conf); in textsearch_prepare()
299 return ERR_PTR(err); in textsearch_prepare()
Dmemory-notifier-error-inject.c23 int err; in err_inject_init() local
30 err = register_memory_notifier(&memory_notifier_err_inject.nb); in err_inject_init()
31 if (err) in err_inject_init()
34 return err; in err_inject_init()
Dpm-notifier-error-inject.c24 int err; in err_inject_init() local
31 err = register_pm_notifier(&pm_notifier_err_inject.nb); in err_inject_init()
32 if (err) in err_inject_init()
35 return err; in err_inject_init()
Dcpu-notifier-error-inject.c25 int err; in err_inject_init() local
32 err = register_hotcpu_notifier(&cpu_notifier_err_inject.nb); in err_inject_init()
33 if (err) in err_inject_init()
36 return err; in err_inject_init()
Dof-reconfig-notifier-error-inject.c26 int err; in err_inject_init() local
33 err = of_reconfig_notifier_register(&reconfig_err_inject.nb); in err_inject_init()
34 if (err) in err_inject_init()
37 return err; in err_inject_init()
Dflex_proportions.c39 int err; in fprop_global_init() local
43 err = percpu_counter_init(&p->events, 1); in fprop_global_init()
44 if (err) in fprop_global_init()
45 return err; in fprop_global_init()
173 int err; in fprop_local_init_percpu() local
175 err = percpu_counter_init(&pl->events, 0); in fprop_local_init_percpu()
176 if (err) in fprop_local_init_percpu()
177 return err; in fprop_local_init_percpu()
Dnotifier-error-inject.c29 int err = 0; in notifier_err_inject_callback() local
36 err = action->error; in notifier_err_inject_callback()
40 if (err) in notifier_err_inject_callback()
41 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback()
43 return notifier_from_errno(err); in notifier_err_inject_callback()
Dlibcrc32c.c48 int err; in crc32c() local
54 err = crypto_shash_update(&desc.shash, address, length); in crc32c()
55 BUG_ON(err); in crc32c()
Dnlattr.c127 int rem, err; in nla_validate() local
130 err = validate_nla(nla, maxtype, policy); in nla_validate()
131 if (err < 0) in nla_validate()
135 err = 0; in nla_validate()
137 return err; in nla_validate()
185 int rem, err; in nla_parse() local
194 err = validate_nla(nla, maxtype, policy); in nla_parse()
195 if (err < 0) in nla_parse()
207 err = 0; in nla_parse()
209 return err; in nla_parse()
Dioremap.c76 int err; in ioremap_page_range() local
85 err = ioremap_pud_range(pgd, addr, next, phys_addr+addr, prot); in ioremap_page_range()
86 if (err) in ioremap_page_range()
92 return err; in ioremap_page_range()
Dbch.c992 int i, err, nroots; in decode_bch() local
1026 err = compute_error_locator_polynomial(bch, syn); in decode_bch()
1027 if (err > 0) { in decode_bch()
1029 if (err != nroots) in decode_bch()
1030 err = -1; in decode_bch()
1032 if (err > 0) { in decode_bch()
1035 for (i = 0; i < err; i++) { in decode_bch()
1037 err = -1; in decode_bch()
1044 return (err >= 0) ? err : -EBADMSG; in decode_bch()
1151 static void *bch_alloc(size_t size, int *err) in bch_alloc() argument
[all …]
Dproportions.c78 int err; in prop_descriptor_init() local
86 err = percpu_counter_init(&pd->pg[0].events, 0); in prop_descriptor_init()
87 if (err) in prop_descriptor_init()
90 err = percpu_counter_init(&pd->pg[1].events, 0); in prop_descriptor_init()
91 if (err) in prop_descriptor_init()
95 return err; in prop_descriptor_init()
Dkfifo.c229 int err; in __kfifo_from_user() local
241 err = -EFAULT; in __kfifo_from_user()
243 err = 0; in __kfifo_from_user()
245 return err; in __kfifo_from_user()
289 int err; in __kfifo_to_user() local
300 err = -EFAULT; in __kfifo_to_user()
302 err = 0; in __kfifo_to_user()
304 return err; in __kfifo_to_user()
Dbtree.c452 int i, pos, fill, err; in btree_insert_level() local
456 err = btree_grow(head, geo, gfp); in btree_insert_level()
457 if (err) in btree_insert_level()
458 return err; in btree_insert_level()
475 err = btree_insert_level(head, geo, in btree_insert_level()
478 if (err) { in btree_insert_level()
480 return err; in btree_insert_level()
644 int err; in btree_merge() local
663 err = btree_insert(target, geo, key, val, gfp); in btree_merge()
664 if (err) in btree_merge()
[all …]
Dlist_sort.c210 int i, count = 1, err = -EINVAL; in list_sort_test() local
281 err = 0; in list_sort_test()
288 return err; in list_sort_test()
Dkobject.c719 int err; in kset_register() local
725 err = kobject_add_internal(&k->kobj); in kset_register()
726 if (err) in kset_register()
727 return err; in kset_register()
Ddynamic_debug.c828 int err; in ddebug_proc_open() local
836 err = seq_open(file, &ddebug_proc_seqops); in ddebug_proc_open()
837 if (err) { in ddebug_proc_open()
839 return err; in ddebug_proc_open()
Didr.c1047 goto err; in ida_remove()
1054 goto err; in ida_remove()
1066 err: in ida_remove()
Dts_fsm.c262 int i, err = -EINVAL; in fsm_init() local
303 return ERR_PTR(err); in fsm_init()
Ddebugobjects.c761 goto err; in debug_objects_init_debugfs()
765 err: in debug_objects_init_debugfs()
/lib/raid6/test/
Dtest.c95 int err = 0; in main() local
120 err += test_disks(i, j); in main()
130 if (err) in main()
133 return err; in main()
/lib/zlib_deflate/
Ddefutil.h4 #define Assert(err, str) argument
7 #define Tracecv(err, dummy) argument
Ddeflate.c339 int err = Z_OK;
354 err = zlib_deflate(strm, Z_PARTIAL_FLUSH);
364 return err;