/* $NetBSD: rf_pq.h,v 1.5 2005/12/11 12:23:37 christos Exp $ */ /* * rf_pq.h */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. * * Author: Daniel Stodolsky * * Permission to use, copy, modify and distribute this software and * its documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. * * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * * Carnegie Mellon requests users of this software to return to * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. */ #ifndef _RF__RF_PQ_H_ #define _RF__RF_PQ_H_ #include "rf_archs.h" extern RF_RedFuncs_t rf_pFuncs; extern RF_RedFuncs_t rf_pRecoveryFuncs; int rf_RegularONPFunc(RF_DagNode_t * node); int rf_SimpleONPFunc(RF_DagNode_t * node); int rf_RecoveryPFunc(RF_DagNode_t * node); int rf_RegularPFunc(RF_DagNode_t * node); #if (RF_INCLUDE_DECL_PQ > 0) || (RF_INCLUDE_RAID6 > 0) extern RF_RedFuncs_t rf_qFuncs; extern RF_RedFuncs_t rf_qRecoveryFuncs; extern RF_RedFuncs_t rf_pqRecoveryFuncs; void rf_PQDagSelect(RF_Raid_t * raidPtr, RF_IoType_t type, RF_AccessStripeMap_t * asmap, RF_VoidFuncPtr * createFunc); RF_CREATE_DAG_FUNC_DECL(rf_PQCreateLargeWriteDAG); int rf_RegularONQFunc(RF_DagNode_t * node); int rf_SimpleONQFunc(RF_DagNode_t * node); RF_CREATE_DAG_FUNC_DECL(rf_PQCreateSmallWriteDAG); int rf_RegularPQFunc(RF_DagNode_t * node); int rf_RegularQFunc(RF_DagNode_t * node); void rf_Degraded_100_PQFunc(RF_DagNode_t * node); int rf_RecoveryQFunc(RF_DagNode_t * node); int rf_RecoveryPQFunc(RF_DagNode_t * node); void rf_PQ_DegradedWriteQFunc(RF_DagNode_t * node); void rf_IncQ(unsigned long *dest, unsigned long *buf, unsigned length, unsigned coeff); void rf_PQ_recover(unsigned long *pbuf, unsigned long *qbuf, unsigned long *abuf, unsigned long *bbuf, unsigned length, unsigned coeff_a, unsigned coeff_b); #endif /* (RF_INCLUDE_DECL_PQ > 0) || * (RF_INCLUDE_RAID6 > 0) */ #endif /* !_RF__RF_PQ_H_ */ s='left'>Commit message (Expand)Author 2021-01-29hvn(4): Don't wait forever.nonaka 2021-01-29vmbus(4): Don't wait forever.nonaka 2021-01-29hvkbd(4): Don't wait forever.nonaka 2020-12-11hvn(4): fix unable to ifconfig up/down.nonaka 2020-07-14Introduce per-cpu IDTsyamaguchi 2020-05-26vmbus(4): Do not call hyperv_dma_alloc() in interrupt context.nonaka 2020-05-26vmbus(4): Fixed incorrect use of vmbus_wait() in vmbus_channel_scan().nonaka 2020-05-25Use howmany() macro.nonaka 2020-05-24hvn(4): Prevent from occur panic when acquiring the media status.nonaka 2020-02-04Use ifmedia_fini().thorpej 2020-01-29Adopt <net/if_stats.h>.thorpej 2019-12-27hvn(4): Handle CFI field of VLAN.nonaka 2019-12-27hvn(4): Use vlan_{get,set,has}_tag().nonaka 2019-12-10hvn(4) can be added and deleted dynamically.nonaka 2019-12-10hvn(4): Handle VMBUS_CHANPKT_TYPE_INBAND packet type.nonaka 2019-12-07Get a Hyper-V virtual processor id in cpu_hatch().nonaka 2019-12-06Clear the allocated memory in hyperv_dma_alloc().nonaka 2019-11-26hvn(4): Fix incorrect ident when waiting for NVS command response.nonaka 2019-11-25hvs(4), hvn(4): Set correct size for bus_dmamap_sync(9).nonaka 2019-11-22hvn(4), hvkbd(4): Only need to poll when cold.nonaka 2019-11-22vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).nonaka 2019-11-18Fixed incorrect m_defrag return value check.nonaka 2019-11-15hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().nonaka 2019-10-01in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEPchs 2019-07-21Fix build for !WSDISPLAY_COMPAT_RAWKBD.rin 2019-07-09Zero clear the allocated ring buffer for vmbus_channel.nakayama 2019-07-09 Don't automatically set ec_capenable's ETHERCAP_VLAN_HWTAGGING bit inmsaitoh 2019-05-31Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).nonaka 2019-05-29Even if we don't use MII(4), use the common path of SIOC[GS]IFMEDIA inmsaitoh 2019-05-24Added drivers for Hyper-V Synthetic Keyboard and Video device.nonaka 2019-03-05 Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changesmsaitoh 2019-03-01Remove unused definition.nonaka 2019-03-01Update Hyper-V related drivers description.nonaka 2019-02-15Add __diagused.hannken 2019-02-15Added Microsoft Hyper-V support. It ported from OpenBSD and FreeBSD.nonaka