Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v5.4/scripts/coccinelle/api/
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-v5.4/drivers/gpu/drm/arm/display/komeda/
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-v5.4/arch/arm/mach-s3c64xx/
Ddev-backlight.c91 samsung_bl_device = kmemdup(&samsung_dfl_bl_device, in samsung_bl_set()
96 samsung_bl_drvdata = kmemdup(&samsung_dfl_bl_data, in samsung_bl_set()
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_wlan_cfg.c404 wl->cfg.b = kmemdup(g_cfg_byte, sizeof(g_cfg_byte), GFP_KERNEL); in wilc_wlan_cfg_init()
408 wl->cfg.hw = kmemdup(g_cfg_hword, sizeof(g_cfg_hword), GFP_KERNEL); in wilc_wlan_cfg_init()
412 wl->cfg.w = kmemdup(g_cfg_word, sizeof(g_cfg_word), GFP_KERNEL); in wilc_wlan_cfg_init()
416 wl->cfg.s = kmemdup(g_cfg_str, sizeof(g_cfg_str), GFP_KERNEL); in wilc_wlan_cfg_init()
/Linux-v5.4/drivers/net/wireless/ti/
Dwilink_platform_data.c21 wl1251_platform_data = kmemdup(data, sizeof(*data), GFP_KERNEL); in wl1251_set_platform_data()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dls_ucode_msgqueue.c52 img->ucode_data = kmemdup(image->data, image->size, GFP_KERNEL); in acr_ls_ucode_load_msgqueue()
70 img->sig = kmemdup(sig->data, sig->size, GFP_KERNEL); in acr_ls_ucode_load_msgqueue()
Dacr.c48 blob = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_acr_load_firmware()
/Linux-v5.4/drivers/leds/
Dleds-gpio-register.c31 _pdata.leds = kmemdup(pdata->leds, in gpio_led_register_device()
/Linux-v5.4/arch/arm/mach-lpc32xx/
Dpm.c88 iram_swap_area = kmemdup((void *)TEMP_IRAM_AREA, in lpc32xx_pm_enter()
/Linux-v5.4/net/unix/
Dsysctl_net_unix.c29 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_sysctl_register()
/Linux-v5.4/arch/arm/plat-samsung/
Dplatformdata.c26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata()
/Linux-v5.4/drivers/video/fbdev/nvidia/
Dnv_of.c72 *out_edid = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); in nvidia_probe_of_connector()
/Linux-v5.4/drivers/i2c/
Di2c-boardinfo.c87 kmemdup(info->resources, in i2c_register_board_info()
/Linux-v5.4/arch/m68k/kernel/
Dbootinfo_proc.c66 bootinfo_copy = kmemdup(bootinfo_tmp, bootinfo_size, GFP_KERNEL); in init_bootinfo_procfs()
/Linux-v5.4/drivers/char/tpm/eventlog/
Dof.c67 log->bios_event_log = kmemdup(__va(base), size, GFP_KERNEL); in tpm_read_log_of()
Defi.c52 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
/Linux-v5.4/net/sched/
Dem_nbyte.c32 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c114 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_dsm()
189 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_wmi()
/Linux-v5.4/include/net/tc_act/
Dtc_tunnel_key.h71 struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size, in tcf_tunnel_info_copy()
/Linux-v5.4/drivers/cpuidle/
Dcpuidle-arm.c82 drv = kmemdup(&arm_idle_driver, sizeof(*drv), GFP_KERNEL); in arm_idle_init_cpu()
/Linux-v5.4/net/xfrm/
Dxfrm_sysctl.c50 table = kmemdup(xfrm_table, sizeof(xfrm_table), GFP_KERNEL); in xfrm_sysctl_init()
/Linux-v5.4/crypto/asymmetric_keys/
Dmscode_parser.c122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest()
/Linux-v5.4/drivers/pci/
Dpci-bridge-emul.c277 bridge->pci_regs_behavior = kmemdup(pci_regs_behavior, in pci_bridge_emul_init()
290 kmemdup(pcie_cap_regs_behavior, in pci_bridge_emul_init()
/Linux-v5.4/sound/soc/qcom/qdsp6/
Dq6core.c104 core->fwk_version = kmemdup(data->payload, in q6core_callback()
121 core->svc_version = kmemdup(data->payload, in q6core_callback()
/Linux-v5.4/include/linux/
Dstring.h185 extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
443 extern void *__real_kmemdup(const void *src, size_t len, gfp_t gfp) __RENAME(kmemdup);
444 __FORTIFY_INLINE void *kmemdup(const void *p, size_t size, gfp_t gfp) in kmemdup() function

12345678910>>...23