/linux-6.12.1/fs/bcachefs/ |
D | chardev.c | 42 path = strndup_user((const char __user *) in bch2_device_lookup() 81 devs[i] = strndup_user((const char __user *)(unsigned long) 113 path = strndup_user((const char __user *)(unsigned long) arg.dev, PATH_MAX); 195 char *dev_str = strndup_user((char __user *)(unsigned long) dev_u64, PATH_MAX); in bch2_ioctl_fsck_offline() 216 char *optstr = strndup_user((char __user *)(unsigned long) arg.opts, 1 << 16); in bch2_ioctl_fsck_offline() 319 path = strndup_user((const char __user *)(unsigned long) arg.dev, PATH_MAX); in bch2_ioctl_disk_add() 363 path = strndup_user((const char __user *)(unsigned long) arg.dev, PATH_MAX); in bch2_ioctl_disk_online() 848 char *optstr = strndup_user((char __user *)(unsigned long) arg.opts, 1 << 16); in bch2_ioctl_fsck_online()
|
/linux-6.12.1/fs/ |
D | fsopen.c | 127 fs_name = strndup_user(_fs_name, PAGE_SIZE); in SYSCALL_DEFINE2() 416 param.key = strndup_user(_key, 256); in SYSCALL_DEFINE5() 429 param.string = strndup_user(_value, 256); in SYSCALL_DEFINE5()
|
/linux-6.12.1/security/keys/ |
D | keyctl.c | 96 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()
|
D | keyctl_pkey.c | 89 p = strndup_user(_info, PAGE_SIZE); in keyctl_pkey_params_get()
|
D | dh.c | 164 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
|
/linux-6.12.1/kernel/trace/ |
D | trace_event_perf.c | 254 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()
|
D | trace_events_user.c | 2485 name = strndup_user((const char __user *)(uintptr_t)reg.name_args, in user_events_ioctl_reg() 2545 name = strndup_user(ubuf, MAX_EVENT_DESC); in user_events_ioctl_del()
|
D | bpf_trace.c | 3320 name = strndup_user(upath, PATH_MAX); in bpf_uprobe_multi_link_attach()
|
/linux-6.12.1/drivers/virt/ |
D | fsl_hypervisor.c | 348 path = strndup_user(upath, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop() 352 propname = strndup_user(upropname, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_debugfs_params.c | 178 new = strndup_user(ubuf, PAGE_SIZE); in i915_param_charp_write()
|
/linux-6.12.1/mm/ |
D | util.c | 272 char *strndup_user(const char __user *s, long n) in strndup_user() function 294 EXPORT_SYMBOL(strndup_user);
|
/linux-6.12.1/fs/nfs/ |
D | fs_context.c | 1330 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_parse_monolithic() 1335 c = strndup_user(data->mnt_path.data, NFS4_MAXPATHLEN); in nfs4_parse_monolithic() 1341 c = strndup_user(data->client_addr.data, 16); in nfs4_parse_monolithic()
|
/linux-6.12.1/include/linux/ |
D | string.h | 16 extern char *strndup_user(const char __user *, long);
|
/linux-6.12.1/drivers/s390/char/ |
D | keyboard.c | 467 p = strndup_user(u_kbs->kb_string, sizeof(u_kbs->kb_string)); in do_kdgkb_ioctl()
|
/linux-6.12.1/Documentation/core-api/ |
D | kernel-api.rst | 50 vmemdup_user strndup_user memdup_user_nul
|
/linux-6.12.1/drivers/vfio/ |
D | group.c | 322 buf = strndup_user(arg, PAGE_SIZE); in vfio_group_ioctl_get_device_fd()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_handle.c | 600 name = strndup_user(uname, MAXNAMELEN); in xfs_ioc_attrmulti_one()
|
/linux-6.12.1/drivers/gpu/drm/vc4/ |
D | vc4_bo.c | 1080 name = strndup_user(u64_to_user_ptr(args->name), args->len + 1); in vc4_label_bo_ioctl()
|
/linux-6.12.1/drivers/input/misc/ |
D | uinput.c | 977 phys = strndup_user(p, 1024); in uinput_ioctl_handler()
|
/linux-6.12.1/drivers/dma-buf/ |
D | dma-buf.c | 338 char *name = strndup_user(buf, DMA_BUF_NAME_LEN); in dma_buf_set_name()
|
/linux-6.12.1/drivers/tty/vt/ |
D | keyboard.c | 2093 kbs = strndup_user(user_kdgkb->kb_string, in vt_do_kdgkb_ioctl()
|
/linux-6.12.1/kernel/ |
D | sys.c | 2355 name = strndup_user(uname, ANON_VMA_NAME_MAX_LEN); in prctl_set_vma()
|
/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 887 ext = strndup_user(dwrq->pointer, len); in r871x_wx_set_priv()
|
/linux-6.12.1/kernel/module/ |
D | main.c | 2956 mod->args = strndup_user(uargs, ~0UL >> 1); in load_module()
|
/linux-6.12.1/net/core/ |
D | pktgen.c | 997 char *tp = strndup_user(user_buffer, copy); in pktgen_if_write()
|