Searched refs:iobuf32 (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/arch/parisc/kernel/ |
D | ioctl32.c | 1628 struct atm_iobuf32 iobuf32; in do_atm_iobuf() local 1633 err = copy_from_user(&iobuf32, (struct atm_iobuf32*)arg, in do_atm_iobuf() 1638 iobuf.length = iobuf32.length; in do_atm_iobuf() 1640 if (iobuf32.buffer == (__kernel_caddr_t32) NULL || iobuf32.length == 0) { in do_atm_iobuf() 1641 iobuf.buffer = (void*)(unsigned long)iobuf32.buffer; in do_atm_iobuf() 1649 err = copy_from_user(iobuf.buffer, A(iobuf32.buffer), iobuf.length); in do_atm_iobuf() 1663 err = copy_to_user(A(iobuf32.buffer), iobuf.buffer, iobuf.length); in do_atm_iobuf() 1672 if(iobuf32.buffer && iobuf32.length > 0) in do_atm_iobuf()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ia32_ioctl.c | 2154 struct atm_iobuf32 iobuf32; in do_atm_iobuf() local 2159 err = copy_from_user(&iobuf32, (struct atm_iobuf32*)arg, in do_atm_iobuf() 2164 iobuf.length = iobuf32.length; in do_atm_iobuf() 2166 if (iobuf32.buffer == (__kernel_caddr_t32) NULL || iobuf32.length == 0) { in do_atm_iobuf() 2167 iobuf.buffer = (void*)(unsigned long)iobuf32.buffer; in do_atm_iobuf() 2169 iobuf.buffer = A(iobuf32.buffer); in do_atm_iobuf()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | ioctl32.c | 2141 struct atm_iobuf32 iobuf32; in do_atm_iobuf() local 2146 err = copy_from_user(&iobuf32, (struct atm_iobuf32*)arg, in do_atm_iobuf() 2151 iobuf.length = iobuf32.length; in do_atm_iobuf() 2153 if (iobuf32.buffer == (__kernel_caddr_t32) NULL || iobuf32.length == 0) { in do_atm_iobuf() 2154 iobuf.buffer = (void*)(unsigned long)iobuf32.buffer; in do_atm_iobuf() 2156 iobuf.buffer = A(iobuf32.buffer); in do_atm_iobuf()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | ioctl32.c | 2545 struct atm_iobuf32 *iobuf32; in do_atm_iobuf() local 2551 iobuf32 = (struct atm_iobuf32 *) arg; in do_atm_iobuf() 2553 if (get_user(len, &iobuf32->length) || in do_atm_iobuf() 2554 get_user(data, &iobuf32->buffer)) in do_atm_iobuf() 2564 if (copy_in_user(&iobuf32->length, &iobuf->length, in do_atm_iobuf()
|