Home
last modified time | relevance | path

Searched refs:strndup_user (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/fs/
Dfsopen.c128 fs_name = strndup_user(_fs_name, PAGE_SIZE); in SYSCALL_DEFINE2()
384 param.key = strndup_user(_key, 256); in SYSCALL_DEFINE5()
397 param.string = strndup_user(_value, 256); in SYSCALL_DEFINE5()
Dnamespace.c3138 return data ? strndup_user(data, PATH_MAX) : NULL; in copy_mount_string()
/kernel/linux/linux-5.10/security/keys/
Dkeyctl.c96 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in SYSCALL_DEFINE5()
185 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in SYSCALL_DEFINE4()
195 callout_info = strndup_user(_callout_info, PAGE_SIZE); in SYSCALL_DEFINE4()
296 name = strndup_user(_name, KEY_MAX_DESC_SIZE); in keyctl_join_session_keyring()
731 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in keyctl_keyring_search()
1750 restriction = strndup_user(_restriction, PAGE_SIZE); in keyctl_restrict_keyring()
Dkeyctl_pkey.c89 p = strndup_user(_info, PAGE_SIZE); in keyctl_pkey_params_get()
Ddh.c269 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_debugfs_params.c142 new = strndup_user(ubuf, PAGE_SIZE); in i915_param_charp_write()
/kernel/linux/linux-5.10/drivers/virt/
Dfsl_hypervisor.c348 path = strndup_user(upath, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop()
352 propname = strndup_user(upropname, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop()
/kernel/linux/linux-5.10/mm/
Dutil.c219 char *strndup_user(const char __user *s, long n) in strndup_user() function
241 EXPORT_SYMBOL(strndup_user);
/kernel/linux/linux-5.10/fs/nfs/
Dfs_context.c1163 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_parse_monolithic()
1168 c = strndup_user(data->mnt_path.data, NFS4_MAXPATHLEN); in nfs4_parse_monolithic()
1174 c = strndup_user(data->client_addr.data, 16); in nfs4_parse_monolithic()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_event_perf.c312 path = strndup_user(u64_to_user_ptr(p_event->attr.uprobe_path), in perf_uprobe_init()
/kernel/linux/linux-5.10/drivers/s390/char/
Dkeyboard.c467 p = strndup_user(u_kbs->kb_string, sizeof(u_kbs->kb_string)); in do_kdgkb_ioctl()
/kernel/linux/linux-5.10/include/linux/
Dstring.h11 extern char *strndup_user(const char __user *, long);
/kernel/linux/linux-5.10/Documentation/core-api/
Dkernel-api.rst47 vmemdup_user strndup_user memdup_user_nul
/kernel/linux/linux-5.10/drivers/input/misc/
Duinput.c929 phys = strndup_user(p, 1024); in uinput_ioctl_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_bo.c1076 name = strndup_user(u64_to_user_ptr(args->name), args->len + 1); in vc4_label_bo_ioctl()
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-buf.c348 char *name = strndup_user(buf, DMA_BUF_NAME_LEN); in dma_buf_set_name()
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio.c1511 buf = strndup_user((const char __user *)arg, PAGE_SIZE); in vfio_group_fops_unl_ioctl()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ioctl.c549 name = strndup_user(uname, MAXNAMELEN); in xfs_ioc_attrmulti_one()
/kernel/linux/linux-5.10/kernel/
Dsys.c2316 name = strndup_user(uname, ANON_VMA_NAME_MAX_LEN); in prctl_set_vma()
Dmodule.c4088 mod->args = strndup_user(uargs, ~0UL >> 1); in load_module()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c927 ext = strndup_user(dwrq->pointer, len); in r871x_wx_set_priv()
/kernel/linux/linux-5.10/net/core/
Dpktgen.c904 char *tp = strndup_user(user_buffer, copy); in pktgen_if_write()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c3441 vbuf = strndup_user((const char __user *)arg, FSLABEL_MAX); in f2fs_ioc_setfslabel()
/kernel/linux/linux-5.10/kernel/events/
Dcore.c10398 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter()