/linux/scripts/coccinelle/api/ |
H A D | memdup.cocci | 2 /// Use kmemdup rather than duplicating its implementation 42 + to = kmemdup(from,size,flag); 60 coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup") 66 coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_private_obj.c | 24 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_layer_atomic_duplicate_state() 68 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_scaler_atomic_duplicate_state() 111 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_compiz_atomic_duplicate_state() 154 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_splitter_atomic_duplicate_state() 198 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_merger_atomic_duplicate_state() 241 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_improc_atomic_duplicate_state() 284 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_timing_ctrlr_atomic_duplicate_state() 327 st = kmemdup(obj->state, sizeof(*st), GFP_KERNEL); in komeda_pipeline_atomic_duplicate_state()
|
/linux/kernel/module/ |
H A D | livepatch.c | 34 mod->klp_info->sechdrs = kmemdup(info->sechdrs, size, GFP_KERNEL); in copy_module_elf() 42 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf()
|
/linux/scripts/ |
H A D | check-sysctl-docs | 130 /kmemdup.*/ { 131 match($0, /([^ \t]+) *= *kmemdup\(([^,]+) *,/, names)
|
/linux/drivers/usb/cdns3/ |
H A D | host.c | 94 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci, in __cdns_host_init() 97 cdns->xhci_plat_data = kmemdup(&xhci_plat_cdnsp_xhci, in __cdns_host_init()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | acpi.c | 71 *policy_6ghz = kmemdup(ptr, expect_len, GFP_KERNEL); in rtw89_acpi_dsm_get_policy_6ghz() 115 *policy = kmemdup(ptr, sizeof(*ptr), GFP_KERNEL); in rtw89_acpi_dsm_get_policy_6ghz_sp()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan_cfg.c | 363 wl->cfg.b = kmemdup(g_cfg_byte, sizeof(g_cfg_byte), GFP_KERNEL); in wilc_wlan_cfg_init() 367 wl->cfg.hw = kmemdup(g_cfg_hword, sizeof(g_cfg_hword), GFP_KERNEL); in wilc_wlan_cfg_init() 371 wl->cfg.w = kmemdup(g_cfg_word, sizeof(g_cfg_word), GFP_KERNEL); in wilc_wlan_cfg_init() 375 wl->cfg.s = kmemdup(g_cfg_str, sizeof(g_cfg_str), GFP_KERNEL); in wilc_wlan_cfg_init()
|
/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | spmobj-attributes.c | 233 bioscfg_drv.spm_data.signing_key = kmemdup(buf, length, GFP_KERNEL); in sk_store() 268 bioscfg_drv.spm_data.endorsement_key = kmemdup(buf, length, GFP_KERNEL); in kek_store() 313 bioscfg_drv.spm_data.auth_token = kmemdup(buf, length, GFP_KERNEL); in auth_token_store()
|
/linux/drivers/leds/ |
H A D | leds-gpio-register.c | 32 _pdata.leds = kmemdup(pdata->leds, in gpio_led_register_device()
|
/linux/arch/arm/mach-lpc32xx/ |
H A D | pm.c | 86 iram_swap_area = kmemdup((void *)TEMP_IRAM_AREA, in lpc32xx_pm_enter()
|
/linux/net/sunrpc/auth_gss/ |
H A D | auth_gss_internal.h |
|
/linux/drivers/i2c/ |
H A D | i2c-boardinfo.c | 76 kmemdup(info->resources, in i2c_register_board_info()
|
/linux/net/unix/ |
H A D | sysctl_net_unix.c | 31 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_sysctl_register()
|
/linux/arch/arm/mach-s3c/ |
H A D | platformdata.c | 26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata()
|
/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_of.c | 71 *out_edid = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); in nvidia_probe_of_connector()
|
/linux/arch/m68k/kernel/ |
H A D | bootinfo_proc.c | 66 bootinfo_copy = kmemdup(bootinfo_tmp, bootinfo_size, GFP_KERNEL); in init_bootinfo_procfs()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | base.c | 114 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_dsm() 189 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_wmi()
|
/linux/net/sched/ |
H A D | em_nbyte.c | 32 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change()
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | firmware.c | 52 blob->data = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_firmware_load_blob() 236 fw->img = kmemdup(src, fw->len, GFP_KERNEL); in nvkm_firmware_ctor()
|
/linux/include/net/tc_act/ |
H A D | tc_tunnel_key.h | 78 struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size, in tcf_tunnel_info_copy()
|
/linux/drivers/cpuidle/ |
H A D | cpuidle-arm.c | 83 drv = kmemdup(&arm_idle_driver, sizeof(*drv), GFP_KERNEL); in arm_idle_init_cpu()
|
/linux/drivers/hid/ |
H A D | hid-razer.c | 90 buf = kmemdup(blackwidow_init, RAZER_BLACKWIDOW_TRANSFER_BUF_SIZE, GFP_KERNEL); in razer_probe()
|
H A D | hid-thrustmaster.c | 314 tm_wheel->model_request = kmemdup(&model_request, in thrustmaster_probe() 328 tm_wheel->change_request = kmemdup(&change_request, in thrustmaster_probe()
|
/linux/net/xfrm/ |
H A D | xfrm_sysctl.c | 50 table = kmemdup(xfrm_table, sizeof(xfrm_table), GFP_KERNEL); in xfrm_sysctl_init()
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6core.c | 104 core->fwk_version = kmemdup(data->payload, in q6core_callback() 121 core->svc_version = kmemdup(data->payload, in q6core_callback()
|