Home
last modified time | relevance | path

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

12

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

12