- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#k8b2afd9]
#backlinks
*説明 [#jda85ed3]
-パス: [[linux-2.6.25/include/linux/list.h]]
-双方向リンクリストの実装のための構造体である。
-リストは循環している。
--「最初の要素」の前は「最後の要素」である。
--「最後の要素」の次は「最初の要素」である。
**参考 [#w0c9f931]
*実装 [#da2abbad]
/*
* 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;
-next: 自身の次に位置する要素を指す。
-prev: 自身の前に位置する要素を指す。
};
*コメント [#o327d65e]