Home
last modified time | relevance | path

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

123

/linux/net/dns_resolver/
H A Ddns_query.c154 *_result = kmemdup_nul(upayload->data, len, GFP_KERNEL); in dns_query()
/linux/lib/
H A Dparser.c361 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
/linux/fs/smb/server/
H A Dasn1.c220 conn->mechToken = kmemdup_nul(value, vlen, GFP_KERNEL); in ksmbd_neg_token_alloc()
/linux/drivers/infiniband/hw/mlx5/
H A Ddata_direct.c49 dev->vuid = kmemdup_nul(vpd_data + start, kw_len, GFP_KERNEL); in mlx5_data_direct_vpd_get_vuid()
/linux/fs/nfs/
H A Dnfs4super.c186 param_fsc.string = kmemdup_nul(ctx->fscache_uniq, len, GFP_KERNEL); in do_nfs4_mount()
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()
/linux/drivers/leds/trigger/
H A Dledtrig-tty.c88 ttyname = kmemdup_nul(buf, size, GFP_KERNEL); in ttyname_store()
/linux/mm/
H A Dutil.c187 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul() function
201 EXPORT_SYMBOL(kmemdup_nul);
/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()
/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c232 return kmemdup_nul(netobj->data, netobj->len, GFP_KERNEL); in gssp_stringify()
/linux/Documentation/driver-api/firmware/
H A Dfw_upload.rst58 sec->fw_name = kmemdup_nul(fw_name, len, GFP_KERNEL);
/linux/drivers/auxdisplay/
H A Dline-display.c106 new_msg = kmemdup_nul(msg, count, GFP_KERNEL); in linedisp_display()
/linux/security/ipe/
H A Dpolicy_parser.c517 policy = kmemdup_nul(p->text, p->textlen, GFP_KERNEL); in ipe_parse_policy()
/linux/drivers/accessibility/speakup/
H A Di18n.c558 newstr = kmemdup_nul(text, length, GFP_KERNEL); in spk_msg_set()
/linux/fs/erofs/
H A Dinode.c23 inode->i_link = kmemdup_nul(kaddr + m_pofs, inode->i_size, GFP_KERNEL); in erofs_fill_symlink()
/linux/include/linux/
H A Dstring.h307 extern char *kmemdup_nul(const char *s, size_t len, gfp_t gfp);
/linux/fs/
H A Dfs_context.c182 param.string = kmemdup_nul(value, v_size, GFP_KERNEL); in vfs_parse_fs_string()
/linux/fs/ceph/
H A Dcrypto.c237 inode_number = kmemdup_nul(name_end + 1, in parse_longname()
/linux/Documentation/core-api/
H A Dkernel-api.rst49 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/linux/sound/soc/codecs/
H A Dsigmadsp.c230 name = kmemdup_nul(ctrl_chunk->name, name_len, GFP_KERNEL); in sigma_fw_load_control()

123