#author("2025-10-24T16:30:42+09:00","default:guest","guest") #author("2025-10-24T16:52:39+09:00","default:guest","guest") *参照元 [#o5b0676b] #backlinks *説明 [#da38ed7c] -パス: [[linux-5.15/include/linux/list.h]] -FIXME: これは何? --説明 -リストの要素を移動させる。 **引数 [#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 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_entry(list); list_add(list, head); } - -list要素を削除して、headの先頭に追加する。 --[[linux-5.15/__list_del_entry()]] --[[linux-5.15/list_add()]] *コメント [#od662374]