linux-5.15/list_move()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#o5b0676b]
#backlinks
*説明 [#da38ed7c]
-パス: [[linux-5.15/include/linux/list.h]]
-リストの要素を移動させる。
**引数 [#b345f886]
-struct list_head *list
--移動する要素。
--[[linux-5.15/list_head]]
-struct list_head *head
--移動先のリスト。リストの先頭に追加する。
**返り値 [#h90f54a7]
-なし
**参考 [#a0dbbd72]
*実装 [#u36fcd95]
/**
* list_move - delete from one list and add as another's...
* @list: the entry to move
* @head: the head that will precede our entry
*/
static inline void list_move(struct list_head *list, str...
{
__list_del_entry(list);
list_add(list, head);
}
-list要素を削除して、headの先頭に追加する。
--[[linux-5.15/__list_del_entry()]]
--[[linux-5.15/list_add()]]
*コメント [#od662374]
終了行:
*参照元 [#o5b0676b]
#backlinks
*説明 [#da38ed7c]
-パス: [[linux-5.15/include/linux/list.h]]
-リストの要素を移動させる。
**引数 [#b345f886]
-struct list_head *list
--移動する要素。
--[[linux-5.15/list_head]]
-struct list_head *head
--移動先のリスト。リストの先頭に追加する。
**返り値 [#h90f54a7]
-なし
**参考 [#a0dbbd72]
*実装 [#u36fcd95]
/**
* list_move - delete from one list and add as another's...
* @list: the entry to move
* @head: the head that will precede our entry
*/
static inline void list_move(struct list_head *list, str...
{
__list_del_entry(list);
list_add(list, head);
}
-list要素を削除して、headの先頭に追加する。
--[[linux-5.15/__list_del_entry()]]
--[[linux-5.15/list_add()]]
*コメント [#od662374]
ページ名: