The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/qat/qat_api/common/include/lac_log.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* SPDX-License-Identifier: BSD-3-Clause */
    2 /* Copyright(c) 2007-2022 Intel Corporation */
    3 /* $FreeBSD$ */
    4 
    5 /**
    6  ***************************************************************************
    7  * @file lac_log.h
    8  *
    9  * @defgroup LacLog     Log
   10  *
   11  * @ingroup LacCommon
   12  *
   13  * Logging Macros. These macros also log the function name they are called in.
   14  *
   15  ***************************************************************************/
   16 
   17 /***************************************************************************/
   18 
   19 #ifndef LAC_LOG_H
   20 #define LAC_LOG_H
   21 
   22 /***************************************************************************
   23  * Include public/global header files
   24  ***************************************************************************/
   25 #include "cpa.h"
   26 #include "lac_common.h"
   27 #include "icp_accel_devices.h"
   28 
   29 #define LAC_INVALID_PARAM_LOG_(log, args...)                                   \
   30         QAT_UTILS_LOG("[error] %s() - : Invalid API Param - " log "\n",        \
   31                       __func__,                                                \
   32                       ##args)
   33 
   34 #define LAC_INVALID_PARAM_LOG(log) LAC_INVALID_PARAM_LOG_(log)
   35 
   36 #define LAC_INVALID_PARAM_LOG1(log, param1) LAC_INVALID_PARAM_LOG_(log, param1)
   37 
   38 #define LAC_INVALID_PARAM_LOG2(log, param1, param2)                            \
   39         LAC_INVALID_PARAM_LOG_(log, param1, param2)
   40 
   41 #define LAC_UNSUPPORTED_PARAM_LOG(log)                                         \
   42         QAT_UTILS_LOG("%s() - : UnSupported API Param - " log "\n", __func__)
   43 
   44 #define LAC_LOG_ERROR(log) QAT_UTILS_LOG("%s() - : " log "\n", __func__)
   45 
   46 #endif /* LAC_LOG_H */

Cache object: 5c47af6e8615d8ed2001317f5c603a6d


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.