Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dkstrdup.cocci2 /// Use kstrdup rather than duplicating its implementation
24 + to = kstrdup(from, flag);
39 + to = kstrdup(from, flag);
80 cocci.print_main("WARNING opportunity for kstrdup",p1)
88 cocci.print_main("WARNING opportunity for kstrdup",p1)
96 msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line)
104 msg = "WARNING opportunity for kstrdup (memcpy on line %s)" % (p2[0].line)
/kernel/linux/linux-5.10/drivers/parport/
Dprobe.c84 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
87 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
92 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
107 info->cmdset = kstrdup(sep, GFP_KERNEL); in parse_data()
114 info->description = kstrdup(sep, GFP_KERNEL); in parse_data()
/kernel/linux/linux-5.10/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()
201 xprt->address_strings[RPC_DISPLAY_ADDR] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
204 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
207 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_format_addresses()
410 xprt->address_strings[RPC_DISPLAY_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_set_port()
414 xprt->address_strings[RPC_DISPLAY_HEX_PORT] = kstrdup(buf, GFP_KERNEL); in xprt_rdma_set_port()
/kernel/linux/linux-5.10/arch/arm/mach-versatile/
Dversatile_dt.c149 newprop->name = kstrdup("status", GFP_KERNEL); in versatile_dt_pci_init()
150 newprop->value = kstrdup("disabled", GFP_KERNEL); in versatile_dt_pci_init()
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dboard-v7.c132 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk()
134 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk()
/kernel/linux/linux-5.10/drivers/staging/hisysevent/
Dhiview_hisysevent.c165 payload->key = kstrdup(key, GFP_ATOMIC); in hisysevent_get_or_create_payload()
287 event->tz = kstrdup(time_zone, GFP_ATOMIC); in hisysevent_set_time()
336 event->domain = kstrdup(domain, GFP_ATOMIC); in hisysevent_create()
340 event->name = kstrdup(name, GFP_ATOMIC); in hisysevent_create()
/kernel/linux/linux-5.10/lib/
Dstring_helpers.c635 return kstrdup("<unknown>", gfp); in kstrdup_quotable_file()
640 return kstrdup("<no_memory>", gfp); in kstrdup_quotable_file()
644 pathname = kstrdup("<too_long>", gfp); in kstrdup_quotable_file()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_events_hist.c1206 attrs->action_str[attrs->n_actions] = kstrdup(str, GFP_KERNEL); in parse_action()
1224 attrs->keys_str = kstrdup(str + len, GFP_KERNEL); in parse_assignment()
1232 attrs->vals_str = kstrdup(str + len, GFP_KERNEL); in parse_assignment()
1238 attrs->sort_key_str = kstrdup(str + len, GFP_KERNEL); in parse_assignment()
1244 attrs->name = kstrdup(str, GFP_KERNEL); in parse_assignment()
1253 attrs->clock = kstrdup(str, GFP_KERNEL); in parse_assignment()
1275 assignment = kstrdup(str, GFP_KERNEL); in parse_assignment()
1331 attrs->clock = kstrdup("global", GFP_KERNEL); in parse_hist_trigger_attrs()
1634 hist_field->type = kstrdup("u64", GFP_KERNEL); in create_hist_field()
1650 hist_field->type = kstrdup(hist_field->operands[0]->type, GFP_KERNEL); in create_hist_field()
[all …]
Dtrace_boot.c254 q = kstrdup(p, GFP_KERNEL); in trace_boot_set_ftrace_filter()
264 q = kstrdup(p, GFP_KERNEL); in trace_boot_set_ftrace_filter()
/kernel/linux/linux-5.10/drivers/staging/hievent/
Dhiview_hievent.c137 payload->key = kstrdup(key, GFP_KERNEL); in hievent_put_integer()
172 payload->key = kstrdup(key, GFP_KERNEL); in hievent_put_string()
222 pool[i] = kstrdup(path, GFP_KERNEL); in append_array_item()
/kernel/linux/linux-5.10/sound/isa/gus/
Dgus_mem.c201 block.name = kstrdup(name, GFP_KERNEL); in snd_gf1_mem_alloc()
238 block.name = kstrdup("InterWave LFOs", GFP_KERNEL); in snd_gf1_mem_init()
244 block.name = kstrdup("Voice default (NULL's)", GFP_KERNEL); in snd_gf1_mem_init()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfb_cmdline.c58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
/kernel/linux/linux-5.10/drivers/regulator/
Dfixed-helper.c39 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Ddlpar.c60 prop->name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_property()
87 dn->full_name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_node()
522 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store()
/kernel/linux/linux-5.10/fs/cachefiles/
Ddaemon.c484 dir = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_dir()
512 secctx = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_secctx()
538 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag()
/kernel/linux/linux-5.10/kernel/gcov/
Dclang.c146 info->function_name = kstrdup(function_name, GFP_KERNEL); in llvm_gcda_emit_function()
343 fn_dup->function_name = kstrdup(fn->function_name, GFP_KERNEL); in gcov_fn_info_dup()
400 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dcgskip.txt39 kstrdup
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Ddsp_hwec.c57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
/kernel/linux/linux-5.10/kernel/
Dkmod.c83 module_name = kstrdup(module_name, GFP_KERNEL); in call_modprobe()
/kernel/linux/linux-5.10/fs/9p/
Dv9fs.c183 tmp_options = kstrdup(opts, GFP_KERNEL); in v9fs_parse_options()
393 v9ses->uname = kstrdup(V9FS_DEFUSER, GFP_KERNEL); in v9fs_session_init()
397 v9ses->aname = kstrdup(V9FS_DEFANAME, GFP_KERNEL); in v9fs_session_init()
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-clt-sysfs.c75 options = kstrdup(buf, GFP_KERNEL); in rnbd_clt_parse_map_options()
274 opt = kstrdup(buf, GFP_KERNEL); in rnbd_clt_unmap_dev_store()
377 opt = kstrdup(buf, GFP_KERNEL); in rnbd_clt_remap_dev_store()
/kernel/linux/linux-5.10/sound/core/
Dinfo_oss.c39 x = kstrdup(string, GFP_KERNEL); in snd_oss_info_register()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_mitigations.c38 str = kstrdup(val, GFP_KERNEL); in mitigations_set()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daic7770_osm.c88 name = kstrdup(buf, GFP_ATOMIC); in aic7770_probe()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dof_pmem.c33 priv->bus_desc.provider_name = kstrdup(pdev->name, GFP_KERNEL); in of_pmem_region_probe()

12345678910>>...13