---
name: "blk_queue_find_tag"
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/blk_queue_find_tag"
---

# blk\_queue\_find\_tag(9)

find a request by its tag and queue

## NAME

blk\_queue\_find\_tag - find a request by its tag and queue

## SYNOPSIS

**struct request \* blk\_queue\_find\_tag(struct request\_queue \*** *q***, int** *tag***);**

## ARGUMENTS

*q*

The request queue for the device

*tag*

The tag of the request

## NOTES

Should be used when a device returns a tag and you want to match it with a request.

no locks need be held.

## COPYRIGHT
