<!--
{
  "availability" : [
    "DriverKit: -"
  ],
  "documentType" : "symbol",
  "framework" : "SCSIControllerDriverKit",
  "identifier" : "/documentation/SCSIControllerDriverKit/IOUserSCSIParallelInterfaceController/UserClearTaskSetRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SCSIControllerDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserSCSIParallelInterfaceController@F@UserClearTaskSetRequest#k#k#*i#"
  },
  "title" : "UserClearTaskSetRequest"
}
-->

# UserClearTaskSetRequest

Aborts all tasks in a logical unit and clears their data.

```
virtual kern_return_t UserClearTaskSetRequest(uint64_t theT, uint64_t theL, uint32_t *response);
```

## Parameters

`theT`

The target containing the tasks to clear.

`theL`

The logical unit containing the tasks to clear.

`response`

On return, a SCSI protocol-specific value indicating the success or failure of the request.

## Discussion

This method clears all pending and status data, but not previously established conditions, such as `MODE SELECT` parameters, reservations, and autocontingent allegiance (ACA) attributes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)