Home
last modified time | relevance | path

Searched refs:kmemdup (Results 1 – 25 of 646) sorted by relevance

12345678910>>...26

/linux/scripts/coccinelle/api/
H A Dmemdup.cocci2 /// 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 Dkomeda_private_obj.c24 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 Dlivepatch.c34 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 Dcheck-sysctl-docs130 /kmemdup.*/ {
131 match($0, /([^ \t]+) *= *kmemdup\(([^,]+) *,/, names)
/linux/drivers/usb/cdns3/
H A Dhost.c94 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 Dacpi.c71 *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 Dwlan_cfg.c363 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 Dspmobj-attributes.c233 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 Dleds-gpio-register.c32 _pdata.leds = kmemdup(pdata->leds, in gpio_led_register_device()
/linux/arch/arm/mach-lpc32xx/
H A Dpm.c86 iram_swap_area = kmemdup((void *)TEMP_IRAM_AREA, in lpc32xx_pm_enter()
/linux/net/sunrpc/auth_gss/
H A Dauth_gss_internal.h
/linux/drivers/i2c/
H A Di2c-boardinfo.c76 kmemdup(info->resources, in i2c_register_board_info()
/linux/net/unix/
H A Dsysctl_net_unix.c31 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_sysctl_register()
/linux/arch/arm/mach-s3c/
H A Dplatformdata.c26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata()
/linux/drivers/video/fbdev/nvidia/
H A Dnv_of.c71 *out_edid = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); in nvidia_probe_of_connector()
/linux/arch/m68k/kernel/
H A Dbootinfo_proc.c66 bootinfo_copy = kmemdup(bootinfo_tmp, bootinfo_size, GFP_KERNEL); in init_bootinfo_procfs()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dbase.c114 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 Dem_nbyte.c32 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c52 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 Dtc_tunnel_key.h78 struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size, in tcf_tunnel_info_copy()
/linux/drivers/cpuidle/
H A Dcpuidle-arm.c83 drv = kmemdup(&arm_idle_driver, sizeof(*drv), GFP_KERNEL); in arm_idle_init_cpu()
/linux/drivers/hid/
H A Dhid-razer.c90 buf = kmemdup(blackwidow_init, RAZER_BLACKWIDOW_TRANSFER_BUF_SIZE, GFP_KERNEL); in razer_probe()
H A Dhid-thrustmaster.c314 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 Dxfrm_sysctl.c50 table = kmemdup(xfrm_table, sizeof(xfrm_table), GFP_KERNEL); in xfrm_sysctl_init()
/linux/sound/soc/qcom/qdsp6/
H A Dq6core.c104 core->fwk_version = kmemdup(data->payload, in q6core_callback()
121 core->svc_version = kmemdup(data->payload, in q6core_callback()

12345678910>>...26