Lines Matching defs:pBuf

2789 	uint8_t *pBuf;
2894 pBuf = (uint8_t *)kmem_zalloc(byteCount, KM_SLEEP);
2901 p1 = pBuf;
2937 pBuf, byteCount, entry, fSwap);
2941 pBuf, byteCount, entry, fSwap);
2945 if (pBuf) {
2946 kmem_free(pBuf, byteCount);
2998 /* NOTE: This routine does not free pBuf. This is by design. */
3005 uint8_t **pBuf,
3011 *pBuf = NULL;
3022 *pBuf = (uint8_t *)kmem_zalloc(size, KM_SLEEP);
3024 status = emlxs_get_dump_region(hba, regionId, *pBuf, &size);
3027 kmem_free(pBuf, size);
3028 *pBuf = NULL;
3046 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3058 status = emlxs_dump_drv_region(hba, DR_SLI_REGS, &pBuf, &bufLen);
3065 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_SLI_REGS,
3068 kmem_free(pBuf, bufLen);
3083 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3091 status = emlxs_dump_drv_region(hba, DR_SLIM, &pBuf, &bufLen);
3101 emlxs_dump_word_txtfile(fpTxtFile, (uint32_t *)pBuf,
3106 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_SLIM,
3109 kmem_free(pBuf, bufLen);
3122 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3134 status = emlxs_dump_drv_region(hba, DR_PCB, &pBuf, &bufLen);
3140 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_PCB,
3143 kmem_free(pBuf, bufLen);
3156 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3168 status = emlxs_dump_drv_region(hba, DR_MBX, &pBuf, &bufLen);
3174 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_MBX,
3177 kmem_free(pBuf, bufLen);
3190 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3202 status = emlxs_dump_drv_region(hba, DR_HOST_PTRS, &pBuf, &bufLen);
3208 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_HOST_PTRS,
3211 kmem_free(pBuf, bufLen);
3224 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3236 status = emlxs_dump_drv_region(hba, DR_PORT_PTRS, &pBuf, &bufLen);
3242 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_PORT_PTRS,
3245 kmem_free(pBuf, bufLen);
3258 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3270 status = emlxs_dump_drv_region(hba, DR_RINGS, &pBuf, &bufLen);
3276 emlxs_dump_host_struct(fpDmpFile, pBuf, bufLen, sizeof (IOCB),
3280 kmem_free(pBuf, bufLen);
3293 uint8_t *pBuf; /* ptr to data buffer to receive Dump Region Data */
3305 status = emlxs_dump_drv_region(hba, DR_INTERNAL, &pBuf, &bufLen);
3311 emlxs_dump_host_block(fpDmpFile, pBuf, bufLen, SID_INTERNAL_SOL,
3314 kmem_free(pBuf, bufLen);