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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? list.h

?? umon bootloader source code, support mips cpu.
?? H
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H

#ifdef __KERNEL__

#include <linux/stddef.h>
#include <linux/prefetch.h>
#include <asm/system.h>

/*
 * These are non-NULL pointers that will result in page faults
 * under normal circumstances, used to verify that nobody uses
 * non-initialized list entries.
 */
#define LIST_POISON1  ((void *) 0x00100100)
#define LIST_POISON2  ((void *) 0x00200200)

/*
 * Simple doubly linked list implementation.
 *
 * Some of the internal functions ("__xxx") are useful when
 * manipulating whole lists rather than single entries, as
 * sometimes we already know the next/prev entries and we can
 * generate better code by using them directly rather than
 * using the generic single-entry routines.
 */

struct list_head {
	struct list_head *next, *prev;
};

#define LIST_HEAD_INIT(name) { &(name), &(name) }

#define LIST_HEAD(name) \
	struct list_head name = LIST_HEAD_INIT(name)

#define INIT_LIST_HEAD(ptr) do { \
	(ptr)->next = (ptr); (ptr)->prev = (ptr); \
} while (0)

/*
 * Insert a new entry between two known consecutive entries.
 *
 * This is only for internal list manipulation where we know
 * the prev/next entries already!
 */
static inline void __list_add(struct list_head *new,
			      struct list_head *prev,
			      struct list_head *next)
{
	next->prev = new;
	new->next = next;
	new->prev = prev;
	prev->next = new;
}

/**
 * list_add - add a new entry
 * @new: new entry to be added
 * @head: list head to add it after
 *
 * Insert a new entry after the specified head.
 * This is good for implementing stacks.
 */
static inline void list_add(struct list_head *new, struct list_head *head)
{
	__list_add(new, head, head->next);
}

/**
 * list_add_tail - add a new entry
 * @new: new entry to be added
 * @head: list head to add it before
 *
 * Insert a new entry before the specified head.
 * This is useful for implementing queues.
 */
static inline void list_add_tail(struct list_head *new, struct list_head *head)
{
	__list_add(new, head->prev, head);
}

/*
 * Insert a new entry between two known consecutive entries.
 *
 * This is only for internal list manipulation where we know
 * the prev/next entries already!
 */
static inline void __list_add_rcu(struct list_head * new,
		struct list_head * prev, struct list_head * next)
{
	new->next = next;
	new->prev = prev;
	smp_wmb();
	next->prev = new;
	prev->next = new;
}

/**
 * list_add_rcu - add a new entry to rcu-protected list
 * @new: new entry to be added
 * @head: list head to add it after
 *
 * Insert a new entry after the specified head.
 * This is good for implementing stacks.
 *
 * The caller must take whatever precautions are necessary
 * (such as holding appropriate locks) to avoid racing
 * with another list-mutation primitive, such as list_add_rcu()
 * or list_del_rcu(), running on this same list.
 * However, it is perfectly legal to run concurrently with
 * the _rcu list-traversal primitives, such as
 * list_for_each_entry_rcu().
 */
static inline void list_add_rcu(struct list_head *new, struct list_head *head)
{
	__list_add_rcu(new, head, head->next);
}

/**
 * list_add_tail_rcu - add a new entry to rcu-protected list
 * @new: new entry to be added
 * @head: list head to add it before
 *
 * Insert a new entry before the specified head.
 * This is useful for implementing queues.
 *
 * The caller must take whatever precautions are necessary
 * (such as holding appropriate locks) to avoid racing
 * with another list-mutation primitive, such as list_add_tail_rcu()
 * or list_del_rcu(), running on this same list.
 * However, it is perfectly legal to run concurrently with
 * the _rcu list-traversal primitives, such as
 * list_for_each_entry_rcu().
 */
static inline void list_add_tail_rcu(struct list_head *new,
					struct list_head *head)
{
	__list_add_rcu(new, head->prev, head);
}

/*
 * Delete a list entry by making the prev/next entries
 * point to each other.
 *
 * This is only for internal list manipulation where we know
 * the prev/next entries already!
 */
static inline void __list_del(struct list_head * prev, struct list_head * next)
{
	next->prev = prev;
	prev->next = next;
}

/**
 * list_del - deletes entry from list.
 * @entry: the element to delete from the list.
 * Note: list_empty on entry does not return true after this, the entry is
 * in an undefined state.
 */
static inline void list_del(struct list_head *entry)
{
	__list_del(entry->prev, entry->next);
	entry->next = LIST_POISON1;
	entry->prev = LIST_POISON2;
}

/**
 * list_del_rcu - deletes entry from list without re-initialization
 * @entry: the element to delete from the list.
 *
 * Note: list_empty on entry does not return true after this,
 * the entry is in an undefined state. It is useful for RCU based
 * lockfree traversal.
 *
 * In particular, it means that we can not poison the forward
 * pointers that may still be used for walking the list.
 *
 * The caller must take whatever precautions are necessary
 * (such as holding appropriate locks) to avoid racing
 * with another list-mutation primitive, such as list_del_rcu()
 * or list_add_rcu(), running on this same list.
 * However, it is perfectly legal to run concurrently with
 * the _rcu list-traversal primitives, such as
 * list_for_each_entry_rcu().
 *
 * Note that the caller is not permitted to immediately free
 * the newly deleted entry.  Instead, either synchronize_kernel()
 * or call_rcu() must be used to defer freeing until an RCU
 * grace period has elapsed.
 */
static inline void list_del_rcu(struct list_head *entry)
{
	__list_del(entry->prev, entry->next);
	entry->prev = LIST_POISON2;
}

/*
 * list_replace_rcu - replace old entry by new one
 * @old : the element to be replaced
 * @new : the new element to insert
 *
 * The old entry will be replaced with the new entry atomically.
 */
static inline void list_replace_rcu(struct list_head *old, struct list_head *new){
	new->next = old->next;
	new->prev = old->prev;
	smp_wmb();
	new->next->prev = new;
	new->prev->next = new;
}

/**
 * list_del_init - deletes entry from list and reinitialize it.
 * @entry: the element to delete from the list.
 */
static inline void list_del_init(struct list_head *entry)
{
	__list_del(entry->prev, entry->next);
	INIT_LIST_HEAD(entry);
}

/**
 * list_move - delete from one list and add as another's head
 * @list: the entry to move
 * @head: the head that will precede our entry
 */
static inline void list_move(struct list_head *list, struct list_head *head)
{
        __list_del(list->prev, list->next);
        list_add(list, head);
}

/**
 * list_move_tail - delete from one list and add as another's tail
 * @list: the entry to move
 * @head: the head that will follow our entry
 */
static inline void list_move_tail(struct list_head *list,
				  struct list_head *head)
{
        __list_del(list->prev, list->next);
        list_add_tail(list, head);
}

/**
 * list_empty - tests whether a list is empty
 * @head: the list to test.
 */
static inline int list_empty(const struct list_head *head)
{
	return head->next == head;
}

/**
 * list_empty_careful - tests whether a list is
 * empty _and_ checks that no other CPU might be
 * in the process of still modifying either member
 *
 * NOTE: using list_empty_careful() without synchronization
 * can only be safe if the only activity that can happen
 * to the list entry is list_del_init(). Eg. it cannot be used
 * if another CPU could re-list_add() it.
 *
 * @head: the list to test.
 */
static inline int list_empty_careful(const struct list_head *head)
{
	struct list_head *next = head->next;
	return (next == head) && (next == head->prev);
}

static inline void __list_splice(struct list_head *list,
				 struct list_head *head)
{
	struct list_head *first = list->next;
	struct list_head *last = list->prev;
	struct list_head *at = head->next;

	first->prev = head;
	head->next = first;

	last->next = at;
	at->prev = last;
}

/**
 * list_splice - join two lists
 * @list: the new list to add.
 * @head: the place to add it in the first list.
 */
static inline void list_splice(struct list_head *list, struct list_head *head)
{
	if (!list_empty(list))
		__list_splice(list, head);
}

/**
 * list_splice_init - join two lists and reinitialise the emptied list.
 * @list: the new list to add.
 * @head: the place to add it in the first list.
 *
 * The list at @list is reinitialised
 */
static inline void list_splice_init(struct list_head *list,
				    struct list_head *head)
{
	if (!list_empty(list)) {
		__list_splice(list, head);
		INIT_LIST_HEAD(list);
	}
}

/**
 * list_entry - get the struct for this entry
 * @ptr:	the &struct list_head pointer.
 * @type:	the type of the struct this is embedded in.
 * @member:	the name of the list_struct within the struct.
 */
#define list_entry(ptr, type, member) \
	container_of(ptr, type, member)

/**
 * list_for_each	-	iterate over a list
 * @pos:	the &struct list_head to use as a loop counter.
 * @head:	the head for your list.
 */
#define list_for_each(pos, head) \
	for (pos = (head)->next; prefetch(pos->next), pos != (head); \
        	pos = pos->next)

/**
 * __list_for_each	-	iterate over a list
 * @pos:	the &struct list_head to use as a loop counter.
 * @head:	the head for your list.
 *
 * This variant differs from list_for_each() in that it's the
 * simplest possible list iteration code, no prefetching is done.
 * Use this for code that knows the list to be very short (empty
 * or 1 entry) most of the time.
 */
#define __list_for_each(pos, head) \
	for (pos = (head)->next; pos != (head); pos = pos->next)

/**
 * list_for_each_prev	-	iterate over a list backwards
 * @pos:	the &struct list_head to use as a loop counter.
 * @head:	the head for your list.
 */
#define list_for_each_prev(pos, head) \
	for (pos = (head)->prev; prefetch(pos->prev), pos != (head); \
        	pos = pos->prev)

/**

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
1区2区3区精品视频| 国产成人精品亚洲日本在线桃色| 91丨porny丨首页| 国产精品久久久久aaaa樱花| 成人va在线观看| 亚洲日本在线a| 日本韩国一区二区三区| 无码av免费一区二区三区试看| 91精品国产入口在线| 国产乱理伦片在线观看夜一区| 久久久99久久| 91一区二区在线| 亚洲午夜免费电影| 日韩一级二级三级精品视频| 韩国av一区二区三区| 中文字幕亚洲区| 欧美日韩的一区二区| 九色综合国产一区二区三区| 欧美激情一区三区| 欧美亚洲精品一区| 蜜桃免费网站一区二区三区| 国产三级欧美三级| 91激情五月电影| 捆绑紧缚一区二区三区视频| 国产午夜精品久久| 欧美特级限制片免费在线观看| 麻豆精品一区二区三区| 国产精品家庭影院| 9191精品国产综合久久久久久| 国产一区二区三区在线观看精品| 国产精品久久一级| 欧美一区二区三区啪啪| 成人高清免费观看| 婷婷久久综合九色综合伊人色| 日本一区二区三区国色天香| 欧美挠脚心视频网站| 国产成人午夜视频| 天天色综合天天| 国产精品久久久久久久岛一牛影视 | 亚洲午夜电影在线观看| 精品成人a区在线观看| 91麻豆国产自产在线观看| 久久99精品久久久久久久久久久久| 国产精品麻豆99久久久久久| 777奇米四色成人影色区| 成人永久免费视频| 免费精品视频最新在线| 中文字幕中文字幕在线一区 | 国产精品国产精品国产专区不蜜| 欧美老肥妇做.爰bbww视频| www.欧美.com| 国产一区二区福利视频| 日韩va亚洲va欧美va久久| 亚洲欧美日韩久久| 国产精品污网站| 精品久久国产老人久久综合| 欧美网站大全在线观看| 97精品国产97久久久久久久久久久久| 久久se这里有精品| 丝袜美腿亚洲一区| 日本成人中文字幕| 亚洲国产日日夜夜| 亚洲黄色小视频| 综合色中文字幕| 国产日韩欧美精品电影三级在线| 日韩欧美一区在线观看| 欧美日韩亚洲综合| 欧美色涩在线第一页| 色狠狠色狠狠综合| 色网综合在线观看| 91福利在线看| 91小宝寻花一区二区三区| av电影在线观看一区| 成人性生交大合| 成人黄色a**站在线观看| 风间由美性色一区二区三区| 处破女av一区二区| 丁香五精品蜜臀久久久久99网站| 国产精品一区免费视频| 黄网站免费久久| 国产一区二区三区黄视频 | 蜜臀av性久久久久蜜臀aⅴ流畅| 亚洲国产精品天堂| 亚洲.国产.中文慕字在线| 亚洲国产裸拍裸体视频在线观看乱了| 一区二区三区丝袜| 亚瑟在线精品视频| 美日韩一区二区| 国产一区二区三区久久久| 丁香亚洲综合激情啪啪综合| 成人黄色软件下载| 91浏览器在线视频| 精品污污网站免费看| 91 com成人网| 26uuu精品一区二区三区四区在线| 精品久久久三级丝袜| 欧美激情一区二区三区不卡| 亚洲人精品午夜| 亚洲成人www| 免费人成精品欧美精品| 久久99精品国产.久久久久久 | 丁香亚洲综合激情啪啪综合| www.av亚洲| 国产精品麻豆视频| 亚洲欧美一区二区三区国产精品| 精品噜噜噜噜久久久久久久久试看 | 国产婷婷色一区二区三区四区| 国产清纯白嫩初高生在线观看91 | 国产精品99久| thepron国产精品| 99re成人精品视频| 欧美精品少妇一区二区三区| 欧美精品一区二区三区蜜桃| 中文字幕永久在线不卡| 亚洲电影中文字幕在线观看| 裸体一区二区三区| 成人做爰69片免费看网站| 欧美在线观看你懂的| 日韩一卡二卡三卡国产欧美| 国产精品免费视频网站| 午夜一区二区三区视频| 国产精品综合网| 91女厕偷拍女厕偷拍高清| 日韩午夜电影在线观看| 日韩理论在线观看| 免费看欧美美女黄的网站| 99免费精品在线观看| 日韩女同互慰一区二区| 亚洲欧美另类综合偷拍| 国产在线不卡视频| 欧美艳星brazzers| 国产精品网站在线| 免费一级片91| 91国产成人在线| 国产欧美日韩激情| 爽好多水快深点欧美视频| 不卡av电影在线播放| 欧美一级欧美三级在线观看| 亚洲欧美一区二区三区孕妇| 狠狠色伊人亚洲综合成人| 欧美人牲a欧美精品| 1024国产精品| 国产99久久久国产精品潘金 | 一本一本久久a久久精品综合麻豆| 欧美电影影音先锋| 亚洲精品国产视频| 成人网在线播放| 日韩精品一区二区三区中文不卡| 亚洲免费视频中文字幕| 国产成人亚洲精品青草天美| 日韩精品中午字幕| 亚洲午夜免费电影| 色88888久久久久久影院野外| 久久精品亚洲乱码伦伦中文| 老司机精品视频一区二区三区| 欧美三级中文字幕| 一区二区三区四区精品在线视频| 国产成人无遮挡在线视频| 欧美成人精品二区三区99精品| 亚洲一区在线观看网站| 一本大道综合伊人精品热热 | 中文字幕日韩一区| 成人精品在线视频观看| 久久精品欧美日韩| 国产麻豆成人传媒免费观看| 久久亚洲二区三区| 国产资源在线一区| 精品国产电影一区二区| 蜜乳av一区二区三区| 欧美一级一区二区| 久久精品理论片| 日韩一区二区视频在线观看| 五月婷婷久久综合| 9191久久久久久久久久久| 琪琪久久久久日韩精品| 5858s免费视频成人| 久久国产精品免费| 精品久久久久久久久久久院品网| 激情小说欧美图片| 国产欧美综合在线| av高清不卡在线| 有坂深雪av一区二区精品| 欧美日韩午夜精品| 免费在线观看精品| 久久久午夜精品理论片中文字幕| 国产一区二区视频在线播放| 国产日本欧洲亚洲| 99精品视频一区| 亚洲成人一区在线| 精品国产青草久久久久福利| 国内成+人亚洲+欧美+综合在线| 国产情人综合久久777777| 97精品国产露脸对白| 性欧美大战久久久久久久久| 欧美一区二区三区视频在线 | 91精品国产综合久久久久| 久久国产精品露脸对白| 国产精品久久久一区麻豆最新章节| 91麻豆国产自产在线观看| 肉色丝袜一区二区|