| /Linux-v5.15/scripts/coccinelle/api/ |
| D | kvmalloc.cocci | 37 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...) 47 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...) 59 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...); 101 - E = kmalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\)); 104 + E = kvmalloc(size, GFP_KERNEL); 111 - E = kmalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\)); 114 + E = kvmalloc(size, GFP_KERNEL); 121 - T x = kmalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\)); 124 + T x = kvmalloc(size, GFP_KERNEL); 133 - E = kzalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\)); [all …]
|
| /Linux-v5.15/samples/kmemleak/ |
| D | kmemleak-test.c | 43 pr_info("kmalloc(32) = %p\n", kmalloc(32, GFP_KERNEL)); in kmemleak_test_init() 44 pr_info("kmalloc(32) = %p\n", kmalloc(32, GFP_KERNEL)); in kmemleak_test_init() 45 pr_info("kmalloc(1024) = %p\n", kmalloc(1024, GFP_KERNEL)); in kmemleak_test_init() 46 pr_info("kmalloc(1024) = %p\n", kmalloc(1024, GFP_KERNEL)); in kmemleak_test_init() 47 pr_info("kmalloc(2048) = %p\n", kmalloc(2048, GFP_KERNEL)); in kmemleak_test_init() 48 pr_info("kmalloc(2048) = %p\n", kmalloc(2048, GFP_KERNEL)); in kmemleak_test_init() 49 pr_info("kmalloc(4096) = %p\n", kmalloc(4096, GFP_KERNEL)); in kmemleak_test_init() 50 pr_info("kmalloc(4096) = %p\n", kmalloc(4096, GFP_KERNEL)); in kmemleak_test_init() 53 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init() 55 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init() [all …]
|
| /Linux-v5.15/drivers/misc/lkdtm/ |
| D | heap.c | 48 u32 *data = kmalloc(len, GFP_KERNEL); in lkdtm_SLAB_LINEAR_OVERFLOW() 68 base = kmalloc(len, GFP_KERNEL); in lkdtm_WRITE_AFTER_FREE() 77 again = kmalloc(len, GFP_KERNEL); in lkdtm_WRITE_AFTER_FREE() 95 base = kmalloc(len, GFP_KERNEL); in lkdtm_READ_AFTER_FREE() 101 val = kmalloc(len, GFP_KERNEL); in lkdtm_READ_AFTER_FREE() 129 unsigned long p = __get_free_page(GFP_KERNEL); in lkdtm_WRITE_BUDDY_AFTER_FREE() 142 p = __get_free_page(GFP_KERNEL); in lkdtm_WRITE_BUDDY_AFTER_FREE() 149 unsigned long p = __get_free_page(GFP_KERNEL); in lkdtm_READ_BUDDY_AFTER_FREE() 158 val = kmalloc(1024, GFP_KERNEL); in lkdtm_READ_BUDDY_AFTER_FREE() 189 first = kmalloc(512, GFP_KERNEL); in lkdtm_SLAB_INIT_ON_ALLOC() [all …]
|
| /Linux-v5.15/tools/testing/radix-tree/ |
| D | idr-test.c | 38 assert(idr_alloc_cyclic(&idr, DUMMY_PTR, 0, 0x4000, GFP_KERNEL) == 0); in idr_alloc_test() 39 assert(idr_alloc_cyclic(&idr, DUMMY_PTR, 0x3ffd, 0x4000, GFP_KERNEL) == 0x3ffd); in idr_alloc_test() 52 id = idr_alloc_cyclic(&idr, item, 1, 0x4000, GFP_KERNEL); in idr_alloc_test() 64 idr_alloc(&idr, (void *)-1, 10, 11, GFP_KERNEL); in idr_replace_test() 83 assert(idr_alloc(&idr, NULL, 0, 0, GFP_KERNEL) == 0); in idr_null_test() 88 assert(idr_alloc(&idr, NULL, 0, 0, GFP_KERNEL) == 0); in idr_null_test() 94 assert(idr_alloc(&idr, NULL, 0, 0, GFP_KERNEL) == i); in idr_null_test() 102 assert(idr_alloc(&idr, NULL, 0, 0, GFP_KERNEL) == 5); in idr_null_test() 114 assert(idr_alloc(&idr, NULL, 0, 0, GFP_KERNEL) == 0); in idr_null_test() 123 assert(idr_alloc(&idr, NULL, 1, 0, GFP_KERNEL) == i); in idr_null_test() [all …]
|
| /Linux-v5.15/lib/ |
| D | test_xarray.c | 48 GFP_KERNEL) != 0); in xa_insert_index() 95 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_KERNEL)) != 0); in check_xa_err() 96 XA_BUG_ON(xa, xa_err(xa_store(xa, 1, xa_mk_value(0), GFP_KERNEL)) != 0); in check_xa_err() 107 xa_store_index(xa, 0, GFP_KERNEL); in check_xas_retry() 108 xa_store_index(xa, 1, GFP_KERNEL); in check_xas_retry() 122 XA_BUG_ON(xa, xa_store_index(xa, 1, GFP_KERNEL) != NULL); in check_xas_retry() 159 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_xa_load() 186 XA_BUG_ON(xa, xa_store_index(xa, index, GFP_KERNEL) != NULL); in check_xa_mark_1() 212 XA_BUG_ON(xa, xa_store_index(xa, index + 1, GFP_KERNEL)); in check_xa_mark_1() 214 XA_BUG_ON(xa, xa_store_index(xa, index + 2, GFP_KERNEL)); in check_xa_mark_1() [all …]
|
| D | test_kasan.c | 125 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_right() 153 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_left() 165 ptr = kmalloc_node(size, GFP_KERNEL, 0); in kmalloc_node_oob_right() 185 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_oob_right() 200 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_uaf() 214 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_invalid_free() 234 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_oob_right() 248 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_uaf() 265 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_large_oob_right() 281 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper() [all …]
|
| D | test_ida.c | 36 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_alloc() 41 id = ida_alloc(ida, GFP_KERNEL); in ida_check_alloc() 50 IDA_BUG_ON(ida, ida_alloc_min(ida, 5000, GFP_KERNEL) != 10001); in ida_check_alloc() 59 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != base); in ida_check_destroy_1() 89 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != in ida_check_leaf() 96 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != 0); in ida_check_leaf() 114 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != in ida_check_max() 117 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != in ida_check_max() 132 IDA_BUG_ON(ida, ida_alloc_min(ida, i + 1, GFP_KERNEL) != i + 1); in ida_check_conv() 134 GFP_KERNEL) != i + BITS_PER_LONG); in ida_check_conv() [all …]
|
| D | test_meminit.c | 69 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order() 74 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order() 102 buf = kmalloc(size, GFP_KERNEL); in do_kmalloc_size() 106 buf = kmalloc(size, GFP_KERNEL); in do_kmalloc_size() 202 gfp_t alloc_mask = GFP_KERNEL | (want_zero ? __GFP_ZERO : 0); in do_kmem_cache_size() 281 buf = kmem_cache_alloc(c, GFP_KERNEL); in do_kmem_cache_rcu_persistent() 284 buf_contents = kmalloc(size, GFP_KERNEL); in do_kmem_cache_rcu_persistent() 287 used_objects = kmalloc_array(maxiter, sizeof(void *), GFP_KERNEL); in do_kmem_cache_rcu_persistent() 299 buf = kmem_cache_alloc(c, GFP_KERNEL); in do_kmem_cache_rcu_persistent() 328 num = kmem_cache_alloc_bulk(c, GFP_KERNEL, ARRAY_SIZE(objects), in do_kmem_cache_size_bulk()
|
| /Linux-v5.15/drivers/net/wireless/ti/wl1251/ |
| D | acx.c | 20 rates = kzalloc(sizeof(*rates), GFP_KERNEL); in wl1251_acx_frame_rates() 49 mac = kzalloc(sizeof(*mac), GFP_KERNEL); in wl1251_acx_station_id() 69 default_key = kzalloc(sizeof(*default_key), GFP_KERNEL); in wl1251_acx_default_key() 97 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1251_acx_wake_up_conditions() 123 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1251_acx_sleep_auth() 142 rev = kzalloc(sizeof(*rev), GFP_KERNEL); in wl1251_acx_fw_version() 177 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1251_acx_tx_power() 201 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1251_acx_feature_cfg() 243 params = kzalloc(sizeof(*params), GFP_KERNEL); in wl1251_acx_data_path_params() 289 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1251_acx_rx_msdu_life_time() [all …]
|
| /Linux-v5.15/drivers/usb/misc/ |
| D | ehset.c | 36 NULL, 0, 1000, GFP_KERNEL); in ehset_probe() 42 1000, GFP_KERNEL); in ehset_probe() 48 1000, GFP_KERNEL); in ehset_probe() 54 NULL, 0, 1000, GFP_KERNEL); in ehset_probe() 61 portnum, NULL, 0, 1000, GFP_KERNEL); in ehset_probe() 68 portnum, NULL, 0, 1000, GFP_KERNEL); in ehset_probe() 77 USB_CTRL_GET_TIMEOUT, GFP_KERNEL); in ehset_probe() 95 60 * 1000, GFP_KERNEL); in ehset_probe()
|
| D | uss720.c | 262 if (get_1284_register(pp, 6, ®, GFP_KERNEL)) in change_mode() 282 if (get_1284_register(pp, 6, ®, GFP_KERNEL)) in change_mode() 296 if (set_1284_register(pp, 6, m << 5, GFP_KERNEL)) in change_mode() 298 if (get_1284_register(pp, 6, ®, GFP_KERNEL)) in change_mode() 310 if (get_1284_register(pp, 1, &stat, GFP_KERNEL)) in clear_epp_timeout() 336 set_1284_register(pp, 0, d, GFP_KERNEL); in parport_uss720_write_data() 343 if (get_1284_register(pp, 0, &ret, GFP_KERNEL)) in parport_uss720_read_data() 353 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_write_control() 393 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_disable_irq() 404 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_enable_irq() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_private_obj.c | 24 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_layer_atomic_duplicate_state() 53 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_layer_obj_add() 68 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_scaler_atomic_duplicate_state() 95 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_scaler_obj_add() 111 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_compiz_atomic_duplicate_state() 138 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_compiz_obj_add() 154 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_splitter_atomic_duplicate_state() 181 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_splitter_obj_add() 198 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_merger_atomic_duplicate_state() 224 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_merger_obj_add() [all …]
|
| /Linux-v5.15/mm/kfence/ |
| D | kfence_test.c | 211 return kmalloc_caches[kmalloc_type(GFP_KERNEL)][__kmalloc_index(size, false)]->align; in kmalloc_cache_alignment() 282 kmalloc_caches[kmalloc_type(GFP_KERNEL)][__kmalloc_index(size, false)]; in test_alloc() 333 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read() 339 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_out_of_bounds_read() 357 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write() 374 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_use_after_free_read() 389 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_double_free() 405 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free() 425 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption() 431 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_corruption() [all …]
|
| /Linux-v5.15/drivers/clk/qcom/ |
| D | krait-cc.c | 84 div = devm_kzalloc(dev, sizeof(*div), GFP_KERNEL); in krait_add_div() 94 init.name = kasprintf(GFP_KERNEL, "hfpll%s_div", s); in krait_add_div() 99 p_names[0] = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_div() 130 mux = devm_kzalloc(dev, sizeof(*mux), GFP_KERNEL); in krait_add_sec_mux() 142 init.name = kasprintf(GFP_KERNEL, "krait%s_sec_mux", s); in krait_add_sec_mux() 147 sec_mux_list[0] = kasprintf(GFP_KERNEL, "acpu%s_aux", s); in krait_add_sec_mux() 183 mux = devm_kzalloc(dev, sizeof(*mux), GFP_KERNEL); in krait_add_pri_mux() 195 init.name = kasprintf(GFP_KERNEL, "krait%s_pri_mux", s); in krait_add_pri_mux() 199 p_names[0] = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_pri_mux() 205 p_names[1] = kasprintf(GFP_KERNEL, "hfpll%s_div", s); in krait_add_pri_mux() [all …]
|
| /Linux-v5.15/drivers/net/wireless/ti/wlcore/ |
| D | acx.c | 31 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1271_acx_wake_up_conditions() 60 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1271_acx_sleep_auth() 93 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_tx_power() 120 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1271_acx_feature_cfg() 165 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_rx_msdu_life_time() 192 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in wl1271_acx_slot() 221 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_group_address_tbl() 251 rx_timeout = kzalloc(sizeof(*rx_timeout), GFP_KERNEL); in wl1271_acx_service_period_timeout() 291 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold() 319 dco = kzalloc(sizeof(*dco), GFP_KERNEL); in wl1271_acx_dco_itrim_params() [all …]
|
| /Linux-v5.15/fs/jffs2/ |
| D | malloc.c | 116 ret = kmalloc(sizeof(struct jffs2_full_dirent) + namesize, GFP_KERNEL); in jffs2_alloc_full_dirent() 130 ret = kmem_cache_alloc(full_dnode_slab, GFP_KERNEL); in jffs2_alloc_full_dnode() 144 ret = kmem_cache_alloc(raw_dirent_slab, GFP_KERNEL); in jffs2_alloc_raw_dirent() 158 ret = kmem_cache_alloc(raw_inode_slab, GFP_KERNEL); in jffs2_alloc_raw_inode() 172 ret = kmem_cache_alloc(tmp_dnode_info_slab, GFP_KERNEL); in jffs2_alloc_tmp_dnode_info() 188 ret = kmem_cache_alloc(raw_node_ref_slab, GFP_KERNEL); in jffs2_alloc_refblock() 251 ret = kmem_cache_alloc(node_frag_slab, GFP_KERNEL); in jffs2_alloc_node_frag() 265 ret = kmem_cache_alloc(inode_cache_slab, GFP_KERNEL); in jffs2_alloc_inode_cache() 280 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum() 300 ref = kmem_cache_zalloc(xattr_ref_cache, GFP_KERNEL); in jffs2_alloc_xattr_ref()
|
| /Linux-v5.15/drivers/gpu/drm/i915/selftests/ |
| D | i915_sw_fence.c | 50 fence = kmalloc(sizeof(*fence), GFP_KERNEL); in alloc_fence() 109 if (i915_sw_fence_await_sw_fence_gfp(A, A, GFP_KERNEL) != -EINVAL) { in test_dag() 120 i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_dag() 121 if (i915_sw_fence_await_sw_fence_gfp(B, A, GFP_KERNEL) != -EINVAL) { in test_dag() 132 if (i915_sw_fence_await_sw_fence_gfp(B, C, GFP_KERNEL) == -EINVAL) { in test_dag() 136 if (i915_sw_fence_await_sw_fence_gfp(C, B, GFP_KERNEL) != -EINVAL) { in test_dag() 140 if (i915_sw_fence_await_sw_fence_gfp(C, A, GFP_KERNEL) != -EINVAL) { in test_dag() 144 if (i915_sw_fence_await_sw_fence_gfp(A, C, GFP_KERNEL) == -EINVAL) { in test_dag() 190 ret = i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_AB() 245 ret = i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_ABC() [all …]
|
| /Linux-v5.15/drivers/soc/ux500/ |
| D | ux500-soc-id.c | 128 return kasprintf(GFP_KERNEL, "DB%4x", dbx500_id.partnumber); in ux500_get_machine() 133 return kasprintf(GFP_KERNEL, "ux500"); in ux500_get_family() 141 return kasprintf(GFP_KERNEL, "%s", "ED"); in ux500_get_revision() 143 return kasprintf(GFP_KERNEL, "%d.%d", in ux500_get_revision() 146 return kasprintf(GFP_KERNEL, "%s", "Unknown"); in ux500_get_revision() 180 retstr = kasprintf(GFP_KERNEL, "%08x%08x%08x%08x%08x", in db8500_read_soc_id() 210 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in ux500_soc_device_init()
|
| /Linux-v5.15/drivers/net/wireless/ti/wl18xx/ |
| D | acx.c | 26 bitmap_conf = kzalloc(sizeof(*bitmap_conf), GFP_KERNEL); in wl18xx_acx_host_if_cfg_bitmap() 57 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_checksum_state() 83 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_clear_statistics() 108 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_peer_ht_operation_mode() 149 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_peer_cap() 195 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_interrupt_notify_config() 222 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_rx_ba_filter() 250 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_ap_sleep() 280 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_dynamic_fw_traces() 308 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_time_sync_cfg()
|
| D | cmd.c | 25 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_channel_switch() 81 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_start() 108 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_stop() 140 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_set_group_key() 170 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_set_cac() 201 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_radar_detection_debug() 227 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_dfs_master_restart()
|
| /Linux-v5.15/scripts/coccinelle/locks/ |
| D | call_kern.cocci | 2 /// Find functions that refer to GFP_KERNEL but are called with locks held. 3 //# The proposed change of converting the GFP_KERNEL is not necessarily the 35 GFP_KERNEL@p 78 - GFP_KERNEL@p 85 * GFP_KERNEL@p 96 cocci.print_secs("GFP_KERNEL",p) 105 msg = "ERROR: function %s called on line %s inside lock on line %s but uses GFP_KERNEL" % (fn,p2[0]…
|
| /Linux-v5.15/drivers/thermal/ |
| D | gov_user_space.c | 31 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", tz->type); in notify_user_space() 32 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature); in notify_user_space() 33 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP=%d", trip); in notify_user_space() 34 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", tz->notify_event); in notify_user_space()
|
| /Linux-v5.15/drivers/infiniband/hw/mlx5/ |
| D | mad.c | 184 out_cnt = kvzalloc(sz, GFP_KERNEL); in process_pma_cmd() 199 out_cnt = kvzalloc(sz, GFP_KERNEL); in process_pma_cmd() 289 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 290 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 317 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_smp_attr_node_info() 337 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid() 359 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys() 381 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id() 403 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc() 404 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
| D | clk_mgr.c | 142 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 155 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 165 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 175 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 199 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 213 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 241 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 264 struct clk_mgr_vgh *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 275 struct clk_mgr_dcn31 *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create()
|
| /Linux-v5.15/sound/soc/ |
| D | soc-topology-test.c | 250 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_comp() 294 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_ops() 358 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_with_null_fw() 398 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 404 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg() 449 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 455 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_magic() 505 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 511 data = kunit_kzalloc(kunit_comp->kunit, size, GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_abi() 561 kunit_comp = kunit_kzalloc(test, sizeof(*kunit_comp), GFP_KERNEL); in snd_soc_tplg_test_load_empty_tplg_bad_size() [all …]
|