| /linux/sound/soc/ |
| H A D | soc-topology-test.c | 240 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_comp() 282 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_ops() 344 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_fw() 383 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 389 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 433 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 439 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 488 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 494 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 543 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_size() [all …]
|
| H A D | soc-card-test.c | 75 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in soc_card_test_case_init() 81 priv->card = kunit_kzalloc(test, sizeof(*priv->card), GFP_KERNEL); in soc_card_test_case_init()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_tt_test.c | 50 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_init_basic() 76 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_init_misaligned() 97 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_fini_basic() 117 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_fini_sg() 138 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_fini_shmem() 195 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_create_ttm_exists() 280 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_populate_populated_ttm() 304 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_unpopulate_basic() 327 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_unpopulate_empty_ttm() 348 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_swapin_basic()
|
| H A D | ttm_resource_test.c | 30 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_resource_test_init() 69 man = kunit_kzalloc(test, sizeof(*man), GFP_KERNEL); in ttm_init_test_manager() 124 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_resource_init_basic() 165 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_resource_init_pinned() 195 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_resource_fini_basic() 212 man = kunit_kzalloc(test, sizeof(*man), GFP_KERNEL); in ttm_resource_manager_init_basic() 240 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_resource_manager_usage_basic() 303 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_sys_man_free_basic()
|
| H A D | ttm_kunit_helpers.c | 178 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_kunit_init() 202 place = kunit_kzalloc(test, sizeof(*place), GFP_KERNEL); in ttm_place_kunit_init() 222 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic() 248 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_test_devices_all() 273 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_test_devices_init() 287 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_test_devices_all_init()
|
| H A D | ttm_bo_test.c | 251 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_unreserve_basic() 290 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_unreserve_pinned() 339 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_unreserve_bulk() 342 resv = kunit_kzalloc(test, sizeof(*resv), GFP_KERNEL); in ttm_bo_unreserve_bulk() 394 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_fini_basic() 437 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_fini_shared_resv() 444 external_resv = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_fini_shared_resv() 449 fence = kunit_kzalloc(test, sizeof(*fence), GFP_KERNEL); in ttm_bo_fini_shared_resv() 477 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_pin_basic() 512 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_pin_unpin_resource() [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-fractional-divider_test.c | 21 fd = kunit_kzalloc(test, sizeof(*fd), GFP_KERNEL); in clk_fd_test_approximation_max_denominator() 50 fd = kunit_kzalloc(test, sizeof(*fd), GFP_KERNEL); in clk_fd_test_approximation_max_numerator() 79 fd = kunit_kzalloc(test, sizeof(*fd), GFP_KERNEL); in clk_fd_test_approximation_max_denominator_zero_based() 109 fd = kunit_kzalloc(test, sizeof(*fd), GFP_KERNEL); in clk_fd_test_approximation_max_numerator_zero_based()
|
| /linux/net/wireless/tests/ |
| H A D | fragmentation.c | 24 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_0() 57 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_1() 105 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_2() 146 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_at_end()
|
| /linux/drivers/hid/ |
| H A D | hid-uclogic-core-test.c | 72 p.event_hooks = kunit_kzalloc(test, sizeof(*p.event_hooks), GFP_KERNEL); in hid_test_uclogic_exec_event_hook_test() 77 filter = kunit_kzalloc(test, sizeof(*filter), GFP_KERNEL); in hid_test_uclogic_exec_event_hook_test() 81 filter->event = kunit_kzalloc(test, filter->size, GFP_KERNEL); in hid_test_uclogic_exec_event_hook_test()
|
| H A D | hid-uclogic-params-test.c | 188 hdev = kunit_kzalloc(test, sizeof(struct hid_device), GFP_KERNEL); in hid_test_uclogic_params_cleanup_event_hooks() 191 fake_dev = kunit_kzalloc(test, sizeof(struct fake_device), GFP_KERNEL); in hid_test_uclogic_params_cleanup_event_hooks()
|
| /linux/net/mptcp/ |
| H A D | token_test.c | 10 req = kunit_kzalloc(test, sizeof(struct mptcp_subflow_request_sock), in build_req_sock() 36 icsk = kunit_kzalloc(test, sizeof(struct inet_connection_sock), in build_icsk() 46 ctx = kunit_kzalloc(test, sizeof(struct mptcp_subflow_context), in build_ctx() 57 msk = kunit_kzalloc(test, sizeof(struct mptcp_sock), GFP_USER); in build_msk()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_test.c | 55 derivedkey.data = kunit_kzalloc(test, param->expected_result->len, in kdf_case() 91 Kc.data = kunit_kzalloc(test, Kc.len, GFP_KERNEL); in checksum_case() 102 buf.head[0].iov_base = kunit_kzalloc(test, buf.head[0].iov_len, GFP_KERNEL); in checksum_case() 107 checksum.data = kunit_kzalloc(test, checksum.len, GFP_KERNEL); in checksum_case() 311 result = kunit_kzalloc(test, 4096, GFP_KERNEL); in rfc3961_nfold_case() 554 iv = kunit_kzalloc(test, crypto_sync_skcipher_ivsize(cts_tfm), GFP_KERNEL); in rfc3962_encrypt_case() 557 text = kunit_kzalloc(test, param->plaintext->len, GFP_KERNEL); in rfc3962_encrypt_case() 1146 Ke.data = kunit_kzalloc(test, Ke.len, GFP_KERNEL); in rfc6803_encrypt_case() 1164 text = kunit_kzalloc(test, len, GFP_KERNEL); in rfc6803_encrypt_case() 1176 checksum.data = kunit_kzalloc(tes in rfc6803_encrypt_case() [all...] |
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_proto_test_util.c | 38 mock->i_data = kunit_kzalloc(mock->test, msg->outsize, GFP_KERNEL); in cros_kunit_ec_xfer_mock() 74 mock = kunit_kzalloc(test, sizeof(*mock), GFP_KERNEL); in cros_kunit_ec_xfer_mock_addx() 83 mock->o_data = kunit_kzalloc(test, size, GFP_KERNEL); in cros_kunit_ec_xfer_mock_addx()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_format_helper_test.c | 593 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in le16buf_to_cpu() 608 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in le32buf_to_cpu() 623 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in cpubuf_to_le32() 660 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_gray8() 693 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb332() 726 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb565() 775 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_xrgb1555() 816 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_argb1555() 857 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgba5551() 898 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb888() [all …]
|
| H A D | drm_plane_helper_test.c | 54 plane = kunit_kzalloc(test, sizeof(*plane), GFP_KERNEL); in drm_plane_helper_init() 57 fb = kunit_kzalloc(test, sizeof(*fb), GFP_KERNEL); in drm_plane_helper_init() 62 mock = kunit_kzalloc(test, sizeof(*mock), GFP_KERNEL); in drm_plane_helper_init()
|
| H A D | drm_managed_test.c | 80 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in drm_managed_test_init()
|
| /linux/fs/ext4/ |
| H A D | mballoc-test.c | 412 inode = kunit_kzalloc(test, sizeof(*inode), GFP_KERNEL); in test_new_blocks_simple() 522 inode = kunit_kzalloc(test, sizeof(*inode), GFP_KERNEL); in test_free_blocks_simple_range() 596 inode = kunit_kzalloc(test, sizeof(*inode), GFP_KERNEL); in test_mark_diskspace_used() 730 bitmap = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_generate_buddy() 732 expected_bb = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_generate_buddy() 734 generate_bb = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_generate_buddy() 736 expected_grp = kunit_kzalloc(test, offsetof(struct ext4_group_info, in test_mb_generate_buddy() 798 bitmap = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_mark_used() 800 buddy = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_mark_used() 802 grp = kunit_kzalloc(test, offsetof(struct ext4_group_info, in test_mb_mark_used() [all …]
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | cirrus_scodec_test.c | 169 node = kunit_kzalloc(test, sizeof(*node), GFP_KERNEL); in cirrus_scodec_test_set_spkid_swnode() 173 props = kunit_kzalloc(test, sizeof(props_template), GFP_KERNEL); in cirrus_scodec_test_set_spkid_swnode() 249 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in cirrus_scodec_test_case_init()
|
| /linux/drivers/fpga/tests/ |
| H A D | fpga-mgr-test.c | 70 buf = kunit_kzalloc(test, count, GFP_KERNEL); in init_test_buffer() 265 sgt = kunit_kzalloc(test, sizeof(*sgt), GFP_KERNEL); in fpga_mgr_test_img_load_sgt() 297 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in fpga_mgr_test_init()
|
| /linux/lib/kunit/ |
| H A D | platform-test.c | 153 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in kunit_platform_driver_register_test() 182 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed()
|
| H A D | assert_test.c | 241 addr_var_a = kunit_kzalloc(test, TEST_PTR_EXPECTED_BUF_SIZE, GFP_KERNEL); in kunit_test_binary_ptr_assert_format() 243 addr_var_b = kunit_kzalloc(test, TEST_PTR_EXPECTED_BUF_SIZE, GFP_KERNEL); in kunit_test_binary_ptr_assert_format()
|
| /linux/drivers/firewire/ |
| H A D | device-attribute-test.c | 101 char *buf = kunit_kzalloc(test, PAGE_SIZE, GFP_KERNEL); in device_attr_simple_avc() 183 char *buf = kunit_kzalloc(test, PAGE_SIZE, GFP_KERNEL); in device_attr_legacy_avc()
|
| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_wmfw.c | 79 fw = kunit_kzalloc(builder->test_priv->test, sizeof(*fw), GFP_KERNEL); in cs_dsp_mock_wmfw_get_firmware() 138 tmp = kunit_kzalloc(builder->test_priv->test, info_len, GFP_KERNEL); in cs_dsp_mock_wmfw_add_info() 455 builder = kunit_kzalloc(priv->test, sizeof(*builder), GFP_KERNEL); in cs_dsp_mock_wmfw_init()
|
| /linux/lib/crypto/tests/ |
| H A D | sha3_kunit.c | 316 ref_out = kunit_kzalloc(test, max_len, GFP_KERNEL); in test_shake_multiple_squeezes() 375 reg_buf = kunit_kzalloc(test, max_len, GFP_KERNEL); in test_shake_with_guarded_bufs()
|
| /linux/drivers/base/test/ |
| H A D | root-device-test.c | 21 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in root_device_devm_init()
|