/openbmc/linux/kernel/ |
H 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()
|
/openbmc/linux/sound/soc/ |
H A D | soc-topology-test.c | 248 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_comp() 290 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_ops() 352 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_fw() 391 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 397 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 441 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 447 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 496 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 502 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 551 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_size() [all …]
|
/openbmc/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_kunit_helpers.c | 35 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_kunit_init() 49 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic() 72 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_test_devices_all() 97 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_test_devices_init()
|
H 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() 87 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_pre_populated() 151 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_alloc_basic() 210 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_pool_alloc_basic_dma_addr() 219 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_alloc_basic_dma_addr() 349 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_free_dma_alloc() 380 pool = kunit_kzalloc(test, sizeof(*pool), GFP_KERNEL); in ttm_pool_free_no_dma_alloc()
|
H 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()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_format_helper_test.c | 458 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in le16buf_to_cpu() 473 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in le32buf_to_cpu() 488 dst = kunit_kzalloc(test, sizeof(*dst) * buf_size, GFP_KERNEL); in cpubuf_to_le32() 525 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_gray8() 555 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb332() 585 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgb565() 621 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_xrgb1555() 652 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_argb1555() 683 buf = kunit_kzalloc(test, dst_size, GFP_KERNEL); in drm_test_fb_xrgb8888_to_rgba5551() 714 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 | 34 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in drm_test_managed_run_action()
|
H A D | drm_dp_mst_helper_test.c | 376 out = kunit_kzalloc(test, sizeof(*out), GFP_KERNEL); in drm_test_dp_mst_sideband_msg_req_decode() 379 txmsg = kunit_kzalloc(test, sizeof(*txmsg), GFP_KERNEL); in drm_test_dp_mst_sideband_msg_req_decode()
|
H A D | drm_modes_test.c | 23 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in drm_test_modes_init()
|
H A D | drm_kunit_helpers.c | 176 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in drm_kunit_helper_acquire_ctx_alloc()
|
H A D | drm_client_modeset_test.c | 58 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in drm_client_modeset_test_init()
|
H A D | drm_exec_test.c | 30 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in drm_exec_test_init()
|
/openbmc/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-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()
|
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()
|
/openbmc/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() 56 msk = kunit_kzalloc(test, sizeof(struct mptcp_sock), GFP_USER); in build_msk()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_kunit_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()
|
/openbmc/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() 90 Kc.data = kunit_kzalloc(test, Kc.len, GFP_KERNEL); in checksum_case() 101 buf.head[0].iov_base = kunit_kzalloc(test, buf.head[0].iov_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() 551 iv = kunit_kzalloc(test, crypto_sync_skcipher_ivsize(cts_tfm), GFP_KERNEL); in rfc3962_encrypt_case() 554 text = kunit_kzalloc(test, param->plaintext->len, GFP_KERNEL); in rfc3962_encrypt_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() 1171 checksum.data = kunit_kzalloc(test, checksum.len, GFP_KERNEL); in rfc6803_encrypt_case() [all …]
|
/openbmc/linux/lib/kunit/ |
H A D | string-stream.c | 21 frag = kunit_kzalloc(test, sizeof(*frag), gfp); in alloc_string_stream_fragment() 106 buf = kunit_kzalloc(stream->test, buf_len, stream->gfp); in string_stream_get_string() 140 stream = kunit_kzalloc(test, sizeof(*stream), gfp); in alloc_string_stream()
|
/openbmc/linux/drivers/fpga/tests/ |
H A D | fpga-mgr-test.c | 60 buf = kunit_kzalloc(test, count, GFP_KERNEL); in init_test_buffer() 255 sgt = kunit_kzalloc(test, sizeof(*sgt), GFP_KERNEL); in fpga_mgr_test_img_load_sgt() 284 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in fpga_mgr_test_init()
|
H A D | fpga-bridge-test.c | 53 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in register_test_bridge()
|
/openbmc/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()
|
H A D | platform-device-test.c | 22 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in platform_device_devm_init()
|
/openbmc/linux/drivers/clk/ |
H A D | clk_test.c | 173 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_test_init_with_ops() 335 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_uncached_test_init() 458 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_multiple_parents_mux_test_init() 622 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_orphan_transparent_multiple_parent_mux_test_init() 969 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_single_parent_mux_test_init() 1243 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_orphan_transparent_single_parent_mux_test_init() 1334 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_orphan_two_level_root_last_test_init() 2167 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_leaf_mux_set_rate_parent_test_init() 2314 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_mux_notifier_test_init() 2428 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_mux_no_reparent_test_init()
|