---
name: "usb_sg_cancel"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_sg_cancel"
---

# usb\_sg\_cancel(9)

stop scatter/gather i/o issued by usb\_sg\_wait

## NAME

usb\_sg\_cancel - stop scatter/gather i/o issued by **usb\_sg\_wait**

## SYNOPSIS

**void usb\_sg\_cancel(struct usb\_sg\_request \*** *io***);**

## ARGUMENTS

*io*

request block, initialized with **usb\_sg\_init**

## DESCRIPTION

This stops a request after it has been started by **usb\_sg\_wait**. It can also prevents one initialized by **usb\_sg\_init** from starting, so that call just frees resources allocated to the request.

## COPYRIGHT
