Home
last modified time | relevance | path

Searched refs:argp (Results 176 - 200 of 786) sorted by relevance

12345678910>>...32

/kernel/linux/linux-6.6/arch/um/drivers/
H A Dharddog_kern.c126 void __user *argp= (void __user *)arg; in harddog_ioctl_unlocked() local
136 if(copy_to_user(argp, &ident, sizeof(ident))) in harddog_ioctl_unlocked()
141 return put_user(0,(int __user *)argp); in harddog_ioctl_unlocked()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dintel_scu_ipcutil.c82 void __user *argp = (void __user *)arg; in scu_ipc_ioctl() local
87 if (copy_from_user(&data, argp, sizeof(struct scu_ipc_data))) in scu_ipc_ioctl()
92 if (copy_to_user(argp, &data, sizeof(struct scu_ipc_data))) in scu_ipc_ioctl()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_cdev.c55 void __user *argp = (void __user *)arg; in rproc_device_ioctl() local
60 if (copy_from_user(&param, argp, sizeof(s32))) in rproc_device_ioctl()
67 if (copy_to_user(argp, &param, sizeof(s32))) in rproc_device_ioctl()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dremoteproc_cdev.c51 void __user *argp = (void __user *)arg; in rproc_device_ioctl() local
56 if (copy_from_user(&param, argp, sizeof(s32))) in rproc_device_ioctl()
63 if (copy_to_user(argp, &param, sizeof(s32))) in rproc_device_ioctl()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dintel_scu_ipcutil.c82 void __user *argp = (void __user *)arg; in scu_ipc_ioctl() local
87 if (copy_from_user(&data, argp, sizeof(struct scu_ipc_data))) in scu_ipc_ioctl()
92 if (copy_to_user(argp, &data, sizeof(struct scu_ipc_data))) in scu_ipc_ioctl()
/third_party/node/deps/openssl/openssl/crypto/ui/
H A Dui_util.c63 int idx, long argl, void *argp) in ui_new_method_data()
72 void **pptr, int idx, long argl, void *argp) in ui_dup_method_data()
83 int idx, long argl, void *argp) in ui_free_method_data()
62 ui_new_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ui_new_method_data() argument
71 ui_dup_method_data(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void **pptr, int idx, long argl, void *argp) ui_dup_method_data() argument
82 ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ui_free_method_data() argument
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbio_cb.c19 long BIO_debug_callback_ex(BIO *bio, int cmd, const char *argp, size_t len, in BIO_debug_callback_ex() argument
103 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, in BIO_debug_callback() argument
110 BIO_debug_callback_ex(bio, cmd, argp, (size_t)argi, in BIO_debug_callback()
/third_party/openssl/crypto/bio/
H A Dbio_cb.c19 long BIO_debug_callback_ex(BIO *bio, int cmd, const char *argp, size_t len, in BIO_debug_callback_ex() argument
103 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, in BIO_debug_callback() argument
110 BIO_debug_callback_ex(bio, cmd, argp, (size_t)argi, in BIO_debug_callback()
/third_party/openssl/crypto/ui/
H A Dui_util.c63 int idx, long argl, void *argp) in ui_new_method_data()
72 void **pptr, int idx, long argl, void *argp) in ui_dup_method_data()
83 int idx, long argl, void *argp) in ui_free_method_data()
62 ui_new_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ui_new_method_data() argument
71 ui_dup_method_data(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void **pptr, int idx, long argl, void *argp) ui_dup_method_data() argument
82 ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ui_free_method_data() argument
/third_party/rust/crates/rust-openssl/openssl-sys/src/
H A Dcrypto.rs41 argp: *mut c_void,
49 argp: *mut c_void,
57 argp: *mut c_void,
/kernel/linux/linux-6.6/fs/nfs/
H A Dcallback_xdr.c177 struct xdr_stream *xdr, void *argp) in decode_getattr_args()
179 struct cb_getattrargs *args = argp; in decode_getattr_args()
189 struct xdr_stream *xdr, void *argp) in decode_recall_args()
191 struct cb_recallargs *args = argp; in decode_recall_args()
213 struct xdr_stream *xdr, void *argp) in decode_layoutrecall_args()
215 struct cb_layoutrecallargs *args = argp; in decode_layoutrecall_args()
258 void *argp) in decode_devicenotify_args()
260 struct cb_devicenotifyargs *args = argp; in decode_devicenotify_args()
397 void *argp) in decode_cb_sequence_args()
399 struct cb_sequenceargs *args = argp; in decode_cb_sequence_args()
176 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_getattr_args() argument
188 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_recall_args() argument
212 decode_layoutrecall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_layoutrecall_args() argument
256 decode_devicenotify_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_devicenotify_args() argument
395 decode_cb_sequence_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_cb_sequence_args() argument
443 decode_recallany_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_recallany_args() argument
463 decode_recallslot_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_recallslot_args() argument
507 decode_notify_lock_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) decode_notify_lock_args() argument
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Drdc321x_wdt.c143 void __user *argp = (void __user *)arg; in rdc321x_wdt_ioctl() local
161 if (copy_to_user(argp, &value, sizeof(u32))) in rdc321x_wdt_ioctl()
165 if (copy_to_user(argp, &ident, sizeof(ident))) in rdc321x_wdt_ioctl()
169 if (copy_from_user(&value, argp, sizeof(int))) in rdc321x_wdt_ioctl()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Drdc321x_wdt.c143 void __user *argp = (void __user *)arg; in rdc321x_wdt_ioctl() local
161 if (copy_to_user(argp, &value, sizeof(u32))) in rdc321x_wdt_ioctl()
165 if (copy_to_user(argp, &ident, sizeof(ident))) in rdc321x_wdt_ioctl()
169 if (copy_from_user(&value, argp, sizeof(int))) in rdc321x_wdt_ioctl()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c74 va_list argp; in write_debugfs() local
76 va_start(argp, fmt); in write_debugfs()
77 ret = vsnprintf(input, INPUT_MAX, fmt, argp); in write_debugfs()
78 va_end(argp); in write_debugfs()
/third_party/mbedtls/library/
H A Dplatform.c76 va_list argp; in mbedtls_platform_win32_snprintf() local
78 va_start(argp, fmt); in mbedtls_platform_win32_snprintf()
79 ret = mbedtls_vsnprintf(s, n, fmt, argp); in mbedtls_platform_win32_snprintf()
80 va_end(argp); in mbedtls_platform_win32_snprintf()
/kernel/linux/linux-5.10/arch/sparc/math-emu/
H A Dmath_64.c165 } *argp; typedef
359 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu()
380 case 1: rs1 = (argp)&f->regs[freg]; in do_mathemu()
383 rs1 = (argp)&zero; in do_mathemu()
398 case 1: rs2 = (argp)&f->regs[freg]; in do_mathemu()
401 rs2 = (argp)&zero; in do_mathemu()
416 case 1: rd = (argp)&f->regs[freg]; in do_mathemu()
/kernel/linux/linux-6.6/arch/sparc/math-emu/
H A Dmath_64.c165 } *argp; typedef
359 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu()
380 case 1: rs1 = (argp)&f->regs[freg]; in do_mathemu()
383 rs1 = (argp)&zero; in do_mathemu()
398 case 1: rs2 = (argp)&f->regs[freg]; in do_mathemu()
401 rs2 = (argp)&zero; in do_mathemu()
416 case 1: rd = (argp)&f->regs[freg]; in do_mathemu()
/kernel/linux/linux-5.10/drivers/misc/
H A Dphantom.c91 void __user *argp = (void __user *)arg; in phantom_ioctl() local
98 if (copy_from_user(&r, argp, sizeof(r))) in phantom_ioctl()
129 if (copy_from_user(&rs, argp, sizeof(rs))) in phantom_ioctl()
147 if (copy_from_user(&r, argp, sizeof(r))) in phantom_ioctl()
155 if (copy_to_user(argp, &r, sizeof(r))) in phantom_ioctl()
162 if (copy_from_user(&rs, argp, sizeof(rs))) in phantom_ioctl()
175 if (copy_to_user(argp, &rs, sizeof(rs))) in phantom_ioctl()
/kernel/linux/linux-6.6/drivers/misc/
H A Dphantom.c91 void __user *argp = (void __user *)arg; in phantom_ioctl() local
98 if (copy_from_user(&r, argp, sizeof(r))) in phantom_ioctl()
129 if (copy_from_user(&rs, argp, sizeof(rs))) in phantom_ioctl()
147 if (copy_from_user(&r, argp, sizeof(r))) in phantom_ioctl()
155 if (copy_to_user(argp, &r, sizeof(r))) in phantom_ioctl()
162 if (copy_from_user(&rs, argp, sizeof(rs))) in phantom_ioctl()
175 if (copy_to_user(argp, &rs, sizeof(rs))) in phantom_ioctl()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_bloom_filter_map.c4 #include <argp.h>
103 const struct argp bench_bloom_map_argp = {
426 .argp = &bench_bloom_map_argp,
437 .argp = &bench_bloom_map_argp,
448 .argp = &bench_bloom_map_argp,
459 .argp = &bench_bloom_map_argp,
470 .argp = &bench_bloom_map_argp,
/kernel/linux/linux-6.6/drivers/s390/char/
H A Duvdevice.c379 static int uvio_copy_and_check_ioctl(struct uvio_ioctl_cb *ioctl, void __user *argp, in uvio_copy_and_check_ioctl() argument
392 if (copy_from_user(ioctl, argp, sizeof(*ioctl))) in uvio_copy_and_check_ioctl()
407 void __user *argp = (void __user *)arg; in uvio_ioctl() local
412 nr = uvio_copy_and_check_ioctl(&uv_ioctl, argp, cmd); in uvio_ioctl()
439 if (copy_to_user(argp, &uv_ioctl, sizeof(uv_ioctl))) in uvio_ioctl()
/kernel/linux/linux-5.10/arch/loongarch/kvm/
H A Dloongarch.c1233 void __user *argp = (void __user *)arg; in kvm_arch_vcpu_async_ioctl() local
1238 if (copy_from_user(&irq, argp, sizeof(irq))) in kvm_arch_vcpu_async_ioctl()
1486 void __user *argp = (void __user *)arg; in kvm_arch_vcpu_ioctl() local
1498 if (copy_from_user(&reg, argp, sizeof(reg))) in kvm_arch_vcpu_ioctl()
1510 if (copy_from_user(&cap, argp, sizeof(cap))) in kvm_arch_vcpu_ioctl()
1517 if (copy_from_user(&ext, argp, sizeof(ext))) in kvm_arch_vcpu_ioctl()
1546 if (copy_to_user(argp, &vcpu_state, sizeof(struct kvm_loongarch_vcpu_state))) in kvm_arch_vcpu_ioctl()
1558 if (copy_from_user(&vcpu_state, argp, sizeof(struct kvm_loongarch_vcpu_state))) in kvm_arch_vcpu_ioctl()
1572 r = kvm_csr_io(vcpu, argp, _kvm_getcsr); in kvm_arch_vcpu_ioctl()
1576 r = kvm_csr_io(vcpu, argp, _kvm_setcs in kvm_arch_vcpu_ioctl()
1629 void __user *argp = (void __user *)arg; kvm_arch_vm_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_ioctl.c221 static int scsi_get_idlun(struct scsi_device *sdev, void __user *argp) in scsi_get_idlun() argument
230 if (copy_to_user(argp, &v, sizeof(struct scsi_idlun))) in scsi_get_idlun()
617 int put_sg_io_hdr(const struct sg_io_hdr *hdr, void __user *argp) in put_sg_io_hdr() argument
646 if (copy_to_user(argp, &hdr32, sizeof(hdr32))) in put_sg_io_hdr()
653 if (copy_to_user(argp, hdr, sizeof(*hdr))) in put_sg_io_hdr()
660 int get_sg_io_hdr(struct sg_io_hdr *hdr, const void __user *argp) in get_sg_io_hdr() argument
666 if (copy_from_user(&hdr32, argp, sizeof(hdr32))) in get_sg_io_hdr()
698 if (copy_from_user(hdr, argp, sizeof(*hdr))) in get_sg_io_hdr()
836 void __user *argp) in scsi_ioctl_sg_io()
841 error = get_sg_io_hdr(&hdr, argp); in scsi_ioctl_sg_io()
835 scsi_ioctl_sg_io(struct scsi_device *sdev, bool open_for_write, void __user *argp) scsi_ioctl_sg_io() argument
[all...]
/kernel/linux/linux-5.10/drivers/vhost/
H A Dvhost.c68 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() argument
75 if (copy_from_user(&s, argp, sizeof(s))) in vhost_set_vring_endian()
91 int __user *argp) in vhost_get_vring_endian()
98 if (copy_to_user(argp, &s, sizeof(s))) in vhost_get_vring_endian()
118 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() argument
124 int __user *argp) in vhost_get_vring_endian()
1489 void __user *argp) in vhost_vring_set_num()
1498 if (copy_from_user(&s, argp, sizeof s)) in vhost_vring_set_num()
1510 void __user *argp) in vhost_vring_set_addr()
1514 if (copy_from_user(&a, argp, sizeo in vhost_vring_set_addr()
90 vhost_get_vring_endian(struct vhost_virtqueue *vq, u32 idx, int __user *argp) vhost_get_vring_endian() argument
123 vhost_get_vring_endian(struct vhost_virtqueue *vq, u32 idx, int __user *argp) vhost_get_vring_endian() argument
1487 vhost_vring_set_num(struct vhost_dev *d, struct vhost_virtqueue *vq, void __user *argp) vhost_vring_set_num() argument
1508 vhost_vring_set_addr(struct vhost_dev *d, struct vhost_virtqueue *vq, void __user *argp) vhost_vring_set_addr() argument
1560 vhost_vring_set_num_addr(struct vhost_dev *d, struct vhost_virtqueue *vq, unsigned int ioctl, void __user *argp) vhost_vring_set_num_addr() argument
1584 vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp) vhost_vring_ioctl() argument
1757 vhost_dev_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp) vhost_dev_ioctl() argument
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dioctl.c62 void __user *argp = (void __user *)arg; in hfsplus_ioctl() local
66 return hfsplus_ioctl_bless(file, argp); in hfsplus_ioctl()

Completed in 18 milliseconds

12345678910>>...32