/freebsd/sys/dev/hptmv/ |
H A D | hptproc.c | 304 piop->nInBufferSize, in hpt_set_info() 311 if (piop->nInBufferSize > PAGE_SIZE || in hpt_set_info() 313 piop->nInBufferSize+piop->nOutBufferSize > PAGE_SIZE) { in hpt_set_info() 318 ke_area = malloc(piop->nInBufferSize+piop->nOutBufferSize, M_DEVBUF, M_NOWAIT); in hpt_set_info() 324 if (piop->nInBufferSize) { in hpt_set_info() 325 if (copyin((void*)(ULONG_PTR)piop->lpInBuffer, ke_area, piop->nInBufferSize) != 0) { in hpt_set_info() 336 piop->dwIoControlCode, ke_area, piop->nInBufferSize, in hpt_set_info() 337 ke_area + piop->nInBufferSize, piop->nOutBufferSize, &dwRet); in hpt_set_info() 341 …err = -copyout(ke_area + piop->nInBufferSize, (void*)(ULONG_PTR)piop->lpOutBuffer, piop->nOutBuffe… in hpt_set_info()
|
H A D | gui_lib.c | 1128 DWORD nInBufferSize, /* size of input data buffer */ in hpt_default_ioctl() argument 1138 if (nInBufferSize != 0) return -1; in hpt_default_ioctl() 1154 if (nInBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl() 1169 if (nInBufferSize!=8) return -1; in hpt_default_ioctl() 1186 if (nInBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl() 1200 if (nInBufferSize!=sizeof(DEVICEID)) return -1; in hpt_default_ioctl() 1219 if (nInBufferSize!=sizeof(DEVICEID)) return -1; in hpt_default_ioctl() 1236 if (nInBufferSize!=sizeof(CREATE_ARRAY_PARAMS)) return -1; in hpt_default_ioctl() 1248 if (nInBufferSize!=sizeof(CREATE_ARRAY_PARAMS_V2)) return -1; in hpt_default_ioctl() 1263 if (nInBufferSize!=sizeof(HPT_SET_ARRAY_INFO)) return -1; in hpt_default_ioctl() [all …]
|
H A D | ioctl.c | 208 DWORD nInBufferSize, /* size of input data buffer */ in Kernel_DeviceIoControl() argument 226 if (nInBufferSize!=sizeof(DEVICEID)+sizeof(DWORD)) return -1; in Kernel_DeviceIoControl() 267 if (nInBufferSize!=0) return -1; in Kernel_DeviceIoControl() 282 if (nInBufferSize!=sizeof(HPT_SET_STATE_PARAM)) return -1; in Kernel_DeviceIoControl() 295 if (nInBufferSize!=0) return -1; in Kernel_DeviceIoControl() 326 if(hpt_default_ioctl(_VBUS_P dwIoControlCode, lpInBuffer, nInBufferSize, in Kernel_DeviceIoControl() 365 if (hpt_default_ioctl(_VBUS_P dwIoControlCode, lpInBuffer, nInBufferSize, in Kernel_DeviceIoControl()
|
H A D | osbsd.h | 210 DWORD nInBufferSize, /* size of input data buffer */ 268 ULONG nInBufferSize; member
|
H A D | hptintf.h | 748 DWORD nInBufferSize; /* size of input data buffer */ member 760 DWORD nInBufferSize; member
|
/freebsd/sys/dev/hptiop/ |
H A D | hptiop.c | 1081 if ((((pParams->nInBufferSize + 3) & ~3) + pParams->nOutBufferSize) > in hptiop_post_ioctl_command_itl() 1089 + pParams->nInBufferSize; in hptiop_post_ioctl_command_itl() 1095 req.inbuf_size = pParams->nInBufferSize; in hptiop_post_ioctl_command_itl() 1169 if (pParams->nInBufferSize) in hptiop_do_ioctl_itl() 1172 (void *)pParams->lpInBuffer, pParams->nInBufferSize)) in hptiop_do_ioctl_itl() 1186 ((pParams->nInBufferSize + 3) & ~3), in hptiop_do_ioctl_itl() 1215 if ((((pParams->nInBufferSize + 3) & ~3) + pParams->nOutBufferSize) > in hptiop_post_ioctl_command_mv() 1223 req->inbuf_size = pParams->nInBufferSize; in hptiop_post_ioctl_command_mv() 1226 + pParams->nInBufferSize; in hptiop_post_ioctl_command_mv() 1259 if (pParams->nInBufferSize) in hptiop_do_ioctl_mv() [all …]
|
H A D | hptiop.h | 327 u_int32_t nInBufferSize; /* size of input data buffer */ member
|
/freebsd/sys/dev/hptrr/ |
H A D | hptrr_osm_bsd.c | 881 arg.nInBufferSize = insize;\ 1238 piop->nInBufferSize, in hpt_ioctl() 1245 ioctl_args.nInBufferSize = piop->nInBufferSize; in hpt_ioctl() 1249 if (ioctl_args.nInBufferSize) { in hpt_ioctl() 1250 ioctl_args.lpInBuffer = malloc(ioctl_args.nInBufferSize, M_DEVBUF, M_WAITOK); in hpt_ioctl() 1252 ioctl_args.lpInBuffer, piop->nInBufferSize)) in hpt_ioctl()
|
H A D | hptintf.h | 1205 HPT_U32 nInBufferSize; /* size of input data buffer */ member 1217 HPT_U32 nInBufferSize; member
|
H A D | ldm.h | 205 HPT_U32 nInBufferSize; member
|
/freebsd/sys/dev/hpt27xx/ |
H A D | hpt27xx_osm_bsd.c | 950 arg.nInBufferSize = insize;\ 1305 piop->nInBufferSize, in hpt_ioctl() 1312 ioctl_args.nInBufferSize = piop->nInBufferSize; in hpt_ioctl() 1316 if (ioctl_args.nInBufferSize) { in hpt_ioctl() 1317 ioctl_args.lpInBuffer = malloc(ioctl_args.nInBufferSize, M_DEVBUF, M_WAITOK); in hpt_ioctl() 1319 ioctl_args.lpInBuffer, piop->nInBufferSize)) in hpt_ioctl()
|
H A D | ldm.h | 207 HPT_U32 nInBufferSize; member
|
H A D | hptintf.h | 1467 HPT_U32 nInBufferSize; /* size of input data buffer */ member 1479 HPT_U32 nInBufferSize; member
|
/freebsd/sys/dev/hptnr/ |
H A D | hptnr_osm_bsd.c | 1237 arg.nInBufferSize = insize;\ 1595 piop->nInBufferSize, in hpt_ioctl() 1602 ioctl_args.nInBufferSize = piop->nInBufferSize; in hpt_ioctl() 1606 if (ioctl_args.nInBufferSize) { in hpt_ioctl() 1607 ioctl_args.lpInBuffer = malloc(ioctl_args.nInBufferSize, M_DEVBUF, M_WAITOK); in hpt_ioctl() 1609 ioctl_args.lpInBuffer, piop->nInBufferSize)) in hpt_ioctl()
|
H A D | ldm.h | 207 HPT_U32 nInBufferSize; member
|
H A D | hptintf.h | 1463 HPT_U32 nInBufferSize; /* size of input data buffer */ member 1475 HPT_U32 nInBufferSize; member
|