Home
last modified time | relevance | path

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

12

/linux-6.6.21/net/dns_resolver/
Ddns_query.c154 *_result = kmemdup_nul(upayload->data, len, GFP_KERNEL); in dns_query()
/linux-6.6.21/drivers/leds/trigger/
Dledtrig-tty.c55 ttyname = kmemdup_nul(buf, size, GFP_KERNEL); in ttyname_store()
/linux-6.6.21/lib/
Dparser.c361 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
/linux-6.6.21/drivers/auxdisplay/
Dline-display.c96 new_msg = kmemdup_nul(msg, count, GFP_KERNEL); in linedisp_display()
/linux-6.6.21/fs/smb/server/
Dasn1.c220 conn->mechToken = kmemdup_nul(value, vlen, GFP_KERNEL); in ksmbd_neg_token_alloc()
/linux-6.6.21/mm/
Dutil.c168 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul() function
182 EXPORT_SYMBOL(kmemdup_nul);
/linux-6.6.21/include/linux/
Dstring.h221 extern char *kmemdup_nul(const char *s, size_t len, gfp_t gfp);
/linux-6.6.21/kernel/trace/
Dtrace_events_inject.c57 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_field()
Dtrace_events_synth.c728 field->name = kmemdup_nul(field_name, len, GFP_KERNEL); in parse_synth_field()
1576 name = kmemdup_nul(raw_command, p ? p - raw_command : strlen(raw_command), GFP_KERNEL); in create_or_delete_synth_event()
2180 name = kmemdup_nul(raw_command + len, p - raw_command - len, GFP_KERNEL); in create_synth_event()
Dtrace_events_filter.c1243 buf = kmemdup_nul(s->buffer, s->seq.len, GFP_KERNEL); in append_filter_err()
1535 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_pred()
1633 name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_pred()
/linux-6.6.21/fs/nfs/
Dsysfs.c109 p = kmemdup_nul(buf, len, GFP_KERNEL); in nfs_netns_identifier_store()
Dfscache.c96 nfss->fscache_uniq = kmemdup_nul(uniq, ulen, GFP_KERNEL); in nfs_fscache_get_super_cookie()
Ddns_resolve.c94 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.c990 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL); in nfs_parse_source()
996 ctx->nfs_server.export_path = kmemdup_nul(end, len, GFP_KERNEL); in nfs_parse_source()
/linux-6.6.21/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c232 return kmemdup_nul(netobj->data, netobj->len, GFP_KERNEL); in gssp_stringify()
/linux-6.6.21/Documentation/driver-api/firmware/
Dfw_upload.rst58 sec->fw_name = kmemdup_nul(fw_name, len, GFP_KERNEL);
/linux-6.6.21/drivers/accessibility/speakup/
Di18n.c558 newstr = kmemdup_nul(text, length, GFP_KERNEL); in spk_msg_set()
/linux-6.6.21/drivers/nvme/target/
Dconfigfs.c362 ns->device_path = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_ns_device_path_store()
1244 val = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_subsys_attr_model_store_locked()
1351 val = kmemdup_nul(page, len, GFP_KERNEL); in nvmet_subsys_attr_firmware_store_locked()
/linux-6.6.21/fs/ceph/
Dcrypto.c235 inode_number = kmemdup_nul(name_end + 1, in parse_longname()
/linux-6.6.21/fs/
Dfs_context.c182 param.string = kmemdup_nul(value, v_size, GFP_KERNEL); in vfs_parse_fs_string()
/linux-6.6.21/drivers/acpi/
Dacpi_tad.c163 str = kmemdup_nul(buf, count, GFP_KERNEL); in time_store()
/linux-6.6.21/Documentation/core-api/
Dkernel-api.rst49 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/linux-6.6.21/sound/soc/codecs/
Dsigmadsp.c230 name = kmemdup_nul(ctrl_chunk->name, name_len, GFP_KERNEL); in sigma_fw_load_control()
/linux-6.6.21/drivers/fpga/
Dintel-m10-bmc-sec-update.c709 sec->fw_name = kmemdup_nul(buf, len, GFP_KERNEL); in m10bmc_sec_probe()

12