/Linux-v5.4/scripts/coccinelle/api/ |
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-v5.4/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() 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/ |
D | dev-backlight.c | 91 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/ |
D | wilc_wlan_cfg.c | 404 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/ |
D | wilink_platform_data.c | 21 wl1251_platform_data = kmemdup(data, sizeof(*data), GFP_KERNEL); in wl1251_set_platform_data()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ |
D | ls_ucode_msgqueue.c | 52 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()
|
D | acr.c | 48 blob = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_acr_load_firmware()
|
/Linux-v5.4/drivers/leds/ |
D | leds-gpio-register.c | 31 _pdata.leds = kmemdup(pdata->leds, in gpio_led_register_device()
|
/Linux-v5.4/arch/arm/mach-lpc32xx/ |
D | pm.c | 88 iram_swap_area = kmemdup((void *)TEMP_IRAM_AREA, in lpc32xx_pm_enter()
|
/Linux-v5.4/net/unix/ |
D | sysctl_net_unix.c | 29 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_sysctl_register()
|
/Linux-v5.4/arch/arm/plat-samsung/ |
D | platformdata.c | 26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata()
|
/Linux-v5.4/drivers/video/fbdev/nvidia/ |
D | nv_of.c | 72 *out_edid = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); in nvidia_probe_of_connector()
|
/Linux-v5.4/drivers/i2c/ |
D | i2c-boardinfo.c | 87 kmemdup(info->resources, in i2c_register_board_info()
|
/Linux-v5.4/arch/m68k/kernel/ |
D | bootinfo_proc.c | 66 bootinfo_copy = kmemdup(bootinfo_tmp, bootinfo_size, GFP_KERNEL); in init_bootinfo_procfs()
|
/Linux-v5.4/drivers/char/tpm/eventlog/ |
D | of.c | 67 log->bios_event_log = kmemdup(__va(base), size, GFP_KERNEL); in tpm_read_log_of()
|
D | efi.c | 52 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
|
/Linux-v5.4/net/sched/ |
D | em_nbyte.c | 32 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
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-v5.4/include/net/tc_act/ |
D | tc_tunnel_key.h | 71 struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size, in tcf_tunnel_info_copy()
|
/Linux-v5.4/drivers/cpuidle/ |
D | cpuidle-arm.c | 82 drv = kmemdup(&arm_idle_driver, sizeof(*drv), GFP_KERNEL); in arm_idle_init_cpu()
|
/Linux-v5.4/net/xfrm/ |
D | xfrm_sysctl.c | 50 table = kmemdup(xfrm_table, sizeof(xfrm_table), GFP_KERNEL); in xfrm_sysctl_init()
|
/Linux-v5.4/crypto/asymmetric_keys/ |
D | mscode_parser.c | 122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest()
|
/Linux-v5.4/drivers/pci/ |
D | pci-bridge-emul.c | 277 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/ |
D | q6core.c | 104 core->fwk_version = kmemdup(data->payload, in q6core_callback() 121 core->svc_version = kmemdup(data->payload, in q6core_callback()
|
/Linux-v5.4/include/linux/ |
D | string.h | 185 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
|