/lib/ |
D | test_bitmap.c | 182 memset(arr, 0xff, sizeof(arr)); in test_bitmap_u32_array_conversions() 186 memset(exp_arr, 0xff, sizeof(exp_arr)); in test_bitmap_u32_array_conversions() 187 memset(exp_arr, 0, used_u32s*sizeof(*exp_arr)); in test_bitmap_u32_array_conversions() 204 memset(arr, 0xff, sizeof(arr)); in test_bitmap_u32_array_conversions() 211 memset(exp_arr, 0xff, sizeof(exp_arr)); in test_bitmap_u32_array_conversions() 212 memset(exp_arr, 0, used_u32s*sizeof(*exp_arr)); in test_bitmap_u32_array_conversions() 219 memset(arr, 0xff, sizeof(arr)); in test_bitmap_u32_array_conversions() 226 memset(exp_arr, 0, sizeof(exp_arr)); in test_bitmap_u32_array_conversions() 247 memset(arr, 0xff, sizeof(arr)); /* garbage */ in test_bitmap_u32_array_conversions() 248 memset(arr, 0, used_u32s*sizeof(u32)); in test_bitmap_u32_array_conversions() [all …]
|
D | test_kasan.c | 185 memset(ptr+7, 0, 2); in kmalloc_oob_memset_2() 201 memset(ptr+5, 0, 4); in kmalloc_oob_memset_4() 218 memset(ptr+1, 0, 8); in kmalloc_oob_memset_8() 234 memset(ptr+1, 0, 16); in kmalloc_oob_memset_16() 250 memset(ptr, 0, size+5); in kmalloc_oob_in_memset() 283 memset(ptr, 0, size); in kmalloc_uaf_memset()
|
D | test_hexdump.c | 115 memset(real, FILL_CHAR, sizeof(real)); in test_hexdump() 119 memset(test, FILL_CHAR, sizeof(test)); in test_hexdump() 154 memset(buf, FILL_CHAR, sizeof(buf)); in test_hexdump_overflow() 175 memset(test + f, FILL_CHAR, sizeof(test) - f); in test_hexdump_overflow()
|
D | nlattr.c | 188 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse() 258 memset(dst, 0, dstsize); in nla_strlcpy() 283 memset(dest + minlen, 0, count - minlen); in nla_memcpy() 351 memset((unsigned char *) nla + nla->nla_len, 0, nla_padlen(attrlen)); in __nla_reserve() 396 memset(start, 0, NLA_ALIGN(attrlen)); in __nla_reserve_nohdr()
|
D | flex_array.c | 113 memset(&ret->parts[0], FLEX_ARRAY_FREE, in flex_array_alloc() 174 memset(part, FLEX_ARRAY_FREE, in __fa_get_part() 249 memset(dst, FLEX_ARRAY_FREE, fa->element_size); in flex_array_clear()
|
D | scatterlist.c | 134 memset(sgl, 0, sizeof(*sgl) * nents); in sg_init_table() 282 memset(table, 0, sizeof(*table)); in __sg_alloc_table() 487 memset(miter, 0, sizeof(struct sg_mapping_iter)); in sg_miter_start()
|
D | bch.c | 201 memset(bch->ecc_buf, 0, sizeof(r)); in encode_bch() 351 memset(syn, 0, 2*t*sizeof(*syn)); in compute_syndromes() 387 memset(pelp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial() 388 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial() 808 memset(out, 0, GF_POLY_SZ(f->deg)); in compute_trace_bk_mod() 1087 memset(bch->mod8_tab, 0, 4*256*l*sizeof(*bch->mod8_tab)); in build_mod8_tables() 1131 memset(xi, 0, sizeof(xi)); in build_deg2_base() 1184 memset(roots , 0, (bch->n+1)*sizeof(*roots)); in compute_generator_polynomial()
|
D | string.c | 668 void *memset(void *s, int c, size_t count) in memset() function 676 EXPORT_SYMBOL(memset); 695 memset(s, 0, count); in memzero_explicit()
|
D | lru_cache.c | 149 memset(p, 0, lc->element_size); in lc_create() 221 memset(lc->lc_slot, 0, sizeof(struct hlist_head) * lc->nr_elements); in lc_reset() 227 memset(p, 0, lc->element_size); in lc_reset()
|
D | irq_poll.c | 180 memset(iop, 0, sizeof(*iop)); in irq_poll_init()
|
D | checksum.c | 163 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user()
|
D | digsig.c | 165 memset(out1, 0, head); in digsig_verify_rsa()
|
D | idr.c | 840 memset(idp, 0, sizeof(struct idr)); in idr_init() 965 memset(bitmap, 0, sizeof(struct ida_bitmap)); in ida_get_new_above() 1143 memset(ida, 0, sizeof(struct ida)); in ida_init()
|
D | list_sort.c | 117 memset(part, 0, sizeof(part)); in list_sort()
|
D | percpu_ida.c | 291 memset(pool, 0, sizeof(*pool)); in __percpu_ida_init()
|
D | bitmap.c | 113 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right() 151 memset(dst, 0, off*sizeof(unsigned long)); in __bitmap_shift_left()
|
D | test_printf.c | 59 memset(alloced_buffer, FILL_CHAR, BUF_SIZE + 2*PAD_SIZE); in do_test()
|
/lib/raid6/test/ |
D | test.c | 60 memset(recovi, 0xf0, PAGE_SIZE); in test_disks() 61 memset(recovj, 0xba, PAGE_SIZE); in test_disks() 116 memset(data[NDISKS-2], 0xee, 2*PAGE_SIZE); in main()
|
/lib/xz/ |
D | xz_private.h | 41 # define memzero(buf, size) memset(buf, 0, size)
|
/lib/lz4/ |
D | lz4_compress.c | 81 memset((void *)hashtable, 0, LZ4_MEM_COMPRESS); in lz4_compressctx() 263 memset((void *)hashtable, 0, LZ4_MEM_COMPRESS); in lz4_compress64kctx()
|
D | lz4hc_compress.c | 52 memset((void *)hc4->hashtable, 0, sizeof(hc4->hashtable)); in lz4hc_init() 53 memset(hc4->chaintable, 0xFF, sizeof(hc4->chaintable)); in lz4hc_init()
|
/lib/mpi/ |
D | mpi-pow.c | 173 memset(&karactx, 0, sizeof karactx); in mpi_powm()
|
D | mpicoder.c | 280 memset(p2, 0, i); in mpi_write_to_sgl()
|
/lib/lzo/ |
D | lzo1x_compress.c | 231 memset(wrkmem, 0, D_SIZE * sizeof(lzo_dict_t)); in lzo1x_1_compress()
|
/lib/reed_solomon/ |
D | decode_rs.c | 96 memset(&lambda[1], 0, nroots * sizeof(lambda[0]));
|