Home
last modified time | relevance | path

Searched refs:karg (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/drivers/message/fusion/
Dmptctl.c148 static int mptctl_do_mpt_command (struct mpt_ioctl_command karg, char *mfPtr, int local);
1225 struct mpt_ioctl_iocinfo karg; in mptctl_getiocinfo() local
1252 if (copy_from_user(&karg, uarg, data_size)) { in mptctl_getiocinfo()
1259 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || in mptctl_getiocinfo()
1269 if (karg.hdr.maxDataSize != data_size) { in mptctl_getiocinfo()
1280 karg.adapterType = MPT_IOCTL_INTERFACE_FC; in mptctl_getiocinfo()
1282 karg.adapterType = MPT_IOCTL_INTERFACE_SCSI; in mptctl_getiocinfo()
1284 port = karg.hdr.port; in mptctl_getiocinfo()
1286 karg.port = port; in mptctl_getiocinfo()
1289 karg.pciId = pdev->device; in mptctl_getiocinfo()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c595 void *karg; in fb_ioctl_trans() local
601 karg = &fix; in fb_ioctl_trans()
605 karg = &cmap; in fb_ioctl_trans()
656 err = sys_ioctl(fd, cmd, (unsigned long)karg); in fb_ioctl_trans()
839 void *karg = NULL; in fd_ioctl_trans() local
858 f = karg = kmalloc(sizeof(struct floppy_struct), GFP_KERNEL); in fd_ioctl_trans()
859 if (!karg) in fd_ioctl_trans()
884 f = karg = kmalloc(sizeof(struct floppy_drive_params), GFP_KERNEL); in fd_ioctl_trans()
885 if (!karg) in fd_ioctl_trans()
916 karg = kmalloc(sizeof(struct floppy_drive_struct), GFP_KERNEL); in fd_ioctl_trans()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dioctl32.c334 } karg; in do_video_ioctl() local
354 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl()
358 err = get_video_window32(&karg.vw, up); in do_video_ioctl()
362 err = get_video_buffer32(&karg.vb, up); in do_video_ioctl()
366 err = get_user(karg.vx, (u32 *)up); in do_video_ioctl()
373 err = sys_ioctl(fd, cmd, (unsigned long)&karg); in do_video_ioctl()
377 free_kvideo_clips(&karg.vw); in do_video_ioctl()
382 err = put_video_tuner32(&karg.vt, up); in do_video_ioctl()
386 err = put_video_window32(&karg.vw, up); in do_video_ioctl()
390 err = put_video_buffer32(&karg.vb, up); in do_video_ioctl()
[all …]
Dsys_ppc32.c1773 static int nfs_svc32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_svc32_trans() argument
1777 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_svc32_trans()
1778 err |= __get_user(karg->ca_svc.svc_port, &arg32->ca32_svc.svc32_port); in nfs_svc32_trans()
1779 err |= __get_user(karg->ca_svc.svc_nthreads, &arg32->ca32_svc.svc32_nthreads); in nfs_svc32_trans()
1783 static int nfs_clnt32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_clnt32_trans() argument
1787 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_clnt32_trans()
1788 err |= copy_from_user(&karg->ca_client.cl_ident[0], in nfs_clnt32_trans()
1791 err |= __get_user(karg->ca_client.cl_naddr, &arg32->ca32_client.cl32_naddr); in nfs_clnt32_trans()
1792 err |= copy_from_user(&karg->ca_client.cl_addrlist[0], in nfs_clnt32_trans()
1795 err |= __get_user(karg->ca_client.cl_fhkeytype, in nfs_clnt32_trans()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dioctl32.c342 } karg; in do_video_ioctl() local
362 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl()
366 err = get_video_window32(&karg.vw, up); in do_video_ioctl()
370 err = get_video_buffer32(&karg.vb, up); in do_video_ioctl()
374 err = get_user(karg.vx, (u32 *)up); in do_video_ioctl()
381 err = sys_ioctl(fd, cmd, (unsigned long)&karg); in do_video_ioctl()
385 free_kvideo_clips(&karg.vw); in do_video_ioctl()
390 err = put_video_tuner32(&karg.vt, up); in do_video_ioctl()
394 err = put_video_window32(&karg.vw, up); in do_video_ioctl()
398 err = put_video_buffer32(&karg.vb, up); in do_video_ioctl()
[all …]
Dsys_sparc32.c3869 static int nfs_svc32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_svc32_trans() argument
3873 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_svc32_trans()
3874 err |= __get_user(karg->ca_svc.svc_port, &arg32->ca32_svc.svc32_port); in nfs_svc32_trans()
3875 err |= __get_user(karg->ca_svc.svc_nthreads, &arg32->ca32_svc.svc32_nthreads); in nfs_svc32_trans()
3879 static int nfs_clnt32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_clnt32_trans() argument
3883 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_clnt32_trans()
3884 err |= copy_from_user(&karg->ca_client.cl_ident[0], in nfs_clnt32_trans()
3887 err |= __get_user(karg->ca_client.cl_naddr, &arg32->ca32_client.cl32_naddr); in nfs_clnt32_trans()
3888 err |= copy_from_user(&karg->ca_client.cl_addrlist[0], in nfs_clnt32_trans()
3891 err |= __get_user(karg->ca_client.cl_fhkeytype, in nfs_clnt32_trans()
[all …]
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c2419 static int nfs_svc32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_svc32_trans() argument
2423 err = get_user(karg->ca_version, &arg32->ca32_version); in nfs_svc32_trans()
2424 err |= __get_user(karg->ca_svc.svc_port, &arg32->ca32_svc.svc32_port); in nfs_svc32_trans()
2425 err |= __get_user(karg->ca_svc.svc_nthreads, &arg32->ca32_svc.svc32_nthreads); in nfs_svc32_trans()
2429 static int nfs_clnt32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_clnt32_trans() argument
2433 err = get_user(karg->ca_version, &arg32->ca32_version); in nfs_clnt32_trans()
2434 err |= copy_from_user(&karg->ca_client.cl_ident[0], in nfs_clnt32_trans()
2437 err |= __get_user(karg->ca_client.cl_naddr, &arg32->ca32_client.cl32_naddr); in nfs_clnt32_trans()
2438 err |= copy_from_user(&karg->ca_client.cl_addrlist[0], in nfs_clnt32_trans()
2441 err |= __get_user(karg->ca_client.cl_fhkeytype, in nfs_clnt32_trans()
[all …]
Dia32_ioctl.c349 } karg; in do_video_ioctl() local
369 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl()
373 err = get_video_window32(&karg.vw, up); in do_video_ioctl()
377 err = get_video_buffer32(&karg.vb, up); in do_video_ioctl()
381 err = get_user(karg.vx, (u32 *)up); in do_video_ioctl()
388 err = sys_ioctl(fd, cmd, (unsigned long)&karg); in do_video_ioctl()
392 free_kvideo_clips(&karg.vw); in do_video_ioctl()
397 err = put_video_tuner32(&karg.vt, up); in do_video_ioctl()
401 err = put_video_window32(&karg.vw, up); in do_video_ioctl()
405 err = put_video_buffer32(&karg.vb, up); in do_video_ioctl()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c3817 static int nfs_svc32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_svc32_trans() argument
3821 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_svc32_trans()
3822 err |= __get_user(karg->ca_svc.svc_port, &arg32->ca32_svc.svc32_port); in nfs_svc32_trans()
3823 err |= __get_user(karg->ca_svc.svc_nthreads, &arg32->ca32_svc.svc32_nthreads); in nfs_svc32_trans()
3827 static int nfs_clnt32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_clnt32_trans() argument
3831 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_clnt32_trans()
3832 err |= copy_from_user(&karg->ca_client.cl_ident[0], in nfs_clnt32_trans()
3835 err |= __get_user(karg->ca_client.cl_naddr, &arg32->ca32_client.cl32_naddr); in nfs_clnt32_trans()
3836 err |= copy_from_user(&karg->ca_client.cl_addrlist[0], in nfs_clnt32_trans()
3839 err |= __get_user(karg->ca_client.cl_fhkeytype, in nfs_clnt32_trans()
[all …]
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c4333 nfs_svc32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_svc32_trans() argument
4337 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_svc32_trans()
4338 err |= __get_user(karg->ca_svc.svc_port, &arg32->ca32_svc.svc32_port); in nfs_svc32_trans()
4339 err |= __get_user(karg->ca_svc.svc_nthreads, in nfs_svc32_trans()
4345 nfs_clnt32_trans(struct nfsctl_arg *karg, struct nfsctl_arg32 *arg32) in nfs_clnt32_trans() argument
4349 err = __get_user(karg->ca_version, &arg32->ca32_version); in nfs_clnt32_trans()
4350 err |= copy_from_user(&karg->ca_client.cl_ident[0], in nfs_clnt32_trans()
4353 err |= __get_user(karg->ca_client.cl_naddr, in nfs_clnt32_trans()
4355 err |= copy_from_user(&karg->ca_client.cl_addrlist[0], in nfs_clnt32_trans()
4358 err |= __get_user(karg->ca_client.cl_fhkeytype, in nfs_clnt32_trans()
[all …]
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c724 } karg; in do_video_ioctl() local
744 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl()
748 err = get_video_window32(&karg.vw, up); in do_video_ioctl()
752 err = get_video_buffer32(&karg.vb, up); in do_video_ioctl()
756 err = get_user(karg.vx, (u32 *)up); in do_video_ioctl()
763 err = sys_ioctl(fd, cmd, (unsigned long)&karg); in do_video_ioctl()
767 free_kvideo_clips(&karg.vw); in do_video_ioctl()
772 err = put_video_tuner32(&karg.vt, up); in do_video_ioctl()
776 err = put_video_window32(&karg.vw, up); in do_video_ioctl()
780 err = put_video_buffer32(&karg.vb, up); in do_video_ioctl()
[all …]