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/mips/rmi/msgring.c

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 /*-
    2  * Copyright (c) 2003-2009 RMI Corporation
    3  * All rights reserved.
    4  *
    5  * Redistribution and use in source and binary forms, with or without
    6  * modification, are permitted provided that the following conditions
    7  * are met:
    8  * 1. Redistributions of source code must retain the above copyright
    9  *    notice, this list of conditions and the following disclaimer.
   10  * 2. Redistributions in binary form must reproduce the above copyright
   11  *    notice, this list of conditions and the following disclaimer in the
   12  *    documentation and/or other materials provided with the distribution.
   13  * 3. Neither the name of RMI Corporation, nor the names of its contributors,
   14  *    may be used to endorse or promote products derived from this software
   15  *    without specific prior written permission.
   16  *
   17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   18  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   19  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   20  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   21  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   22  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   23  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   27  * SUCH DAMAGE.
   28  *
   29  * RMI_BSD */
   30 /**********************************************************
   31  * -----------------DO NOT EDIT THIS FILE------------------
   32  * This file has been autogenerated by the build process
   33  * from "msgring.cfg"
   34  **********************************************************/
   35 
   36 #include <mips/rmi/msgring.h>
   37 
   38 struct bucket_size bucket_sizes = {
   39         {
   40                 32, 32, 32, 32, 32, 32, 32, 32,
   41                 32, 32, 32, 32, 32, 32, 32, 32,
   42                 32, 32, 32, 32, 32, 32, 32, 32,
   43                 32, 32, 32, 32, 32, 32, 32, 32,
   44                 32, 32, 32, 32, 32, 32, 32, 32,
   45                 32, 32, 32, 32, 32, 32, 32, 32,
   46                 32, 32, 32, 32, 32, 32, 32, 32,
   47                 32, 32, 32, 32, 32, 32, 32, 32,
   48                 32, 16, 16, 16, 16, 16, 16, 16,
   49                 16, 16, 16, 16, 16, 16, 16, 0,
   50                 32, 16, 16, 16, 16, 16, 16, 16,
   51                 16, 16, 16, 16, 16, 16, 16, 0,
   52                 0, 32, 32, 32, 32, 32, 0, 32,
   53                 0, 0, 0, 0, 0, 0, 0, 0,
   54                 0, 32, 0, 32, 0, 0, 0, 0,
   55                 128, 0, 0, 0, 128, 0, 0, 0,
   56         }
   57 };
   58 
   59 struct stn_cc cc_table_cpu_0 = {{
   60 
   61                 {0, 0, 0, 0, 0, 0, 0, 0},
   62                 {0, 0, 0, 4, 0, 0, 0, 0},
   63                 {0, 0, 0, 0, 0, 0, 0, 0},
   64                 {0, 0, 0, 0, 0, 0, 0, 0},
   65                 {0, 0, 0, 0, 0, 0, 0, 0},
   66                 {0, 0, 0, 0, 0, 0, 0, 0},
   67                 {0, 0, 0, 0, 0, 0, 0, 0},
   68                 {0, 0, 0, 0, 0, 0, 0, 0},
   69                 {4, 2, 2, 2, 2, 2, 2, 2},
   70                 {2, 2, 2, 2, 2, 2, 2, 0},
   71                 {4, 2, 2, 2, 2, 2, 2, 2},
   72                 {2, 2, 2, 2, 2, 2, 2, 0},
   73                 {0, 2, 4, 4, 4, 4, 0, 2},
   74                 {0, 0, 0, 0, 0, 0, 0, 0},
   75                 {0, 2, 0, 2, 0, 0, 0, 0},
   76                 {16, 0, 0, 0, 16, 0, 0, 0},
   77 }};
   78 
   79 struct stn_cc cc_table_cpu_1 = {{
   80 
   81                 {0, 0, 0, 0, 0, 0, 0, 0},
   82                 {0, 0, 0, 0, 0, 0, 0, 0},
   83                 {0, 0, 0, 0, 0, 0, 0, 0},
   84                 {0, 0, 0, 0, 0, 0, 0, 0},
   85                 {0, 0, 0, 0, 0, 0, 0, 0},
   86                 {0, 0, 0, 0, 0, 0, 0, 0},
   87                 {0, 0, 0, 0, 0, 0, 0, 0},
   88                 {0, 0, 0, 0, 0, 0, 0, 0},
   89                 {4, 2, 2, 2, 2, 2, 2, 2},
   90                 {2, 2, 2, 2, 2, 2, 2, 0},
   91                 {4, 2, 2, 2, 2, 2, 2, 2},
   92                 {2, 2, 2, 2, 2, 2, 2, 0},
   93                 {0, 2, 4, 4, 4, 4, 0, 2},
   94                 {0, 0, 0, 0, 0, 0, 0, 0},
   95                 {0, 2, 0, 2, 0, 0, 0, 0},
   96                 {16, 0, 0, 0, 16, 0, 0, 0},
   97 }};
   98 
   99 struct stn_cc cc_table_cpu_2 = {{
  100 
  101                 {0, 0, 0, 0, 0, 0, 0, 0},
  102                 {0, 0, 0, 0, 0, 0, 0, 0},
  103                 {0, 0, 0, 0, 0, 0, 0, 0},
  104                 {0, 0, 0, 0, 0, 0, 0, 0},
  105                 {0, 0, 0, 0, 0, 0, 0, 0},
  106                 {0, 0, 0, 0, 0, 0, 0, 0},
  107                 {0, 0, 0, 0, 0, 0, 0, 0},
  108                 {0, 0, 0, 0, 0, 0, 0, 0},
  109                 {4, 2, 2, 2, 2, 2, 2, 2},
  110                 {2, 2, 2, 2, 2, 2, 2, 0},
  111                 {4, 2, 2, 2, 2, 2, 2, 2},
  112                 {2, 2, 2, 2, 2, 2, 2, 0},
  113                 {0, 4, 4, 4, 4, 4, 0, 4},
  114                 {0, 0, 0, 0, 0, 0, 0, 0},
  115                 {0, 4, 0, 4, 0, 0, 0, 0},
  116                 {16, 0, 0, 0, 16, 0, 0, 0},
  117 }};
  118 
  119 struct stn_cc cc_table_cpu_3 = {{
  120 
  121                 {0, 0, 0, 0, 0, 0, 0, 0},
  122                 {0, 0, 0, 0, 0, 0, 0, 0},
  123                 {0, 0, 0, 0, 0, 0, 0, 0},
  124                 {0, 0, 0, 0, 0, 0, 0, 0},
  125                 {0, 0, 0, 0, 0, 0, 0, 0},
  126                 {0, 0, 0, 0, 0, 0, 0, 0},
  127                 {0, 0, 0, 0, 0, 0, 0, 0},
  128                 {0, 0, 0, 0, 0, 0, 0, 0},
  129                 {4, 2, 2, 2, 2, 2, 2, 2},
  130                 {2, 2, 2, 2, 2, 2, 2, 0},
  131                 {4, 2, 2, 2, 2, 2, 2, 2},
  132                 {2, 2, 2, 2, 2, 2, 2, 0},
  133                 {0, 4, 4, 4, 4, 4, 0, 4},
  134                 {0, 0, 0, 0, 0, 0, 0, 0},
  135                 {0, 4, 0, 4, 0, 0, 0, 0},
  136                 {16, 0, 0, 0, 16, 0, 0, 0},
  137 }};
  138 
  139 struct stn_cc cc_table_cpu_4 = {{
  140 
  141                 {0, 0, 0, 0, 0, 0, 0, 0},
  142                 {0, 0, 0, 0, 0, 0, 0, 0},
  143                 {0, 0, 0, 0, 0, 0, 0, 0},
  144                 {0, 0, 0, 0, 0, 0, 0, 0},
  145                 {0, 0, 0, 0, 0, 0, 0, 0},
  146                 {0, 0, 0, 0, 0, 0, 0, 0},
  147                 {0, 0, 0, 0, 0, 0, 0, 0},
  148                 {0, 0, 0, 0, 0, 0, 0, 0},
  149                 {4, 2, 2, 2, 2, 2, 2, 2},
  150                 {2, 2, 2, 2, 2, 2, 2, 0},
  151                 {4, 2, 2, 2, 2, 2, 2, 2},
  152                 {2, 2, 2, 2, 2, 2, 2, 0},
  153                 {0, 4, 4, 4, 4, 4, 0, 4},
  154                 {0, 0, 0, 0, 0, 0, 0, 0},
  155                 {0, 4, 0, 4, 0, 0, 0, 0},
  156                 {16, 0, 0, 0, 16, 0, 0, 0},
  157 }};
  158 
  159 struct stn_cc cc_table_cpu_5 = {{
  160 
  161                 {0, 0, 0, 0, 0, 0, 0, 0},
  162                 {0, 0, 0, 0, 0, 0, 0, 0},
  163                 {0, 0, 0, 0, 0, 0, 0, 0},
  164                 {0, 0, 0, 0, 0, 0, 0, 0},
  165                 {0, 0, 0, 0, 0, 0, 0, 0},
  166                 {0, 0, 0, 0, 0, 0, 0, 0},
  167                 {0, 0, 0, 0, 0, 0, 0, 0},
  168                 {0, 0, 0, 0, 0, 0, 0, 0},
  169                 {4, 2, 2, 2, 2, 2, 2, 2},
  170                 {2, 2, 2, 2, 2, 2, 2, 0},
  171                 {4, 2, 2, 2, 2, 2, 2, 2},
  172                 {2, 2, 2, 2, 2, 2, 2, 0},
  173                 {0, 4, 4, 4, 4, 4, 0, 4},
  174                 {0, 0, 0, 0, 0, 0, 0, 0},
  175                 {0, 4, 0, 4, 0, 0, 0, 0},
  176                 {16, 0, 0, 0, 16, 0, 0, 0},
  177 }};
  178 
  179 struct stn_cc cc_table_cpu_6 = {{
  180 
  181                 {0, 0, 0, 0, 0, 0, 0, 0},
  182                 {0, 0, 0, 0, 0, 0, 0, 0},
  183                 {0, 0, 0, 0, 0, 0, 0, 0},
  184                 {0, 0, 0, 0, 0, 0, 0, 0},
  185                 {0, 0, 0, 0, 0, 0, 0, 0},
  186                 {0, 0, 0, 0, 0, 0, 0, 0},
  187                 {0, 0, 0, 0, 0, 0, 0, 0},
  188                 {0, 0, 0, 0, 0, 0, 0, 0},
  189                 {4, 2, 2, 2, 2, 2, 2, 2},
  190                 {2, 2, 2, 2, 2, 2, 2, 0},
  191                 {4, 2, 2, 2, 2, 2, 2, 2},
  192                 {2, 2, 2, 2, 2, 2, 2, 0},
  193                 {0, 4, 4, 4, 4, 4, 0, 4},
  194                 {0, 0, 0, 0, 0, 0, 0, 0},
  195                 {0, 4, 0, 4, 0, 0, 0, 0},
  196                 {16, 0, 0, 0, 16, 0, 0, 0},
  197 }};
  198 
  199 struct stn_cc cc_table_cpu_7 = {{
  200 
  201                 {0, 0, 0, 0, 0, 0, 0, 0},
  202                 {0, 0, 0, 0, 0, 0, 0, 0},
  203                 {0, 0, 0, 0, 0, 0, 0, 0},
  204                 {0, 0, 0, 0, 0, 0, 0, 0},
  205                 {0, 0, 0, 0, 0, 0, 0, 0},
  206                 {0, 0, 0, 0, 0, 0, 0, 0},
  207                 {0, 0, 0, 0, 0, 0, 0, 0},
  208                 {0, 0, 0, 0, 0, 0, 0, 0},
  209                 {4, 2, 2, 2, 2, 2, 2, 2},
  210                 {2, 2, 2, 2, 2, 2, 2, 0},
  211                 {4, 2, 2, 2, 2, 2, 2, 2},
  212                 {2, 2, 2, 2, 2, 2, 2, 0},
  213                 {0, 4, 4, 4, 4, 4, 0, 4},
  214                 {0, 0, 0, 0, 0, 0, 0, 0},
  215                 {0, 4, 0, 4, 0, 0, 0, 0},
  216                 {16, 0, 0, 0, 16, 0, 0, 0},
  217 }};
  218 
  219 struct stn_cc cc_table_xgs_0 = {{
  220 
  221                 {8, 8, 8, 8, 8, 8, 8, 8},
  222                 {8, 8, 8, 8, 8, 8, 8, 8},
  223                 {8, 8, 8, 8, 8, 8, 8, 8},
  224                 {8, 8, 8, 8, 8, 8, 8, 8},
  225                 {8, 8, 8, 8, 8, 8, 8, 8},
  226                 {8, 8, 8, 8, 8, 8, 8, 8},
  227                 {8, 8, 8, 8, 8, 8, 8, 8},
  228                 {8, 8, 8, 8, 8, 8, 8, 8},
  229                 {0, 0, 0, 0, 0, 0, 0, 0},
  230                 {0, 0, 0, 0, 0, 0, 0, 0},
  231                 {0, 0, 0, 0, 0, 0, 0, 0},
  232                 {0, 0, 0, 0, 0, 0, 0, 0},
  233                 {0, 0, 0, 0, 0, 0, 0, 0},
  234                 {0, 0, 0, 0, 0, 0, 0, 0},
  235                 {0, 4, 0, 0, 0, 0, 0, 0},
  236                 {0, 0, 0, 0, 0, 0, 0, 0},
  237 }};
  238 
  239 struct stn_cc cc_table_xgs_1 = {{
  240 
  241                 {8, 8, 8, 8, 8, 8, 8, 8},
  242                 {8, 8, 8, 8, 8, 8, 8, 8},
  243                 {8, 8, 8, 8, 8, 8, 8, 8},
  244                 {8, 8, 8, 8, 8, 8, 8, 8},
  245                 {8, 8, 8, 8, 8, 8, 8, 8},
  246                 {8, 8, 8, 8, 8, 8, 8, 8},
  247                 {8, 8, 8, 8, 8, 8, 8, 8},
  248                 {8, 8, 8, 8, 8, 8, 8, 8},
  249                 {0, 0, 0, 0, 0, 0, 0, 0},
  250                 {0, 0, 0, 0, 0, 0, 0, 0},
  251                 {0, 0, 0, 0, 0, 0, 0, 0},
  252                 {0, 0, 0, 0, 0, 0, 0, 0},
  253                 {0, 0, 0, 0, 0, 0, 0, 0},
  254                 {0, 0, 0, 0, 0, 0, 0, 0},
  255                 {0, 0, 0, 4, 0, 0, 0, 0},
  256                 {0, 0, 0, 0, 0, 0, 0, 0},
  257 }};
  258 
  259 struct stn_cc cc_table_gmac = {{
  260 
  261                 {8, 8, 8, 8, 16, 16, 16, 16},
  262                 {8, 8, 8, 8, 16, 16, 16, 16},
  263                 {8, 8, 8, 8, 16, 16, 16, 16},
  264                 {8, 8, 8, 8, 16, 16, 16, 16},
  265                 {8, 8, 8, 8, 16, 16, 16, 16},
  266                 {8, 8, 8, 8, 16, 16, 16, 16},
  267                 {8, 8, 8, 8, 16, 16, 16, 16},
  268                 {8, 8, 8, 8, 16, 16, 16, 16},
  269                 {0, 0, 0, 0, 0, 0, 0, 0},
  270                 {0, 0, 0, 0, 0, 0, 0, 0},
  271                 {0, 0, 0, 0, 0, 0, 0, 0},
  272                 {0, 0, 0, 0, 0, 0, 0, 0},
  273                 {0, 4, 0, 0, 0, 0, 0, 4},
  274                 {0, 0, 0, 0, 0, 0, 0, 0},
  275                 {0, 0, 0, 0, 0, 0, 0, 0},
  276                 {0, 0, 0, 0, 0, 0, 0, 0},
  277 }};
  278 
  279 struct stn_cc cc_table_dma = {{
  280 
  281                 {0, 0, 0, 0, 0, 0, 0, 0},
  282                 {0, 0, 0, 0, 0, 0, 0, 0},
  283                 {0, 0, 0, 0, 0, 0, 0, 0},
  284                 {0, 0, 0, 0, 0, 0, 0, 0},
  285                 {0, 0, 0, 0, 0, 0, 0, 0},
  286                 {0, 0, 0, 0, 0, 0, 0, 0},
  287                 {0, 0, 0, 0, 0, 0, 0, 0},
  288                 {0, 0, 0, 0, 0, 0, 0, 0},
  289                 {0, 0, 0, 0, 0, 0, 0, 0},
  290                 {0, 0, 0, 0, 0, 0, 0, 0},
  291                 {0, 0, 0, 0, 0, 0, 0, 0},
  292                 {0, 0, 0, 0, 0, 0, 0, 0},
  293                 {0, 0, 0, 0, 0, 0, 0, 0},
  294                 {0, 0, 0, 0, 0, 0, 0, 0},
  295                 {0, 0, 0, 0, 0, 0, 0, 0},
  296                 {0, 0, 0, 0, 0, 0, 0, 0},
  297 }};
  298 
  299 struct stn_cc cc_table_sec = {{
  300 
  301                 {8, 8, 8, 8, 0, 0, 0, 0},
  302                 {8, 8, 8, 4, 0, 0, 0, 0},
  303                 {8, 8, 8, 8, 0, 0, 0, 0},
  304                 {8, 8, 8, 8, 0, 0, 0, 0},
  305                 {8, 8, 8, 8, 0, 0, 0, 0},
  306                 {8, 8, 8, 8, 0, 0, 0, 0},
  307                 {8, 8, 8, 8, 0, 0, 0, 0},
  308                 {8, 8, 8, 8, 0, 0, 0, 0},
  309                 {0, 0, 0, 0, 0, 0, 0, 0},
  310                 {0, 0, 0, 0, 0, 0, 0, 0},
  311                 {0, 0, 0, 0, 0, 0, 0, 0},
  312                 {0, 0, 0, 0, 0, 0, 0, 0},
  313                 {0, 0, 0, 0, 0, 0, 0, 0},
  314                 {0, 0, 0, 0, 0, 0, 0, 0},
  315                 {0, 0, 0, 0, 0, 0, 0, 0},
  316                 {0, 0, 0, 0, 0, 0, 0, 0},
  317 }};

Cache object: b0ebe9ede633b25973e7525bf55e2308


[ 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.