/kernel/linux/linux-5.10/scripts/coccinelle/api/ |
D | kstrdup.cocci | 2 /// 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/ |
D | probe.c | 84 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/ |
D | transport.c | 166 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/ |
D | versatile_dt.c | 149 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/ |
D | board-v7.c | 132 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/ |
D | hiview_hisysevent.c | 165 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/ |
D | string_helpers.c | 635 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/ |
D | trace_events_hist.c | 1206 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 …]
|
D | trace_boot.c | 254 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/ |
D | hiview_hievent.c | 137 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/ |
D | gus_mem.c | 201 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/ |
D | fb_cmdline.c | 58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | fixed-helper.c | 39 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 60 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/ |
D | daemon.c | 484 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/ |
D | clang.c | 146 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/ |
D | cgskip.txt | 39 kstrdup
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | dsp_hwec.c | 57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
|
/kernel/linux/linux-5.10/kernel/ |
D | kmod.c | 83 module_name = kstrdup(module_name, GFP_KERNEL); in call_modprobe()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | v9fs.c | 183 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/ |
D | rnbd-clt-sysfs.c | 75 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/ |
D | info_oss.c | 39 x = kstrdup(string, GFP_KERNEL); in snd_oss_info_register()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_mitigations.c | 38 str = kstrdup(val, GFP_KERNEL); in mitigations_set()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic7770_osm.c | 88 name = kstrdup(buf, GFP_ATOMIC); in aic7770_probe()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | of_pmem.c | 33 priv->bus_desc.provider_name = kstrdup(pdev->name, GFP_KERNEL); in of_pmem_region_probe()
|