/linux-4.4.14/drivers/parport/ |
D | probe.c | 83 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()
|
D | share.c | 871 devname = kstrdup(name, GFP_KERNEL); in parport_register_dev_model()
|
/linux-4.4.14/scripts/coccinelle/api/ |
D | kstrdup.cocci | 1 /// Use kstrdup rather than duplicating its implementation 23 + to = kstrdup(from, flag); 38 + to = kstrdup(from, flag);
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
D | board-v7.c | 133 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk() 135 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk()
|
D | kirkwood.c | 119 pmac->name = kstrdup("local-mac-address", GFP_KERNEL); in kirkwood_dt_eth_fixup()
|
D | coherency.c | 209 p->name = kstrdup("arm,io-coherent", GFP_KERNEL); in armada_375_380_coherency_init()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | transport.c | 160 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses4() 172 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses6() 195 xprt->address_strings[RPC_DISPLAY_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses() 198 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses() 201 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
|
/linux-4.4.14/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 100 newfreq->name = kstrdup("clock-frequency", GFP_KERNEL); in update_clock_frequency() 127 newmac->name = kstrdup("local-mac-address", GFP_KERNEL); in update_local_mac()
|
/linux-4.4.14/mm/ |
D | util.c | 44 char *kstrdup(const char *s, gfp_t gfp) in kstrdup() function 58 EXPORT_SYMBOL(kstrdup); 74 return kstrdup(s, gfp); in kstrdup_const()
|
D | zsmalloc.c | 1904 pool->name = kstrdup(name, GFP_KERNEL); in zs_create_pool()
|
/linux-4.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_slave_compat.c | 81 nprop->name = kstrdup(prop->name, GFP_KERNEL); in tilcdc_prop_dup() 120 prop->value = kstrdup(str, GFP_KERNEL); in tilcdc_prop_str_update()
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_mem.c | 216 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.4.14/drivers/regulator/ |
D | fixed-helper.c | 38 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
|
D | gpio-regulator.c | 266 drvdata->desc.name = kstrdup(config->supply_name, GFP_KERNEL); in gpio_regulator_probe()
|
D | core.c | 1234 node->dev_name = kstrdup(consumer_dev_name, GFP_KERNEL); in set_consumer_device_supply() 1285 regulator->supply_name = kstrdup(buf, GFP_KERNEL); in create_regulator() 1297 regulator->supply_name = kstrdup(supply_name, GFP_KERNEL); in create_regulator()
|
/linux-4.4.14/drivers/video/fbdev/core/ |
D | fb_cmdline.c | 58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
|
/linux-4.4.14/drivers/isdn/gigaset/ |
D | i4l.c | 260 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()
|
D | ev-layer.c | 463 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()
|
D | capi.c | 1405 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.4.14/fs/9p/ |
D | v9fs.c | 133 tmp_options = kstrdup(opts, GFP_KERNEL); in v9fs_parse_options() 326 v9ses->uname = kstrdup(V9FS_DEFUSER, GFP_KERNEL); in v9fs_session_init() 330 v9ses->aname = kstrdup(V9FS_DEFANAME, GFP_KERNEL); in v9fs_session_init()
|
/linux-4.4.14/drivers/scsi/ufs/ |
D | ufshcd-pltfrm.c | 118 clki->name = kstrdup(name, GFP_KERNEL); in ufshcd_parse_clock_info() 152 vreg->name = kstrdup(name, GFP_KERNEL); in ufshcd_populate_vreg()
|
/linux-4.4.14/fs/cachefiles/ |
D | daemon.c | 487 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()
|
D | bind.c | 72 cache->tag = kstrdup("CacheFiles", GFP_KERNEL); in cachefiles_daemon_bind()
|
/linux-4.4.14/sound/core/ |
D | info_oss.c | 54 x = kstrdup(string, GFP_KERNEL); in snd_oss_info_register()
|
D | jack.c | 229 jack->id = kstrdup(id, GFP_KERNEL); in snd_jack_new()
|
D | info.c | 709 entry->name = kstrdup(name, GFP_KERNEL); in snd_info_create_entry()
|
D | timer.c | 109 timeri->owner = kstrdup(owner, GFP_KERNEL); in snd_timer_instance_new()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7770_osm.c | 88 name = kstrdup(buf, GFP_ATOMIC); in aic7770_probe()
|
D | aic79xx_osm_pci.c | 181 name = kstrdup(buf, GFP_ATOMIC); in ahd_linux_pci_dev_probe()
|
D | aic7xxx_osm_pci.c | 228 name = kstrdup(buf, GFP_ATOMIC); in ahc_linux_pci_dev_probe()
|
/linux-4.4.14/fs/nfs/ |
D | getroot.c | 78 void *name = kstrdup(devname, GFP_KERNEL); in nfs_get_root()
|
D | nfs4client.c | 1217 server->nfs_client->cl_hostname = kstrdup(hostname, GFP_KERNEL); in nfs4_update_server()
|
D | client.c | 174 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client()
|
D | super.c | 2024 args->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); in nfs23_validate_mount_data()
|
/linux-4.4.14/drivers/fmc/ |
D | fmc-match.c | 98 fmc->mezzanine_name = kstrdup(fmc->id.product_name, GFP_KERNEL); in fmc_fill_id_info()
|
D | fmc-chardev.c | 144 fc->misc.name = kstrdup(dev_name(&fmc->dev), GFP_KERNEL); in fc_probe()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | param.c | 420 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.4.14/arch/powerpc/platforms/pseries/ |
D | reconfig.c | 36 np->full_name = kstrdup(path, GFP_KERNEL); in pSeries_reconfig_add_node() 181 if (!(new->name = kstrdup(name, GFP_KERNEL))) in new_property()
|
D | mobility.c | 104 new_prop->name = kstrdup(name, GFP_KERNEL); in update_dt_property()
|
D | dlpar.c | 57 prop->name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_property()
|
D | hotplug-memory.c | 94 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in dlpar_clone_drconf_property()
|
D | iommu.c | 1086 win64->name = kstrdup(DIRECT64_PROPNAME, GFP_KERNEL); in enable_ddw()
|
/linux-4.4.14/kernel/trace/ |
D | trace_uprobe.c | 254 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()
|
D | trace_kprobe.c | 120 sc->symbol = kstrdup(sym, GFP_KERNEL); in alloc_symbol_cache() 278 tk->symbol = kstrdup(symbol, GFP_KERNEL); in alloc_trace_kprobe() 297 tk->tp.call.name = kstrdup(event, GFP_KERNEL); in alloc_trace_kprobe() 306 tk->tp.class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_kprobe() 720 parg->name = kstrdup(argv[i], GFP_KERNEL); in create_trace_kprobe() 725 parg->name = kstrdup(buf, GFP_KERNEL); in create_trace_kprobe()
|
D | trace_probe.c | 515 parg->comm = kstrdup(arg, GFP_KERNEL); in traceprobe_parse_probe_arg()
|
D | trace_events_filter.c | 641 filter->filter_string = kstrdup(filter_string, GFP_KERNEL); in replace_filter_string() 1264 elt->operand = kstrdup(operand, GFP_KERNEL); in postfix_append_operand()
|
D | trace_events_trigger.c | 742 data->filter_str = kstrdup(filter_str, GFP_KERNEL); in set_trigger_filter()
|
D | blktrace.c | 1573 buf = kstrdup(str, GFP_KERNEL); in blk_trace_str2mask()
|
/linux-4.4.14/include/linux/ |
D | string.h | 121 extern char *kstrdup(const char *s, gfp_t gfp);
|
D | fsnotify.h | 320 return kstrdup(name, GFP_KERNEL); in fsnotify_oldname_init()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | rpaphp_slot.c | 65 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct()
|
/linux-4.4.14/drivers/base/ |
D | devtmpfs.c | 175 path = kstrdup(nodepath, GFP_KERNEL); in create_path() 257 path = kstrdup(nodepath, GFP_KERNEL); in delete_path()
|
D | core.c | 1368 s = kstrdup(dev_name(dev), GFP_KERNEL); in device_get_devnode() 1913 old_device_name = kstrdup(dev_name(dev), GFP_KERNEL); in device_rename()
|
/linux-4.4.14/net/nfc/hci/ |
D | llc.c | 63 llc_engine->name = kstrdup(name, GFP_KERNEL); in nfc_llc_register()
|
/linux-4.4.14/arch/arm/mach-mmp/ |
D | sram.c | 91 info->pool_name = kstrdup(pdata->pool_name, GFP_KERNEL); in sram_probe()
|
/linux-4.4.14/net/netfilter/ |
D | xt_LED.c | 131 ledinternal->trigger_id = kstrdup(ledinfo->id, GFP_KERNEL); in led_tg_check()
|
D | xt_IDLETIMER.c | 130 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); in idletimer_tg_create()
|
D | xt_hashlimit.c | 258 hinfo->name = kstrdup(minfo->name, GFP_KERNEL); in htable_create()
|
/linux-4.4.14/sound/synth/emux/ |
D | emux.c | 101 emu->name = kstrdup(name, GFP_KERNEL); in snd_emux_register()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_edid_load.c | 282 fwstr = kstrdup(edid_firmware, GFP_KERNEL); in drm_load_edid_firmware()
|
D | drm_ioctl.c | 144 master->unique = kstrdup(dev->unique, GFP_KERNEL); in drm_set_busid()
|
/linux-4.4.14/drivers/uio/ |
D | uio_fsl_elbc_gpcm.c | 296 *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.4.14/drivers/md/ |
D | dm-exception-store.c | 81 type_name_dup = kstrdup(type_name, GFP_KERNEL); in get_type()
|
D | dm-stats.c | 304 s->program_id = kstrdup(program_id, GFP_KERNEL); in dm_stats_create() 309 s->aux_data = kstrdup(aux_data, GFP_KERNEL); in dm_stats_create() 895 new_aux_data = kstrdup(aux_data, GFP_KERNEL); in dm_stats_set_aux() 1111 program = kstrdup(argv[1], GFP_KERNEL); in message_stats_list()
|
D | dm-ioctl.c | 169 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()
|
D | dm-log.c | 77 type_name_dup = kstrdup(type_name, GFP_KERNEL); in get_type()
|
D | dm-crypt.c | 1582 cc->cipher_string = kstrdup(cipher_in, GFP_KERNEL); in crypt_ctr_cipher() 1604 cc->cipher = kstrdup(cipher, GFP_KERNEL); in crypt_ctr_cipher()
|
D | dm-verity.c | 809 v->alg_name = kstrdup(argv[7], GFP_KERNEL); in verity_ctr()
|
D | dm-mpath.c | 727 m->hw_handler_name = kstrdup(dm_shift_arg(as), GFP_KERNEL); in parse_hw_handler()
|
D | dm-cache-target.c | 2970 copy[i] = kstrdup(argv[i], GFP_KERNEL); in copy_ctr_args()
|
/linux-4.4.14/kernel/ |
D | audit_watch.c | 218 path = kstrdup(old->path, GFP_KERNEL); in audit_dupe_watch() 527 pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL); in audit_dupe_exe()
|
D | kmod.c | 83 module_name = kstrdup(module_name, GFP_KERNEL); in call_modprobe()
|
D | auditfilter.c | 757 lsm_str = kstrdup(sf->lsm_str, GFP_KERNEL); in audit_dupe_lsm_field() 834 fk = kstrdup(old->filterkey, GFP_KERNEL); in audit_dupe_rule()
|
D | auditsc.c | 693 ctx->filterkey = kstrdup(rule->filterkey, GFP_ATOMIC); in audit_filter_rules() 718 *key = kstrdup(e->rule.filterkey, GFP_ATOMIC); in audit_filter_task()
|
D | module.c | 757 mod->field = kstrdup(s, GFP_KERNEL); \ 1520 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs()
|
/linux-4.4.14/arch/s390/hypfs/ |
D | inode.c | 132 filp->private_data = kstrdup(data, GFP_KERNEL); in hypfs_open() 399 buffer = kstrdup(tmp, GFP_KERNEL); in hypfs_create_u64()
|
/linux-4.4.14/security/selinux/ss/ |
D | context.h | 125 dst->str = kstrdup(src->str, GFP_ATOMIC); in context_cpy()
|
D | services.c | 1196 *scontext = kstrdup(context->str, GFP_ATOMIC); in context_struct_to_string() 1433 str = kstrdup(scontext2, gfp_flags); in security_context_to_sid_core() 1875 s = kstrdup(c->str, GFP_KERNEL); in convert_context() 2612 (*names)[i] = kstrdup(sym_name(&policydb, SYM_BOOLS, i), GFP_ATOMIC); in security_get_bools() 2885 classes[value] = kstrdup(name, GFP_ATOMIC); in get_classes_callback() 2924 perms[value] = kstrdup(name, GFP_ATOMIC); in get_permissions_callback() 3404 secattr->domain = kstrdup(sym_name(&policydb, SYM_TYPES, ctx->type - 1), in security_netlbl_sid_to_secattr()
|
D | mls.c | 387 tmpstr = freestr = kstrdup(str, gfp_mask); in mls_from_string()
|
D | policydb.c | 192 key = kstrdup(OBJECT_R, GFP_KERNEL); in roles_init()
|
/linux-4.4.14/include/linux/wimax/ |
D | debug.h | 498 params_orig = kstrdup(_params, GFP_KERNEL); in d_parse_params()
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_dev_frontend.c | 243 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter() 247 watch->token = kstrdup(token, GFP_KERNEL); in alloc_watch_adapter()
|
/linux-4.4.14/drivers/char/ |
D | misc.c | 274 return kstrdup(c->nodename, GFP_KERNEL); in misc_devnode()
|
/linux-4.4.14/block/ |
D | cmdline-parser.c | 173 next = pbuf = buf = kstrdup(cmdline, GFP_KERNEL); in cmdline_parts_parse()
|
/linux-4.4.14/drivers/usb/gadget/ |
D | configfs.c | 121 str = kstrdup(s, GFP_KERNEL); in usb_string_copy() 261 name = kstrdup(page, GFP_KERNEL); in gadget_dev_desc_UDC_store() 655 cfg->c.label = kstrdup(buf, GFP_KERNEL); in config_desc_make() 1043 ext_prop->name = kstrdup(name, GFP_KERNEL); in ext_prop_make() 1455 gi->composite.gadget_driver.function = kstrdup(name, GFP_KERNEL); in gadgets_make()
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_parameters.c | 139 param->name = kstrdup(name, GFP_KERNEL); in iscsi_set_default_param() 145 param->value = kstrdup(value, GFP_KERNEL); in iscsi_set_default_param() 600 new_param->name = kstrdup(param->name, GFP_KERNEL); in iscsi_copy_param_list() 601 new_param->value = kstrdup(param->value, GFP_KERNEL); in iscsi_copy_param_list() 704 param->value = kstrdup(value, GFP_KERNEL); in iscsi_update_param_value()
|
D | iscsi_target_auth.c | 78 tmp = kstrdup(a_str, GFP_KERNEL); in chap_check_algorithm()
|
/linux-4.4.14/kernel/gcov/ |
D | fs.c | 309 copy = kstrdup(path, GFP_KERNEL); in link_target() 579 filename = kstrdup(gcov_info_filename(info), GFP_KERNEL); in add_node()
|
D | gcc_3_4.c | 256 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
|
D | gcc_4_7.c | 271 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | phram.c | 184 name = kstrdup(token, GFP_KERNEL); in parse_name()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | mux.c | 902 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()
|
D | usb-host.c | 393 config->supply_name = kstrdup(name, GFP_KERNEL); in usbhs_add_regulator()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-audio-upstream.c | 660 dev->_audiofilename = kstrdup(dev->input_audiofilename, in cx25821_audio_upstream_init() 663 dev->_audiofilename = kstrdup(_defaultAudioName, in cx25821_audio_upstream_init()
|
/linux-4.4.14/init/ |
D | initramfs.c | 135 de->name = kstrdup(name, GFP_KERNEL); in dir_add() 348 vcollected = kstrdup(collected, GFP_KERNEL); in do_name()
|
/linux-4.4.14/net/netlabel/ |
D | netlabel_kapi.c | 118 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.4.14/net/sunrpc/ |
D | addr.c | 296 return kstrdup(addrbuf, gfp_flags); in rpc_sockaddr2uaddr()
|
D | xprtsock.c | 257 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()
|
D | svcauth_unix.c | 70 new->h.name = kstrdup(name, GFP_KERNEL); in unix_domain_find()
|
D | xprt.c | 1377 xprt->servername = kstrdup(args->servername, GFP_KERNEL); in xprt_create_transport()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-clk.c | 234 clk->dev_id = kstrdup(dev_id, GFP_KERNEL); in v4l2_clk_register()
|
/linux-4.4.14/arch/um/kernel/ |
D | process.c | 240 return kstrdup(string, GFP_KERNEL); in uml_strdup()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | dsp_pipeline.c | 250 dup = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_dh.c | 437 handler_name = kstrdup(sdev->handler->name, gfp); in scsi_dh_attached_handler_name()
|
D | libiscsi.c | 3183 new_val = kstrdup(new_val_buf, GFP_NOIO); in iscsi_switch_str_param()
|
/linux-4.4.14/drivers/staging/dgap/ |
D | dgap.c | 647 p->u.board.status = kstrdup("No", GFP_KERNEL); in dgap_parsefile() 673 p->u.board.addrstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 692 p->u.board.pcibusstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 704 p->u.board.pcislotstr = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 723 p->u.board.method = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 738 p->u.board.status = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 788 p->u.board.status = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 792 p->u.conc.id = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 796 p->u.module.id = kstrdup(s, GFP_KERNEL); in dgap_parsefile() 860 p->u.ttyname = kstrdup(s, GFP_KERNEL); in dgap_parsefile() [all …]
|
/linux-4.4.14/sound/hda/ |
D | hdac_device.c | 179 newname = kstrdup(name, GFP_KERNEL); in snd_hdac_device_set_chip_name() 687 codec->vendor_name = kstrdup(c->name, GFP_KERNEL); in get_codec_vendor_name()
|
/linux-4.4.14/drivers/gpio/ |
D | gpiolib-of.c | 289 gc->label = kstrdup(np->full_name, GFP_KERNEL); in of_mm_gpiochip_add()
|
/linux-4.4.14/drivers/base/power/ |
D | clock_ops.c | 88 ce->con_id = kstrdup(con_id, GFP_KERNEL); in __pm_clk_add()
|
/linux-4.4.14/drivers/pci/ |
D | slot.c | 146 new_name = kstrdup(name, GFP_KERNEL); in make_slot_name()
|
/linux-4.4.14/fs/cifs/ |
D | connect.c | 1200 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname() 1647 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options() 1749 vol->domainname = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options() 1781 vol->iocharset = kstrdup(string, in cifs_parse_mount_options() 2540 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses() 2547 ses->password = kstrdup(volume_info->password, GFP_KERNEL); in cifs_get_smb_ses() 2552 ses->domainName = kstrdup(volume_info->domainname, GFP_KERNEL); in cifs_get_smb_ses() 2667 tcon->password = kstrdup(volume_info->password, GFP_KERNEL); in cifs_get_tcon()
|
D | cifsencrypt.c | 356 ses->domainName = kstrdup(defdmname, GFP_KERNEL); in build_avpair_blob()
|
/linux-4.4.14/arch/arm/mach-mxs/ |
D | mach-mxs.c | 189 newmac->name = kstrdup("local-mac-address", GFP_KERNEL); in update_fec_mac_prop()
|
/linux-4.4.14/net/ipv4/ |
D | tcp_cong.c | 305 saved_clone = clone = kstrdup(val, GFP_USER); in tcp_set_allowed_congestion_control()
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | viafbdev.c | 1980 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.4.14/arch/xtensa/platforms/iss/ |
D | simdisk.c | 158 filename = kstrdup(filename, GFP_KERNEL); in simdisk_attach()
|
/linux-4.4.14/drivers/soc/dove/ |
D | pmu.c | 373 domain->base.name = kstrdup(np->name, GFP_KERNEL); in dove_init_pmu()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | xattr_cache.c | 124 xattr->xe_name = kstrdup(xattr_name, GFP_NOFS); in ll_xattr_cache_add()
|
/linux-4.4.14/fs/ceph/ |
D | super.c | 358 fsopt->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL); in parse_mount_options() 745 req->r_path1 = kstrdup(path, GFP_NOFS); in open_root_dentry()
|
D | xattr.c | 882 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_sync_setxattr() 1054 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_send_removexattr()
|
D | dir.c | 339 req->r_path2 = kstrdup(fi->last_name, GFP_KERNEL); in ceph_readdir() 777 req->r_path2 = kstrdup(dest, GFP_KERNEL); in ceph_symlink()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | txx9ndfmc.c | 355 txx9_priv->mtdname = kstrdup(dev_name(&dev->dev), in txx9ndfmc_probe()
|
/linux-4.4.14/fs/afs/ |
D | super.c | 361 char *new_opts = kstrdup(options, GFP_KERNEL); in afs_mount()
|
/linux-4.4.14/fs/overlayfs/ |
D | super.c | 839 char *tmp = kstrdup(name, GFP_KERNEL); in ovl_mount_dir() 984 lowertmp = kstrdup(ufs->config.lowerdir, GFP_KERNEL); in ovl_fill_super()
|
/linux-4.4.14/drivers/mfd/ |
D | ipaq-micro.c | 237 return kstrdup(retstr, GFP_KERNEL); in ipaq_micro_str()
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_aux.c | 96 str_saved = kstrdup(devstr, GFP_KERNEL); in zfcp_init_device_setup()
|
/linux-4.4.14/drivers/target/ |
D | target_core_user.c | 701 udev->name = kstrdup(name, GFP_KERNEL); in tcmu_alloc_device() 1007 opts = kstrdup(page, GFP_KERNEL); in tcmu_set_configfs_dev_params()
|
D | target_core_rd.c | 575 opts = kstrdup(page, GFP_KERNEL); in rd_set_configfs_dev_params()
|
D | target_core_file.c | 622 opts = kstrdup(page, GFP_KERNEL); in fd_set_configfs_dev_params()
|
D | target_core_iblock.c | 505 opts = kstrdup(page, GFP_KERNEL); in iblock_set_configfs_dev_params()
|
D | target_core_pscsi.c | 740 opts = kstrdup(page, GFP_KERNEL); in pscsi_set_configfs_dev_params()
|
D | target_core_configfs.c | 1506 opts = kstrdup(page, GFP_KERNEL); in target_pr_res_aptpl_metadata_store() 1990 map_entries = kstrdup(page, GFP_KERNEL); in target_dev_lba_map_store()
|
/linux-4.4.14/drivers/platform/x86/ |
D | alienware-wmi.c | 404 name = kstrdup(buffer, GFP_KERNEL); in alienware_zone_init()
|
D | thinkpad_acpi.c | 9053 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()
|
D | asus-laptop.c | 1765 asus->name = kstrdup(string, GFP_KERNEL); in asus_laptop_get_info()
|
/linux-4.4.14/fs/debugfs/ |
D | inode.c | 497 char *link = kstrdup(target, GFP_KERNEL); in debugfs_create_symlink()
|
/linux-4.4.14/sound/soc/ |
D | soc-topology.c | 872 se->dobj.control.dtexts[i] = kstrdup(ec->texts[i], GFP_KERNEL); in soc_tplg_denum_create_texts() 1396 template.name = kstrdup(w->name, GFP_KERNEL); in soc_tplg_dapm_widget_create() 1399 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create()
|
D | soc-core.c | 2523 return kstrdup(name, GFP_KERNEL); in fmt_single_name() 2540 return kstrdup(dai_drv->name, GFP_KERNEL); in fmt_multiple_name()
|
/linux-4.4.14/fs/btrfs/ |
D | super.c | 396 options = kstrdup(options, GFP_NOFS); in btrfs_parse_options() 785 opts = kstrdup(options, GFP_KERNEL); in btrfs_parse_early_options() 1248 return kstrdup("subvolid=0", GFP_NOFS); in setup_root_args()
|
/linux-4.4.14/drivers/s390/char/ |
D | keyboard.c | 73 kbd->func_table[i] = kstrdup(func_table[i], in kbd_alloc()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | usbtouchscreen.c | 932 firmware_ver = kstrdup(&buf[2], GFP_NOIO); in nexio_init() 936 device_name = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
|
/linux-4.4.14/drivers/of/ |
D | dynamic.c | 378 new->name = kstrdup(prop->name, allocflags); in __of_prop_dup()
|
D | base.c | 2064 kstrdup(of_stdout_options, GFP_KERNEL)); in of_console_check()
|
/linux-4.4.14/arch/arm/plat-orion/ |
D | gpio.c | 548 ochip->chip.label = kstrdup(gc_label, GFP_KERNEL); in orion_gpio_init()
|
/linux-4.4.14/fs/affs/ |
D | super.c | 530 new_opts = kstrdup(data, GFP_KERNEL); in affs_remount()
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 339 gpt->gc.label = kstrdup(node->full_name, GFP_KERNEL); in mpc52xx_gpt_gpio_setup()
|
/linux-4.4.14/fs/reiserfs/ |
D | super.c | 1231 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.4.14/arch/um/drivers/ |
D | mconsole_kern.c | 726 notify_socket = kstrdup(notify_socket, GFP_KERNEL); in mconsole_init()
|
D | line.c | 394 char *new = kstrdup(init, GFP_KERNEL); in setup_one_line()
|
D | net_kern.c | 689 str = kstrdup(str, GFP_KERNEL); in net_config()
|
D | ubd_kern.c | 906 str = kstrdup(str, GFP_KERNEL); in ubd_config()
|
/linux-4.4.14/net/9p/ |
D | trans_rdma.c | 186 tmp_options = kstrdup(params, GFP_KERNEL); in parse_opts()
|
D | trans_fd.c | 742 tmp_options = kstrdup(params, GFP_KERNEL); in parse_opts()
|
D | client.c | 137 tmp_options = kstrdup(opts, GFP_KERNEL); in parse_opts()
|
/linux-4.4.14/drivers/phy/ |
D | phy-qcom-ufs.c | 254 vreg->name = kstrdup(name, GFP_KERNEL); in __ufs_qcom_phy_init_vreg()
|
/linux-4.4.14/fs/nfsd/ |
D | export.c | 417 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.4.14/lib/ |
D | kobject.c | 278 t = kstrdup(s, GFP_KERNEL); in kobject_set_name_vargs()
|
D | dynamic_debug.c | 1029 cmdline = kstrdup(saved_command_line, GFP_KERNEL); in dynamic_debug_init()
|
/linux-4.4.14/drivers/powercap/ |
D | powercap_sys.c | 541 power_zone->name = kstrdup(name, GFP_KERNEL); in powercap_register_zone()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_sysfs.c | 584 (*codecp)->modelname = kstrdup(buf, GFP_KERNEL); in parse_model_mode()
|
D | hda_generic.c | 79 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()
|
D | hda_codec.c | 862 codec->modelname = kstrdup(codec->bus->modelname, GFP_KERNEL); in snd_hda_codec_new()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_cqm.c | 1361 str = kstrdup(scale, GFP_KERNEL); in intel_cqm_init()
|
/linux-4.4.14/drivers/acpi/ |
D | sysfs.c | 748 name = kstrdup(buffer, GFP_KERNEL); in acpi_irq_stats_init()
|
D | scan.c | 1254 pnp->unique_id = kstrdup(info->unique_id.string, in acpi_set_pnp_ids()
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 168 API-kstrdup 169 API-kstrdup-const
|
D | device-drivers.xml.db | 276 API-devm-kstrdup
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | core.c | 723 id = kstrdup(src->data->name, GFP_KERNEL); in stm_source_link_add()
|
/linux-4.4.14/security/apparmor/ |
D | policy.c | 138 policy->hname = kstrdup(name, GFP_KERNEL); in policy_init()
|
/linux-4.4.14/fs/ |
D | xattr.c | 879 new_xattr->name = kstrdup(name, GFP_KERNEL); in __simple_xattr_set()
|
D | namespace.c | 1210 rcu_assign_pointer(sb->s_options, kstrdup(options, GFP_KERNEL)); in save_mount_options() 2315 mnt->mnt_sb->s_subtype = kstrdup(subtype, GFP_KERNEL); in fs_set_subtype()
|
D | exec.c | 1211 bprm->interp = kstrdup(interp, GFP_KERNEL); in bprm_change_interp()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 507 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); in rsc_parse() 785 new->h.name = kstrdup(name, GFP_KERNEL); in svcauth_gss_register_pseudoflavor()
|
D | auth_gss.c | 998 gss_auth->target_name = kstrdup(args->target_name, GFP_KERNEL); in gss_create_new()
|
/linux-4.4.14/drivers/pinctrl/sirf/ |
D | pinctrl-sirf.c | 810 sgpio->chip.gc.label = kstrdup(np->full_name, GFP_KERNEL); in sirfsoc_gpio_probe()
|
/linux-4.4.14/net/dsa/ |
D | dsa.c | 785 cd->port_names[port_index] = kstrdup(port_name, in dsa_of_probe()
|
/linux-4.4.14/drivers/mtd/ |
D | mtdpart.c | 361 name = kstrdup(part->name, GFP_KERNEL); in allocate_partition()
|
/linux-4.4.14/sound/soc/codecs/ |
D | sgtl5000.c | 867 ldo->desc.name = kstrdup(dev_name(codec->dev), GFP_KERNEL); in ldo_regulator_register()
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 1048 *value = kstrdup(isp->smk_known, GFP_NOFS); in smack_inode_init_security() 3566 cp = kstrdup(skp->smk_known, GFP_KERNEL); in smack_getprocattr() 4366 copy = kstrdup(skp->smk_known, GFP_KERNEL); in smack_key_getsecurity()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_midi.c | 1140 midi->id = kstrdup(opts->id, GFP_KERNEL); in f_midi_alloc()
|
D | f_fs.c | 1305 ffs->dev_name = kstrdup(dev_name, GFP_KERNEL); in ffs_fs_mount()
|
/linux-4.4.14/drivers/iio/ |
D | industrialio-core.c | 629 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init()
|
/linux-4.4.14/drivers/iommu/ |
D | omap-iommu.c | 1259 arch_data->name = kstrdup(dev_name(&pdev->dev), GFP_KERNEL); in omap_iommu_add_device()
|
D | iommu.c | 313 group->name = kstrdup(name, GFP_KERNEL); in iommu_group_set_name()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | fw.c | 328 options_orig = kstrdup(_options, GFP_KERNEL); in i2400m_barker_db_init()
|
/linux-4.4.14/drivers/media/tuners/ |
D | tuner-xc2028.c | 1408 priv->ctrl.fname = kstrdup(p->fname, GFP_KERNEL); in xc2028_set_config()
|
/linux-4.4.14/drivers/pcmcia/ |
D | ds.c | 471 new = kstrdup(tmp, GFP_KERNEL); in pcmcia_device_query()
|
/linux-4.4.14/fs/f2fs/ |
D | super.c | 1160 options = kstrdup((const char *)data, GFP_KERNEL); in f2fs_fill_super()
|
/linux-4.4.14/drivers/hwmon/ |
D | asus_atk0110.c | 916 sensor->acpi_name = kstrdup(name->string.pointer, GFP_KERNEL); in atk_add_sensor()
|
/linux-4.4.14/drivers/block/ |
D | rbd.c | 1032 return kstrdup(snap_name, GFP_KERNEL); in _rbd_dev_v1_snap_name() 4555 pool_name = kstrdup(pool_name, GFP_KERNEL); in rbd_spec_fill_names() 5066 image_id = kstrdup("", GFP_KERNEL); in rbd_dev_image_id()
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion.c | 778 client->name = kstrdup(name, GFP_KERNEL); in ion_client_create()
|
/linux-4.4.14/sound/core/oss/ |
D | mixer_oss.c | 1219 tbl->name = kstrdup(str, GFP_KERNEL); in snd_mixer_oss_proc_write()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | mac80211_if.c | 1475 t->name = kstrdup(name, GFP_ATOMIC); in brcms_init_timer()
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_ssif.c | 1727 addr_info->adapter_name = kstrdup(adapter_name, GFP_KERNEL); in new_ssif_client()
|
D | ipmi_si_intf.c | 1805 char *str = kstrdup(val, GFP_KERNEL); in hotmod_handler()
|
/linux-4.4.14/fs/ext4/ |
D | super.c | 3104 char *orig_data = kstrdup(data, GFP_KERNEL); in ext4_fill_super() 4563 char *orig_data = kstrdup(data, GFP_KERNEL); in ext4_remount() 4578 old_opts.s_qf_names[i] = kstrdup(sbi->s_qf_names[i], in ext4_remount()
|
/linux-4.4.14/fs/ocfs2/dlm/ |
D | dlmdomain.c | 1977 dlm->name = kstrdup(domain, GFP_KERNEL); in dlm_alloc_ctxt()
|
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 2173 str = kstrdup(def_mode, GFP_KERNEL); in omapfb_parse_def_modes()
|
/linux-4.4.14/kernel/sched/ |
D | core.c | 5433 entry->procname = kstrdup(buf, GFP_KERNEL); in sd_alloc_ctl_cpu_table() 5457 entry->procname = kstrdup(buf, GFP_KERNEL); in register_sched_domain_sysctl()
|
/linux-4.4.14/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 421 module->module_name = kstrdup(fw_name, GFP_KERNEL); in load_firmware()
|