~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/fsl_hypervisor.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Freescale hypervisor ioctl and kernel interface
  3  *
  4  * Copyright (C) 2008-2011 Freescale Semiconductor, Inc.
  5  * Author: Timur Tabi <timur@freescale.com>
  6  *
  7  * Redistribution and use in source and binary forms, with or without
  8  * modification, are permitted provided that the following conditions are met:
  9  *     * Redistributions of source code must retain the above copyright
 10  *       notice, this list of conditions and the following disclaimer.
 11  *     * Redistributions in binary form must reproduce the above copyright
 12  *       notice, this list of conditions and the following disclaimer in the
 13  *       documentation and/or other materials provided with the distribution.
 14  *     * Neither the name of Freescale Semiconductor nor the
 15  *       names of its contributors may be used to endorse or promote products
 16  *       derived from this software without specific prior written permission.
 17  *
 18  *
 19  * ALTERNATIVELY, this software may be distributed under the terms of the
 20  * GNU General Public License ("GPL") as published by the Free Software
 21  * Foundation, either version 2 of that License or (at your option) any
 22  * later version.
 23  *
 24  * This software is provided by Freescale Semiconductor "as is" and any
 25  * express or implied warranties, including, but not limited to, the implied
 26  * warranties of merchantability and fitness for a particular purpose are
 27  * disclaimed. In no event shall Freescale Semiconductor be liable for any
 28  * direct, indirect, incidental, special, exemplary, or consequential damages
 29  * (including, but not limited to, procurement of substitute goods or services;
 30  * loss of use, data, or profits; or business interruption) however caused and
 31  * on any theory of liability, whether in contract, strict liability, or tort
 32  * (including negligence or otherwise) arising in any way out of the use of this
 33  * software, even if advised of the possibility of such damage.
 34  *
 35  * This file is used by the Freescale hypervisor management driver.  It can
 36  * also be included by applications that need to communicate with the driver
 37  * via the ioctl interface.
 38  */
 39 #ifndef FSL_HYPERVISOR_H
 40 #define FSL_HYPERVISOR_H
 41 
 42 #include <uapi/linux/fsl_hypervisor.h>
 43 
 44 
 45 /**
 46  * fsl_hv_event_register() - register a callback for failover events
 47  * @nb: pointer to caller-supplied notifier_block structure
 48  *
 49  * This function is called by device drivers to register their callback
 50  * functions for fail-over events.
 51  *
 52  * The caller should allocate a notifier_block object and initialize the
 53  * 'priority' and 'notifier_call' fields.
 54  */
 55 int fsl_hv_failover_register(struct notifier_block *nb);
 56 
 57 /**
 58  * fsl_hv_event_unregister() - unregister a callback for failover events
 59  * @nb: the same 'nb' used in previous fsl_hv_failover_register call
 60  */
 61 int fsl_hv_failover_unregister(struct notifier_block *nb);
 62 
 63 #endif
 64 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php