Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/hptmv/
H A Dhptproc.c306 piop->nInBufferSize, in hpt_set_info()
313 if (piop->nInBufferSize > PAGE_SIZE || in hpt_set_info()
315 piop->nInBufferSize+piop->nOutBufferSize > PAGE_SIZE) { in hpt_set_info()
320 ke_area = malloc(piop->nInBufferSize+piop->nOutBufferSize, M_DEVBUF, M_NOWAIT); in hpt_set_info()
326 if (piop->nInBufferSize) { in hpt_set_info()
327 if (copyin((void*)(ULONG_PTR)piop->lpInBuffer, ke_area, piop->nInBufferSize) != 0) { in hpt_set_info()
338 piop->dwIoControlCode, ke_area, piop->nInBufferSize, in hpt_set_info()
339 ke_area + piop->nInBufferSize, piop->nOutBufferSize, &dwRet); in hpt_set_info()
343 … copyout(ke_area + piop->nInBufferSize, (void*)(ULONG_PTR)piop->lpOutBuffer, piop->nOutBufferSize); in hpt_set_info()
H A Dgui_lib.c1140 if (nInBufferSize != 0) return -1; in hpt_default_ioctl()
1156 if (nInBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl()
1171 if (nInBufferSize!=8) return -1; in hpt_default_ioctl()
1188 if (nInBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl()
1202 if (nInBufferSize!=sizeof(DEVICEID)) return -1; in hpt_default_ioctl()
1221 if (nInBufferSize!=sizeof(DEVICEID)) return -1; in hpt_default_ioctl()
1238 if (nInBufferSize!=sizeof(CREATE_ARRAY_PARAMS)) return -1; in hpt_default_ioctl()
1265 if (nInBufferSize!=sizeof(HPT_SET_ARRAY_INFO)) return -1; in hpt_default_ioctl()
1314 if (nInBufferSize!=sizeof(DEVICEID)) return -1; in hpt_default_ioctl()
1342 if (nInBufferSize!=sizeof(DEVICEID)) return -1; in hpt_default_ioctl()
[all …]
H A Dioctl.c210 DWORD nInBufferSize, /* size of input data buffer */ in Kernel_DeviceIoControl() argument
228 if (nInBufferSize!=sizeof(DEVICEID)+sizeof(DWORD)) return -1; in Kernel_DeviceIoControl()
269 if (nInBufferSize!=0) return -1; in Kernel_DeviceIoControl()
284 if (nInBufferSize!=sizeof(HPT_SET_STATE_PARAM)) return -1; in Kernel_DeviceIoControl()
297 if (nInBufferSize!=0) return -1; in Kernel_DeviceIoControl()
328 if(hpt_default_ioctl(_VBUS_P dwIoControlCode, lpInBuffer, nInBufferSize, in Kernel_DeviceIoControl()
367 if (hpt_default_ioctl(_VBUS_P dwIoControlCode, lpInBuffer, nInBufferSize, in Kernel_DeviceIoControl()
H A Dosbsd.h214 DWORD nInBufferSize, /* size of input data buffer */
272 ULONG nInBufferSize; member
H A Dhptintf.h750 DWORD nInBufferSize; /* size of input data buffer */ member
762 DWORD nInBufferSize; member
/freebsd-12.1/sys/dev/hptiop/
H A Dhptiop.c1103 + pParams->nInBufferSize; in hptiop_post_ioctl_command_itl()
1109 req.inbuf_size = pParams->nInBufferSize; in hptiop_post_ioctl_command_itl()
1183 if (pParams->nInBufferSize) in hptiop_do_ioctl_itl()
1240 + pParams->nInBufferSize; in hptiop_post_ioctl_command_mv()
1273 if (pParams->nInBufferSize) in hptiop_do_ioctl_mv()
1275 req->buf, pParams->nInBufferSize)) in hptiop_do_ioctl_mv()
1283 ((pParams->nInBufferSize + 3) & ~3), in hptiop_do_ioctl_mv()
1322 + pParams->nInBufferSize; in hptiop_post_ioctl_command_mvfrey()
1370 if (pParams->nInBufferSize) in hptiop_do_ioctl_mvfrey()
1372 req->buf, pParams->nInBufferSize)) in hptiop_do_ioctl_mvfrey()
[all …]
H A Dhptiop.h329 u_int32_t nInBufferSize; /* size of input data buffer */ member
/freebsd-12.1/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c883 arg.nInBufferSize = insize;\
1245 piop->nInBufferSize, in hpt_ioctl()
1252 ioctl_args.nInBufferSize = piop->nInBufferSize; in hpt_ioctl()
1256 if (ioctl_args.nInBufferSize) { in hpt_ioctl()
1257 ioctl_args.lpInBuffer = malloc(ioctl_args.nInBufferSize, M_DEVBUF, M_WAITOK); in hpt_ioctl()
1261 ioctl_args.lpInBuffer, piop->nInBufferSize)) in hpt_ioctl()
H A Dhptintf.h1207 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1219 HPT_U32 nInBufferSize; member
H A Dldm.h207 HPT_U32 nInBufferSize; member
/freebsd-12.1/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c1040 arg.nInBufferSize = insize;\
1416 piop->nInBufferSize, in hpt_ioctl()
1423 ioctl_args.nInBufferSize = piop->nInBufferSize; in hpt_ioctl()
1427 if (ioctl_args.nInBufferSize) { in hpt_ioctl()
1428 ioctl_args.lpInBuffer = malloc(ioctl_args.nInBufferSize, M_DEVBUF, M_WAITOK); in hpt_ioctl()
1432 ioctl_args.lpInBuffer, piop->nInBufferSize)) in hpt_ioctl()
H A Dldm.h209 HPT_U32 nInBufferSize; member
H A Dhptintf.h1469 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1481 HPT_U32 nInBufferSize; member
/freebsd-12.1/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c1235 arg.nInBufferSize = insize;\
1598 piop->nInBufferSize, in hpt_ioctl()
1605 ioctl_args.nInBufferSize = piop->nInBufferSize; in hpt_ioctl()
1609 if (ioctl_args.nInBufferSize) { in hpt_ioctl()
1610 ioctl_args.lpInBuffer = malloc(ioctl_args.nInBufferSize, M_DEVBUF, M_WAITOK); in hpt_ioctl()
1614 ioctl_args.lpInBuffer, piop->nInBufferSize)) in hpt_ioctl()
H A Dldm.h209 HPT_U32 nInBufferSize; member
H A Dhptintf.h1465 HPT_U32 nInBufferSize; /* size of input data buffer */ member
1477 HPT_U32 nInBufferSize; member