Lines Matching refs:mem
778 static int32_t UsbFnAdapterReleaseBuf(int32_t ep, const struct GenericMemory *mem) in UsbFnAdapterReleaseBuf() argument
780 return handle_ioctl(ep, GENERIC_CMD_FREE_MEM, &mem); in UsbFnAdapterReleaseBuf()
799 struct GenericMemory mem; in UsbFnAdapterCancelIo() local
801 mem.buf = ioData->buf; in UsbFnAdapterCancelIo()
802 mem.size = ioData->len; in UsbFnAdapterCancelIo()
804 return handle_ioctl(ep, GENERIC_CMD_CANCEL_REQUEST, &mem); in UsbFnAdapterCancelIo()
1065 void UsbFnMemFree(const void *mem) in UsbFnMemFree() argument
1067 if (mem == NULL) { in UsbFnMemFree()
1079 if (pos->address == (uintptr_t)mem) { in UsbFnMemFree()
1091 if (mem != NULL) { in UsbFnMemFree()
1092 OsalMemFree((void *)mem); in UsbFnMemFree()