fifonode.h revision d67944fbe3fa0b31893a7116a09b0718eecf6078
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Use is subject to license terms.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
9512fe850e98fdd448c638ca63fdd92a8a510255ahl/* All Rights Reserved */
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#if defined(_KERNEL)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlextern "C" {
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Each FIFOFS object is identified by a struct fifonode/vnode pair.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * This is also the hierarchy
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * flk_lock protects:
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fn_count
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fn_rsynccnt
typedef struct fifolock {
} fifolock_t;
struct fifonode {
int fn_insync;
typedef struct fifodata {
} fifodata_t;
#define FIFOLOWAT (0)
#if defined(_KERNEL)
#if FIFODEBUG
extern int Fifohiwat;
struct vfssw;
struct queue;
extern int fifoinit(int, char *);
caller_context_t *);
#ifdef __cplusplus