Home
last modified time | relevance | path

Searched refs:argp (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/fs/nfsd/
Dnfs3proc.c44 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr() local
48 SVCFH_fmt(&argp->fh)); in nfsd3_proc_getattr()
50 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
67 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr() local
71 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr()
73 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
74 resp->status = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
75 argp->check_guard, argp->guardtime); in nfsd3_proc_setattr()
85 struct nfsd3_diropargs *argp = rqstp->rq_argp; in nfsd3_proc_lookup() local
89 SVCFH_fmt(&argp->fh), in nfsd3_proc_lookup()
[all …]
Dnfsproc.c29 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr() local
32 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_getattr()
34 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr()
51 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr() local
53 struct iattr *iap = &argp->attrs; in nfsd_proc_setattr()
57 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr()
58 argp->attrs.ia_valid, (long) argp->attrs.ia_size); in nfsd_proc_setattr()
60 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr()
128 struct nfsd_diropargs *argp = rqstp->rq_argp; in nfsd_proc_lookup() local
132 SVCFH_fmt(&argp->fh), argp->len, argp->name); in nfsd_proc_lookup()
[all …]
Dnfs2acl.c32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getacl() local
38 dprintk("nfsd: GETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getacl()
40 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl()
47 if (argp->mask & ~NFS_ACL_MASK) { in nfsacld_proc_getacl()
51 resp->mask = argp->mask; in nfsacld_proc_getacl()
95 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_setacl() local
101 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_setacl()
103 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl()
116 error = set_posix_acl(inode, ACL_TYPE_ACCESS, argp->acl_access); in nfsacld_proc_setacl()
119 error = set_posix_acl(inode, ACL_TYPE_DEFAULT, argp->acl_default); in nfsacld_proc_setacl()
[all …]
Dnfs4xdr.c119 if (!(x = (p==argp->tmp || p == argp->tmpp) ? \
120 savemem(argp, p, nbytes) : \
135 if (nbytes <= (u32)((char *)argp->end - (char *)argp->p)) { \
136 p = argp->p; \
137 argp->p += XDR_QUADLEN(nbytes); \
138 } else if (!(p = read_buf(argp, nbytes))) { \
145 static void next_decode_page(struct nfsd4_compoundargs *argp) in next_decode_page() argument
147 argp->p = page_address(argp->pagelist[0]); in next_decode_page()
148 argp->pagelist++; in next_decode_page()
149 if (argp->pagelen < PAGE_SIZE) { in next_decode_page()
[all …]
/kernel/linux/linux-5.10/block/
Dioctl.c189 static int put_ushort(unsigned short __user *argp, unsigned short val) in put_ushort() argument
191 return put_user(val, argp); in put_ushort()
194 static int put_int(int __user *argp, int val) in put_int() argument
196 return put_user(val, argp); in put_int()
199 static int put_uint(unsigned int __user *argp, unsigned int val) in put_uint() argument
201 return put_user(val, argp); in put_uint()
204 static int put_long(long __user *argp, long val) in put_long() argument
206 return put_user(val, argp); in put_long()
209 static int put_ulong(unsigned long __user *argp, unsigned long val) in put_ulong() argument
211 return put_user(val, argp); in put_ulong()
[all …]
/kernel/linux/linux-5.10/fs/lockd/
Dxdr4.c183 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs() local
186 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_testargs()
190 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_testargs()
193 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
211 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs() local
214 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs()
216 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
218 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_lockargs()
221 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
222 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
[all …]
Dxdr.c186 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_testargs() local
189 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_testargs()
193 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_testargs()
196 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs()
214 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_lockargs() local
217 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_lockargs()
219 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs()
221 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_lockargs()
224 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs()
225 argp->reclaim = ntohl(*p++); in nlmsvc_decode_lockargs()
[all …]
Dsvc4proc.c23 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() argument
28 struct nlm_lock *lock = &argp->lock; in nlm4svc_retrieve_args()
37 || (argp->monitor && nsm_monitor(host) < 0)) in nlm4svc_retrieve_args()
84 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_test() local
90 resp->cookie = argp->cookie; in __nlm4svc_proc_test()
93 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test()
97 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test()
103 nlmsvc_release_lockowner(&argp->lock); in __nlm4svc_proc_test()
118 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_lock() local
125 resp->cookie = argp->cookie; in __nlm4svc_proc_lock()
[all …]
Dsvcproc.c52 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args() argument
57 struct nlm_lock *lock = &argp->lock; in nlmsvc_retrieve_args()
66 || (argp->monitor && nsm_monitor(host) < 0)) in nlmsvc_retrieve_args()
114 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_test() local
120 resp->cookie = argp->cookie; in __nlmsvc_proc_test()
123 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test()
127 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test()
134 nlmsvc_release_lockowner(&argp->lock); in __nlmsvc_proc_test()
149 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_lock() local
156 resp->cookie = argp->cookie; in __nlmsvc_proc_lock()
[all …]
Dsvcshare.c29 struct nlm_args *argp) in nlmsvc_share_file() argument
32 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_share_file()
38 if ((argp->fsm_access & share->s_mode) in nlmsvc_share_file()
39 || (argp->fsm_mode & share->s_access )) in nlmsvc_share_file()
60 share->s_access = argp->fsm_access; in nlmsvc_share_file()
61 share->s_mode = argp->fsm_mode; in nlmsvc_share_file()
70 struct nlm_args *argp) in nlmsvc_unshare_file() argument
73 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_unshare_file()
Dmon.c439 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name() argument
441 encode_nsm_string(xdr, argp->mon_name); in encode_mon_name()
450 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id() argument
454 encode_nsm_string(xdr, argp->nodename); in encode_my_id()
456 *p++ = cpu_to_be32(argp->prog); in encode_my_id()
457 *p++ = cpu_to_be32(argp->vers); in encode_my_id()
458 *p = cpu_to_be32(argp->proc); in encode_my_id()
465 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id() argument
467 encode_mon_name(xdr, argp); in encode_mon_id()
468 encode_my_id(xdr, argp); in encode_mon_id()
[all …]
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_ioctl.c28 struct gasket_interrupt_eventfd __user *argp) in gasket_set_event_fd() argument
32 if (copy_from_user(&die, argp, sizeof(struct gasket_interrupt_eventfd))) in gasket_set_event_fd()
43 struct gasket_page_table_ioctl __user *argp) in gasket_read_page_table_size() argument
48 if (copy_from_user(&ibuf, argp, sizeof(struct gasket_page_table_ioctl))) in gasket_read_page_table_size()
61 if (copy_to_user(argp, &ibuf, sizeof(ibuf))) in gasket_read_page_table_size()
69 struct gasket_page_table_ioctl __user *argp) in gasket_read_simple_page_table_size() argument
74 if (copy_from_user(&ibuf, argp, sizeof(struct gasket_page_table_ioctl))) in gasket_read_simple_page_table_size()
87 if (copy_to_user(argp, &ibuf, sizeof(ibuf))) in gasket_read_simple_page_table_size()
95 struct gasket_page_table_ioctl __user *argp) in gasket_partition_page_table() argument
101 if (copy_from_user(&ibuf, argp, sizeof(struct gasket_page_table_ioctl))) in gasket_partition_page_table()
[all …]
/kernel/linux/linux-5.10/drivers/sbus/char/
Dopenprom.c130 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop() argument
138 return copyout(argp, op, sizeof(int)); in opromgetprop()
144 return copyout(argp, op, sizeof(int) + bufsize); in opromgetprop()
147 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop() argument
153 return copyout(argp, op, sizeof(int)); in opromnxtprop()
157 return copyout(argp, op, sizeof(int)); in opromnxtprop()
165 return copyout(argp, op, sizeof(int)); in opromnxtprop()
174 return copyout(argp, op, sizeof(int) + bufsize); in opromnxtprop()
185 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio… in opromnext() argument
229 return copyout(argp, op, bufsize + sizeof(int)); in opromnext()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_ioc32.c180 drm_map32_t __user *argp = (void __user *)arg; in compat_drm_getmap() local
185 if (copy_from_user(&m32, argp, sizeof(m32))) in compat_drm_getmap()
199 if (copy_to_user(argp, &m32, sizeof(m32))) in compat_drm_getmap()
208 drm_map32_t __user *argp = (void __user *)arg; in compat_drm_addmap() local
213 if (copy_from_user(&m32, argp, sizeof(m32))) in compat_drm_addmap()
233 if (copy_to_user(argp, &m32, sizeof(m32))) in compat_drm_addmap()
242 drm_map32_t __user *argp = (void __user *)arg; in compat_drm_rmmap() local
246 if (get_user(handle, &argp->handle)) in compat_drm_rmmap()
266 drm_client32_t __user *argp = (void __user *)arg; in compat_drm_getclient() local
270 if (copy_from_user(&c32, argp, sizeof(c32))) in compat_drm_getclient()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Dioctl.c118 static int nilfs_ioctl_getflags(struct inode *inode, void __user *argp) in nilfs_ioctl_getflags() argument
122 return put_user(flags, (int __user *)argp); in nilfs_ioctl_getflags()
129 void __user *argp) in nilfs_ioctl_setflags() argument
138 if (get_user(flags, (int __user *)argp)) in nilfs_ioctl_setflags()
178 static int nilfs_ioctl_getversion(struct inode *inode, void __user *argp) in nilfs_ioctl_getversion() argument
180 return put_user(inode->i_generation, (int __user *)argp); in nilfs_ioctl_getversion()
203 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode() argument
218 if (copy_from_user(&cpmode, argp, sizeof(cpmode))) in nilfs_ioctl_change_cpmode()
258 unsigned int cmd, void __user *argp) in nilfs_ioctl_delete_checkpoint() argument
273 if (copy_from_user(&cno, argp, sizeof(cno))) in nilfs_ioctl_delete_checkpoint()
[all …]
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_ioctl.c34 dasd_ioctl_api_version(void __user *argp) in dasd_ioctl_api_version() argument
37 return put_user(ver, (int __user *)argp); in dasd_ioctl_api_version()
259 dasd_ioctl_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_format() argument
267 if (!argp) in dasd_ioctl_format()
277 if (copy_from_user(&fdata, argp, sizeof(struct format_data_t))) { in dasd_ioctl_format()
296 static int dasd_ioctl_check_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_check_format() argument
302 if (!argp) in dasd_ioctl_check_format()
315 if (copy_from_user(&cdata, argp, sizeof(cdata))) { in dasd_ioctl_check_format()
324 if (copy_to_user(argp, &cdata, sizeof(cdata))) in dasd_ioctl_check_format()
347 static int dasd_ioctl_release_space(struct block_device *bdev, void __user *argp) in dasd_ioctl_release_space() argument
[all …]
/kernel/linux/common_modules/ucollection/
Ducollection_process_cpu.c105 static long ioctrl_collect_process_cpu(void __user *argp) in ioctrl_collect_process_cpu() argument
109 struct ucollection_process_cpu_entry __user *entry = argp; in ioctrl_collect_process_cpu()
147 static long ioctrl_collect_process_count(void __user *argp) in ioctrl_collect_process_count() argument
151 unsigned int __user *count = argp; in ioctrl_collect_process_count()
165 static long ioctrl_collect_thread_count(void __user *argp) in ioctrl_collect_thread_count() argument
168 struct ucollection_process_thread_count __user *count = argp; in ioctrl_collect_thread_count()
217 static long ioctrl_collect_app_thread_cpu(void __user *argp) in ioctrl_collect_app_thread_cpu() argument
220 struct ucollection_thread_cpu_entry __user *entry = argp; in ioctrl_collect_app_thread_cpu()
235 static long ioctrl_collect_the_thread_cpu(void __user *argp) in ioctrl_collect_the_thread_cpu() argument
238 struct ucollection_thread_cpu_entry __user *entry = argp; in ioctrl_collect_the_thread_cpu()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dsock.c52 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl() argument
62 BT_DBG("cmd %x arg %p", cmd, argp); in do_bnep_sock_ioctl()
69 if (copy_from_user(&ca, argp, sizeof(ca))) in do_bnep_sock_ioctl()
84 if (copy_to_user(argp, &ca, sizeof(ca))) in do_bnep_sock_ioctl()
95 if (copy_from_user(&cd, argp, sizeof(cd))) in do_bnep_sock_ioctl()
101 if (copy_from_user(&cl, argp, sizeof(cl))) in do_bnep_sock_ioctl()
108 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_bnep_sock_ioctl()
114 if (copy_from_user(&ci, argp, sizeof(ci))) in do_bnep_sock_ioctl()
118 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in do_bnep_sock_ioctl()
124 if (copy_to_user(argp, &supp_feat, sizeof(supp_feat))) in do_bnep_sock_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-floppy_ioctl.c44 int __user *argp; in ide_floppy_get_format_capacities() local
64 argp = arg + 1; in ide_floppy_get_format_capacities()
80 if (put_user(blocks, argp)) in ide_floppy_get_format_capacities()
83 ++argp; in ide_floppy_get_format_capacities()
85 if (put_user(length, argp)) in ide_floppy_get_format_capacities()
88 ++argp; in ide_floppy_get_format_capacities()
257 void __user *argp) in ide_floppy_format_ioctl() argument
263 return ide_floppy_get_format_capacities(drive, pc, argp); in ide_floppy_format_ioctl()
267 return ide_floppy_format_unit(drive, pc, (int __user *)argp); in ide_floppy_format_ioctl()
269 return ide_floppy_get_format_progress(drive, pc, argp); in ide_floppy_format_ioctl()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/cmtp/
Dsock.c66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_cmtp_sock_ioctl() argument
75 BT_DBG("cmd %x arg %p", cmd, argp); in do_cmtp_sock_ioctl()
82 if (copy_from_user(&ca, argp, sizeof(ca))) in do_cmtp_sock_ioctl()
96 if (copy_to_user(argp, &ca, sizeof(ca))) in do_cmtp_sock_ioctl()
107 if (copy_from_user(&cd, argp, sizeof(cd))) in do_cmtp_sock_ioctl()
113 if (copy_from_user(&cl, argp, sizeof(cl))) in do_cmtp_sock_ioctl()
120 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_cmtp_sock_ioctl()
126 if (copy_from_user(&ci, argp, sizeof(ci))) in do_cmtp_sock_ioctl()
130 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in do_cmtp_sock_ioctl()
147 void __user *argp = compat_ptr(arg); in cmtp_sock_compat_ioctl() local
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dsev-dev.c347 static int sev_ioctl_do_reset(struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_reset() argument
363 rc = sev_get_platform_state(&state, &argp->error); in sev_ioctl_do_reset()
371 rc = __sev_platform_shutdown_locked(&argp->error); in sev_ioctl_do_reset()
376 return __sev_do_cmd_locked(SEV_CMD_FACTORY_RESET, NULL, &argp->error); in sev_ioctl_do_reset()
379 static int sev_ioctl_do_platform_status(struct sev_issue_cmd *argp) in sev_ioctl_do_platform_status() argument
386 ret = __sev_do_cmd_locked(SEV_CMD_PLATFORM_STATUS, &data, &argp->error); in sev_ioctl_do_platform_status()
390 if (copy_to_user((void __user *)argp->data, &data, sizeof(data))) in sev_ioctl_do_platform_status()
396 static int sev_ioctl_do_pek_pdh_gen(int cmd, struct sev_issue_cmd *argp, bool writable) in sev_ioctl_do_pek_pdh_gen() argument
405 rc = __sev_platform_init_locked(&argp->error); in sev_ioctl_do_pek_pdh_gen()
410 return __sev_do_cmd_locked(cmd, NULL, &argp->error); in sev_ioctl_do_pek_pdh_gen()
[all …]
/kernel/linux/linux-5.10/fs/
Dioctl.c253 struct file_clone_range __user *argp) in ioctl_file_clone_range() argument
257 if (copy_from_user(&args, argp, sizeof(args))) in ioctl_file_clone_range()
473 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp) in ioctl_preallocate() argument
478 if (copy_from_user(&sr, argp, sizeof(sr))) in ioctl_preallocate()
502 struct space_resv_32 __user *argp) in compat_ioctl_preallocate() argument
507 if (copy_from_user(&sr, argp, sizeof(sr))) in compat_ioctl_preallocate()
545 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio() argument
550 error = get_user(on, argp); in ioctl_fionbio()
569 int __user *argp) in ioctl_fioasync() argument
574 error = get_user(on, argp); in ioctl_fioasync()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdchar.c585 struct mtd_write_req __user *argp) in mtdchar_write_ioctl() argument
593 if (copy_from_user(&req, argp, sizeof(req))) in mtdchar_write_ioctl()
637 void __user *argp = (void __user *)arg; in mtdchar_ioctl() local
687 if (copy_to_user(argp, &(mtd->numeraseregions), sizeof(int))) in mtdchar_ioctl()
695 struct region_info_user __user *ur = argp; in mtdchar_ioctl()
723 if (copy_to_user(argp, &info, sizeof(struct mtd_info_user))) in mtdchar_ioctl()
739 if (copy_from_user(&einfo64, argp, in mtdchar_ioctl()
749 if (copy_from_user(&einfo32, argp, in mtdchar_ioctl()
767 struct mtd_oob_buf __user *buf_user = argp; in mtdchar_ioctl()
770 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsbuslib.c197 struct fbcmap32 __user *argp = (void __user *)arg; in fbiogetputcmap() local
202 ret = copy_in_user(p, argp, 2 * sizeof(int)); in fbiogetputcmap()
203 ret |= get_user(addr, &argp->red); in fbiogetputcmap()
205 ret |= get_user(addr, &argp->green); in fbiogetputcmap()
207 ret |= get_user(addr, &argp->blue); in fbiogetputcmap()
220 struct fbcursor32 __user *argp = (void __user *)arg; in fbiogscursor() local
224 ret = copy_in_user(p, argp, in fbiogscursor()
226 ret |= copy_in_user(&p->size, &argp->size, sizeof(struct fbcurpos)); in fbiogscursor()
227 ret |= copy_in_user(&p->cmap, &argp->cmap, 2 * sizeof(int)); in fbiogscursor()
228 ret |= get_user(addr, &argp->cmap.red); in fbiogscursor()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/hidp/
Dsock.c49 static int do_hidp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_hidp_sock_ioctl() argument
59 BT_DBG("cmd %x arg %p", cmd, argp); in do_hidp_sock_ioctl()
66 if (copy_from_user(&ca, argp, sizeof(ca))) in do_hidp_sock_ioctl()
81 if (!err && copy_to_user(argp, &ca, sizeof(ca))) in do_hidp_sock_ioctl()
93 if (copy_from_user(&cd, argp, sizeof(cd))) in do_hidp_sock_ioctl()
99 if (copy_from_user(&cl, argp, sizeof(cl))) in do_hidp_sock_ioctl()
106 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_hidp_sock_ioctl()
112 if (copy_from_user(&ci, argp, sizeof(ci))) in do_hidp_sock_ioctl()
116 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in do_hidp_sock_ioctl()
149 void __user *argp = compat_ptr(arg); in hidp_sock_compat_ioctl() local
[all …]

12345678910>>...15