Searched refs:kstrdup (Results 1 - 200 of 208) sorted by relevance

12

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

Completed in 6593 milliseconds

12