Home
last modified time | relevance | path

Searched refs:nInBufferSize (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/hptmv/
H A Dhptproc.c304 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 Dgui_lib.c1128 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 Dioctl.c208 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 Dosbsd.h210 DWORD nInBufferSize, /* size of input data buffer */
268 ULONG nInBufferSize; member
H A Dhptintf.h748 DWORD nInBufferSize; /* size of input data buffer */ member
760 DWORD nInBufferSize; member
/freebsd/sys/dev/hptiop/
H A Dhptiop.c1081 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 Dhptiop.h327 u_int32_t nInBufferSize; /* size of input data buffer */ member
/freebsd/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c881 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 Dhptintf.h1205 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1217 HPT_U32 nInBufferSize; member
H A Dldm.h205 HPT_U32 nInBufferSize; member
/freebsd/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c950 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 Dldm.h207 HPT_U32 nInBufferSize; member
H A Dhptintf.h1467 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1479 HPT_U32 nInBufferSize; member
/freebsd/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c1237 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 Dldm.h207 HPT_U32 nInBufferSize; member
H A Dhptintf.h1463 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1475 HPT_U32 nInBufferSize; member