Searched refs:dxferp (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/include/scsi/ ! |
D | sg.h | 125 void * dxferp; /* [i], [*io] points to data transfer memory member
|
/linux-2.4.37.9/arch/ppc64/kernel/ ! |
D | ioctl32.c | 1283 u32 dxferp; /* [i], [*io] points to data transfer memory member 1317 sgp->dxferp = kmalloc(sgp->iovec_count * in alloc_sg_iovec() 1319 if (!sgp->dxferp) in alloc_sg_iovec() 1321 memset(sgp->dxferp, 0, in alloc_sg_iovec() 1324 kiov = (sg_iovec_t *) sgp->dxferp; in alloc_sg_iovec() 1342 kfree(sgp->dxferp); in free_sg_iovec() 1343 sgp->dxferp = NULL; in free_sg_iovec() 1365 sg_io64.dxferp = NULL; in sg_ioctl_trans() 1399 err |= __get_user(dxferp32, &sg_io32->dxferp); in sg_ioctl_trans() 1412 sg_io64.dxferp = kmalloc(sg_io64.dxfer_len, GFP_KERNEL); in sg_ioctl_trans() [all …]
|
/linux-2.4.37.9/arch/x86_64/ia32/ ! |
D | ia32_ioctl.c | 1379 u32 dxferp; /* [i], [*io] points to data transfer memory member 1413 sgp->dxferp = kmalloc(sgp->iovec_count * in alloc_sg_iovec() 1415 if (!sgp->dxferp) in alloc_sg_iovec() 1417 memset(sgp->dxferp, 0, in alloc_sg_iovec() 1420 kiov = (sg_iovec_t *) sgp->dxferp; in alloc_sg_iovec() 1438 kfree(sgp->dxferp); in free_sg_iovec() 1439 sgp->dxferp = NULL; in free_sg_iovec() 1461 sg_io64.dxferp = NULL; in sg_ioctl_trans() 1492 err |= __get_user(dxferp32, &sg_io32->dxferp); in sg_ioctl_trans() 1505 sg_io64.dxferp = A(dxferp32); in sg_ioctl_trans() [all …]
|
/linux-2.4.37.9/drivers/scsi/ ! |
D | sg.c | 589 hp->dxferp = (unsigned char *)buf + cmd_size; in sg_write() 1709 schp->kiobp, (unsigned long)hp->dxferp, dxfer_len); in sg_build_dir() 1885 if ((k = verify_area(VERIFY_READ, hp->dxferp, in sg_write_xfer() 1958 p = (unsigned char *)hp->dxferp; in sg_u_iovec() 1966 (unsigned char *)hp->dxferp + (ind * SZ_SG_IOVEC), in sg_u_iovec() 2040 if ((k = verify_area(VERIFY_READ, hp->dxferp, in sg_read_xfer()
|
/linux-2.4.37.9/arch/sparc64/kernel/ ! |
D | ioctl32.c | 1472 u32 dxferp; /* [i], [*io] points to data transfer memory member 1496 static int sg_build_iovec(sg_io_hdr_t *sgio, void *dxferp, u16 iovec_count) in sg_build_iovec() argument 1499 sg_iovec32_t *iov32 = dxferp; in sg_build_iovec() 1521 void *dxferp; in sg_ioctl_trans() local 1549 if (get_user(data, &sgio32->dxferp)) in sg_ioctl_trans() 1551 dxferp = (void *) (unsigned long) data; in sg_ioctl_trans() 1553 if (sg_build_iovec(sgio, dxferp, iovec_count)) in sg_ioctl_trans() 1556 if (put_user(dxferp, &sgio->dxferp)) in sg_ioctl_trans()
|