Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/
H A Dfsopen.c128 fs_name = strndup_user(_fs_name, PAGE_SIZE); in SYSCALL_DEFINE2()
420 param.key = strndup_user(_key, 256); in SYSCALL_DEFINE5()
433 param.string = strndup_user(_value, 256); in SYSCALL_DEFINE5()
H A Dnamespace.c3589 return data ? strndup_user(data, PATH_MAX) : NULL; in copy_mount_string()
/openbmc/linux/security/keys/
H A 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()
H A Dkeyctl_pkey.c89 p = strndup_user(_info, PAGE_SIZE); in keyctl_pkey_params_get()
H A Ddh.c164 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
/openbmc/linux/kernel/trace/
H A Dtrace_event_perf.c254 func = strndup_user(u64_to_user_ptr(p_event->attr.kprobe_func), in perf_kprobe_init()
308 path = strndup_user(u64_to_user_ptr(p_event->attr.uprobe_path), in perf_uprobe_init()
H A Dtrace_events_user.c2409 name = strndup_user((const char __user *)(uintptr_t)reg.name_args, in user_events_ioctl_reg()
2469 name = strndup_user(ubuf, MAX_EVENT_DESC); in user_events_ioctl_del()
H A Dbpf_trace.c3214 name = strndup_user(upath, PATH_MAX); in bpf_uprobe_multi_link_attach()
/openbmc/linux/drivers/virt/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_debugfs_params.c174 new = strndup_user(ubuf, PAGE_SIZE); in i915_param_charp_write()
/openbmc/linux/mm/
H A Dutil.c243 char *strndup_user(const char __user *s, long n) in strndup_user() function
265 EXPORT_SYMBOL(strndup_user);
/openbmc/linux/include/linux/
H A Dstring.h14 extern char *strndup_user(const char __user *, long);
/openbmc/linux/fs/nfs/
H A Dfs_context.c1319 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_parse_monolithic()
1324 c = strndup_user(data->mnt_path.data, NFS4_MAXPATHLEN); in nfs4_parse_monolithic()
1330 c = strndup_user(data->client_addr.data, 16); in nfs4_parse_monolithic()
/openbmc/linux/drivers/s390/char/
H A Dkeyboard.c467 p = strndup_user(u_kbs->kb_string, sizeof(u_kbs->kb_string)); in do_kdgkb_ioctl()
/openbmc/linux/Documentation/core-api/
H A Dkernel-api.rst50 vmemdup_user strndup_user memdup_user_nul
/openbmc/linux/drivers/vfio/
H A Dgroup.c315 buf = strndup_user(arg, PAGE_SIZE); in vfio_group_ioctl_get_device_fd()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c1080 name = strndup_user(u64_to_user_ptr(args->name), args->len + 1); in vc4_label_bo_ioctl()
/openbmc/linux/drivers/input/misc/
H A Duinput.c977 phys = strndup_user(p, 1024); in uinput_ioctl_handler()
/openbmc/linux/drivers/dma-buf/
H A Ddma-buf.c322 char *name = strndup_user(buf, DMA_BUF_NAME_LEN); in dma_buf_set_name()
/openbmc/linux/drivers/tty/vt/
H A Dkeyboard.c2094 kbs = strndup_user(user_kdgkb->kb_string, in vt_do_kdgkb_ioctl()
/openbmc/linux/fs/xfs/
H A Dxfs_ioctl.c551 name = strndup_user(uname, MAXNAMELEN); in xfs_ioc_attrmulti_one()
/openbmc/linux/kernel/
H A Dsys.c2333 name = strndup_user(uname, ANON_VMA_NAME_MAX_LEN); in prctl_set_vma()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c925 ext = strndup_user(dwrq->pointer, len); in r871x_wx_set_priv()
/openbmc/linux/kernel/module/
H A Dmain.c2935 mod->args = strndup_user(uargs, ~0UL >> 1); in load_module()
/openbmc/linux/net/core/
H A Dpktgen.c996 char *tp = strndup_user(user_buffer, copy); in pktgen_if_write()

12