Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/atlasrep/datapkg/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 15.6.2014 mit Größe 54 B image not shown  

Quellcode-Bibliothek scsi_tcq.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _SCSI_SCSI_TCQ_H
#define _SCSI_SCSI_TCQ_H

#include <linux/blkdev.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>

#define SCSI_NO_TAG (-1)    /* identify no tag in use */


#ifdef CONFIG_BLOCK
/**
 * scsi_host_find_tag - find the tagged command by host
 * @shost: pointer to scsi_host
 * @tag: tag
 *
 * Note: for devices using multiple hardware queues tag must have been
 * generated by blk_mq_unique_tag().
 **/

static inline struct scsi_cmnd *scsi_host_find_tag(struct Scsi_Host *shost,
  int tag)
{
 struct request *req = NULL;
 u16 hwq;

 if (tag == SCSI_NO_TAG)
  return NULL;

 hwq = blk_mq_unique_tag_to_hwq(tag);
 if (hwq < shost->tag_set.nr_hw_queues) {
  req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq],
     blk_mq_unique_tag_to_tag(tag));
 }

 if (!req || !blk_mq_request_started(req))
  return NULL;
 return blk_mq_rq_to_pdu(req);
}

#endif /* CONFIG_BLOCK */
#endif /* _SCSI_SCSI_TCQ_H */

Messung V0.5
C=91 H=96 G=93

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:  (vorverarbeitet)  ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.