Home
last modified time | relevance | path

Searched refs:kstrdup (Results 1 – 200 of 207) sorted by relevance

12

/linux-4.1.27/drivers/parport/
Dprobe.c83 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
86 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
91 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
105 info->cmdset = kstrdup(sep, GFP_KERNEL); in parse_data()
112 info->description = kstrdup(sep, GFP_KERNEL); in parse_data()
/linux-4.1.27/scripts/coccinelle/api/
Dkstrdup.cocci1 /// Use kstrdup rather than duplicating its implementation
23 + to = kstrdup(from, flag);
38 + to = kstrdup(from, flag);
/linux-4.1.27/arch/arm/mach-mvebu/
Dboard-v7.c167 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk()
169 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk()
Dcoherency.c163 p->name = kstrdup("arm,io-coherent", GFP_KERNEL); in armada_375_380_coherency_init()
Dkirkwood.c120 pmac->name = kstrdup("local-mac-address", GFP_KERNEL); in kirkwood_dt_eth_fixup()
/linux-4.1.27/net/sunrpc/xprtrdma/
Dtransport.c166 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses4()
178 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses6()
203 xprt->address_strings[RPC_DISPLAY_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
206 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
209 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
/linux-4.1.27/arch/xtensa/platforms/xtfpga/
Dsetup.c98 newfreq->name = kstrdup("clock-frequency", GFP_KERNEL); in update_clock_frequency()
125 newmac->name = kstrdup("local-mac-address", GFP_KERNEL); in update_local_mac()
/linux-4.1.27/mm/
Dutil.c44 char *kstrdup(const char *s, gfp_t gfp) in kstrdup() function
58 EXPORT_SYMBOL(kstrdup);
74 return kstrdup(s, gfp); in kstrdup_const()
Dzsmalloc.c1817 pool->name = kstrdup(name, GFP_KERNEL); in zs_create_pool()
/linux-4.1.27/sound/isa/gus/
Dgus_mem.c216 block.name = kstrdup(name, GFP_KERNEL); in snd_gf1_mem_alloc()
256 block.name = kstrdup("InterWave LFOs", GFP_KERNEL); in snd_gf1_mem_init()
262 block.name = kstrdup("Voice default (NULL's)", GFP_KERNEL); in snd_gf1_mem_init()
/linux-4.1.27/drivers/video/fbdev/core/
Dfb_cmdline.c58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
/linux-4.1.27/drivers/regulator/
Dfixed-helper.c38 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
Dgpio-regulator.c266 drvdata->desc.name = kstrdup(config->supply_name, GFP_KERNEL); in gpio_regulator_probe()
Dcore.c1145 node->dev_name = kstrdup(consumer_dev_name, GFP_KERNEL); in set_consumer_device_supply()
1196 regulator->supply_name = kstrdup(buf, GFP_KERNEL); in create_regulator()
1208 regulator->supply_name = kstrdup(supply_name, GFP_KERNEL); in create_regulator()
/linux-4.1.27/drivers/isdn/gigaset/
Di4l.c260 commands[AT_TYPE] = kstrdup("^SCTP=0\r", GFP_ATOMIC); in command_from_LL()
266 commands[AT_TYPE] = kstrdup("^SCTP=1\r", GFP_ATOMIC); in command_from_LL()
286 commands[AT_BC] = kstrdup("^SBC=9090A3\r", GFP_ATOMIC); in command_from_LL()
293 commands[AT_BC] = kstrdup("^SBC=8890\r", GFP_ATOMIC); in command_from_LL()
Dev-layer.c463 ptr = kstrdup(cs->respdata, GFP_ATOMIC); in gigaset_handle_modem_response()
544 ptr = kstrdup(psep, GFP_ATOMIC); in gigaset_handle_modem_response()
577 ptr = kstrdup(eoc, GFP_ATOMIC); in gigaset_handle_modem_response()
Dcapi.c1405 commands[AT_TYPE] = kstrdup(s, GFP_KERNEL); in do_connect_req()
1453 commands[AT_CLIP] = kstrdup(s, GFP_KERNEL); in do_connect_req()
/linux-4.1.27/fs/9p/
Dv9fs.c133 tmp_options = kstrdup(opts, GFP_KERNEL); in v9fs_parse_options()
327 v9ses->uname = kstrdup(V9FS_DEFUSER, GFP_KERNEL); in v9fs_session_init()
331 v9ses->aname = kstrdup(V9FS_DEFANAME, GFP_KERNEL); in v9fs_session_init()
/linux-4.1.27/fs/cachefiles/
Ddaemon.c487 dir = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_dir()
515 secctx = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_secctx()
541 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag()
Dbind.c72 cache->tag = kstrdup("CacheFiles", GFP_KERNEL); in cachefiles_daemon_bind()
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7770_osm.c88 name = kstrdup(buf, GFP_ATOMIC); in aic7770_probe()
Daic79xx_osm_pci.c181 name = kstrdup(buf, GFP_ATOMIC); in ahd_linux_pci_dev_probe()
Daic7xxx_osm_pci.c228 name = kstrdup(buf, GFP_ATOMIC); in ahc_linux_pci_dev_probe()
/linux-4.1.27/fs/nfs/
Dgetroot.c78 void *name = kstrdup(devname, GFP_KERNEL); in nfs_get_root()
Dnfs4client.c1221 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
Dclient.c173 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client()
Dsuper.c2021 args->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_validate_mount_data()
/linux-4.1.27/sound/core/
Dinfo_oss.c57 x = kstrdup(string, GFP_KERNEL); in snd_oss_info_register()
Djack.c132 jack->id = kstrdup(id, GFP_KERNEL); in snd_jack_new()
Dinfo.c774 entry->name = kstrdup(name, GFP_KERNEL); in snd_info_create_entry()
Dtimer.c109 timeri->owner = kstrdup(owner, GFP_KERNEL); in snd_timer_instance_new()
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd-pltfrm.c131 clki->name = kstrdup(name, GFP_KERNEL); in ufshcd_parse_clock_info()
165 vreg->name = kstrdup(name, GFP_KERNEL); in ufshcd_populate_vreg()
/linux-4.1.27/drivers/fmc/
Dfmc-match.c98 fmc->mezzanine_name = kstrdup(fmc->id.product_name, GFP_KERNEL); in fmc_fill_id_info()
Dfmc-chardev.c144 fc->misc.name = kstrdup(dev_name(&fmc->dev), GFP_KERNEL); in fc_probe()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dparam.c420 opt.err = kstrdup("defaulting to 2 (MSI-X)", in e1000e_check_options()
425 opt.err = kstrdup("defaulting to 1 (MSI)", GFP_KERNEL); in e1000e_check_options()
/linux-4.1.27/kernel/trace/
Dtrace_uprobe.c254 tu->tp.call.name = kstrdup(event, GFP_KERNEL); in alloc_trace_uprobe()
258 tu->tp.class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_uprobe()
466 tail = kstrdup(kbasename(filename), GFP_KERNEL); in create_trace_uprobe()
489 tu->filename = kstrdup(filename, GFP_KERNEL); in create_trace_uprobe()
509 parg->name = kstrdup(argv[i], GFP_KERNEL); in create_trace_uprobe()
514 parg->name = kstrdup(buf, GFP_KERNEL); in create_trace_uprobe()
Dtrace_kprobe.c120 sc->symbol = kstrdup(sym, GFP_KERNEL); in alloc_symbol_cache()
290 tk->symbol = kstrdup(symbol, GFP_KERNEL); in alloc_trace_kprobe()
309 tk->tp.call.name = kstrdup(event, GFP_KERNEL); in alloc_trace_kprobe()
318 tk->tp.class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_kprobe()
732 parg->name = kstrdup(argv[i], GFP_KERNEL); in create_trace_kprobe()
737 parg->name = kstrdup(buf, GFP_KERNEL); in create_trace_kprobe()
Dtrace_probe.c515 parg->comm = kstrdup(arg, GFP_KERNEL); in traceprobe_parse_probe_arg()
Dtrace_events_filter.c597 filter->filter_string = kstrdup(filter_string, GFP_KERNEL); in replace_filter_string()
1213 elt->operand = kstrdup(operand, GFP_KERNEL); in postfix_append_operand()
Dtrace_events_trigger.c742 data->filter_str = kstrdup(filter_str, GFP_KERNEL); in set_trigger_filter()
Dblktrace.c1584 buf = kstrdup(str, GFP_KERNEL); in blk_trace_str2mask()
Dtrace_events.c1476 system->name = kstrdup(name, GFP_KERNEL); in create_new_subsystem()
/linux-4.1.27/include/linux/
Dstring.h117 extern char *kstrdup(const char *s, gfp_t gfp);
Dfsnotify.h320 return kstrdup(name, GFP_KERNEL); in fsnotify_oldname_init()
/linux-4.1.27/drivers/pci/hotplug/
Drpaphp_slot.c65 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct()
/linux-4.1.27/net/nfc/hci/
Dllc.c63 llc_engine->name = kstrdup(name, GFP_KERNEL); in nfc_llc_register()
/linux-4.1.27/drivers/base/
Ddevtmpfs.c175 path = kstrdup(nodepath, GFP_KERNEL); in create_path()
257 path = kstrdup(nodepath, GFP_KERNEL); in delete_path()
Dcore.c1306 *tmp = kstrdup(dev_name(dev), GFP_KERNEL); in device_get_devnode()
1822 old_device_name = kstrdup(dev_name(dev), GFP_KERNEL); in device_rename()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dreconfig.c66 np->full_name = kstrdup(path, GFP_KERNEL); in pSeries_reconfig_add_node()
211 if (!(new->name = kstrdup(name, GFP_KERNEL))) in new_property()
Dmobility.c104 new_prop->name = kstrdup(name, GFP_KERNEL); in update_dt_property()
Ddlpar.c55 prop->name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_property()
Dhotplug-memory.c94 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in dlpar_clone_drconf_property()
Diommu.c999 win64->name = kstrdup(DIRECT64_PROPNAME, GFP_KERNEL); in enable_ddw()
/linux-4.1.27/arch/arm/mach-mmp/
Dsram.c91 info->pool_name = kstrdup(pdata->pool_name, GFP_KERNEL); in sram_probe()
/linux-4.1.27/net/netfilter/
Dxt_LED.c131 ledinternal->trigger_id = kstrdup(ledinfo->id, GFP_KERNEL); in led_tg_check()
Dxt_IDLETIMER.c129 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); in idletimer_tg_create()
Dxt_hashlimit.c258 hinfo->name = kstrdup(minfo->name, GFP_KERNEL); in htable_create()
/linux-4.1.27/sound/synth/emux/
Demux.c101 emu->name = kstrdup(name, GFP_KERNEL); in snd_emux_register()
/linux-4.1.27/drivers/md/
Ddm-stats.c278 s->program_id = kstrdup(program_id, GFP_KERNEL); in dm_stats_create()
283 s->aux_data = kstrdup(aux_data, GFP_KERNEL); in dm_stats_create()
752 new_aux_data = kstrdup(aux_data, GFP_KERNEL); in dm_stats_set_aux()
879 program = kstrdup(argv[1], GFP_KERNEL); in message_stats_list()
Ddm-exception-store.c81 type_name_dup = kstrdup(type_name, GFP_KERNEL); in get_type()
Ddm-ioctl.c169 hc->name = kstrdup(name, GFP_KERNEL); in alloc_cell()
179 hc->uuid = kstrdup(uuid, GFP_KERNEL); in alloc_cell()
381 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename()
Ddm-log.c77 type_name_dup = kstrdup(type_name, GFP_KERNEL); in get_type()
Ddm-crypt.c1562 cc->cipher_string = kstrdup(cipher_in, GFP_KERNEL); in crypt_ctr_cipher()
1584 cc->cipher = kstrdup(cipher, GFP_KERNEL); in crypt_ctr_cipher()
Ddm-verity.c831 v->alg_name = kstrdup(argv[7], GFP_KERNEL); in verity_ctr()
Ddm-mpath.c736 m->hw_handler_name = kstrdup(dm_shift_arg(as), GFP_KERNEL); in parse_hw_handler()
Ddm-cache-target.c2555 copy[i] = kstrdup(argv[i], GFP_KERNEL); in copy_ctr_args()
/linux-4.1.27/drivers/uio/
Duio_fsl_elbc_gpcm.c296 *name = kstrdup(dt_name, GFP_KERNEL); in get_of_data()
385 info->mem[0].name = kstrdup(node->name, GFP_KERNEL); in uio_fsl_elbc_gpcm_probe()
/linux-4.1.27/arch/s390/hypfs/
Dinode.c137 filp->private_data = kstrdup(data, GFP_KERNEL); in hypfs_open()
404 buffer = kstrdup(tmp, GFP_KERNEL); in hypfs_create_u64()
/linux-4.1.27/security/selinux/ss/
Dcontext.h125 dst->str = kstrdup(src->str, GFP_ATOMIC); in context_cpy()
Dservices.c1023 *scontext = kstrdup(context->str, GFP_ATOMIC); in context_struct_to_string()
1263 str = kstrdup(scontext2, gfp_flags); in security_context_to_sid_core()
1700 s = kstrdup(c->str, GFP_KERNEL); in convert_context()
2716 classes[value] = kstrdup(name, GFP_ATOMIC); in get_classes_callback()
2755 perms[value] = kstrdup(name, GFP_ATOMIC); in get_permissions_callback()
3235 secattr->domain = kstrdup(sym_name(&policydb, SYM_TYPES, ctx->type - 1), in security_netlbl_sid_to_secattr()
Dmls.c387 tmpstr = freestr = kstrdup(str, gfp_mask); in mls_from_string()
Dpolicydb.c187 key = kstrdup(OBJECT_R, GFP_KERNEL); in roles_init()
/linux-4.1.27/arch/arm/mach-exynos/
Dpm_domains.c138 pd->pd.name = kstrdup(dev_name(dev), GFP_KERNEL); in exynos4_pm_init_power_domain()
/linux-4.1.27/drivers/staging/i2o/
Dmemory.c273 pool->name = kstrdup(name, GFP_KERNEL); in i2o_pool_alloc()
/linux-4.1.27/drivers/char/
Dmisc.c272 return kstrdup(c->nodename, GFP_KERNEL); in misc_devnode()
/linux-4.1.27/include/linux/wimax/
Ddebug.h498 params_orig = kstrdup(_params, GFP_KERNEL); in d_parse_params()
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_dev_frontend.c243 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter()
247 watch->token = kstrdup(token, GFP_KERNEL); in alloc_watch_adapter()
/linux-4.1.27/block/
Dcmdline-parser.c173 next = pbuf = buf = kstrdup(cmdline, GFP_KERNEL); in cmdline_parts_parse()
/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c111 str = kstrdup(s, GFP_KERNEL); in usb_string_copy()
257 name = kstrdup(page, GFP_KERNEL); in gadget_dev_desc_UDC_store()
676 cfg->c.label = kstrdup(buf, GFP_KERNEL); in config_desc_make()
1102 ext_prop->name = kstrdup(name, GFP_KERNEL); in ext_prop_make()
1507 gi->composite.gadget_driver.function = kstrdup(name, GFP_KERNEL); in gadgets_make()
/linux-4.1.27/kernel/gcov/
Dfs.c309 copy = kstrdup(path, GFP_KERNEL); in link_target()
579 filename = kstrdup(gcov_info_filename(info), GFP_KERNEL); in add_node()
Dgcc_3_4.c256 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
Dgcc_4_7.c269 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
/linux-4.1.27/drivers/mtd/devices/
Dphram.c184 name = kstrdup(token, GFP_KERNEL); in parse_name()
/linux-4.1.27/arch/arm/mach-omap2/
Dmux.c902 options = kstrdup(omap_mux_options, GFP_KERNEL); in omap_mux_set_cmdline_signals()
935 dst->muxnames[i] = kstrdup(src->muxnames[i], in omap_mux_copy_names()
945 dst->balls[i] = kstrdup(src->balls[i], GFP_KERNEL); in omap_mux_copy_names()
Dusb-host.c393 config->supply_name = kstrdup(name, GFP_KERNEL); in usbhs_add_regulator()
/linux-4.1.27/init/
Dinitramfs.c135 de->name = kstrdup(name, GFP_KERNEL); in dir_add()
348 vcollected = kstrdup(collected, GFP_KERNEL); in do_name()
/linux-4.1.27/drivers/media/pci/cx25821/
Dcx25821-audio-upstream.c660 dev->_audiofilename = kstrdup(dev->input_audiofilename, in cx25821_audio_upstream_init()
663 dev->_audiofilename = kstrdup(_defaultAudioName, in cx25821_audio_upstream_init()
/linux-4.1.27/sound/pci/hda/
Dhda_bind.c61 codec->core.chip_name = kstrdup(name, GFP_KERNEL); in codec_refresh_name()
Dhda_sysfs.c584 (*codecp)->modelname = kstrdup(buf, GFP_KERNEL); in parse_model_mode()
591 (*codecp)->core.chip_name = kstrdup(buf, GFP_KERNEL); in parse_chip_name_mode()
Dpatch_via.c792 codec->core.chip_name = kstrdup("VT1708BCE", GFP_KERNEL); in patch_vt1708S()
800 codec->core.chip_name = kstrdup("VT1705", GFP_KERNEL); in patch_vt1708S()
Dhda_generic.c79 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
81 knew->name = kstrdup(knew->name, GFP_KERNEL); in snd_hda_gen_add_kctl()
/linux-4.1.27/net/netlabel/
Dnetlabel_kapi.c118 entry->domain = kstrdup(domain, GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
349 entry->domain = kstrdup(domain, GFP_ATOMIC); in netlbl_cfg_cipsov4_map_add()
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c683 p->u.board.status = kstrdup("No", GFP_KERNEL); in dgap_parsefile()
708 p->u.board.portstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
726 p->u.board.addrstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
744 p->u.board.pcibusstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
755 p->u.board.pcislotstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
773 p->u.board.method = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
787 p->u.board.status = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
837 p->u.board.status = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
840 p->u.conc.id = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
843 p->u.module.id = kstrdup(s, GFP_KERNEL); in dgap_parsefile()
[all …]
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-clk.c234 clk->dev_id = kstrdup(dev_id, GFP_KERNEL); in v4l2_clk_register()
/linux-4.1.27/net/sunrpc/
Daddr.c296 return kstrdup(addrbuf, gfp_flags); in rpc_sockaddr2uaddr()
Dxprtsock.c257 kstrdup(buf, GFP_KERNEL); in xs_format_common_peer_addresses()
262 kstrdup(buf, GFP_KERNEL); in xs_format_common_peer_addresses()
269 kstrdup(buf, GFP_KERNEL); in xs_format_common_peer_addresses()
277 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xs_format_common_peer_addresses()
286 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xs_format_common_peer_ports()
289 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xs_format_common_peer_ports()
Dsvcauth_unix.c70 new->h.name = kstrdup(name, GFP_KERNEL); in unix_domain_find()
Dxprt.c1372 xprt->servername = kstrdup(args->servername, GFP_KERNEL); in xprt_create_transport()
/linux-4.1.27/drivers/extcon/
Dextcon-palmas.c196 palmas_usb->edev->name = kstrdup(node->name, GFP_KERNEL); in palmas_usb_probe()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_parameters.c159 param->name = kstrdup(name, GFP_KERNEL); in iscsi_set_default_param()
165 param->value = kstrdup(value, GFP_KERNEL); in iscsi_set_default_param()
623 new_param->name = kstrdup(param->name, GFP_KERNEL); in iscsi_copy_param_list()
624 new_param->value = kstrdup(param->value, GFP_KERNEL); in iscsi_copy_param_list()
727 param->value = kstrdup(value, GFP_KERNEL); in iscsi_update_param_value()
Discsi_target_auth.c78 tmp = kstrdup(a_str, GFP_KERNEL); in chap_check_algorithm()
/linux-4.1.27/arch/um/kernel/
Dprocess.c238 return kstrdup(string, GFP_KERNEL); in uml_strdup()
/linux-4.1.27/drivers/gpio/
Dgpiolib-of.c292 gc->label = kstrdup(np->full_name, GFP_KERNEL); in of_mm_gpiochip_add()
/linux-4.1.27/drivers/base/power/
Dclock_ops.c86 ce->con_id = kstrdup(con_id, GFP_KERNEL); in __pm_clk_add()
Dwakeup.c88 wakeup_source_prepare(ws, name ? kstrdup(name, GFP_KERNEL) : NULL); in wakeup_source_create()
/linux-4.1.27/drivers/pci/
Dslot.c143 new_name = kstrdup(name, GFP_KERNEL); in make_slot_name()
/linux-4.1.27/fs/cifs/
Dconnect.c1183 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname()
1603 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1705 vol->domainname = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1737 vol->iocharset = kstrdup(string, in cifs_parse_mount_options()
2495 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
2502 ses->password = kstrdup(volume_info->password, GFP_KERNEL); in cifs_get_smb_ses()
2507 ses->domainName = kstrdup(volume_info->domainname, GFP_KERNEL); in cifs_get_smb_ses()
2622 tcon->password = kstrdup(volume_info->password, GFP_KERNEL); in cifs_get_tcon()
Dcifsencrypt.c356 ses->domainName = kstrdup(defdmname, GFP_KERNEL); in build_avpair_blob()
/linux-4.1.27/net/ipv4/
Dtcp_cong.c294 saved_clone = clone = kstrdup(val, GFP_USER); in tcp_set_allowed_congestion_control()
/linux-4.1.27/arch/arm/mach-mxs/
Dmach-mxs.c189 newmac->name = kstrdup("local-mac-address", GFP_KERNEL); in update_fec_mac_prop()
/linux-4.1.27/lib/
Ddynamic_debug.c849 new_name = kstrdup(name, GFP_KERNEL); in ddebug_add_module()
1029 cmdline = kstrdup(saved_command_line, GFP_KERNEL); in dynamic_debug_init()
Dkobject.c471 name = dup_name = kstrdup(new_name, GFP_KERNEL); in kobject_rename()
/linux-4.1.27/drivers/video/fbdev/via/
Dviafbdev.c1980 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); in viafb_setup()
1982 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup()
2010 viafb_active_dev = kstrdup(this_opt + 17, GFP_KERNEL); in viafb_setup()
2036 viafb_lcd_port = kstrdup(this_opt + 15, GFP_KERNEL); in viafb_setup()
2038 viafb_dvi_port = kstrdup(this_opt + 15, GFP_KERNEL); in viafb_setup()
/linux-4.1.27/arch/xtensa/platforms/iss/
Dsimdisk.c163 filename = kstrdup(filename, GFP_KERNEL); in simdisk_attach()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dxattr_cache.c129 xattr->xe_name = kstrdup(xattr_name, GFP_NOFS); in ll_xattr_cache_add()
/linux-4.1.27/fs/ceph/
Dsuper.c347 fsopt->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL); in parse_mount_options()
723 req->r_path1 = kstrdup(path, GFP_NOFS); in open_root_dentry()
Dxattr.c882 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_sync_setxattr()
1029 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_send_removexattr()
Ddir.c345 req->r_path2 = kstrdup(fi->last_name, GFP_NOFS); in ceph_readdir()
767 req->r_path2 = kstrdup(dest, GFP_NOFS); in ceph_symlink()
/linux-4.1.27/sound/hda/
Dhdac_device.c602 codec->vendor_name = kstrdup(c->name, GFP_KERNEL); in get_codec_vendor_name()
/linux-4.1.27/kernel/
Dkmod.c85 module_name = kstrdup(module_name, GFP_KERNEL); in call_modprobe()
Daudit_watch.c219 path = kstrdup(old->path, GFP_KERNEL); in audit_dupe_watch()
Dauditfilter.c722 lsm_str = kstrdup(sf->lsm_str, GFP_KERNEL); in audit_dupe_lsm_field()
799 fk = kstrdup(old->filterkey, GFP_KERNEL); in audit_dupe_rule()
Dauditsc.c692 ctx->filterkey = kstrdup(rule->filterkey, GFP_ATOMIC); in audit_filter_rules()
717 *key = kstrdup(e->rule.filterkey, GFP_ATOMIC); in audit_filter_task()
Dmodule.c600 mod->field = kstrdup(s, GFP_KERNEL); \
1357 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs()
Dcgroup.c5359 agentbuf = kstrdup(cgrp->root->release_agent_path, GFP_KERNEL); in cgroup_release_agent()
/linux-4.1.27/fs/overlayfs/
Dsuper.c754 char *tmp = kstrdup(name, GFP_KERNEL); in ovl_mount_dir()
887 lowertmp = kstrdup(ufs->config.lowerdir, GFP_KERNEL); in ovl_fill_super()
/linux-4.1.27/drivers/mtd/nand/
Dtxx9ndfmc.c355 txx9_priv->mtdname = kstrdup(dev_name(&dev->dev), in txx9ndfmc_probe()
/linux-4.1.27/fs/afs/
Dsuper.c361 char *new_opts = kstrdup(options, GFP_KERNEL); in afs_mount()
/linux-4.1.27/drivers/scsi/device_handler/
Dscsi_dh.c585 handler_name = kstrdup(sdev->scsi_dh_data->scsi_dh->name, gfp); in scsi_dh_attached_handler_name()
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_aux.c96 str_saved = kstrdup(devstr, GFP_KERNEL); in zfcp_init_device_setup()
/linux-4.1.27/drivers/target/
Dtarget_core_user.c661 udev->name = kstrdup(name, GFP_KERNEL); in tcmu_alloc_device()
960 opts = kstrdup(page, GFP_KERNEL); in tcmu_set_configfs_dev_params()
Dtarget_core_rd.c610 opts = kstrdup(page, GFP_KERNEL); in rd_set_configfs_dev_params()
Dtarget_core_iblock.c545 opts = kstrdup(page, GFP_KERNEL); in iblock_set_configfs_dev_params()
Dtarget_core_file.c734 opts = kstrdup(page, GFP_KERNEL); in fd_set_configfs_dev_params()
Dtarget_core_pscsi.c735 opts = kstrdup(page, GFP_KERNEL); in pscsi_set_configfs_dev_params()
Dtarget_core_configfs.c1051 opts = kstrdup(page, GFP_KERNEL); in target_core_dev_pr_store_attr_res_aptpl_metadata()
1575 map_entries = kstrdup(page, GFP_KERNEL); in target_core_store_dev_lba_map()
/linux-4.1.27/drivers/platform/x86/
Dalienware-wmi.c404 name = kstrdup(buffer, GFP_KERNEL); in alienware_zone_init()
Dthinkpad_acpi.c9053 tp->bios_version_str = kstrdup(s, GFP_KERNEL); in get_thinkpad_model_data()
9081 tp->ec_version_str = kstrdup(ec_fw_string, GFP_KERNEL); in get_thinkpad_model_data()
9103 tp->model_str = kstrdup(s, GFP_KERNEL); in get_thinkpad_model_data()
9109 tp->model_str = kstrdup(s, GFP_KERNEL); in get_thinkpad_model_data()
9116 tp->nummodel_str = kstrdup(s, GFP_KERNEL); in get_thinkpad_model_data()
Dasus-laptop.c1763 asus->name = kstrdup(string, GFP_KERNEL); in asus_laptop_get_info()
/linux-4.1.27/fs/debugfs/
Dinode.c502 char *link = kstrdup(target, GFP_KERNEL); in debugfs_create_symlink()
/linux-4.1.27/drivers/mfd/
Dipaq-micro.c237 return kstrdup(retstr, GFP_KERNEL); in ipaq_micro_str()
/linux-4.1.27/drivers/s390/char/
Dkeyboard.c73 kbd->func_table[i] = kstrdup(func_table[i], in kbd_alloc()
/linux-4.1.27/drivers/input/touchscreen/
Dusbtouchscreen.c932 firmware_ver = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
936 device_name = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
/linux-4.1.27/fs/affs/
Dsuper.c528 new_opts = kstrdup(data, GFP_KERNEL); in affs_remount()
/linux-4.1.27/arch/arm/plat-orion/
Dgpio.c548 ochip->chip.label = kstrdup(gc_label, GFP_KERNEL); in orion_gpio_init()
/linux-4.1.27/drivers/of/
Ddynamic.c378 new->name = kstrdup(prop->name, allocflags); in __of_prop_dup()
Dbase.c2067 kstrdup(of_stdout_options, GFP_KERNEL)); in of_console_check()
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c339 gpt->gc.label = kstrdup(node->full_name, GFP_KERNEL); in mpc52xx_gpt_gpio_setup()
/linux-4.1.27/fs/reiserfs/
Dsuper.c1231 qf_names[qtype] = kstrdup(arg, GFP_KERNEL); in reiserfs_parse_options()
1394 char *new_opts = kstrdup(arg, GFP_KERNEL); in reiserfs_remount()
1900 sbi->s_jdev = kstrdup(jdev_name, GFP_KERNEL); in reiserfs_fill_super()
/linux-4.1.27/net/9p/
Dtrans_rdma.c188 tmp_options = kstrdup(params, GFP_KERNEL); in parse_opts()
Dtrans_fd.c742 tmp_options = kstrdup(params, GFP_KERNEL); in parse_opts()
Dclient.c137 tmp_options = kstrdup(opts, GFP_KERNEL); in parse_opts()
/linux-4.1.27/arch/um/drivers/
Dmconsole_kern.c726 notify_socket = kstrdup(notify_socket, GFP_KERNEL); in mconsole_init()
Dline.c394 char *new = kstrdup(init, GFP_KERNEL); in setup_one_line()
Dnet_kern.c688 str = kstrdup(str, GFP_KERNEL); in net_config()
Dubd_kern.c906 str = kstrdup(str, GFP_KERNEL); in ubd_config()
/linux-4.1.27/drivers/phy/
Dphy-qcom-ufs.c254 vreg->name = kstrdup(name, GFP_KERNEL); in __ufs_qcom_phy_init_vreg()
/linux-4.1.27/fs/nfsd/
Dexport.c417 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
426 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
/linux-4.1.27/drivers/powercap/
Dpowercap_sys.c541 power_zone->name = kstrdup(name, GFP_KERNEL); in powercap_register_zone()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_ioctl.c147 master->unique = kstrdup(dev->unique, GFP_KERNEL); in drm_set_busid()
/linux-4.1.27/drivers/acpi/
Dsysfs.c685 name = kstrdup(buffer, GFP_KERNEL); in acpi_irq_stats_init()
Dscan.c1970 id->id = kstrdup(dev_id, GFP_KERNEL); in acpi_add_id()
2057 pnp->unique_id = kstrdup(info->unique_id.string, in acpi_set_pnp_ids()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c1357 str = kstrdup(scale, GFP_KERNEL); in intel_cqm_init()
/linux-4.1.27/net/dsa/
Ddsa.c652 cd->port_names[port_index] = kstrdup(port_name, in dsa_of_probe()
/linux-4.1.27/fs/btrfs/
Dsuper.c410 options = kstrdup(options, GFP_NOFS); in btrfs_parse_options()
783 opts = kstrdup(options, GFP_KERNEL); in btrfs_parse_early_options()
/linux-4.1.27/fs/
Dxattr.c856 new_xattr->name = kstrdup(name, GFP_KERNEL); in __simple_xattr_set()
Dnamespace.c1199 rcu_assign_pointer(sb->s_options, kstrdup(options, GFP_KERNEL)); in save_mount_options()
2304 mnt->mnt_sb->s_subtype = kstrdup(subtype, GFP_KERNEL); in fs_set_subtype()
Dexec.c1205 bprm->interp = kstrdup(interp, GFP_KERNEL); in bprm_change_interp()
/linux-4.1.27/security/apparmor/
Dpolicy.c138 policy->hname = kstrdup(name, GFP_KERNEL); in policy_init()
/linux-4.1.27/net/sunrpc/auth_gss/
Dsvcauth_gss.c507 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); in rsc_parse()
785 new->h.name = kstrdup(name, GFP_KERNEL); in svcauth_gss_register_pseudoflavor()
Dauth_gss.c998 gss_auth->target_name = kstrdup(args->target_name, GFP_KERNEL); in gss_create_new()
/linux-4.1.27/drivers/iommu/
Diommu.c295 group->name = kstrdup(name, GFP_KERNEL); in iommu_group_set_name()
Domap-iommu.c1350 arch_data->name = kstrdup(dev_name(&pdev->dev), GFP_KERNEL); in omap_iommu_add_device()
/linux-4.1.27/drivers/mtd/
Dmtdpart.c361 name = kstrdup(part->name, GFP_KERNEL); in allocate_partition()
/linux-4.1.27/drivers/pinctrl/sirf/
Dpinctrl-sirf.c809 sgpio->chip.gc.label = kstrdup(np->full_name, GFP_KERNEL); in sirfsoc_gpio_probe()
/linux-4.1.27/security/smack/
Dsmack_lsm.c862 *value = kstrdup(isp->smk_known, GFP_NOFS); in smack_inode_init_security()
3285 cp = kstrdup(skp->smk_known, GFP_KERNEL); in smack_getprocattr()
4057 copy = kstrdup(skp->smk_known, GFP_KERNEL); in smack_key_getsecurity()
/linux-4.1.27/sound/soc/codecs/
Dsgtl5000.c867 ldo->desc.name = kstrdup(dev_name(codec->dev), GFP_KERNEL); in ldo_regulator_register()
/linux-4.1.27/drivers/iio/
Dindustrialio-core.c605 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init()
/linux-4.1.27/drivers/usb/gadget/function/
Df_midi.c1144 midi->id = kstrdup(opts->id, GFP_KERNEL); in f_midi_alloc()
Df_fs.c1305 ffs->dev_name = kstrdup(dev_name, GFP_KERNEL); in ffs_fs_mount()
/linux-4.1.27/drivers/media/tuners/
Dtuner-xc2028.c1408 priv->ctrl.fname = kstrdup(p->fname, GFP_KERNEL); in xc2028_set_config()
/linux-4.1.27/drivers/net/wimax/i2400m/
Dfw.c328 options_orig = kstrdup(_options, GFP_KERNEL); in i2400m_barker_db_init()
/linux-4.1.27/fs/f2fs/
Dsuper.c1010 options = kstrdup((const char *)data, GFP_KERNEL); in f2fs_fill_super()
/linux-4.1.27/drivers/hwmon/
Dasus_atk0110.c916 sensor->acpi_name = kstrdup(name->string.pointer, GFP_KERNEL); in atk_add_sensor()
/linux-4.1.27/drivers/block/
Drbd.c1030 return kstrdup(snap_name, GFP_KERNEL); in _rbd_dev_v1_snap_name()
4545 pool_name = kstrdup(pool_name, GFP_KERNEL); in rbd_spec_fill_names()
5072 image_id = kstrdup("", GFP_KERNEL); in rbd_dev_image_id()
/linux-4.1.27/sound/soc/
Dsoc-core.c2525 return kstrdup(name, GFP_KERNEL); in fmt_single_name()
2542 return kstrdup(dai_drv->name, GFP_KERNEL); in fmt_multiple_name()
/linux-4.1.27/sound/core/oss/
Dmixer_oss.c1218 tbl->name = kstrdup(str, GFP_KERNEL); in snd_mixer_oss_proc_write()
Dpcm_oss.c2944 template.task_name = kstrdup(task_name, GFP_KERNEL); in snd_pcm_oss_proc_write()
/linux-4.1.27/drivers/char/ipmi/
Dipmi_ssif.c1718 addr_info->adapter_name = kstrdup(adapter_name, GFP_KERNEL); in new_ssif_client()
Dipmi_si_intf.c1789 char *str = kstrdup(val, GFP_KERNEL); in hotmod_handler()
/linux-4.1.27/drivers/staging/android/ion/
Dion.c776 client->name = kstrdup(name, GFP_KERNEL); in ion_client_create()
/linux-4.1.27/fs/ext4/
Dsuper.c3438 char *orig_data = kstrdup(data, GFP_KERNEL); in ext4_fill_super()
4895 char *orig_data = kstrdup(data, GFP_KERNEL); in ext4_remount()
4910 old_opts.s_qf_names[i] = kstrdup(sbi->s_qf_names[i], in ext4_remount()
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmdomain.c1969 dlm->name = kstrdup(domain, GFP_KERNEL); in dlm_alloc_ctxt()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c2173 str = kstrdup(def_mode, GFP_KERNEL); in omapfb_parse_def_modes()
/linux-4.1.27/kernel/sched/
Dcore.c5179 entry->procname = kstrdup(buf, GFP_KERNEL); in sd_alloc_ctl_cpu_table()
5203 entry->procname = kstrdup(buf, GFP_KERNEL); in register_sched_domain_sysctl()
/linux-4.1.27/fs/ext3/
Dsuper.c2669 old_opts.s_qf_names[i] = kstrdup(sbi->s_qf_names[i], in ext3_remount()
/linux-4.1.27/drivers/scsi/
Dlibiscsi.c3181 new_val = kstrdup(new_val_buf, GFP_NOIO); in iscsi_switch_str_param()
/linux-4.1.27/sound/pci/cs46xx/
Dcs46xx_lib.c421 module->module_name = kstrdup(fw_name, GFP_KERNEL); in load_firmware()
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c2930 options = kstrdup(buf, GFP_KERNEL); in srp_parse_options()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_main.c2585 resource->name = kstrdup(name, GFP_KERNEL); in drbd_create_resource()

12