/linux-4.4.14/net/irda/ |
D | irias_object.c | 59 obj->name = kstrndup(name, IAS_MAX_CLASSNAME, GFP_ATOMIC); in irias_new_object() 329 attrib->name = kstrndup(name, IAS_MAX_ATTRIBNAME, GFP_ATOMIC); in irias_add_integer_attrib() 373 attrib->name = kstrndup(name, IAS_MAX_ATTRIBNAME, GFP_ATOMIC); in irias_add_octseq_attrib() 415 attrib->name = kstrndup(name, IAS_MAX_ATTRIBNAME, GFP_ATOMIC); in irias_add_string_attrib() 471 value->t.string = kstrndup(string, IAS_MAX_STRING, GFP_ATOMIC); in irias_new_string_value()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | of_helpers.c | 30 parent_path = kstrndup(path, tail - path, GFP_KERNEL); in pseries_of_derive_parent()
|
/linux-4.4.14/lib/ |
D | argv_split.c | 66 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | option.c | 84 if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) { in nvkm_longopt()
|
/linux-4.4.14/mm/ |
D | util.c | 84 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup() function 100 EXPORT_SYMBOL(kstrndup);
|
/linux-4.4.14/include/linux/ |
D | string.h | 123 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
|
/linux-4.4.14/drivers/cdrom/ |
D | gdrom.c | 694 model_name = kstrndup(id->modname, 16, GFP_KERNEL); in gdrom_outputversion() 697 manuf_name = kstrndup(id->mname, 16, GFP_KERNEL); in gdrom_outputversion() 700 firmw_ver = kstrndup(id->firmver, 16, GFP_KERNEL); in gdrom_outputversion()
|
/linux-4.4.14/drivers/nvdimm/ |
D | claim.c | 128 name = kstrndup(buf, len, GFP_KERNEL); in nd_namespace_store()
|
/linux-4.4.14/kernel/power/ |
D | wakelock.c | 184 wl->name = kstrndup(name, len, GFP_KERNEL); in wakelock_lookup_add()
|
D | hibernate.c | 1009 name = kstrndup(buf, len, GFP_KERNEL); in resume_store()
|
/linux-4.4.14/net/wimax/ |
D | op-msg.c | 372 pipe_name = kstrndup(nla_data(attr), attr_len + 1, GFP_KERNEL); in wimax_gnl_doit_msg_from_user()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | shadow.c | 184 source = optarg ? kstrndup(optarg, optlen, GFP_KERNEL) : NULL; in nvbios_shadow()
|
/linux-4.4.14/drivers/md/bcache/ |
D | util.c | 113 char *s, *d = kstrndup(buf, PAGE_SIZE - 1, GFP_KERNEL); in bch_read_string_list()
|
D | super.c | 1943 if (!(path = kstrndup(buffer, size, GFP_KERNEL)) || in register_bcache()
|
/linux-4.4.14/fs/cifs/ |
D | cache.c | 136 dst = kstrndup(delim, len, GFP_KERNEL); in extract_sharename()
|
D | link.c | 136 *_link_str = kstrndup(link_str, link_len, GFP_KERNEL); in parse_mf_symlink()
|
D | connect.c | 1190 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname() 1282 mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL); in cifs_parse_mount_options() 2436 vol->username = kstrndup(payload, len, GFP_KERNEL); in cifs_set_cifscreds() 2455 vol->password = kstrndup(delim, len, GFP_KERNEL); in cifs_set_cifscreds()
|
D | cifsfs.c | 683 cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); in cifs_do_mount()
|
D | smb1ops.c | 935 *symlinkinfo = kstrndup(referrals->node_name, in cifs_unix_dfs_readlink()
|
/linux-4.4.14/net/sunrpc/ |
D | addr.c | 177 p = kstrndup(delim + 1, len, GFP_KERNEL); in rpc_parse_scope_id()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 329 data->creds.cr_principal = kstrndup(client_name.data, in gssp_accept_sec_context_upcall()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4namespace.c | 461 hostname = kstrndup(buf->data, buf->len, GFP_KERNEL); in nfs4_try_replacing_one_location()
|
D | dns_resolve.c | 93 new->hostname = kstrndup(key->hostname, key->namelen, GFP_KERNEL); in nfs_dns_ent_init()
|
D | super.c | 1906 *hostname = kstrndup(dev_name, len, GFP_KERNEL); in nfs_parse_devname() 1912 *export_path = kstrndup(end, len, GFP_KERNEL); in nfs_parse_devname()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_super.c | 189 mp->m_fsname = kstrndup(sb->s_id, MAXNAMELEN, GFP_KERNEL); in xfs_parseargs() 248 mp->m_logname = kstrndup(value, MAXNAMELEN, GFP_KERNEL); in xfs_parseargs() 261 mp->m_rtname = kstrndup(value, MAXNAMELEN, GFP_KERNEL); in xfs_parseargs()
|
/linux-4.4.14/drivers/soc/ti/ |
D | knav_qmss_queue.c | 237 inst->name = kstrndup(name, KNAV_NAME_SIZE, GFP_KERNEL); in __knav_queue_open() 788 pool->name = kstrndup(name, KNAV_NAME_SIZE, GFP_KERNEL); in knav_pool_create() 1647 inst->irq_name = kstrndup(irq_name, sizeof(irq_name), GFP_KERNEL); in knav_queue_init_queue()
|
/linux-4.4.14/drivers/amba/ |
D | bus.c | 88 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
|
/linux-4.4.14/net/ceph/ |
D | ceph_common.c | 420 opt->name = kstrndup(argstr[0].from, in ceph_parse_options()
|
D | osdmap.c | 635 char *name = kstrndup(*p, len, GFP_NOFS); in decode_pool_names()
|
/linux-4.4.14/drivers/md/ |
D | dm-log-writes.c | 498 block->data = kstrndup(data, maxsize, GFP_KERNEL); in log_mark()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_sysfs.c | 155 char *s = kstrndup(src, len, GFP_KERNEL); in kstrndup_noeol()
|
/linux-4.4.14/fs/ceph/ |
D | super.c | 207 fsopt->snapdir_name = kstrndup(argstr[0].from, in parse_fsopt_token()
|
D | inode.c | 815 sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS); in fill_inode()
|
/linux-4.4.14/drivers/input/misc/ |
D | uinput.c | 405 dev->name = kstrndup(user_dev->name, UINPUT_MAX_NAME_SIZE, in uinput_setup_device()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac1.c | 853 tmp = kstrndup(page, len, GFP_KERNEL); \
|
D | f_midi.c | 998 c = kstrndup(page, len, GFP_KERNEL); in f_midi_opts_id_store()
|
D | f_fs.c | 3156 ptr = kstrndup(name, name_len, GFP_KERNEL); in ffs_set_inst_name()
|
/linux-4.4.14/drivers/base/ |
D | platform.c | 815 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
|
/linux-4.4.14/drivers/mtd/ |
D | sm_ftl.c | 64 vendor = kstrndup(ftl->cis_buffer + SM_CIS_VENDOR_OFFSET, in sm_create_sysfs_attributes()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | msu.c | 1396 s = kstrndup(p, end ? end - p : len, GFP_KERNEL); in nr_pages_store()
|
/linux-4.4.14/drivers/pci/ |
D | pci-sysfs.c | 531 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
|
/linux-4.4.14/drivers/input/mouse/ |
D | psmouse-base.c | 501 fw_id_copy = kstrndup(&serio->firmware_id[5], in psmouse_matches_pnp_id()
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 170 API-kstrndup
|
/linux-4.4.14/kernel/ |
D | cgroup.c | 1671 kstrndup(token + 14, PATH_MAX - 1, GFP_KERNEL); in parse_cgroupfs_options() 1693 opts->name = kstrndup(name, in parse_cgroupfs_options()
|
/linux-4.4.14/kernel/trace/ |
D | trace_events_filter.c | 2146 str = kstrndup(buf, len, GFP_KERNEL); in ftrace_function_filter_re()
|