Home
last modified time | relevance | path

Searched refs:kmemdup_nul (Results 1 – 25 of 42) sorted by relevance

12

/linux-5.19.10/net/dns_resolver/
Ddns_query.c154 *_result = kmemdup_nul(upayload->data, len, GFP_KERNEL); in dns_query()
/linux-5.19.10/drivers/leds/trigger/
Dledtrig-tty.c53 ttyname = kmemdup_nul(buf, size, GFP_KERNEL); in ttyname_store()
/linux-5.19.10/fs/nfs/
Dsysfs.c112 p = kmemdup_nul(buf, len, GFP_KERNEL); in nfs_netns_identifier_store()
Dfscache.c93 nfss->fscache_uniq = kmemdup_nul(uniq, ulen, GFP_KERNEL); in nfs_fscache_get_super_cookie()
Ddns_resolve.c95 new->hostname = kmemdup_nul(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init()
Dnfs4namespace.c515 hostname = kmemdup_nul(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location()
Dfs_context.c915 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL); in nfs_parse_source()
921 ctx->nfs_server.export_path = kmemdup_nul(end, len, GFP_KERNEL); in nfs_parse_source()
/linux-5.19.10/lib/
Dparser.c360 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
/linux-5.19.10/drivers/auxdisplay/
Dline-display.c96 new_msg = kmemdup_nul(msg, count, GFP_KERNEL); in linedisp_display()
/linux-5.19.10/include/linux/
Dstring.h180 extern char *kmemdup_nul(const char *s, size_t len, gfp_t gfp);
/linux-5.19.10/kernel/trace/
Dtrace_events_inject.c57 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_field()
Dtrace_events_synth.c647 field->name = kmemdup_nul(field_name, len, GFP_KERNEL); in parse_synth_field()
1494 name = kmemdup_nul(raw_command, p ? p - raw_command : strlen(raw_command), GFP_KERNEL); in create_or_delete_synth_event()
2098 name = kmemdup_nul(raw_command + len, p - raw_command - len, GFP_KERNEL); in create_synth_event()
Dtrace_events_filter.c1062 buf = kmemdup_nul(s->buffer, s->seq.len, GFP_KERNEL); in append_filter_err()
1280 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_pred()
/linux-5.19.10/mm/
Dutil.c145 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul() function
159 EXPORT_SYMBOL(kmemdup_nul);
/linux-5.19.10/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c232 return kmemdup_nul(netobj->data, netobj->len, GFP_KERNEL); in gssp_stringify()
/linux-5.19.10/Documentation/driver-api/firmware/
Dfw_upload.rst58 sec->fw_name = kmemdup_nul(fw_name, len, GFP_KERNEL);
/linux-5.19.10/drivers/accessibility/speakup/
Di18n.c558 newstr = kmemdup_nul(text, length, GFP_KERNEL); in spk_msg_set()
/linux-5.19.10/drivers/acpi/
Dacpi_tad.c163 str = kmemdup_nul(buf, count, GFP_KERNEL); in time_store()
/linux-5.19.10/fs/
Dfs_context.c178 param.string = kmemdup_nul(value, v_size, GFP_KERNEL); in vfs_parse_fs_string()
/linux-5.19.10/Documentation/core-api/
Dkernel-api.rst46 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/linux-5.19.10/drivers/nvme/target/
Dconfigfs.c355 ns->device_path = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_ns_device_path_store()
1235 subsys->model_number = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_subsys_attr_model_store_locked()
/linux-5.19.10/fs/nfsd/
Dnfs4recover.c436 name.data = kmemdup_nul(child->d_name.name, child->d_name.len, GFP_KERNEL); in purge_old()
491 name.data = kmemdup_nul(child->d_name.name, child->d_name.len, GFP_KERNEL); in load_recdir()
/linux-5.19.10/fs/erofs/
Dsuper.c242 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device()
/linux-5.19.10/drivers/net/ethernet/sfc/
Defx.c927 efx->vpd_sn = kmemdup_nul(vpd_data + start, kw_len, GFP_KERNEL); in efx_probe_vpd_strings()
/linux-5.19.10/drivers/net/ethernet/sfc/siena/
Defx.c910 efx->vpd_sn = kmemdup_nul(vpd_data + start, kw_len, GFP_KERNEL); in efx_probe_vpd_strings()

12