Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/hptmv/
HDhptproc.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()
HDgui_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 …]
HDioctl.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()
HDosbsd.h210 DWORD nInBufferSize, /* size of input data buffer */
268 ULONG nInBufferSize; member
HDhptintf.h748 DWORD nInBufferSize; /* size of input data buffer */ member
760 DWORD nInBufferSize; member
/freebsd-14-stable/sys/dev/hptiop/
HDhptiop.c1082 if ((((pParams->nInBufferSize + 3) & ~3) + pParams->nOutBufferSize) > in hptiop_post_ioctl_command_itl()
1090 + pParams->nInBufferSize; in hptiop_post_ioctl_command_itl()
1096 req.inbuf_size = pParams->nInBufferSize; in hptiop_post_ioctl_command_itl()
1170 if (pParams->nInBufferSize) in hptiop_do_ioctl_itl()
1173 (void *)pParams->lpInBuffer, pParams->nInBufferSize)) in hptiop_do_ioctl_itl()
1187 ((pParams->nInBufferSize + 3) & ~3), in hptiop_do_ioctl_itl()
1216 if ((((pParams->nInBufferSize + 3) & ~3) + pParams->nOutBufferSize) > in hptiop_post_ioctl_command_mv()
1224 req->inbuf_size = pParams->nInBufferSize; in hptiop_post_ioctl_command_mv()
1227 + pParams->nInBufferSize; in hptiop_post_ioctl_command_mv()
1260 if (pParams->nInBufferSize) in hptiop_do_ioctl_mv()
[all …]
HDhptiop.h327 u_int32_t nInBufferSize; /* size of input data buffer */ member
/freebsd-14-stable/sys/dev/hptrr/
HDhptrr_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()
HDhptintf.h1205 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1217 HPT_U32 nInBufferSize; member
HDldm.h205 HPT_U32 nInBufferSize; member
/freebsd-14-stable/sys/dev/hpt27xx/
HDhpt27xx_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()
HDldm.h207 HPT_U32 nInBufferSize; member
HDhptintf.h1467 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1479 HPT_U32 nInBufferSize; member
/freebsd-14-stable/sys/dev/hptnr/
HDhptnr_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()
HDldm.h207 HPT_U32 nInBufferSize; member
HDhptintf.h1463 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1475 HPT_U32 nInBufferSize; member