/lib/ |
D | test_rhashtable.c | 116 unsigned int err, total = 0, chain_len = 0; in test_bucket_stats() local 120 err = rhashtable_walk_init(ht, &hti); in test_bucket_stats() 121 if (err) { in test_bucket_stats() 126 err = rhashtable_walk_start(&hti); in test_bucket_stats() 127 if (err && err != -EAGAIN) { in test_bucket_stats() 128 pr_warn("Test failed: iterator failed: %d\n", err); in test_bucket_stats() 159 int err; in test_rhashtable() local 174 err = rhashtable_insert_fast(ht, &obj->node, test_rht_params); in test_rhashtable() 175 if (err == -ENOMEM || err == -EBUSY) { in test_rhashtable() 179 } else if (err) { in test_rhashtable() [all …]
|
D | digsig.c | 74 int err = -EINVAL; in digsig_verify_rsa() local 92 err = -EKEYREVOKED; in digsig_verify_rsa() 113 err = -ENOMEM; in digsig_verify_rsa() 119 goto err; in digsig_verify_rsa() 127 goto err; in digsig_verify_rsa() 131 goto err; in digsig_verify_rsa() 136 goto err; in digsig_verify_rsa() 140 goto err; in digsig_verify_rsa() 142 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa() 143 if (err) in digsig_verify_rsa() [all …]
|
D | textsearch.c | 143 int err = -EEXIST; in textsearch_register() local 157 err = 0; in textsearch_register() 160 return err; in textsearch_register() 178 int err = 0; in textsearch_unregister() local 189 err = -ENOENT; in textsearch_unregister() 192 return err; in textsearch_unregister() 264 int err = -ENOENT; in textsearch_prepare() local 289 err = PTR_ERR(conf); in textsearch_prepare() 300 return ERR_PTR(err); in textsearch_prepare()
|
D | rhashtable.c | 164 int err = -ENOENT; in rhashtable_rehash_one() local 170 err = 0; in rhashtable_rehash_one() 179 if (err) in rhashtable_rehash_one() 198 return err; in rhashtable_rehash_one() 293 int err; in rhashtable_expand() local 303 err = rhashtable_rehash_attach(ht, old_tbl, new_tbl); in rhashtable_expand() 304 if (err) in rhashtable_expand() 307 return err; in rhashtable_expand() 330 int err; in rhashtable_shrink() local 348 err = rhashtable_rehash_attach(ht, old_tbl, new_tbl); in rhashtable_shrink() [all …]
|
D | memory-notifier-error-inject.c | 23 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()
|
D | pm-notifier-error-inject.c | 24 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()
|
D | cpu-notifier-error-inject.c | 25 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()
|
D | of-reconfig-notifier-error-inject.c | 26 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()
|
D | flex_proportions.c | 39 int err; in fprop_global_init() local 43 err = percpu_counter_init(&p->events, 1, gfp); 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, gfp); in fprop_local_init_percpu() 176 if (err) in fprop_local_init_percpu() 177 return err; in fprop_local_init_percpu()
|
D | notifier-error-inject.c | 29 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()
|
D | percpu_ida.c | 319 goto err; in __percpu_ida_init() 325 err: in __percpu_ida_init() 346 unsigned cpu, i, err = 0; in percpu_ida_for_each_free() local 353 err = fn(remote->freelist[i], data); in percpu_ida_for_each_free() 354 if (err) in percpu_ida_for_each_free() 358 if (err) in percpu_ida_for_each_free() 364 err = fn(pool->freelist[i], data); in percpu_ida_for_each_free() 365 if (err) in percpu_ida_for_each_free() 371 return err; in percpu_ida_for_each_free()
|
D | libcrc32c.c | 46 int err; in crc32c() local 52 err = crypto_shash_update(shash, address, length); in crc32c() 53 BUG_ON(err); in crc32c()
|
D | nlattr.c | 126 int rem, err; in nla_validate() local 129 err = validate_nla(nla, maxtype, policy); in nla_validate() 130 if (err < 0) in nla_validate() 134 err = 0; in nla_validate() 136 return err; in nla_validate() 186 int rem, err; in nla_parse() local 195 err = validate_nla(nla, maxtype, policy); in nla_parse() 196 if (err < 0) in nla_parse() 208 err = 0; in nla_parse() 210 return err; in nla_parse()
|
D | crc-t10dif.c | 28 int err; in crc_t10dif_update() local 37 err = crypto_shash_update(&desc.shash, buffer, len); in crc_t10dif_update() 38 BUG_ON(err); in crc_t10dif_update()
|
D | bch.c | 992 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 …]
|
D | ioremap.c | 131 int err; in ioremap_page_range() local 140 err = ioremap_pud_range(pgd, addr, next, phys_addr+addr, prot); in ioremap_page_range() 141 if (err) in ioremap_page_range() 147 return err; in ioremap_page_range()
|
D | proportions.c | 78 int err; in prop_descriptor_init() local 86 err = percpu_counter_init(&pd->pg[0].events, 0, gfp); in prop_descriptor_init() 87 if (err) in prop_descriptor_init() 90 err = percpu_counter_init(&pd->pg[1].events, 0, gfp); in prop_descriptor_init() 91 if (err) in prop_descriptor_init() 95 return err; in prop_descriptor_init()
|
D | list_sort.c | 214 int i, count = 1, err = -ENOMEM; in list_sort_test() local 224 return err; in list_sort_test() 244 err = -EINVAL; in list_sort_test() 285 err = 0; in list_sort_test() 290 return err; in list_sort_test()
|
D | sg_split.c | 166 goto err; in sg_split() 174 goto err; in sg_split() 184 goto err; in sg_split() 196 err: in sg_split()
|
D | kfifo.c | 230 int err; in __kfifo_from_user() local 242 err = -EFAULT; in __kfifo_from_user() 244 err = 0; in __kfifo_from_user() 246 return err; in __kfifo_from_user() 290 int err; in __kfifo_to_user() local 301 err = -EFAULT; in __kfifo_to_user() 303 err = 0; in __kfifo_to_user() 305 return err; in __kfifo_to_user()
|
D | btree.c | 453 int i, pos, fill, err; in btree_insert_level() local 457 err = btree_grow(head, geo, gfp); in btree_insert_level() 458 if (err) in btree_insert_level() 459 return err; in btree_insert_level() 476 err = btree_insert_level(head, geo, in btree_insert_level() 479 if (err) { in btree_insert_level() 481 return err; in btree_insert_level() 645 int err; in btree_merge() local 664 err = btree_insert(target, geo, key, val, gfp); in btree_merge() 665 if (err) in btree_merge() [all …]
|
D | iov_iter.c | 311 int err; in iov_iter_fault_in_readable() local 316 err = fault_in_multipages_readable(v.iov_base, in iov_iter_fault_in_readable() 318 if (unlikely(err)) in iov_iter_fault_in_readable() 319 return err; in iov_iter_fault_in_readable() 657 int err = 0; in csum_and_copy_from_iter() 660 v.iov_len, 0, &err); in csum_and_copy_from_iter() 661 if (!err) { in csum_and_copy_from_iter() 665 err ? v.iov_len : 0; in csum_and_copy_from_iter() 701 int err = 0; in csum_and_copy_to_iter() 704 v.iov_len, 0, &err); in csum_and_copy_to_iter() [all …]
|
D | kobject.c | 812 int err; in kset_register() local 818 err = kobject_add_internal(&k->kobj); in kset_register() 819 if (err) in kset_register() 820 return err; in kset_register()
|
/lib/raid6/test/ |
D | test.c | 95 int err = 0; in main() local 123 err += test_disks(i, j); in main() 140 err += test_disks(i, j); in main() 151 if (err) in main() 154 return err; in main()
|
/lib/zlib_deflate/ |
D | defutil.h | 4 #define Assert(err, str) argument 7 #define Tracecv(err, dummy) argument
|