Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 25 of 7853) sorted by relevance

12345678910>>...315

/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dkvmalloc.cocci37 * (..., 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 …]
/kernel/linux/linux-5.10/samples/kmemleak/
Dkmemleak-test.c43 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 …]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Didr-test.c38 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 …]
/kernel/linux/linux-5.10/lib/
Dtest_xarray.c48 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 …]
Dtest_kasan.c83 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_right()
95 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_left()
107 ptr = kmalloc_node(size, GFP_KERNEL, 0); in kmalloc_node_oob_right()
127 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_oob_right()
144 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_uaf()
161 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_invalid_free()
174 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_large_oob_right()
187 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_more()
190 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_more()
203 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_less()
[all …]
Dtest_ida.c36 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 …]
Dtest_meminit.c69 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()
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dheap.c22 u32 *data = kmalloc(len, GFP_KERNEL); in lkdtm_OVERWRITE_ALLOCATION()
41 base = kmalloc(len, GFP_KERNEL); in lkdtm_WRITE_AFTER_FREE()
50 again = kmalloc(len, GFP_KERNEL); in lkdtm_WRITE_AFTER_FREE()
68 base = kmalloc(len, GFP_KERNEL); in lkdtm_READ_AFTER_FREE()
74 val = kmalloc(len, GFP_KERNEL); in lkdtm_READ_AFTER_FREE()
101 unsigned long p = __get_free_page(GFP_KERNEL); in lkdtm_WRITE_BUDDY_AFTER_FREE()
114 p = __get_free_page(GFP_KERNEL); in lkdtm_WRITE_BUDDY_AFTER_FREE()
121 unsigned long p = __get_free_page(GFP_KERNEL); in lkdtm_READ_BUDDY_AFTER_FREE()
130 val = kmalloc(1024, GFP_KERNEL); in lkdtm_READ_BUDDY_AFTER_FREE()
159 val = kmem_cache_alloc(double_free_cache, GFP_KERNEL); in lkdtm_SLAB_FREE_DOUBLE()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Dacx.c20 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_private_obj.c24 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 …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dkrait-cc.c84 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dacx.c31 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 …]
/kernel/linux/linux-5.10/fs/jffs2/
Dmalloc.c116 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_sw_fence.c50 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 …]
/kernel/linux/linux-5.10/drivers/soc/ux500/
Dux500-soc-id.c128 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()
208 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in ux500_soc_device_init()
/kernel/linux/linux-5.10/drivers/usb/misc/
Duss720.c263 if (get_1284_register(pp, 6, &reg, GFP_KERNEL)) in change_mode()
283 if (get_1284_register(pp, 6, &reg, GFP_KERNEL)) in change_mode()
297 if (set_1284_register(pp, 6, m << 5, GFP_KERNEL)) in change_mode()
299 if (get_1284_register(pp, 6, &reg, GFP_KERNEL)) in change_mode()
311 if (get_1284_register(pp, 1, &stat, GFP_KERNEL)) in clear_epp_timeout()
337 set_1284_register(pp, 0, d, GFP_KERNEL); in parport_uss720_write_data()
344 if (get_1284_register(pp, 0, &ret, GFP_KERNEL)) in parport_uss720_read_data()
354 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_write_control()
394 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_disable_irq()
405 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_enable_irq()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
Dacx.c26 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()
Dcmd.c25 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()
/kernel/linux/linux-5.10/scripts/coccinelle/locks/
Dcall_kern.cocci2 /// 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]…
/kernel/linux/linux-5.10/drivers/thermal/
Dgov_user_space.c31 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c190 out_cnt = kvzalloc(sz, GFP_KERNEL); in process_pma_cmd()
205 out_cnt = kvzalloc(sz, GFP_KERNEL); in process_pma_cmd()
295 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
296 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
323 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_smp_attr_node_info()
343 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid()
365 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys()
387 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id()
409 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc()
410 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/
Decdh_helper.c69 tmp = kmalloc(64, GFP_KERNEL); in compute_ecdh_secret()
73 req = kpp_request_alloc(tfm, GFP_KERNEL); in compute_ecdh_secret()
132 tmp = kmalloc(32, GFP_KERNEL); in set_ecdh_privkey()
141 buf = kmalloc(buf_len, GFP_KERNEL); in set_ecdh_privkey()
176 tmp = kmalloc(64, GFP_KERNEL); in generate_ecdh_public_key()
180 req = kpp_request_alloc(tfm, GFP_KERNEL); in generate_ecdh_public_key()
/kernel/linux/linux-5.10/drivers/soc/fsl/
Dguts.c148 guts = devm_kzalloc(dev, sizeof(*guts), GFP_KERNEL); in fsl_guts_probe()
164 soc_dev_attr.machine = devm_kstrdup(dev, machine, GFP_KERNEL); in fsl_guts_probe()
175 soc_dev_attr.family = devm_kasprintf(dev, GFP_KERNEL, in fsl_guts_probe()
178 soc_dev_attr.family = devm_kasprintf(dev, GFP_KERNEL, "QorIQ"); in fsl_guts_probe()
182 soc_dev_attr.soc_id = devm_kasprintf(dev, GFP_KERNEL, in fsl_guts_probe()
186 soc_dev_attr.revision = devm_kasprintf(dev, GFP_KERNEL, "%d.%d", in fsl_guts_probe()
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_pcm512x.c77 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init()
230 sizeof(struct snd_soc_dai_link), GFP_KERNEL); in sof_card_dai_links_create()
232 sizeof(struct snd_soc_dai_link_component), GFP_KERNEL); in sof_card_dai_links_create()
237 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
260 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
266 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
307 GFP_KERNEL); in sof_card_dai_links_create()
312 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
320 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
332 devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
[all …]
/kernel/linux/linux-5.10/drivers/clk/ti/
Dclkctrl.c268 clock_name = kasprintf(GFP_KERNEL, "%s-clkctrl:%04x:%d", in clkctrl_get_clock_name()
277 return kasprintf(GFP_KERNEL, "%s_cm:clk:%04x:%d", in clkctrl_get_clock_name()
282 return kasprintf(GFP_KERNEL, "%pOFn:clk:%04x:%d", in clkctrl_get_clock_name()
286 return kasprintf(GFP_KERNEL, "%pOFn:%04x:%d", np, offset, index); in clkctrl_get_clock_name()
305 clkctrl_clk = kzalloc(sizeof(*clkctrl_clk), GFP_KERNEL); in _ti_clkctrl_clk_register()
345 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _ti_clkctrl_setup_gate()
368 mux = kzalloc(sizeof(*mux), GFP_KERNEL); in _ti_clkctrl_setup_mux()
403 div = kzalloc(sizeof(*div), GFP_KERNEL); in _ti_clkctrl_setup_div()
485 name = kasprintf(GFP_KERNEL, "%s", compat + prefix_len); in clkctrl_get_name()
590 provider = kzalloc(sizeof(*provider), GFP_KERNEL); in _ti_omap4_clkctrl_setup()
[all …]

12345678910>>...315