亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? queue.h

?? LInux BootLoader的說明文檔
?? H
字號:
/*
 * Copyright (c) 1991, 1993
 *	The Regents of the University of California.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 *	@(#)queue.h	8.3 (Berkeley) 12/13/93
 */

#ifndef	_SYS_QUEUE_H
#define	_SYS_QUEUE_H 1

/*
 * This file defines three types of data structures: lists, tail queues,
 * and circular queues.
 *
 * A list is headed by a single forward pointer (or an array of forward
 * pointers for a hash table header). The elements are doubly linked
 * so that an arbitrary element can be removed without a need to
 * traverse the list. New elements can be added to the list after
 * an existing element or at the head of the list. A list may only be
 * traversed in the forward direction.
 *
 * A tail queue is headed by a pair of pointers, one to the head of the
 * list and the other to the tail of the list. The elements are doubly
 * linked so that an arbitrary element can be removed without a need to
 * traverse the list. New elements can be added to the list after
 * an existing element, at the head of the list, or at the end of the
 * list. A tail queue may only be traversed in the forward direction.
 *
 * A circle queue is headed by a pair of pointers, one to the head of the
 * list and the other to the tail of the list. The elements are doubly
 * linked so that an arbitrary element can be removed without a need to
 * traverse the list. New elements can be added to the list before or after
 * an existing element, at the head of the list, or at the end of the list.
 * A circle queue may be traversed in either direction, but has a more
 * complex end of list detection.
 *
 * For details on the use of these macros, see the queue(3) manual page.
 */

/*
 * List definitions.
 */
#define LIST_HEAD(name, type)						\
struct name {								\
	struct type *lh_first;	/* first element */			\
}

#define LIST_ENTRY(type)						\
struct {								\
	struct type *le_next;	/* next element */			\
	struct type **le_prev;	/* address of previous next element */	\
}

/*
 * List functions.
 */
#define	LIST_INIT(head) {						\
	(head)->lh_first = NULL;					\
}

#define LIST_INSERT_AFTER(listelm, elm, field) {			\
	if (((elm)->field.le_next = (listelm)->field.le_next) != NULL)	\
		(listelm)->field.le_next->field.le_prev =		\
		    &(elm)->field.le_next;				\
	(listelm)->field.le_next = (elm);				\
	(elm)->field.le_prev = &(listelm)->field.le_next;		\
}

#define LIST_INSERT_HEAD(head, elm, field) {				\
	if (((elm)->field.le_next = (head)->lh_first) != NULL)		\
		(head)->lh_first->field.le_prev = &(elm)->field.le_next;\
	(head)->lh_first = (elm);					\
	(elm)->field.le_prev = &(head)->lh_first;			\
}

#define LIST_REMOVE(elm, field) {					\
	if ((elm)->field.le_next != NULL)				\
		(elm)->field.le_next->field.le_prev = 			\
		    (elm)->field.le_prev;				\
	*(elm)->field.le_prev = (elm)->field.le_next;			\
}

/*
 * Tail queue definitions.
 */
#define TAILQ_HEAD(name, type)						\
struct name {								\
	struct type *tqh_first;	/* first element */			\
	struct type **tqh_last;	/* addr of last next element */		\
}

#define TAILQ_ENTRY(type)						\
struct {								\
	struct type *tqe_next;	/* next element */			\
	struct type **tqe_prev;	/* address of previous next element */	\
}

/*
 * Tail queue functions.
 */
#define	TAILQ_INIT(head) {						\
	(head)->tqh_first = NULL;					\
	(head)->tqh_last = &(head)->tqh_first;				\
}

#define TAILQ_INSERT_HEAD(head, elm, field) {				\
	if (((elm)->field.tqe_next = (head)->tqh_first) != NULL)	\
		(elm)->field.tqe_next->field.tqe_prev =			\
		    &(elm)->field.tqe_next;				\
	else								\
		(head)->tqh_last = &(elm)->field.tqe_next;		\
	(head)->tqh_first = (elm);					\
	(elm)->field.tqe_prev = &(head)->tqh_first;			\
}

#define TAILQ_INSERT_TAIL(head, elm, field) {				\
	(elm)->field.tqe_next = NULL;					\
	(elm)->field.tqe_prev = (head)->tqh_last;			\
	*(head)->tqh_last = (elm);					\
	(head)->tqh_last = &(elm)->field.tqe_next;			\
}

#define TAILQ_INSERT_AFTER(head, listelm, elm, field) {			\
	if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
		(elm)->field.tqe_next->field.tqe_prev = 		\
		    &(elm)->field.tqe_next;				\
	else								\
		(head)->tqh_last = &(elm)->field.tqe_next;		\
	(listelm)->field.tqe_next = (elm);				\
	(elm)->field.tqe_prev = &(listelm)->field.tqe_next;		\
}

#define TAILQ_REMOVE(head, elm, field) {				\
	if (((elm)->field.tqe_next) != NULL)				\
		(elm)->field.tqe_next->field.tqe_prev = 		\
		    (elm)->field.tqe_prev;				\
	else								\
		(head)->tqh_last = (elm)->field.tqe_prev;		\
	*(elm)->field.tqe_prev = (elm)->field.tqe_next;			\
}

/*
 * Circular queue definitions.
 */
#define CIRCLEQ_HEAD(name, type)					\
struct name {								\
	struct type *cqh_first;		/* first element */		\
	struct type *cqh_last;		/* last element */		\
}

#define CIRCLEQ_ENTRY(type)						\
struct {								\
	struct type *cqe_next;		/* next element */		\
	struct type *cqe_prev;		/* previous element */		\
}

/*
 * Circular queue functions.
 */
#define	CIRCLEQ_INIT(head) {						\
	(head)->cqh_first = (void *)(head);				\
	(head)->cqh_last = (void *)(head);				\
}

#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) {		\
	(elm)->field.cqe_next = (listelm)->field.cqe_next;		\
	(elm)->field.cqe_prev = (listelm);				\
	if ((listelm)->field.cqe_next == (void *)(head))		\
		(head)->cqh_last = (elm);				\
	else								\
		(listelm)->field.cqe_next->field.cqe_prev = (elm);	\
	(listelm)->field.cqe_next = (elm);				\
}

#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) {		\
	(elm)->field.cqe_next = (listelm);				\
	(elm)->field.cqe_prev = (listelm)->field.cqe_prev;		\
	if ((listelm)->field.cqe_prev == (void *)(head))		\
		(head)->cqh_first = (elm);				\
	else								\
		(listelm)->field.cqe_prev->field.cqe_next = (elm);	\
	(listelm)->field.cqe_prev = (elm);				\
}

#define CIRCLEQ_INSERT_HEAD(head, elm, field) {				\
	(elm)->field.cqe_next = (head)->cqh_first;			\
	(elm)->field.cqe_prev = (void *)(head);				\
	if ((head)->cqh_last == (void *)(head))				\
		(head)->cqh_last = (elm);				\
	else								\
		(head)->cqh_first->field.cqe_prev = (elm);		\
	(head)->cqh_first = (elm);					\
}

#define CIRCLEQ_INSERT_TAIL(head, elm, field) {				\
	(elm)->field.cqe_next = (void *)(head);				\
	(elm)->field.cqe_prev = (head)->cqh_last;			\
	if ((head)->cqh_first == (void *)(head))			\
		(head)->cqh_first = (elm);				\
	else								\
		(head)->cqh_last->field.cqe_next = (elm);		\
	(head)->cqh_last = (elm);					\
}

#define	CIRCLEQ_REMOVE(head, elm, field) {				\
	if ((elm)->field.cqe_next == (void *)(head))			\
		(head)->cqh_last = (elm)->field.cqe_prev;		\
	else								\
		(elm)->field.cqe_next->field.cqe_prev =			\
		    (elm)->field.cqe_prev;				\
	if ((elm)->field.cqe_prev == (void *)(head))			\
		(head)->cqh_first = (elm)->field.cqe_next;		\
	else								\
		(elm)->field.cqe_prev->field.cqe_next =			\
		    (elm)->field.cqe_next;				\
}
#endif	/* sys/queue.h */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美一区二区久久婷婷| 国产精品第13页| 91亚洲精品久久久蜜桃| 久久99国内精品| 日韩国产高清在线| 视频一区视频二区中文| 午夜欧美电影在线观看| 日韩电影一区二区三区四区| 日韩福利电影在线| 久久超级碰视频| 国产剧情在线观看一区二区 | 91免费观看国产| 99视频精品在线| 在线国产亚洲欧美| 欧美精品在线一区二区| 亚洲视频一区在线观看| 91亚洲男人天堂| 色综合久久久久久久久久久| 欧美视频自拍偷拍| 欧美一级久久久| 欧美国产日产图区| 一区二区三区精品久久久| 日本在线不卡视频| 国产夫妻精品视频| 色婷婷av一区二区三区大白胸 | 午夜精品在线看| 激情综合色丁香一区二区| 顶级嫩模精品视频在线看| 91在线观看一区二区| 欧美日韩欧美一区二区| 精品国产精品网麻豆系列| 国产精品乱人伦一区二区| 亚洲午夜精品在线| 国产一区二区视频在线播放| 色偷偷一区二区三区| 日韩视频一区二区在线观看| 国产精品无码永久免费888| 天天色天天操综合| 成人国产一区二区三区精品| 欧美精品日韩一本| 国产色产综合色产在线视频| 国产日韩精品一区二区三区| 综合激情网...| 免费国产亚洲视频| 不卡欧美aaaaa| 91精品国产一区二区三区| 中文av字幕一区| 久久99久久久欧美国产| 在线观看免费亚洲| 日韩国产欧美一区二区三区| 亚洲自拍偷拍av| 国产成人精品亚洲日本在线桃色| 欧美三级电影在线观看| 中文字幕第一区综合| 黄页网站大全一区二区| 欧美在线观看视频在线| 国产精品高潮呻吟久久| 国内精品免费在线观看| 欧美精品一二三区| 日韩理论片在线| 国产成人综合精品三级| 日韩免费观看高清完整版| 亚洲午夜三级在线| 色香蕉久久蜜桃| 亚洲欧美精品午睡沙发| 成人一区二区三区| 久久蜜桃香蕉精品一区二区三区| 秋霞电影一区二区| 欧美在线观看一区| 亚洲一区二区三区三| 一本色道久久加勒比精品| 国产精品久久久久久久岛一牛影视 | 亚洲aⅴ怡春院| 色综合天天天天做夜夜夜夜做| 久久久久一区二区三区四区| 久久国产精品99久久人人澡| 日韩一卡二卡三卡| 蜜臀a∨国产成人精品| 91精品国模一区二区三区| 午夜精品福利一区二区三区av | 国产精品色呦呦| 国产不卡视频在线观看| 国产精品麻豆一区二区| 99久久精品免费| 亚洲精品视频在线看| 欧美日韩不卡视频| 亚洲欧美一区二区久久| 欧洲精品在线观看| 亚洲宅男天堂在线观看无病毒| 91福利在线观看| 五月婷婷欧美视频| 精品国产伦一区二区三区观看体验 | 国产日本欧美一区二区| 成人ar影院免费观看视频| 亚洲欧洲日韩在线| 色婷婷一区二区三区四区| 亚洲va中文字幕| 日韩一区二区三区免费观看| 高清在线成人网| 亚洲精品亚洲人成人网| 日韩一区和二区| 国产精品99久久久久久久女警| 国产精品的网站| 欧美日韩在线精品一区二区三区激情| 日韩不卡手机在线v区| 久久天堂av综合合色蜜桃网| 91丨porny丨国产| 亚洲成av人片在线| 精品国产91久久久久久久妲己 | 欧美人妇做爰xxxⅹ性高电影| 青青草伊人久久| 国产精品天天摸av网| 精品视频1区2区3区| 麻豆视频观看网址久久| 狠狠网亚洲精品| 日韩精品一区二区三区视频播放| 国产成人午夜电影网| 亚洲最色的网站| 精品少妇一区二区三区视频免付费 | 美女视频黄 久久| 亚洲天堂中文字幕| 欧美va亚洲va| 在线观看中文字幕不卡| 国产精品系列在线播放| 丝袜美腿成人在线| 亚洲天堂久久久久久久| 精品国产精品一区二区夜夜嗨| 色av成人天堂桃色av| 国产精品88888| 久久精品理论片| 亚洲国产日产av| 《视频一区视频二区| www一区二区| 日韩视频免费观看高清完整版 | 韩国一区二区视频| 天天色 色综合| 悠悠色在线精品| 亚洲天堂中文字幕| 国产精品国产三级国产普通话99| 日韩欧美国产综合| 欧美一区二区精品| 欧美巨大另类极品videosbest| 91视视频在线观看入口直接观看www | 福利电影一区二区| 极品尤物av久久免费看| 日本va欧美va瓶| 日韩激情一区二区| 亚洲bt欧美bt精品777| 亚洲国产综合色| 亚洲一区二区三区激情| 亚洲午夜精品在线| 丝袜美腿成人在线| 日本人妖一区二区| 日韩—二三区免费观看av| 日一区二区三区| 青椒成人免费视频| 麻豆精品视频在线观看| 麻豆精品国产91久久久久久| 九九国产精品视频| 国产麻豆精品在线| 成人av综合一区| 91亚洲精品久久久蜜桃网站| 91国产免费看| 欧美日韩一区二区在线视频| 在线成人免费视频| 欧美一级午夜免费电影| 精品欧美一区二区三区精品久久| 日韩女优av电影在线观看| 欧美精品一区二区三区在线| 国产欧美久久久精品影院| 国产精品久久久久久福利一牛影视| 成人欧美一区二区三区白人| 亚洲精品乱码久久久久久日本蜜臀| 一个色妞综合视频在线观看| 午夜精品一区二区三区免费视频 | 首页国产欧美日韩丝袜| 日韩精品亚洲专区| 国产主播一区二区三区| 国产精品影音先锋| 91麻豆国产香蕉久久精品| 色老综合老女人久久久| 欧美一区二区三区四区久久 | 国产精品久久久久影院亚瑟| 一区二区三区波多野结衣在线观看| 一区二区三区欧美日韩| 美腿丝袜亚洲色图| 白白色 亚洲乱淫| 91精品国产手机| 国产精品电影院| 麻豆久久久久久久| 色婷婷国产精品综合在线观看| 欧美成人激情免费网| 亚洲女人****多毛耸耸8| 麻豆高清免费国产一区| 99久久国产综合精品麻豆| 日韩欧美国产综合| 一二三四社区欧美黄| 狠狠色丁香婷综合久久| 欧美午夜宅男影院| 国产欧美日本一区视频|