Home
last modified time | relevance | path

Searched refs:kstrdup (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/linux-6.3-rc2/scripts/coccinelle/api/
A Dkstrdup.cocci2 /// Use kstrdup rather than duplicating its implementation
24 + to = kstrdup(from, flag);
39 + to = kstrdup(from, flag);
80 cocci.print_main("WARNING opportunity for kstrdup",p1)
88 cocci.print_main("WARNING opportunity for kstrdup",p1)
96 msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line)
104 msg = "WARNING opportunity for kstrdup (memcpy on line %s)" % (p2[0].line)
/linux-6.3-rc2/drivers/parport/
A Dprobe.c80 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
83 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
88 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
102 info->cmdset = kstrdup(sep, GFP_KERNEL); in parse_data()
109 info->description = kstrdup(sep, GFP_KERNEL); in parse_data()
/linux-6.3-rc2/net/sunrpc/xprtrdma/
A Dtransport.c163 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses4()
175 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses6()
198 xprt->address_strings[RPC_DISPLAY_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
201 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
204 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
412 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_set_port()
416 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_set_port()
/linux-6.3-rc2/fs/ksmbd/mgmt/
A Dshare_config.c108 p->pattern = kstrdup(veto_list, GFP_KERNEL); in parse_veto_list()
158 share->name = kstrdup(name, GFP_KERNEL); in share_config_request()
161 share->path = kstrdup(ksmbd_share_config_path(resp), in share_config_request()
A Duser_config.c38 user->name = kstrdup(resp->account, GFP_KERNEL); in ksmbd_alloc_user()
/linux-6.3-rc2/arch/arm/mach-versatile/
A Dversatile.c149 newprop->name = kstrdup("status", GFP_KERNEL); in versatile_dt_pci_init()
150 newprop->value = kstrdup("disabled", GFP_KERNEL); in versatile_dt_pci_init()
/linux-6.3-rc2/arch/arm/mach-mvebu/
A Dboard-v7.c129 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk()
131 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk()
/linux-6.3-rc2/fs/cifs/
A Dfs_context.c298 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \
413 orig = opts = kstrdup(options, GFP_KERNEL); in smb3_parse_opt()
429 *val = kstrdup(nval, GFP_KERNEL); in smb3_parse_opt()
472 return kstrdup(path, GFP_KERNEL); in sanitize_path()
1140 ctx->source = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param()
1145 fc->source = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param()
1165 ctx->username = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param()
1177 ctx->password = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param()
1204 ctx->domainname = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param()
1228 ctx->iocharset = kstrdup(param->string, GFP_KERNEL); in smb3_fs_context_parse_param()
A Dunc.c64 dst = kstrdup(delim, GFP_KERNEL); in extract_sharename()
/linux-6.3-rc2/fs/cachefiles/
A Ddaemon.c553 dir = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_dir()
581 secctx = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_secctx()
607 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag()
787 cache->tag = kstrdup("CacheFiles", GFP_KERNEL); in cachefiles_daemon_bind()
/linux-6.3-rc2/kernel/trace/
A Dtrace_boot.c432 tmp = kstrdup(buf, GFP_KERNEL); in trace_boot_init_histograms()
443 tmp = kstrdup(buf, GFP_KERNEL); in trace_boot_init_histograms()
567 q = kstrdup(p, GFP_KERNEL); in trace_boot_set_ftrace_filter()
577 q = kstrdup(p, GFP_KERNEL); in trace_boot_set_ftrace_filter()
A Dfprobe.c193 str = kstrdup(filter, GFP_KERNEL); in register_fprobe()
201 str = kstrdup(notfilter, GFP_KERNEL); in register_fprobe()
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dfb_cmdline.c58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Ddlpar.c60 prop->name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_property()
87 dn->full_name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_node()
523 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store()
/linux-6.3-rc2/drivers/platform/x86/
A Dthink-lmi.c276 s = kstrdup(obj->string.pointer, GFP_KERNEL); in tlmi_extract_output_string()
433 new_pwd = kstrdup(buf, GFP_KERNEL); in new_password_store()
706 passwd = kstrdup(buf, GFP_KERNEL); in cert_to_password_store()
762 new_cert = kstrdup(buf, GFP_KERNEL); in certificate_store()
814 new_signature = kstrdup(buf, GFP_KERNEL); in signature_store()
843 new_signature = kstrdup(buf, GFP_KERNEL); in save_signature_store()
962 new_setting = kstrdup(buf, GFP_KERNEL); in current_value_store()
1121 new_setting = kstrdup(buf, GFP_KERNEL); in debug_cmd_store()
/linux-6.3-rc2/drivers/regulator/
A Dfixed-helper.c39 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
/linux-6.3-rc2/fs/ksmbd/
A Dtransport_tcp.c513 iface = alloc_iface(kstrdup(netdev->name, GFP_KERNEL)); in ksmbd_netdev_event()
609 if (!alloc_iface(kstrdup(netdev->name, GFP_KERNEL))) in ksmbd_tcp_set_interfaces()
618 if (!alloc_iface(kstrdup(ifc_list, GFP_KERNEL))) in ksmbd_tcp_set_interfaces()
/linux-6.3-rc2/drivers/isdn/mISDN/
A Ddsp_hwec.c57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
/linux-6.3-rc2/tools/power/pm-graph/config/
A Dcgskip.txt39 kstrdup
/linux-6.3-rc2/fs/9p/
A Dv9fs.c181 tmp_options = kstrdup(opts, GFP_KERNEL); in v9fs_parse_options()
394 v9ses->uname = kstrdup(V9FS_DEFUSER, GFP_KERNEL); in v9fs_session_init()
398 v9ses->aname = kstrdup(V9FS_DEFANAME, GFP_KERNEL); in v9fs_session_init()
/linux-6.3-rc2/lib/
A Dstring_helpers.c704 return kstrdup("<unknown>", gfp); in kstrdup_quotable_file()
709 return kstrdup("<no_memory>", gfp); in kstrdup_quotable_file()
713 pathname = kstrdup("<too_long>", gfp); in kstrdup_quotable_file()
/linux-6.3-rc2/kernel/
A Dkmod.c83 module_name = kstrdup(module_name, GFP_KERNEL); in call_modprobe()
/linux-6.3-rc2/drivers/soc/aspeed/
A Daspeed-socinfo.c127 attrs->machine = kstrdup(machine, GFP_KERNEL); in aspeed_socinfo_init()
/linux-6.3-rc2/drivers/scsi/aic7xxx/
A Daic7770_osm.c88 name = kstrdup(buf, GFP_ATOMIC); in aic7770_probe()
/linux-6.3-rc2/sound/core/
A Dinfo_oss.c38 x = kstrdup(string, GFP_KERNEL); in snd_oss_info_register()

Completed in 46 milliseconds

12345678910>>...14