| /linux/sound/soc/ |
| A D | soc-topology-test.c | 242 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_comp() 284 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_ops() 346 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_fw() 391 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 441 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 496 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 551 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_size() 606 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_payload_size() 660 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_pcm_tplg() 710 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_pcm_tplg_reload_comp() [all …]
|
| 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/kernel/ |
| A D | sysctl-test.c | 36 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() 82 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() 125 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() 159 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() 196 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() 227 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() 257 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() 287 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() 318 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() 356 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max()
|
| /linux/sound/core/ |
| A D | sound_kunit.c | 174 buffer = kunit_kzalloc(test, SILENCE_BUFFER_SIZE, GFP_KERNEL); in test_format_fill_silence() 208 struct snd_pcm_runtime *r = kunit_kzalloc(test, sizeof(*r), GFP_KERNEL); in test_playback_avail() 211 r->status = kunit_kzalloc(test, sizeof(*r->status), GFP_KERNEL); in test_playback_avail() 212 r->control = kunit_kzalloc(test, sizeof(*r->control), GFP_KERNEL); in test_playback_avail() 232 struct snd_pcm_runtime *r = kunit_kzalloc(test, sizeof(*r), GFP_KERNEL); in test_capture_avail() 235 r->status = kunit_kzalloc(test, sizeof(*r->status), GFP_KERNEL); in test_capture_avail() 236 r->control = kunit_kzalloc(test, sizeof(*r->control), GFP_KERNEL); in test_capture_avail() 249 struct snd_card *card = kunit_kzalloc(test, sizeof(*card), GFP_KERNEL); in test_card_set_id() 282 struct snd_card *card = kunit_kzalloc(test, sizeof(*card), GFP_KERNEL); in test_card_add_component()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| 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()
|
| A D | ttm_kunit_helpers.c | 179 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_kunit_init() 203 place = kunit_kzalloc(test, sizeof(*place), GFP_KERNEL); in ttm_place_kunit_init() 223 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic() 249 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_test_devices_all() 274 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_test_devices_init() 288 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_test_devices_all_init()
|
| 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() 211 man = kunit_kzalloc(test, sizeof(*man), GFP_KERNEL); in ttm_resource_manager_init_basic() 239 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_resource_manager_usage_basic() 302 res = kunit_kzalloc(test, sizeof(*res), GFP_KERNEL); in ttm_sys_man_free_basic()
|
| 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_put_basic() 437 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_put_shared_resv() 444 external_resv = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_bo_put_shared_resv() 449 fence = kunit_kzalloc(test, sizeof(*fence), GFP_KERNEL); in ttm_bo_put_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 …]
|
| A D | ttm_pool_test.c | 34 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_pool_test_init() 64 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_kunit_init() 86 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_pre_populated() 150 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_alloc_basic() 209 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_pool_alloc_basic_dma_addr() 218 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_alloc_basic_dma_addr() 348 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_free_dma_alloc() 379 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_free_no_dma_alloc()
|
| A D | ttm_bo_validate_test.c | 34 placement = kunit_kzalloc(test, sizeof(*placement), GFP_KERNEL); in ttm_placement_kunit_init() 57 fence = kunit_kzalloc(test, sizeof(*fence), GFP_KERNEL); in alloc_mock_fence() 116 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_init_reserved_sys_man() 165 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_init_reserved_mock_man() 205 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_init_reserved_resv() 244 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_validate_basic() 390 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_validate_same_placement() 431 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_validate_busy_placement() 478 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_validate_multihop() 716 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_validate_move_fence_not_signaled() [all …]
|
| A D | ttm_device_test.c | 25 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_device_init_basic() 81 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_device_fini_basic() 105 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_device_init_no_vma_man() 162 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_device_init_pools()
|
| /linux/drivers/clk/ |
| 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/ |
| 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/ |
| 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()
|
| A D | hid-input-test.c | 15 dev = kunit_kzalloc(test, sizeof(*dev), GFP_KERNEL); in hid_test_input_set_battery_charge_status() 38 dev = kunit_kzalloc(test, sizeof(*dev), GFP_KERNEL); in hid_test_input_get_battery_property() 42 psy = kunit_kzalloc(test, sizeof(*psy), GFP_KERNEL); in hid_test_input_get_battery_property()
|
| 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/ |
| 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/drivers/net/wireless/intel/iwlwifi/mvm/tests/ |
| A D | links.c | 180 struct ieee80211_vif *vif = kunit_kzalloc(test, vif_size, GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC() 199 ies = kunit_kzalloc(test, ies_size, GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC() 371 struct ieee80211_vif *vif = kunit_kzalloc(test, vif_size, GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC() 372 struct iwl_trans *trans = kunit_kzalloc(test, sizeof(struct iwl_trans), in KUNIT_ARRAY_PARAM_DESC() 402 conf = kunit_kzalloc(test, sizeof(*vif->link_conf[0]), GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC() 408 conf = kunit_kzalloc(test, sizeof(*vif->link_conf[0]), GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC()
|
| /linux/drivers/platform/chrome/ |
| 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/net/sunrpc/auth_gss/ |
| A D | gss_krb5_test.c | 55 derivedkey.data = kunit_kzalloc(test, param->expected_result->len, in kdf_case() 90 Kc.data = kunit_kzalloc(test, Kc.len, GFP_KERNEL); in checksum_case() 106 checksum.data = kunit_kzalloc(test, checksum.len, GFP_KERNEL); in checksum_case() 309 result = kunit_kzalloc(test, 4096, GFP_KERNEL); in rfc3961_nfold_case() 1141 Ke.data = kunit_kzalloc(test, Ke.len, GFP_KERNEL); in rfc6803_encrypt_case() 1159 text = kunit_kzalloc(test, len, GFP_KERNEL); in rfc6803_encrypt_case() 1175 Ki.data = kunit_kzalloc(test, Ki.len, GFP_KERNEL); in rfc6803_encrypt_case() 1634 Ke.data = kunit_kzalloc(test, Ke.len, GFP_KERNEL); in rfc8009_encrypt_case() 1652 text = kunit_kzalloc(test, len, GFP_KERNEL); in rfc8009_encrypt_case() 1668 Ki.data = kunit_kzalloc(test, Ki.len, GFP_KERNEL); in rfc8009_encrypt_case() [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| A D | drm_format_helper_test.c | 626 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_gray8() 659 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb332() 692 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb565() 746 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_xrgb1555() 793 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_argb1555() 840 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgba5551() 887 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb888() 935 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_argb8888() 982 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_xrgb2101010() 1027 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_argb2101010() [all …]
|
| 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()
|
| /linux/fs/ext4/ |
| A D | mballoc-test.c | 407 inode = kunit_kzalloc(test, sizeof(*inode), GFP_KERNEL); in test_new_blocks_simple() 517 inode = kunit_kzalloc(test, sizeof(*inode), GFP_KERNEL); in test_free_blocks_simple_range() 591 inode = kunit_kzalloc(test, sizeof(*inode), GFP_KERNEL); in test_mark_diskspace_used() 725 bitmap = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_generate_buddy() 727 expected_bb = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_generate_buddy() 793 bitmap = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_mark_used() 795 buddy = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_mark_used() 797 grp = kunit_kzalloc(test, offsetof(struct ext4_group_info, in test_mb_mark_used() 857 bitmap = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_free_blocks() 859 buddy = kunit_kzalloc(test, sb->s_blocksize, GFP_KERNEL); in test_mb_free_blocks() [all …]
|
| /linux/lib/ |
| A D | string_helpers_kunit.c | 59 char *in = kunit_kzalloc(test, q_real, GFP_KERNEL); in test_string_unescape() 60 char *out_test = kunit_kzalloc(test, q_real, GFP_KERNEL); in test_string_unescape() 61 char *out_real = kunit_kzalloc(test, q_real, GFP_KERNEL); in test_string_unescape() 410 char *out_test = kunit_kzalloc(test, out_size, GFP_KERNEL); in test_string_escape() 411 char *out_real = kunit_kzalloc(test, out_size, GFP_KERNEL); in test_string_escape() 412 char *in = kunit_kzalloc(test, 256, GFP_KERNEL); in test_string_escape()
|
| /linux/sound/pci/hda/ |
| A D | cirrus_scodec_test.c | 168 node = kunit_kzalloc(test, sizeof(*node), GFP_KERNEL); in cirrus_scodec_test_set_spkid_swnode() 172 props = kunit_kzalloc(test, sizeof(props_template), GFP_KERNEL); in cirrus_scodec_test_set_spkid_swnode() 253 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in cirrus_scodec_test_case_init()
|