€•ÁŒsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ'/translations/zh_CN/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/zh_TW/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/it_IT/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ja_JP/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ko_KR/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/pt_BR/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/sp_SP/core-api/liveupdate”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)�”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…”�”}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒA/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒLive Update Orchestrator”h]”hŒLive Update Orchestrator”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ field_list”“”)�”}”(hhh]”hŒfield”“”)�”}”(hhh]”(hŒ field_name”“”)�”}”(hŒAuthor”h]”hŒAuthor”…”�”}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hçhhäh³hÇh´KubhŒ field_body”“”)�”}”(hŒ+Pasha Tatashin ”h]”hŒ paragraph”“”)�”}”(hŒ*Pasha Tatashin ”h]”(hŒPasha Tatashin <”…”�”}”(hhÿh²hh³Nh´NubhŒ reference”“”)�”}”(hŒpasha.tatashin@soleen.com”h]”hŒpasha.tatashin@soleen.com”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œ mailto:pasha.tatashin@soleen.com”uh1jhhÿubhŒ>”…”�”}”(hhÿh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³hÇh´Khhùubah}”(h]”h ]”h"]”h$]”h&]”uh1h÷hhäubeh}”(h]”h ]”h"]”h$]”h&]”uh1hâh³hÇh´Khhßh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhhÊh²hh³hÇh´Kubhþ)�”}”(hX4Live Update is a specialized, kexec-based reboot process that allows a running kernel to be updated from one version to another while preserving the state of selected resources and keeping designated hardware devices operational. For these devices, DMA activity may continue throughout the kernel transition.”h]”hX4Live Update is a specialized, kexec-based reboot process that allows a running kernel to be updated from one version to another while preserving the state of selected resources and keeping designated hardware devices operational. For these devices, DMA activity may continue throughout the kernel transition.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´K hhÊh²hubhþ)�”}”(hXWhile the primary use case driving this work is supporting live updates of the Linux kernel when it is used as a hypervisor in cloud environments, the LUO framework itself is designed to be workload-agnostic. Live Update facilitates a full kernel version upgrade for any type of system.”h]”hXWhile the primary use case driving this work is supporting live updates of the Linux kernel when it is used as a hypervisor in cloud environments, the LUO framework itself is designed to be workload-agnostic. Live Update facilitates a full kernel version upgrade for any type of system.”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´KhhÊh²hubhþ)�”}”(hXFor example, a non-hypervisor system running an in-memory cache like memcached with many gigabytes of data can use LUO. The userspace service can place its cache into a memfd, have its state preserved by LUO, and restore it immediately after the kernel kexec.”h]”hXFor example, a non-hypervisor system running an in-memory cache like memcached with many gigabytes of data can use LUO. The userspace service can place its cache into a memfd, have its state preserved by LUO, and restore it immediately after the kernel kexec.”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´KhhÊh²hubhþ)�”}”(hŒ÷Whether the system is running virtual machines, containers, a high-performance database, or networking services, LUO's primary goal is to enable a full kernel update by preserving critical userspace state and keeping essential devices operational.”h]”hŒùWhether the system is running virtual machines, containers, a high-performance database, or networking services, LUO’s primary goal is to enable a full kernel update by preserving critical userspace state and keeping essential devices operational.”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´KhhÊh²hubhþ)�”}”(hX)The core of LUO is a mechanism that tracks the progress of a live update, along with a callback API that allows other kernel subsystems to participate in the process. Example subsystems that can hook into LUO include: kvm, iommu, interrupts, vfio, participating filesystems, and memory management.”h]”hX)The core of LUO is a mechanism that tracks the progress of a live update, along with a callback API that allows other kernel subsystems to participate in the process. Example subsystems that can hook into LUO include: kvm, iommu, interrupts, vfio, participating filesystems, and memory management.”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´KhhÊh²hubhþ)�”}”(hŒ—LUO uses Kexec Handover to transfer memory state from the current kernel to the next kernel. For more details see Documentation/core-api/kho/index.rst.”h]”hŒ—LUO uses Kexec Handover to transfer memory state from the current kernel to the next kernel. For more details see Documentation/core-api/kho/index.rst.”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´K#hhÊh²hubhŒnote”“”)�”}”(hŒQTo enable LUO, boot the kernel with the ``liveupdate=on`` command line parameter.”h]”hþ)�”}”(hŒQTo enable LUO, boot the kernel with the ``liveupdate=on`` command line parameter.”h]”(hŒ(To enable LUO, boot the kernel with the ”…”�”}”(hj•h²hh³Nh´NubhŒliteral”“”)�”}”(hŒ``liveupdate=on``”h]”hŒ liveupdate=on”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj•ubhŒ command line parameter.”…”�”}”(hj•h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:8: ./kernel/liveupdate/luo_core.c”h´K'hj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hhÊh²hh³Nh´NubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ LUO Sessions”h]”hŒ LUO Sessions”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¾h²hh³hÇh´K ubhþ)�”}”(hX1LUO Sessions provide the core mechanism for grouping and managing `struct file *` instances that need to be preserved across a kexec-based live update. Each session acts as a named container for a set of file objects, allowing a userspace agent to manage the lifecycle of resources critical to a workload.”h]”(hŒBLUO Sessions provide the core mechanism for grouping and managing ”…”�”}”(hjÏh²hh³Nh´NubhŒtitle_reference”“”)�”}”(hŒ`struct file *`”h]”hŒ struct file *”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjÏubhŒà instances that need to be preserved across a kexec-based live update. Each session acts as a named container for a set of file objects, allowing a userspace agent to manage the lifecycle of resources critical to a workload.”…”�”}”(hjÏh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K hj¾h²hubhþ)�”}”(hŒCore Concepts:”h]”hŒCore Concepts:”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´Khj¾h²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒ£Named Containers: Sessions are identified by a unique, user-provided name, which is used for both creation in the current kernel and retrieval in the next kernel. ”h]”hþ)�”}”(hŒ¢Named Containers: Sessions are identified by a unique, user-provided name, which is used for both creation in the current kernel and retrieval in the next kernel.”h]”hŒ¢Named Containers: Sessions are identified by a unique, user-provided name, which is used for both creation in the current kernel and retrieval in the next kernel.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒ`Userspace Interface: Session management is driven from userspace via ioctls on /dev/liveupdate. ”h]”hþ)�”}”(hŒ_Userspace Interface: Session management is driven from userspace via ioctls on /dev/liveupdate.”h]”hŒ_Userspace Interface: Session management is driven from userspace via ioctls on /dev/liveupdate.”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´Khj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hX?Serialization: Session metadata is preserved using the KHO framework. When a live update is triggered via kexec, session metadata is serialized into a chain of linked-blocks and placed in a preserved memory region. The physical address of the first block header is stored in the centralized `struct luo_ser` structure. ”h]”hþ)�”}”(hX>Serialization: Session metadata is preserved using the KHO framework. When a live update is triggered via kexec, session metadata is serialized into a chain of linked-blocks and placed in a preserved memory region. The physical address of the first block header is stored in the centralized `struct luo_ser` structure.”h]”(hX#Serialization: Session metadata is preserved using the KHO framework. When a live update is triggered via kexec, session metadata is serialized into a chain of linked-blocks and placed in a preserved memory region. The physical address of the first block header is stored in the centralized ”…”�”}”(hj>h²hh³Nh´NubjØ)�”}”(hŒ`struct luo_ser`”h]”hŒstruct luo_ser”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj>ubhŒ structure.”…”�”}”(hj>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´Khj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jh³jh´Khj¾h²hubhþ)�”}”(hŒSession Lifecycle:”h]”hŒSession Lifecycle:”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´Khj¾h²hubhŒenumerated_list”“”)�”}”(hhh]”(j)�”}”(hŒCreation: A userspace agent calls `luo_session_create()` to create a new, empty session and receives a file descriptor for it. ”h]”hþ)�”}”(hŒ~Creation: A userspace agent calls `luo_session_create()` to create a new, empty session and receives a file descriptor for it.”h]”(hŒ"Creation: A userspace agent calls ”…”�”}”(hj…h²hh³Nh´NubjØ)�”}”(hŒ`luo_session_create()`”h]”hŒluo_session_create()”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj…ubhŒF to create a new, empty session and receives a file descriptor for it.”…”�”}”(hj…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ubj)�”}”(hŒÖSerialization: When the `reboot(LINUX_REBOOT_CMD_KEXEC)` syscall is made, `luo_session_serialize()` is called. It iterates through all active sessions and writes their metadata into a memory area preserved by KHO. ”h]”hþ)�”}”(hŒÕSerialization: When the `reboot(LINUX_REBOOT_CMD_KEXEC)` syscall is made, `luo_session_serialize()` is called. It iterates through all active sessions and writes their metadata into a memory area preserved by KHO.”h]”(hŒSerialization: When the ”…”�”}”(hj°h²hh³Nh´NubjØ)�”}”(hŒ `reboot(LINUX_REBOOT_CMD_KEXEC)`”h]”hŒreboot(LINUX_REBOOT_CMD_KEXEC)”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj°ubhŒ syscall is made, ”…”�”}”(hj°h²hh³Nh´NubjØ)�”}”(hŒ`luo_session_serialize()`”h]”hŒluo_session_serialize()”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj°ubhŒr is called. It iterates through all active sessions and writes their metadata into a memory area preserved by KHO.”…”�”}”(hj°h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K#hj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ubj)�”}”(hŒÅDeserialization (in new kernel): After kexec, `luo_session_deserialize()` runs, reading the serialized data and creating a list of `struct luo_session` objects representing the preserved sessions. ”h]”hþ)�”}”(hŒÄDeserialization (in new kernel): After kexec, `luo_session_deserialize()` runs, reading the serialized data and creating a list of `struct luo_session` objects representing the preserved sessions.”h]”(hŒ.Deserialization (in new kernel): After kexec, ”…”�”}”(hjíh²hh³Nh´NubjØ)�”}”(hŒ`luo_session_deserialize()`”h]”hŒluo_session_deserialize()”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjíubhŒ: runs, reading the serialized data and creating a list of ”…”�”}”(hjíh²hh³Nh´NubjØ)�”}”(hŒ`struct luo_session`”h]”hŒstruct luo_session”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjíubhŒ- objects representing the preserved sessions.”…”�”}”(hjíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K(hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ubj)�”}”(hŒ§Retrieval: A userspace agent in the new kernel can then call `luo_session_retrieve()` with a session name to get a new file descriptor and access the preserved state. ”h]”hþ)�”}”(hŒ¦Retrieval: A userspace agent in the new kernel can then call `luo_session_retrieve()` with a session name to get a new file descriptor and access the preserved state.”h]”(hŒ=Retrieval: A userspace agent in the new kernel can then call ”…”�”}”(hj*h²hh³Nh´NubjØ)�”}”(hŒ`luo_session_retrieve()`”h]”hŒluo_session_retrieve()”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj*ubhŒQ with a session name to get a new file descriptor and access the preserved state.”…”�”}”(hj*h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K,hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1j|hj¾h²hh³Nh´Nubhþ)�”}”(hŒLocking:”h]”hŒLocking:”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K0hj¾h²hubhþ)�”}”(hŒ¨The LUO session subsystem uses a three-tier locking hierarchy to ensure thread safety and prevent deadlocks during concurrent session mutations and kexec serialization:”h]”hŒ¨The LUO session subsystem uses a three-tier locking hierarchy to ensure thread safety and prevent deadlocks during concurrent session mutations and kexec serialization:”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K2hj¾h²hubj})�”}”(hhh]”(j)�”}”(hX-`luo_session_serialize_rwsem` (global rwsem): Protects session mutations (creation, retrieval, release, and ioctls) against the serialization process during reboot. - Readers: Taken by any path modifying or accessing session state (e.g., `luo_session_create()`, `luo_session_retrieve()`, `luo_session_release()`, and `luo_session_ioctl()`). - Writer: Taken by the serialization process (`luo_session_serialize()`) during reboot. On success, the write lock is held indefinitely to freeze the subsystem. On failure, it is released to allow recovery. ”h]”(hþ)�”}”(hŒ¤`luo_session_serialize_rwsem` (global rwsem): Protects session mutations (creation, retrieval, release, and ioctls) against the serialization process during reboot.”h]”(jØ)�”}”(hŒ`luo_session_serialize_rwsem`”h]”hŒluo_session_serialize_rwsem”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj�ubhŒ‡ (global rwsem): Protects session mutations (creation, retrieval, release, and ioctls) against the serialization process during reboot.”…”�”}”(hj�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K6hj}ubj)�”}”(hhh]”(j)�”}”(hŒ­Readers: Taken by any path modifying or accessing session state (e.g., `luo_session_create()`, `luo_session_retrieve()`, `luo_session_release()`, and `luo_session_ioctl()`).”h]”hþ)�”}”(hŒ­Readers: Taken by any path modifying or accessing session state (e.g., `luo_session_create()`, `luo_session_retrieve()`, `luo_session_release()`, and `luo_session_ioctl()`).”h]”(hŒGReaders: Taken by any path modifying or accessing session state (e.g., ”…”�”}”(hj¥h²hh³Nh´NubjØ)�”}”(hŒ`luo_session_create()`”h]”hŒluo_session_create()”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj¥ubhŒ, ”…”�”}”(hj¥h²hh³Nh´NubjØ)�”}”(hŒ`luo_session_retrieve()`”h]”hŒluo_session_retrieve()”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj¥ubhŒ, ”…”�”}”hj¥sbjØ)�”}”(hŒ`luo_session_release()`”h]”hŒluo_session_release()”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj¥ubhŒ, and ”…”�”}”(hj¥h²hh³Nh´NubjØ)�”}”(hŒ`luo_session_ioctl()`”h]”hŒluo_session_ioctl()”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj¥ubhŒ).”…”�”}”(hj¥h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K:hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjžubj)�”}”(hŒÍWriter: Taken by the serialization process (`luo_session_serialize()`) during reboot. On success, the write lock is held indefinitely to freeze the subsystem. On failure, it is released to allow recovery. ”h]”hþ)�”}”(hŒÌWriter: Taken by the serialization process (`luo_session_serialize()`) during reboot. On success, the write lock is held indefinitely to freeze the subsystem. On failure, it is released to allow recovery.”h]”(hŒ,Writer: Taken by the serialization process (”…”�”}”(hjh²hh³Nh´NubjØ)�”}”(hŒ`luo_session_serialize()`”h]”hŒluo_session_serialize()”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjubhŒ‡) during reboot. On success, the write lock is held indefinitely to freeze the subsystem. On failure, it is released to allow recovery.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´K=hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjžubeh}”(h]”h ]”h"]”h$]”h&]”jkjluh1jh³jûh´K:hj}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjzubj)�”}”(hX3`luo_session_header->rwsem` (per-list rwsem): Synchronizes list-level operations for the incoming and outgoing session headers. - Writer: Taken during list mutation operations (inserting or removing a session from the list). - Reader: Taken when traversing the list (e.g., retrieving a session by name). ”h]”(hþ)�”}”(hŒ`luo_session_header->rwsem` (per-list rwsem): Synchronizes list-level operations for the incoming and outgoing session headers.”h]”(jØ)�”}”(hŒ`luo_session_header->rwsem`”h]”hŒluo_session_header->rwsem”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj=ubhŒd (per-list rwsem): Synchronizes list-level operations for the incoming and outgoing session headers.”…”�”}”(hj=h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´KAhj9ubj)�”}”(hhh]”(j)�”}”(hŒ^Writer: Taken during list mutation operations (inserting or removing a session from the list).”h]”hþ)�”}”(hŒ^Writer: Taken during list mutation operations (inserting or removing a session from the list).”h]”hŒ^Writer: Taken during list mutation operations (inserting or removing a session from the list).”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´KDhj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjZubj)�”}”(hŒMReader: Taken when traversing the list (e.g., retrieving a session by name). ”h]”hþ)�”}”(hŒLReader: Taken when traversing the list (e.g., retrieving a session by name).”h]”hŒLReader: Taken when traversing the list (e.g., retrieving a session by name).”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´KFhjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjZubeh}”(h]”h ]”h"]”h$]”h&]”jkjluh1jh³joh´KDhj9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjzubj)�”}”(hŒÎ`luo_session->mutex` (per-session mutex): Protects the internal state and file sets of an individual session. It is acquired during per-session operations such as preserving, retrieving, or freezing files. ”h]”hþ)�”}”(hŒÍ`luo_session->mutex` (per-session mutex): Protects the internal state and file sets of an individual session. It is acquired during per-session operations such as preserving, retrieving, or freezing files.”h]”(jØ)�”}”(hŒ`luo_session->mutex`”h]”hŒluo_session->mutex”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjŸubhŒ¹ (per-session mutex): Protects the internal state and file sets of an individual session. It is acquired during per-session operations such as preserving, retrieving, or freezing files.”…”�”}”(hjŸh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´KHhj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjzubeh}”(h]”h ]”h"]”h$]”h&]”jWjXjYhjZj[uh1j|hj¾h²hh³Nh´NubhŒdefinition_list”“”)�”}”(hhh]”hŒdefinition_list_item”“”)�”}”(hŒfLock Hierarchy: `luo_session_serialize_rwsem` -> `luo_session_header->rwsem` -> `luo_session->mutex` ”h]”(hŒterm”“”)�”}”(hŒLock Hierarchy:”h]”hŒLock Hierarchy:”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´KOhjÏubhŒ definition”“”)�”}”(hhh]”hþ)�”}”(hŒT`luo_session_serialize_rwsem` -> `luo_session_header->rwsem` -> `luo_session->mutex`”h]”(jØ)�”}”(hŒ`luo_session_serialize_rwsem`”h]”hŒluo_session_serialize_rwsem”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjéubhŒ -> ”…”�”}”(hjéh²hh³Nh´NubjØ)�”}”(hŒ`luo_session_header->rwsem`”h]”hŒluo_session_header->rwsem”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjéubhŒ -> ”…”�”}”hjésbjØ)�”}”(hŒ`luo_session->mutex`”h]”hŒluo_session->mutex”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:13: ./kernel/liveupdate/luo_session.c”h´KNhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÏubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jãh´KOhjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¾h²hh³Nh´Nubeh}”(h]”Œ luo-sessions”ah ]”h"]”Œ luo sessions”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒLUO Preserving File Descriptors”h]”hŒLUO Preserving File Descriptors”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj@h²hh³hÇh´Kubhþ)�”}”(hXLUO provides the infrastructure to preserve specific, stateful file descriptors across a kexec-based live update. The primary goal is to allow workloads, such as virtual machines using vfio, memfd, or iommufd, to retain access to their essential resources without interruption.”h]”hXLUO provides the infrastructure to preserve specific, stateful file descriptors across a kexec-based live update. The primary goal is to allow workloads, such as virtual machines using vfio, memfd, or iommufd, to retain access to their essential resources without interruption.”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K hj@h²hubhþ)�”}”(hŒsThe framework is built around a callback-based handler model and a well- defined lifecycle for each preserved file.”h]”hŒsThe framework is built around a callback-based handler model and a well- defined lifecycle for each preserved file.”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´Khj@h²hubhþ)�”}”(hXHandler Registration: Kernel modules responsible for a specific file type (e.g., memfd, vfio) register a :c:type:`struct liveupdate_file_handler `. This handler provides a set of callbacks that LUO invokes at different stages of the update process, most notably:”h]”(hŒiHandler Registration: Kernel modules responsible for a specific file type (e.g., memfd, vfio) register a ”…”�”}”(hjoh²hh³Nh´Nubh)�”}”(hŒB:c:type:`struct liveupdate_file_handler `”h]”jž)�”}”(hjyh]”hŒstruct liveupdate_file_handler”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œc”Œc-type”eh"]”h$]”h&]”uh1j�hjwubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œcore-api/liveupdate”Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰Œ reftarget”Œliveupdate_file_handler”uh1hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´KhjoubhŒt. This handler provides a set of callbacks that LUO invokes at different stages of the update process, most notably:”…”�”}”(hjoh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jšh´Khj@h²hubhŒ block_quote”“”)�”}”(hXä- can_preserve(): A lightweight check to determine if the handler is compatible with a given 'struct file'. - preserve(): The heavyweight operation that saves the file's state and returns an opaque u64 handle. This is typically performed while the workload is still active to minimize the downtime during the actual reboot transition. - unpreserve(): Cleans up any resources allocated by .preserve(), called if the preservation process is aborted before the reboot (i.e. session is closed). - freeze(): A final pre-reboot opportunity to prepare the state for kexec. We are already in reboot syscall, and therefore userspace cannot mutate the file anymore. - unfreeze(): Undoes the actions of .freeze(), called if the live update is aborted after the freeze phase. - retrieve(): Reconstructs the file in the new kernel from the preserved handle. - finish(): Performs final check and cleanup in the new kernel. After succesul finish call, LUO gives up ownership to this file. ”h]”j)�”}”(hhh]”(j)�”}”(hŒican_preserve(): A lightweight check to determine if the handler is compatible with a given 'struct file'.”h]”hþ)�”}”(hŒican_preserve(): A lightweight check to determine if the handler is compatible with a given 'struct file'.”h]”hŒmcan_preserve(): A lightweight check to determine if the handler is compatible with a given ‘struct file’.”…”�”}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´Khj®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubj)�”}”(hŒàpreserve(): The heavyweight operation that saves the file's state and returns an opaque u64 handle. This is typically performed while the workload is still active to minimize the downtime during the actual reboot transition.”h]”hþ)�”}”(hŒàpreserve(): The heavyweight operation that saves the file's state and returns an opaque u64 handle. This is typically performed while the workload is still active to minimize the downtime during the actual reboot transition.”h]”hŒâpreserve(): The heavyweight operation that saves the file’s state and returns an opaque u64 handle. This is typically performed while the workload is still active to minimize the downtime during the actual reboot transition.”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´KhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubj)�”}”(hŒ™unpreserve(): Cleans up any resources allocated by .preserve(), called if the preservation process is aborted before the reboot (i.e. session is closed).”h]”hþ)�”}”(hŒ™unpreserve(): Cleans up any resources allocated by .preserve(), called if the preservation process is aborted before the reboot (i.e. session is closed).”h]”hŒ™unpreserve(): Cleans up any resources allocated by .preserve(), called if the preservation process is aborted before the reboot (i.e. session is closed).”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´Khjàubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubj)�”}”(hŒ¢freeze(): A final pre-reboot opportunity to prepare the state for kexec. We are already in reboot syscall, and therefore userspace cannot mutate the file anymore.”h]”hþ)�”}”(hŒ¢freeze(): A final pre-reboot opportunity to prepare the state for kexec. We are already in reboot syscall, and therefore userspace cannot mutate the file anymore.”h]”hŒ¢freeze(): A final pre-reboot opportunity to prepare the state for kexec. We are already in reboot syscall, and therefore userspace cannot mutate the file anymore.”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubj)�”}”(hŒiunfreeze(): Undoes the actions of .freeze(), called if the live update is aborted after the freeze phase.”h]”hþ)�”}”(hŒiunfreeze(): Undoes the actions of .freeze(), called if the live update is aborted after the freeze phase.”h]”hŒiunfreeze(): Undoes the actions of .freeze(), called if the live update is aborted after the freeze phase.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K#hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubj)�”}”(hŒNretrieve(): Reconstructs the file in the new kernel from the preserved handle.”h]”hþ)�”}”(hŒNretrieve(): Reconstructs the file in the new kernel from the preserved handle.”h]”hŒNretrieve(): Reconstructs the file in the new kernel from the preserved handle.”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K%hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubj)�”}”(hŒfinish(): Performs final check and cleanup in the new kernel. After succesul finish call, LUO gives up ownership to this file. ”h]”hþ)�”}”(hŒ~finish(): Performs final check and cleanup in the new kernel. After succesul finish call, LUO gives up ownership to this file.”h]”hŒ~finish(): Performs final check and cleanup in the new kernel. After succesul finish call, LUO gives up ownership to this file.”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K'hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«ubeh}”(h]”h ]”h"]”h$]”h&]”jkjluh1jh³jÀh´Khj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¥h³jÀh´Khj@h²hubhþ)�”}”(hŒ'File Preservation Lifecycle happy path:”h]”hŒ'File Preservation Lifecycle happy path:”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K*hj@h²hubj})�”}”(hhh]”(j)�”}”(hXPreserve (Normal Operation): A userspace agent preserves files one by one via an ioctl. For each file, luo_preserve_file() finds a compatible handler, calls its .preserve() operation, and creates an internal :c:type:`struct luo_file ` to track the live state. ”h]”hþ)�”}”(hX Preserve (Normal Operation): A userspace agent preserves files one by one via an ioctl. For each file, luo_preserve_file() finds a compatible handler, calls its .preserve() operation, and creates an internal :c:type:`struct luo_file ` to track the live state.”h]”(hŒÐPreserve (Normal Operation): A userspace agent preserves files one by one via an ioctl. For each file, luo_preserve_file() finds a compatible handler, calls its .preserve() operation, and creates an internal ”…”�”}”(hjh²hh³Nh´Nubh)�”}”(hŒ$:c:type:`struct luo_file `”h]”jž)�”}”(hj‰h]”hŒstruct luo_file”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hj‡ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰j˜Œluo_file”uh1hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K,hjubhŒ to track the live state.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j¦h´K,hj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjxubj)�”}”(hXFreeze (Pre-Reboot): Just before the kexec, luo_file_freeze() is called. It iterates through all preserved files, calls their respective .freeze() operation, and serializes their final metadata (compatible string, token, and data handle) into a contiguous memory block for KHO. ”h]”hþ)�”}”(hXFreeze (Pre-Reboot): Just before the kexec, luo_file_freeze() is called. It iterates through all preserved files, calls their respective .freeze() operation, and serializes their final metadata (compatible string, token, and data handle) into a contiguous memory block for KHO.”h]”hXFreeze (Pre-Reboot): Just before the kexec, luo_file_freeze() is called. It iterates through all preserved files, calls their respective .freeze() operation, and serializes their final metadata (compatible string, token, and data handle) into a contiguous memory block for KHO.”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K1hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjxubj)�”}”(hXVDeserialize: After kexec, luo_file_deserialize() runs when session gets deserialized (which is when /dev/liveupdate is first opened). It reads the serialized data from the KHO memory region and reconstructs the in-memory list of :c:type:`struct luo_file ` instances for the new kernel, linking them to their corresponding handlers. ”h]”hþ)�”}”(hXUDeserialize: After kexec, luo_file_deserialize() runs when session gets deserialized (which is when /dev/liveupdate is first opened). It reads the serialized data from the KHO memory region and reconstructs the in-memory list of :c:type:`struct luo_file ` instances for the new kernel, linking them to their corresponding handlers.”h]”(hŒåDeserialize: After kexec, luo_file_deserialize() runs when session gets deserialized (which is when /dev/liveupdate is first opened). It reads the serialized data from the KHO memory region and reconstructs the in-memory list of ”…”�”}”(hjÔh²hh³Nh´Nubh)�”}”(hŒ$:c:type:`struct luo_file `”h]”jž)�”}”(hjÞh]”hŒstruct luo_file”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hjÜubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰j˜Œluo_file”uh1hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K6hjÔubhŒL instances for the new kernel, linking them to their corresponding handlers.”…”�”}”(hjÔh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jûh´K6hjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjxubj)�”}”(hX'Retrieve (New Kernel - Userspace Ready): The userspace agent can now restore file descriptors by providing a token. luo_retrieve_file() searches for the matching token, calls the handler's .retrieve() op to re-create the 'struct file', and returns a new FD. Files can be retrieved in ANY order. ”h]”hþ)�”}”(hX&Retrieve (New Kernel - Userspace Ready): The userspace agent can now restore file descriptors by providing a token. luo_retrieve_file() searches for the matching token, calls the handler's .retrieve() op to re-create the 'struct file', and returns a new FD. Files can be retrieved in ANY order.”h]”hX,Retrieve (New Kernel - Userspace Ready): The userspace agent can now restore file descriptors by providing a token. luo_retrieve_file() searches for the matching token, calls the handler’s .retrieve() op to re-create the ‘struct file’, and returns a new FD. Files can be retrieved in ANY order.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:18: ./kernel/liveupdate/luo_file.c”h´K`) that LUO invokes at key points:”h]”(hŒ`”h]”jž)�”}”(hj>h]”hŒstruct liveupdate_flb_ops”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hj<ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰j˜Œliveupdate_flb_ops”uh1hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:23: ./kernel/liveupdate/luo_flb.c”h´Khj4ubhŒ!) that LUO invokes at key points:”…”�”}”(hj4h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j[h´KhjÃh²hubj¦)�”}”(hX- .preserve(): Called for the first file. Saves global state. - .unpreserve(): Called for the last file (if aborted pre-reboot). - .retrieve(): Called on-demand in the new kernel to restore the state. - .finish(): Called for the last file in the new kernel for cleanup. ”h]”j)�”}”(hhh]”(j)�”}”(hŒ;.preserve(): Called for the first file. Saves global state.”h]”hþ)�”}”(hjoh]”hŒ;.preserve(): Called for the first file. Saves global state.”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:23: ./kernel/liveupdate/luo_flb.c”h´Khjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjjubj)�”}”(hŒ@.unpreserve(): Called for the last file (if aborted pre-reboot).”h]”hþ)�”}”(hj‡h]”hŒ@.unpreserve(): Called for the last file (if aborted pre-reboot).”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:23: ./kernel/liveupdate/luo_flb.c”h´Khj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjjubj)�”}”(hŒE.retrieve(): Called on-demand in the new kernel to restore the state.”h]”hþ)�”}”(hjŸh]”hŒE.retrieve(): Called on-demand in the new kernel to restore the state.”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:23: ./kernel/liveupdate/luo_flb.c”h´Khj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjjubj)�”}”(hŒC.finish(): Called for the last file in the new kernel for cleanup. ”h]”hþ)�”}”(hŒB.finish(): Called for the last file in the new kernel for cleanup.”h]”hŒB.finish(): Called for the last file in the new kernel for cleanup.”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:23: ./kernel/liveupdate/luo_flb.c”h´Khjµubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjjubeh}”(h]”h ]”h"]”h$]”h&]”jkjluh1jh³j~h´Khjfubah}”(h]”h ]”h"]”h$]”h&]”uh1j¥h³j~h´KhjÃh²hubhþ)�”}”(hŒÞThis reference-counted approach ensures that shared state is saved exactly once and restored exactly once, regardless of how many files depend on it, and that its lifecycle is correctly managed across the kexec transition.”h]”hŒÞThis reference-counted approach ensures that shared state is saved exactly once and restored exactly once, regardless of how many files depend on it, and that its lifecycle is correctly managed across the kexec transition.”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:23: ./kernel/liveupdate/luo_flb.c”h´K hjÃh²hubeh}”(h]”Œ$luo-file-lifecycle-bound-global-data”ah ]”h"]”Œ$luo file lifecycle bound global data”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒLive Update Orchestrator ABI”h]”hŒLive Update Orchestrator ABI”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjñh²hh³hÇh´Kubhþ)�”}”(hXLive Update Orchestrator uses the stable Application Binary Interface defined below to pass state from a pre-update kernel to a post-update kernel. The ABI is built upon the Kexec HandOver framework and registers the central `struct luo_ser` via the KHO raw subtree API.”h]”(hŒáLive Update Orchestrator uses the stable Application Binary Interface defined below to pass state from a pre-update kernel to a post-update kernel. The ABI is built upon the Kexec HandOver framework and registers the central ”…”�”}”(hj h²hh³Nh´NubjØ)�”}”(hŒ`struct luo_ser`”h]”hŒstruct luo_ser”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj ubhŒ via the KHO raw subtree API.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´K hjñh²hubhþ)�”}”(hX`This interface is a contract. Any modification to the structure fields, compatible strings, or the layout of the `__packed` serialization structures defined here constitutes a breaking change. Such changes require incrementing the version number in the relevant `_COMPATIBLE` string to prevent a new kernel from misinterpreting data from an old kernel.”h]”(hŒqThis interface is a contract. Any modification to the structure fields, compatible strings, or the layout of the ”…”�”}”(hj# h²hh³Nh´NubjØ)�”}”(hŒ `__packed`”h]”hŒ__packed”…”�”}”(hj+ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj# ubhŒ‹ serialization structures defined here constitutes a breaking change. Such changes require incrementing the version number in the relevant ”…”�”}”(hj# h²hh³Nh´NubjØ)�”}”(hŒ `_COMPATIBLE`”h]”hŒ _COMPATIBLE”…”�”}”(hj= h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj# ubhŒM string to prevent a new kernel from misinterpreting data from an old kernel.”…”�”}”(hj# h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´Khjñh²hubhþ)�”}”(hŒ®Changes are allowed provided the compatibility version is incremented; however, backward/forward compatibility is only guaranteed for kernels supporting the same ABI version.”h]”hŒ®Changes are allowed provided the compatibility version is incremented; however, backward/forward compatibility is only guaranteed for kernels supporting the same ABI version.”…”�”}”(hjV h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´Khjñh²hubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ˜KHO Structure Overview: The entire LUO state is encapsulated within a single KHO entry named "LUO". This entry contains the `struct luo_ser` structure. ”h]”(jÔ)�”}”(hŒKHO Structure Overview:”h]”hŒKHO Structure Overview:”…”�”}”(hjl h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´Khjh ubjå)�”}”(hhh]”hþ)�”}”(hŒThe entire LUO state is encapsulated within a single KHO entry named "LUO". This entry contains the `struct luo_ser` structure.”h]”(hŒhThe entire LUO state is encapsulated within a single KHO entry named “LUOâ€�. This entry contains the ”…”�”}”(hj~ h²hh³Nh´NubjØ)�”}”(hŒ`struct luo_ser`”h]”hŒstruct luo_ser”…”�”}”(hj† h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj~ ubhŒ structure.”…”�”}”(hj~ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´Khj{ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjh ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jz h´Khje ubjÎ)�”}”(hX5Serialization Structures: - struct luo_ser: The central ABI structure that contains the overall state of the LUO. It includes the compatibility string, the liveupdate-number, and pointers to sessions and FLBs. - struct luo_session_ser: Metadata for a single session, including its name and a physical pointer to the first `struct kho_block_header_ser` for all files in that session. Multiple blocks are linked via the `next` field in the header. - struct luo_file_ser: Metadata for a single preserved file. Contains the `compatible` string to find the correct handler in the new kernel, a user-provided `token` for identification, and an opaque `data` handle for the handler to use. - struct luo_flb_header_ser: Header for the FLB array. Contains the total page count of the preserved memory block and the number of `struct luo_flb_ser` entries that follow. - struct luo_flb_ser: Metadata for a single preserved global object. Contains its `name` (compatible string), an opaque `data` handle, and the `count` number of files depending on it. ”h]”(jÔ)�”}”(hŒSerialization Structures:”h]”hŒSerialization Structures:”…”�”}”(hj¯ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´K5hj« ubjå)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒ¶struct luo_ser: The central ABI structure that contains the overall state of the LUO. It includes the compatibility string, the liveupdate-number, and pointers to sessions and FLBs. ”h]”hþ)�”}”(hŒµstruct luo_ser: The central ABI structure that contains the overall state of the LUO. It includes the compatibility string, the liveupdate-number, and pointers to sessions and FLBs.”h]”hŒµstruct luo_ser: The central ABI structure that contains the overall state of the LUO. It includes the compatibility string, the liveupdate-number, and pointers to sessions and FLBs.”…”�”}”(hjÈ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´KhjÄ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÁ ubj)�”}”(hŒêstruct luo_session_ser: Metadata for a single session, including its name and a physical pointer to the first `struct kho_block_header_ser` for all files in that session. Multiple blocks are linked via the `next` field in the header. ”h]”hþ)�”}”(hŒéstruct luo_session_ser: Metadata for a single session, including its name and a physical pointer to the first `struct kho_block_header_ser` for all files in that session. Multiple blocks are linked via the `next` field in the header.”h]”(hŒnstruct luo_session_ser: Metadata for a single session, including its name and a physical pointer to the first ”…”�”}”(hjá h²hh³Nh´NubjØ)�”}”(hŒ`struct kho_block_header_ser`”h]”hŒstruct kho_block_header_ser”…”�”}”(hjé h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjá ubhŒC for all files in that session. Multiple blocks are linked via the ”…”�”}”(hjá h²hh³Nh´NubjØ)�”}”(hŒ`next`”h]”hŒnext”…”�”}”(hjû h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjá ubhŒ field in the header.”…”�”}”(hjá h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´K"hjÝ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÁ ubj)�”}”(hŒëstruct luo_file_ser: Metadata for a single preserved file. Contains the `compatible` string to find the correct handler in the new kernel, a user-provided `token` for identification, and an opaque `data` handle for the handler to use. ”h]”hþ)�”}”(hŒêstruct luo_file_ser: Metadata for a single preserved file. Contains the `compatible` string to find the correct handler in the new kernel, a user-provided `token` for identification, and an opaque `data` handle for the handler to use.”h]”(hŒHstruct luo_file_ser: Metadata for a single preserved file. Contains the ”…”�”}”(hj h²hh³Nh´NubjØ)�”}”(hŒ `compatible`”h]”hŒ compatible”…”�”}”(hj& h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj ubhŒG string to find the correct handler in the new kernel, a user-provided ”…”�”}”(hj h²hh³Nh´NubjØ)�”}”(hŒ`token`”h]”hŒtoken”…”�”}”(hj8 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj ubhŒ# for identification, and an opaque ”…”�”}”(hj h²hh³Nh´NubjØ)�”}”(hŒ`data`”h]”hŒdata”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj ubhŒ handle for the handler to use.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´K'hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÁ ubj)�”}”(hŒ­struct luo_flb_header_ser: Header for the FLB array. Contains the total page count of the preserved memory block and the number of `struct luo_flb_ser` entries that follow. ”h]”hþ)�”}”(hŒ¬struct luo_flb_header_ser: Header for the FLB array. Contains the total page count of the preserved memory block and the number of `struct luo_flb_ser` entries that follow.”h]”(hŒƒstruct luo_flb_header_ser: Header for the FLB array. Contains the total page count of the preserved memory block and the number of ”…”�”}”(hjm h²hh³Nh´NubjØ)�”}”(hŒ`struct luo_flb_ser`”h]”hŒstruct luo_flb_ser”…”�”}”(hju h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjm ubhŒ entries that follow.”…”�”}”(hjm h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´K,hji ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÁ ubj)�”}”(hŒ·struct luo_flb_ser: Metadata for a single preserved global object. Contains its `name` (compatible string), an opaque `data` handle, and the `count` number of files depending on it. ”h]”hþ)�”}”(hŒµstruct luo_flb_ser: Metadata for a single preserved global object. Contains its `name` (compatible string), an opaque `data` handle, and the `count` number of files depending on it.”h]”(hŒPstruct luo_flb_ser: Metadata for a single preserved global object. Contains its ”…”�”}”(hj˜ h²hh³Nh´NubjØ)�”}”(hŒ`name`”h]”hŒname”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj˜ ubhŒ (compatible string), an opaque ”…”�”}”(hj˜ h²hh³Nh´NubjØ)�”}”(hŒ`data`”h]”hŒdata”…”�”}”(hj² h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj˜ ubhŒ handle, and the ”…”�”}”(hj˜ h²hh³Nh´NubjØ)�”}”(hŒ`count`”h]”hŒcount”…”�”}”(hjÄ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj˜ ubhŒ! number of files depending on it.”…”�”}”(hj˜ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:28: ./include/linux/kho/abi/luo.h”h´K1hj” ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÁ ubeh}”(h]”h ]”h"]”h$]”h&]”jkjluh1jh³jÖ h´Khj¾ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj« ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j½ h´K5hje ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjñh²hh³Nh´Nubhþ)�”}”(hŒ8The following types of file descriptors can be preserved”h]”hŒ8The following types of file descriptors can be preserved”…”�”}”(hjû h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³hÇh´Khjñh²hubhŒcompound”“”)�”}”(hhh]”hŒtoctree”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”hj’Œentries”]”NŒmm/memfd_preservation”†”aŒ includefiles”]”j aŒmaxdepth”KŒcaption”NŒglob”‰Œhidden”‰Œ includehidden”‰Œnumbered”KŒ titlesonly”‰Œ rawentries”]”uh1j h³hÇh´K!hj ubah}”(h]”h ]”Œtoctree-wrapper”ah"]”h$]”h&]”uh1j hjñh²hh³hÇh´Nubeh}”(h]”Œlive-update-orchestrator-abi”ah ]”h"]”Œlive update orchestrator abi”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Public API”h]”hŒ Public API”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj7 h²hh³hÇh´K'ubhŒindex”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”Œ"liveupdate_file_op_args (C struct)”Œc.liveupdate_file_op_args”hNt”auh1jH hj7 h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´NubhŒdesc”“”)�”}”(hhh]”(hŒdesc_signature”“”)�”}”(hŒliveupdate_file_op_args”h]”hŒdesc_signature_line”“”)�”}”(hŒstruct liveupdate_file_op_args”h]”(hŒdesc_sig_keyword”“”)�”}”(hŒstruct”h]”hŒstruct”…”�”}”(hjm h²hh³Nh´Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1jk hjg h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KubhŒdesc_sig_space”“”)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1j} hjg h²hh³j| h´KubhŒ desc_name”“”)�”}”(hŒliveupdate_file_op_args”h]”hŒ desc_sig_name”“”)�”}”(hjc h]”hŒliveupdate_file_op_args”…”�”}”(hj– h²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1j” hj� ubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jŽ hjg h²hh³j| h´Kubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1je Œsphinx_line_type”Œ declarator”hja h²hh³j| h´Kubah}”(h]”jW ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j_ h³j| h´Khj\ h²hubhŒ desc_content”“”)�”}”(hhh]”hþ)�”}”(hŒ'Arguments for file operation callbacks.”h]”hŒ'Arguments for file operation callbacks.”…”�”}”(hjÅ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Khj h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj\ h²hh³j| h´Kubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”Œdomain”j†Œobjtype”jÝ Œdesctype”jÝ Œnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1jZ h²hhj7 h³jY h´NubhŒ container”“”)�”}”(hX**Definition**:: struct liveupdate_file_op_args { struct liveupdate_file_handler *handler; int retrieve_status; struct file *file; u64 serialized_data; void *private_data; }; **Members** ``handler`` The file handler being called. ``retrieve_status`` The retrieve status for the 'can_finish / finish' operation. A value of 0 means the retrieve has not been attempted, a positive value means the retrieve was successful, and a negative value means the retrieve failed, and the value is the error code of the call. ``file`` The file object. For retrieve: [OUT] The callback sets this to the new file. For other ops: [IN] The caller sets this to the file being operated on. ``serialized_data`` The opaque u64 handle, preserve/prepare/freeze may update this field. ``private_data`` Private data for the file used to hold runtime state that is not preserved. Set by the handler's .preserve() callback, and must be freed in the handler's .unpreserve() callback.”•»h]”(hþ)�”}”(hŒ**Definition**::”h]”(hŒstrong”“”)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjó h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjí ubhŒ:”…”�”}”(hjí h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Khjé ubhŒ literal_block”“”)�”}”(hŒ±struct liveupdate_file_op_args { struct liveupdate_file_handler *handler; int retrieve_status; struct file *file; u64 serialized_data; void *private_data; };”h]”hŒ±struct liveupdate_file_op_args { struct liveupdate_file_handler *handler; int retrieve_status; struct file *file; u64 serialized_data; void *private_data; };”…”�”}”hj sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K hjé ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj h]”hŒMembers”…”�”}”(hj! h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K(hjé ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ+``handler`` The file handler being called. ”h]”(jÔ)�”}”(hŒ ``handler``”h]”jž)�”}”(hj> h]”hŒhandler”…”�”}”(hj@ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj< ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Khj8 ubjå)�”}”(hhh]”hþ)�”}”(hŒThe file handler being called.”h]”hŒThe file handler being called.”…”�”}”(hjW h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jS h´KhjT ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj8 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jS h´Khj5 ubjÎ)�”}”(hX``retrieve_status`` The retrieve status for the 'can_finish / finish' operation. A value of 0 means the retrieve has not been attempted, a positive value means the retrieve was successful, and a negative value means the retrieve failed, and the value is the error code of the call. ”h]”(jÔ)�”}”(hŒ``retrieve_status``”h]”jž)�”}”(hjw h]”hŒretrieve_status”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hju ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K!hjq ubjå)�”}”(hhh]”hþ)�”}”(hXThe retrieve status for the 'can_finish / finish' operation. A value of 0 means the retrieve has not been attempted, a positive value means the retrieve was successful, and a negative value means the retrieve failed, and the value is the error code of the call.”h]”hX The retrieve status for the ‘can_finish / finish’ operation. A value of 0 means the retrieve has not been attempted, a positive value means the retrieve was successful, and a negative value means the retrieve failed, and the value is the error code of the call.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Khj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjq ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jŒ h´K!hj5 ubjÎ)�”}”(hŒž``file`` The file object. For retrieve: [OUT] The callback sets this to the new file. For other ops: [IN] The caller sets this to the file being operated on. ”h]”(jÔ)�”}”(hŒ``file``”h]”jž)�”}”(hj± h]”hŒfile”…”�”}”(hj³ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¯ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K$hj« ubjå)�”}”(hhh]”hþ)�”}”(hŒ”The file object. For retrieve: [OUT] The callback sets this to the new file. For other ops: [IN] The caller sets this to the file being operated on.”h]”hŒ”The file object. For retrieve: [OUT] The callback sets this to the new file. For other ops: [IN] The caller sets this to the file being operated on.”…”�”}”(hjÊ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K"hjÇ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj« ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÆ h´K$hj5 ubjÎ)�”}”(hŒZ``serialized_data`` The opaque u64 handle, preserve/prepare/freeze may update this field. ”h]”(jÔ)�”}”(hŒ``serialized_data``”h]”jž)�”}”(hjë h]”hŒserialized_data”…”�”}”(hjí h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjé ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K&hjå ubjå)�”}”(hhh]”hþ)�”}”(hŒEThe opaque u64 handle, preserve/prepare/freeze may update this field.”h]”hŒEThe opaque u64 handle, preserve/prepare/freeze may update this field.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K%hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjå ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j h´K&hj5 ubjÎ)�”}”(hŒÂ``private_data`` Private data for the file used to hold runtime state that is not preserved. Set by the handler's .preserve() callback, and must be freed in the handler's .unpreserve() callback.”h]”(jÔ)�”}”(hŒ``private_data``”h]”jž)�”}”(hj% h]”hŒ private_data”…”�”}”(hj' h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj# ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K)hj ubjå)�”}”(hhh]”hþ)�”}”(hŒ±Private data for the file used to hold runtime state that is not preserved. Set by the handler's .preserve() callback, and must be freed in the handler's .unpreserve() callback.”h]”hŒµPrivate data for the file used to hold runtime state that is not preserved. Set by the handler’s .preserve() callback, and must be freed in the handler’s .unpreserve() callback.”…”�”}”(hj> h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K'hj; ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j: h´K)hj5 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjé ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³jY h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjh h]”hŒ Description”…”�”}”(hjj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjf ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K-hj7 h²hubhþ)�”}”(hŒˆThis structure bundles all parameters for the file operation callbacks. The 'data' and 'file' fields are used for both input and output.”h]”hŒ�This structure bundles all parameters for the file operation callbacks. The ‘data’ and ‘file’ fields are used for both input and output.”…”�”}”(hj~ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K*hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œliveupdate_file_ops (C struct)”Œc.liveupdate_file_ops”hNt”auh1jH hj7 h²hh³jY h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒliveupdate_file_ops”h]”jf )�”}”(hŒstruct liveupdate_file_ops”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj¦ h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj¢ h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K0ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj´ h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj¢ h²hh³j³ h´K0ubj� )�”}”(hŒliveupdate_file_ops”h]”j• )�”}”(hj  h]”hŒliveupdate_file_ops”…”�”}”(hjÆ h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj¢ h²hh³j³ h´K0ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjž h²hh³j³ h´K0ubah}”(h]”j™ ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j³ h´K0hj› h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ#Callbacks for live-updatable files.”h]”hŒ#Callbacks for live-updatable files.”…”�”}”(hjè h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K7hjå h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj› h²hh³j³ h´K0ubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ jjã jjä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³jY h´Nubjè )�”}”(hXÀ**Definition**:: struct liveupdate_file_ops { bool (*can_preserve)(struct liveupdate_file_handler *handler, struct file *file); int (*preserve)(struct liveupdate_file_op_args *args); void (*unpreserve)(struct liveupdate_file_op_args *args); int (*freeze)(struct liveupdate_file_op_args *args); void (*unfreeze)(struct liveupdate_file_op_args *args); int (*retrieve)(struct liveupdate_file_op_args *args); bool (*can_finish)(struct liveupdate_file_op_args *args); void (*finish)(struct liveupdate_file_op_args *args); unsigned long (*get_id)(struct file *file); struct module *owner; }; **Members** ``can_preserve`` Required. Lightweight check to see if this handler is compatible with the given file. ``preserve`` Required. Performs state-saving for the file. ``unpreserve`` Required. Cleans up any resources allocated by **preserve**. ``freeze`` Optional. Final actions just before kernel transition. ``unfreeze`` Optional. Undo freeze operations. ``retrieve`` Required. Restores the file in the new kernel. ``can_finish`` Optional. Check if this FD can finish, i.e. all restoration pre-requirements for this FD are satisfied. Called prior to finish, in order to do successful finish calls for all resources in the session. ``finish`` Required. Final cleanup in the new kernel. ``get_id`` Optional. Returns a unique identifier for the file. ``owner`` Module reference”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjubhŒ:”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K;hjubj )�”}”(hX`struct liveupdate_file_ops { bool (*can_preserve)(struct liveupdate_file_handler *handler, struct file *file); int (*preserve)(struct liveupdate_file_op_args *args); void (*unpreserve)(struct liveupdate_file_op_args *args); int (*freeze)(struct liveupdate_file_op_args *args); void (*unfreeze)(struct liveupdate_file_op_args *args); int (*retrieve)(struct liveupdate_file_op_args *args); bool (*can_finish)(struct liveupdate_file_op_args *args); void (*finish)(struct liveupdate_file_op_args *args); unsigned long (*get_id)(struct file *file); struct module *owner; };”h]”hX`struct liveupdate_file_ops { bool (*can_preserve)(struct liveupdate_file_handler *handler, struct file *file); int (*preserve)(struct liveupdate_file_op_args *args); void (*unpreserve)(struct liveupdate_file_op_args *args); int (*freeze)(struct liveupdate_file_op_args *args); void (*unfreeze)(struct liveupdate_file_op_args *args); int (*retrieve)(struct liveupdate_file_op_args *args); bool (*can_finish)(struct liveupdate_file_op_args *args); void (*finish)(struct liveupdate_file_op_args *args); unsigned long (*get_id)(struct file *file); struct module *owner; };”…”�”}”hj%sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K=hjubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj6h]”hŒMembers”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KJhjubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒg``can_preserve`` Required. Lightweight check to see if this handler is compatible with the given file. ”h]”(jÔ)�”}”(hŒ``can_preserve``”h]”jž)�”}”(hjUh]”hŒ can_preserve”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K:hjOubjå)�”}”(hhh]”hþ)�”}”(hŒURequired. Lightweight check to see if this handler is compatible with the given file.”h]”hŒURequired. Lightweight check to see if this handler is compatible with the given file.”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K9hjkubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jjh´K:hjLubjÎ)�”}”(hŒ;``preserve`` Required. Performs state-saving for the file. ”h]”(jÔ)�”}”(hŒ ``preserve``”h]”jž)�”}”(hj�h]”hŒpreserve”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K;hj‰ubjå)�”}”(hhh]”hþ)�”}”(hŒ-Required. Performs state-saving for the file.”h]”hŒ-Required. Performs state-saving for the file.”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j¤h´K;hj¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j¤h´K;hjLubjÎ)�”}”(hŒL``unpreserve`` Required. Cleans up any resources allocated by **preserve**. ”h]”(jÔ)�”}”(hŒ``unpreserve``”h]”jž)�”}”(hjÈh]”hŒ unpreserve”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KhjFubjå)�”}”(hhh]”hþ)�”}”(hŒ!Optional. Undo freeze operations.”h]”hŒ!Optional. Undo freeze operations.”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jah´K>hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jah´K>hjLubjÎ)�”}”(hŒ<``retrieve`` Required. Restores the file in the new kernel. ”h]”(jÔ)�”}”(hŒ ``retrieve``”h]”jž)�”}”(hj…h]”hŒretrieve”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K?hjubjå)�”}”(hhh]”hþ)�”}”(hŒ.Required. Restores the file in the new kernel.”h]”hŒ.Required. Restores the file in the new kernel.”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jšh´K?hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jšh´K?hjLubjÎ)�”}”(hŒØ``can_finish`` Optional. Check if this FD can finish, i.e. all restoration pre-requirements for this FD are satisfied. Called prior to finish, in order to do successful finish calls for all resources in the session. ”h]”(jÔ)�”}”(hŒ``can_finish``”h]”jž)�”}”(hj¾h]”hŒ can_finish”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KChj¸ubjå)�”}”(hhh]”hþ)�”}”(hŒÈOptional. Check if this FD can finish, i.e. all restoration pre-requirements for this FD are satisfied. Called prior to finish, in order to do successful finish calls for all resources in the session.”h]”hŒÈOptional. Check if this FD can finish, i.e. all restoration pre-requirements for this FD are satisfied. Called prior to finish, in order to do successful finish calls for all resources in the session.”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K@hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÓh´KChjLubjÎ)�”}”(hŒ6``finish`` Required. Final cleanup in the new kernel. ”h]”(jÔ)�”}”(hŒ ``finish``”h]”jž)�”}”(hjøh]”hŒfinish”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjöubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KDhjòubjå)�”}”(hhh]”hþ)�”}”(hŒ*Required. Final cleanup in the new kernel.”h]”hŒ*Required. Final cleanup in the new kernel.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j h´KDhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjòubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j h´KDhjLubjÎ)�”}”(hŒ?``get_id`` Optional. Returns a unique identifier for the file. ”h]”(jÔ)�”}”(hŒ ``get_id``”h]”jž)�”}”(hj1h]”hŒget_id”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KEhj+ubjå)�”}”(hhh]”hþ)�”}”(hŒ3Optional. Returns a unique identifier for the file.”h]”hŒ3Optional. Returns a unique identifier for the file.”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jFh´KEhjGubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jFh´KEhjLubjÎ)�”}”(hŒ``owner`` Module reference”h]”(jÔ)�”}”(hŒ ``owner``”h]”jž)�”}”(hjjh]”hŒowner”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KEhjdubjå)�”}”(hhh]”hþ)�”}”(hŒModule reference”h]”hŒModule reference”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KFhj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjdubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jh´KEhjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³jY h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj­h]”hŒ Description”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KIhj7 h²hubhþ)�”}”(hŒ~All operations (except can_preserve) receive a pointer to a 'struct liveupdate_file_op_args' containing the necessary context.”h]”hŒ‚All operations (except can_preserve) receive a pointer to a ‘struct liveupdate_file_op_args’ containing the necessary context.”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KFhj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ"liveupdate_file_handler (C struct)”Œc.liveupdate_file_handler”hNt”auh1jH hj7 h²hh³jY h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒliveupdate_file_handler”h]”jf )�”}”(hŒstruct liveupdate_file_handler”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjçh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KLubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjçh²hh³jøh´KLubj� )�”}”(hŒliveupdate_file_handler”h]”j• )�”}”(hjåh]”hŒliveupdate_file_handler”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjçh²hh³jøh´KLubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjãh²hh³jøh´KLubah}”(h]”jÞah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jøh´KLhjàh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ4Represents a handler for a live-updatable file type.”h]”hŒ4Represents a handler for a live-updatable file type.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KYhj*h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjàh²hh³jøh´KLubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ jEjã jEjä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³jY h´Nubjè )�”}”(hXÍ**Definition**:: struct liveupdate_file_handler { const struct liveupdate_file_ops *ops; const char compatible[LIVEUPDATE_HNDL_COMPAT_LENGTH]; }; **Members** ``ops`` Callback functions ``compatible`` The compatibility string (e.g., "memfd-v1", "vfiofd-v1") that uniquely identifies the file type this handler supports. This is matched against the compatible string associated with individual :c:type:`struct file ` instances.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjMubhŒ:”…”�”}”(hjMh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K]hjIubj )�”}”(hŒˆstruct liveupdate_file_handler { const struct liveupdate_file_ops *ops; const char compatible[LIVEUPDATE_HNDL_COMPAT_LENGTH]; };”h]”hŒˆstruct liveupdate_file_handler { const struct liveupdate_file_ops *ops; const char compatible[LIVEUPDATE_HNDL_COMPAT_LENGTH]; };”…”�”}”hjjsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K_hjIubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj{h]”hŒMembers”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KdhjIubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ``ops`` Callback functions ”h]”(jÔ)�”}”(hŒ``ops``”h]”jž)�”}”(hjšh]”hŒops”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K[hj”ubjå)�”}”(hhh]”hþ)�”}”(hŒCallback functions”h]”hŒCallback functions”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j¯h´K[hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j¯h´K[hj‘ubjÎ)�”}”(hŒö``compatible`` The compatibility string (e.g., "memfd-v1", "vfiofd-v1") that uniquely identifies the file type this handler supports. This is matched against the compatible string associated with individual :c:type:`struct file ` instances.”h]”(jÔ)�”}”(hŒ``compatible``”h]”jž)�”}”(hjÓh]”hŒ compatible”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K^hjÍubjå)�”}”(hhh]”hþ)�”}”(hŒçThe compatibility string (e.g., "memfd-v1", "vfiofd-v1") that uniquely identifies the file type this handler supports. This is matched against the compatible string associated with individual :c:type:`struct file ` instances.”h]”(hŒÈThe compatibility string (e.g., “memfd-v1â€�, “vfiofd-v1â€�) that uniquely identifies the file type this handler supports. This is matched against the compatible string associated with individual ”…”�”}”(hjìh²hh³Nh´Nubh)�”}”(hŒ:c:type:`struct file `”h]”jž)�”}”(hjöh]”hŒ struct file”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hjôubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)�”}”Œdata”]”sbj˜Œfile”uh1hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K\hjìubhŒ instances.”…”�”}”(hjìh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jh´K\hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jèh´K^hj‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjIubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³jY h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjAh]”hŒ Description”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Kbhj7 h²hubhþ)�”}”(hXModules that want to support live update for specific file types should register an instance of this structure. LUO uses this registration to determine if a given file can be preserved and to find the appropriate operations to manage its state across the update.”h]”hXModules that want to support live update for specific file types should register an instance of this structure. LUO uses this registration to determine if a given file can be preserved and to find the appropriate operations to manage its state across the update.”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K_hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ!liveupdate_flb_op_args (C struct)”Œc.liveupdate_flb_op_args”hNt”auh1jH hj7 h²hh³jY h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒliveupdate_flb_op_args”h]”jf )�”}”(hŒstruct liveupdate_flb_op_args”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj{h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Kgubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj{h²hh³jŒh´Kgubj� )�”}”(hŒliveupdate_flb_op_args”h]”j• )�”}”(hjyh]”hŒliveupdate_flb_op_args”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj›ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj{h²hh³jŒh´Kgubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjwh²hh³jŒh´Kgubah}”(h]”jrah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jŒh´Kghjth²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ&Arguments for FLB operation callbacks.”h]”hŒ&Arguments for FLB operation callbacks.”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Kuhj¾h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjth²hh³jŒh´Kgubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ jÙjã jÙjä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³jY h´Nubjè )�”}”(hX>**Definition**:: struct liveupdate_flb_op_args { struct liveupdate_flb *flb; u64 data; void *obj; }; **Members** ``flb`` The global FLB instance for which this call is performed. ``data`` For .preserve(): [OUT] The callback sets this field. For .unpreserve(): [IN] The handle from .preserve(). For .retrieve(): [IN] The handle from .preserve(). ``obj`` For .preserve(): [OUT] Sets this to the live object. For .retrieve(): [OUT] Sets this to the live object. For .finish(): [IN] The live object from .retrieve().”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjáubhŒ:”…”�”}”(hjáh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KyhjÝubj )�”}”(hŒ_struct liveupdate_flb_op_args { struct liveupdate_flb *flb; u64 data; void *obj; };”h]”hŒ_struct liveupdate_flb_op_args { struct liveupdate_flb *flb; u64 data; void *obj; };”…”�”}”hjþsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K{hjÝubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hjh]”hŒMembers”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K�hjÝubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒB``flb`` The global FLB instance for which this call is performed. ”h]”(jÔ)�”}”(hŒ``flb``”h]”jž)�”}”(hj.h]”hŒflb”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Kwhj(ubjå)�”}”(hhh]”hþ)�”}”(hŒ9The global FLB instance for which this call is performed.”h]”hŒ9The global FLB instance for which this call is performed.”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jCh´KwhjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jCh´Kwhj%ubjÎ)�”}”(hŒ¯``data`` For .preserve(): [OUT] The callback sets this field. For .unpreserve(): [IN] The handle from .preserve(). For .retrieve(): [IN] The handle from .preserve(). ”h]”(jÔ)�”}”(hŒ``data``”h]”jž)�”}”(hjgh]”hŒdata”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Kzhjaubjå)�”}”(hhh]”hþ)�”}”(hŒ¥For .preserve(): [OUT] The callback sets this field. For .unpreserve(): [IN] The handle from .preserve(). For .retrieve(): [IN] The handle from .preserve().”h]”hŒ¥For .preserve(): [OUT] The callback sets this field. For .unpreserve(): [IN] The handle from .preserve(). For .retrieve(): [IN] The handle from .preserve().”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´Kxhj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjaubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j|h´Kzhj%ubjÎ)�”}”(hŒ³``obj`` For .preserve(): [OUT] Sets this to the live object. For .retrieve(): [OUT] Sets this to the live object. For .finish(): [IN] The live object from .retrieve().”h]”(jÔ)�”}”(hŒ``obj``”h]”jž)�”}”(hj¡h]”hŒobj”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K|hj›ubjå)�”}”(hhh]”hþ)�”}”(hŒ«For .preserve(): [OUT] Sets this to the live object. For .retrieve(): [OUT] Sets this to the live object. For .finish(): [IN] The live object from .retrieve().”h]”hŒ«For .preserve(): [OUT] Sets this to the live object. For .retrieve(): [OUT] Sets this to the live object. For .finish(): [IN] The live object from .retrieve().”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K{hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j¶h´K|hj%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjÝubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³jY h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjäh]”hŒ Description”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjâubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K€hj7 h²hubhþ)�”}”(hŒFThis structure bundles all parameters for the FLB operation callbacks.”h]”hŒFThis structure bundles all parameters for the FLB operation callbacks.”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K}hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œliveupdate_flb_ops (C struct)”Œc.liveupdate_flb_ops”hNt”auh1jH hj7 h²hh³jY h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒliveupdate_flb_ops”h]”jf )�”}”(hŒstruct liveupdate_flb_ops”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K‚ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjh²hh³j/h´K‚ubj� )�”}”(hŒliveupdate_flb_ops”h]”j• )�”}”(hjh]”hŒliveupdate_flb_ops”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj>ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjh²hh³j/h´K‚ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjh²hh³j/h´K‚ubah}”(h]”jah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j/h´K‚hjh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ/Callbacks for global File-Lifecycle-Bound data.”h]”hŒ/Callbacks for global File-Lifecycle-Bound data.”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K‡hjah²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjh²hh³j/h´K‚ubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j|jã j|jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³jY h´Nubjè )�”}”(hX**Definition**:: struct liveupdate_flb_ops { int (*preserve)(struct liveupdate_flb_op_args *argp); void (*unpreserve)(struct liveupdate_flb_op_args *argp); int (*retrieve)(struct liveupdate_flb_op_args *argp); void (*finish)(struct liveupdate_flb_op_args *argp); struct module *owner; }; **Members** ``preserve`` Called when the first file using this FLB is preserved. The callback must save its state and return a single, self-contained u64 handle by setting the 'argp->data' field and 'argp->obj'. ``unpreserve`` Called when the last file using this FLB is unpreserved (aborted before reboot). Receives the handle via 'argp->data' and live object via 'argp->obj'. ``retrieve`` Called on-demand in the new kernel, the first time a component requests access to the shared object. It receives the preserved handle via 'argp->data' and must reconstruct the live object, returning it by setting the 'argp->obj' field. ``finish`` Called in the new kernel when the last file using this FLB is finished. Receives the live object via 'argp->obj' for cleanup. ``owner`` Module reference”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj„ubhŒ:”…”�”}”(hj„h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K‹hj€ubj )�”}”(hX"struct liveupdate_flb_ops { int (*preserve)(struct liveupdate_flb_op_args *argp); void (*unpreserve)(struct liveupdate_flb_op_args *argp); int (*retrieve)(struct liveupdate_flb_op_args *argp); void (*finish)(struct liveupdate_flb_op_args *argp); struct module *owner; };”h]”hX"struct liveupdate_flb_ops { int (*preserve)(struct liveupdate_flb_op_args *argp); void (*unpreserve)(struct liveupdate_flb_op_args *argp); int (*retrieve)(struct liveupdate_flb_op_args *argp); void (*finish)(struct liveupdate_flb_op_args *argp); struct module *owner; };”…”�”}”hj¡sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K�hj€ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj²h]”hŒMembers”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K•hj€ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒÈ``preserve`` Called when the first file using this FLB is preserved. The callback must save its state and return a single, self-contained u64 handle by setting the 'argp->data' field and 'argp->obj'. ”h]”(jÔ)�”}”(hŒ ``preserve``”h]”jž)�”}”(hjÑh]”hŒpreserve”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KŒhjËubjå)�”}”(hhh]”hþ)�”}”(hŒºCalled when the first file using this FLB is preserved. The callback must save its state and return a single, self-contained u64 handle by setting the 'argp->data' field and 'argp->obj'.”h]”hŒÂCalled when the first file using this FLB is preserved. The callback must save its state and return a single, self-contained u64 handle by setting the ‘argp->data’ field and ‘argp->obj’.”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K‰hjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jæh´KŒhjÈubjÎ)�”}”(hŒ¦``unpreserve`` Called when the last file using this FLB is unpreserved (aborted before reboot). Receives the handle via 'argp->data' and live object via 'argp->obj'. ”h]”(jÔ)�”}”(hŒ``unpreserve``”h]”jž)�”}”(hj h]”hŒ unpreserve”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K�hjubjå)�”}”(hhh]”hþ)�”}”(hŒ–Called when the last file using this FLB is unpreserved (aborted before reboot). Receives the handle via 'argp->data' and live object via 'argp->obj'.”h]”hŒžCalled when the last file using this FLB is unpreserved (aborted before reboot). Receives the handle via ‘argp->data’ and live object via ‘argp->obj’.”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K�hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j h´K�hjÈubjÎ)�”}”(hŒù``retrieve`` Called on-demand in the new kernel, the first time a component requests access to the shared object. It receives the preserved handle via 'argp->data' and must reconstruct the live object, returning it by setting the 'argp->obj' field. ”h]”(jÔ)�”}”(hŒ ``retrieve``”h]”jž)�”}”(hjEh]”hŒretrieve”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K”hj?ubjå)�”}”(hhh]”hþ)�”}”(hŒëCalled on-demand in the new kernel, the first time a component requests access to the shared object. It receives the preserved handle via 'argp->data' and must reconstruct the live object, returning it by setting the 'argp->obj' field.”h]”hŒóCalled on-demand in the new kernel, the first time a component requests access to the shared object. It receives the preserved handle via ‘argp->data’ and must reconstruct the live object, returning it by setting the ‘argp->obj’ field.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K�hj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jZh´K”hjÈubjÎ)�”}”(hŒ‰``finish`` Called in the new kernel when the last file using this FLB is finished. Receives the live object via 'argp->obj' for cleanup. ”h]”(jÔ)�”}”(hŒ ``finish``”h]”jž)�”}”(hjh]”hŒfinish”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K—hjyubjå)�”}”(hhh]”hþ)�”}”(hŒ}Called in the new kernel when the last file using this FLB is finished. Receives the live object via 'argp->obj' for cleanup.”h]”hŒ�Called in the new kernel when the last file using this FLB is finished. Receives the live object via ‘argp->obj’ for cleanup.”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K•hj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j”h´K—hjÈubjÎ)�”}”(hŒ``owner`` Module reference”h]”(jÔ)�”}”(hŒ ``owner``”h]”jž)�”}”(hj¹h]”hŒowner”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K—hj³ubjå)�”}”(hhh]”hþ)�”}”(hŒModule reference”h]”hŒModule reference”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K˜hjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÎh´K—hjÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj€ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³jY h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjüh]”hŒ Description”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjúubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K›hj7 h²hubhþ)�”}”(hŒ¯Operations that manage global shared data with file bound lifecycle, triggered by the first file that uses it and concluded by the last file that uses it, across all sessions.”h]”hŒ¯Operations that manage global shared data with file bound lifecycle, triggered by the first file that uses it and concluded by the last file that uses it, across all sessions.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K˜hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œliveupdate_flb (C struct)”Œc.liveupdate_flb”hNt”auh1jH hj7 h²hh³jY h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒliveupdate_flb”h]”jf )�”}”(hŒstruct liveupdate_flb”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj6h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KŸubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj6h²hh³jGh´KŸubj� )�”}”(hŒliveupdate_flb”h]”j• )�”}”(hj4h]”hŒliveupdate_flb”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjVubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj6h²hh³jGh´KŸubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj2h²hh³jGh´KŸubah}”(h]”j-ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jGh´KŸhj/h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ-A global definition for a shared data object.”h]”hŒ-A global definition for a shared data object.”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÐhjyh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj/h²hh³jGh´KŸubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j”jã j”jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³jY h´Nubjè )�”}”(hXÎ**Definition**:: struct liveupdate_flb { const struct liveupdate_flb_ops *ops; const char compatible[LIVEUPDATE_FLB_COMPAT_LENGTH]; }; **Members** ``ops`` Callback functions ``compatible`` The compatibility string (e.g., "iommu-core-v1" that uniquely identifies the FLB type this handler supports. This is matched against the compatible string associated with individual :c:type:`struct liveupdate_flb ` instances.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjœubhŒ:”…”�”}”(hjœh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÔhj˜ubj )�”}”(hŒ}struct liveupdate_flb { const struct liveupdate_flb_ops *ops; const char compatible[LIVEUPDATE_FLB_COMPAT_LENGTH]; };”h]”hŒ}struct liveupdate_flb { const struct liveupdate_flb_ops *ops; const char compatible[LIVEUPDATE_FLB_COMPAT_LENGTH]; };”…”�”}”hj¹sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÖhj˜ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hjÊh]”hŒMembers”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÛhj˜ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ``ops`` Callback functions ”h]”(jÔ)�”}”(hŒ``ops``”h]”jž)�”}”(hjéh]”hŒops”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÒhjãubjå)�”}”(hhh]”hþ)�”}”(hŒCallback functions”h]”hŒCallback functions”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jþh´KÒhjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jþh´KÒhjàubjÎ)�”}”(hX``compatible`` The compatibility string (e.g., "iommu-core-v1" that uniquely identifies the FLB type this handler supports. This is matched against the compatible string associated with individual :c:type:`struct liveupdate_flb ` instances.”h]”(jÔ)�”}”(hŒ``compatible``”h]”jž)�”}”(hj"h]”hŒ compatible”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÖhjubjå)�”}”(hhh]”hþ)�”}”(hŒñThe compatibility string (e.g., "iommu-core-v1" that uniquely identifies the FLB type this handler supports. This is matched against the compatible string associated with individual :c:type:`struct liveupdate_flb ` instances.”h]”(hŒºThe compatibility string (e.g., “iommu-core-v1â€� that uniquely identifies the FLB type this handler supports. This is matched against the compatible string associated with individual ”…”�”}”(hj;h²hh³Nh´Nubh)�”}”(hŒ0:c:type:`struct liveupdate_flb `”h]”jž)�”}”(hjEh]”hŒstruct liveupdate_flb”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hjCubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œliveupdate_flb”uh1hh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÓhj;ubhŒ instances.”…”�”}”(hj;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jbh´KÓhj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j7h´KÖhjàubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj˜ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³jY h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjˆh]”hŒ Description”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´KÚhj7 h²hubhþ)�”}”(hŒÇThis struct is the "template" that a driver registers to define a shared, file-lifecycle-bound object. The actual runtime state (the live object, refcount, etc.) is managed privately by the LUO core.”h]”hŒËThis struct is the “templateâ€� that a driver registers to define a shared, file-lifecycle-bound object. The actual runtime state (the live object, refcount, etc.) is managed privately by the LUO core.”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ^/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:40: ./include/linux/liveupdate.h”h´K×hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_ser (C struct)”Œ c.luo_ser”hNt”auh1jH hj7 h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒluo_ser”h]”jf )�”}”(hŒstruct luo_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjÃh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÃh²hh³jÔh´Kubj� )�”}”(hŒluo_ser”h]”j• )�”}”(hjÁh]”hŒluo_ser”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjãubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjÃh²hh³jÔh´Kubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj¿h²hh³jÔh´Kubah}”(h]”j¹ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jÔh´Khj¼h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒCentralized LUO ABI header.”h]”hŒCentralized LUO ABI header.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KHhjh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj¼h²hh³jÔh´Kubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j!jã j!jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³j»h´Nubjè )�”}”(hX·**Definition**:: struct luo_ser { char compatible[LUO_ABI_COMPAT_LEN]; u64 liveupdate_num; u64 sessions_pa; u64 flbs_pa; }; **Members** ``compatible`` Compatibility string identifying the LUO ABI version. ``liveupdate_num`` A counter tracking the number of successful live updates. ``sessions_pa`` Physical address of the first session block header. ``flbs_pa`` Physical address of the FLB header.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj)ubhŒ:”…”�”}”(hj)h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KLhj%ubj )�”}”(hŒzstruct luo_ser { char compatible[LUO_ABI_COMPAT_LEN]; u64 liveupdate_num; u64 sessions_pa; u64 flbs_pa; };”h]”hŒzstruct luo_ser { char compatible[LUO_ABI_COMPAT_LEN]; u64 liveupdate_num; u64 sessions_pa; u64 flbs_pa; };”…”�”}”hjFsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KNhj%ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hjWh]”hŒMembers”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjUubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KUhj%ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒE``compatible`` Compatibility string identifying the LUO ABI version. ”h]”(jÔ)�”}”(hŒ``compatible``”h]”jž)�”}”(hjvh]”hŒ compatible”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KJhjpubjå)�”}”(hhh]”hþ)�”}”(hŒ5Compatibility string identifying the LUO ABI version.”h]”hŒ5Compatibility string identifying the LUO ABI version.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j‹h´KJhjŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j‹h´KJhjmubjÎ)�”}”(hŒM``liveupdate_num`` A counter tracking the number of successful live updates. ”h]”(jÔ)�”}”(hŒ``liveupdate_num``”h]”jž)�”}”(hj¯h]”hŒliveupdate_num”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KKhj©ubjå)�”}”(hhh]”hþ)�”}”(hŒ9A counter tracking the number of successful live updates.”h]”hŒ9A counter tracking the number of successful live updates.”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jÄh´KKhjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÄh´KKhjmubjÎ)�”}”(hŒD``sessions_pa`` Physical address of the first session block header. ”h]”(jÔ)�”}”(hŒ``sessions_pa``”h]”jž)�”}”(hjèh]”hŒ sessions_pa”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KLhjâubjå)�”}”(hhh]”hþ)�”}”(hŒ3Physical address of the first session block header.”h]”hŒ3Physical address of the first session block header.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jýh´KLhjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjâubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jýh´KLhjmubjÎ)�”}”(hŒ/``flbs_pa`` Physical address of the FLB header.”h]”(jÔ)�”}”(hŒ ``flbs_pa``”h]”jž)�”}”(hj!h]”hŒflbs_pa”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KLhjubjå)�”}”(hhh]”hþ)�”}”(hŒ#Physical address of the FLB header.”h]”hŒ#Physical address of the FLB header.”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KMhj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j6h´KLhjmubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj%ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³j»h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjdh]”hŒ Description”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KPhj7 h²hubhþ)�”}”(hŒ6This structure is the root of all preserved LUO state.”h]”hŒ6This structure is the root of all preserved LUO state.”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KMhj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_file_ser (C struct)”Œc.luo_file_ser”hNt”auh1jH hj7 h²hh³j»h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ luo_file_ser”h]”jf )�”}”(hŒstruct luo_file_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjžh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KRubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjžh²hh³j¯h´KRubj� )�”}”(hŒ luo_file_ser”h]”j• )�”}”(hjœh]”hŒ luo_file_ser”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj¾ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjžh²hh³j¯h´KRubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjšh²hh³j¯h´KRubah}”(h]”j•ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j¯h´KRhj—h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ*Represents the serialized preserves files.”h]”hŒ*Represents the serialized preserves files.”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KZhjáh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj—h²hh³j¯h´KRubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ jüjã jüjä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³j»h´Nubjè )�”}”(hX **Definition**:: struct luo_file_ser { char compatible[LIVEUPDATE_HNDL_COMPAT_LENGTH]; u64 data; u64 token; }; **Members** ``compatible`` File handler compatible string. ``data`` Private data ``token`` User provided token for this file”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjubhŒ:”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K^hjubj )�”}”(hŒistruct luo_file_ser { char compatible[LIVEUPDATE_HNDL_COMPAT_LENGTH]; u64 data; u64 token; };”h]”hŒistruct luo_file_ser { char compatible[LIVEUPDATE_HNDL_COMPAT_LENGTH]; u64 data; u64 token; };”…”�”}”hj!sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K`hjubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj2h]”hŒMembers”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KfhjubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ/``compatible`` File handler compatible string. ”h]”(jÔ)�”}”(hŒ``compatible``”h]”jž)�”}”(hjQh]”hŒ compatible”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjOubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K\hjKubjå)�”}”(hhh]”hþ)�”}”(hŒFile handler compatible string.”h]”hŒFile handler compatible string.”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jfh´K\hjgubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jfh´K\hjHubjÎ)�”}”(hŒ``data`` Private data ”h]”(jÔ)�”}”(hŒ``data``”h]”jž)�”}”(hjŠh]”hŒdata”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K]hj„ubjå)�”}”(hhh]”hþ)�”}”(hŒ Private data”h]”hŒ Private data”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jŸh´K]hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jŸh´K]hjHubjÎ)�”}”(hŒ+``token`` User provided token for this file”h]”(jÔ)�”}”(hŒ ``token``”h]”jž)�”}”(hjÃh]”hŒtoken”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K]hj½ubjå)�”}”(hhh]”hþ)�”}”(hŒ!User provided token for this file”h]”hŒ!User provided token for this file”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K^hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jØh´K]hjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³j»h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjh]”hŒ Description”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kahj7 h²hubhþ)�”}”(hŒDIf this structure is modified, `LUO_ABI_COMPATIBLE` must be updated.”h]”(hŒIf this structure is modified, ”…”�”}”(hjh²hh³Nh´NubjØ)�”}”(hŒ`LUO_ABI_COMPATIBLE`”h]”hŒLUO_ABI_COMPATIBLE”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjubhŒ must be updated.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K^hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_file_set_ser (C struct)”Œc.luo_file_set_ser”hNt”auh1jH hj7 h²hh³j»h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒluo_file_set_ser”h]”jf )�”}”(hŒstruct luo_file_set_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjRh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kcubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjRh²hh³jch´Kcubj� )�”}”(hŒluo_file_set_ser”h]”j• )�”}”(hjPh]”hŒluo_file_set_ser”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjrubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjRh²hh³jch´Kcubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjNh²hh³jch´Kcubah}”(h]”jIah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jch´KchjKh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ/Represents the serialized metadata for file set”h]”hŒ/Represents the serialized metadata for file set”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Khhj•h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjKh²hh³jch´Kcubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j°jã j°jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³j»h´Nubjè )�”}”(hXó**Definition**:: struct luo_file_set_ser { u64 files; u64 count; }; **Members** ``files`` The physical address of the first `struct kho_block_header_ser`. This structure is the header for a block of memory containing an array of `struct luo_file_ser` entries. Multiple blocks are linked via the `next` field in the header. ``count`` The total number of files that were part of this session during serialization. Used for iteration and validation during restoration.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj¸ubhŒ:”…”�”}”(hj¸h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Klhj´ubj )�”}”(hŒ:struct luo_file_set_ser { u64 files; u64 count; };”h]”hŒ:struct luo_file_set_ser { u64 files; u64 count; };”…”�”}”hjÕsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Knhj´ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hjæh]”hŒMembers”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjäubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kshj´ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒó``files`` The physical address of the first `struct kho_block_header_ser`. This structure is the header for a block of memory containing an array of `struct luo_file_ser` entries. Multiple blocks are linked via the `next` field in the header. ”•h]”(jÔ)�”}”(hŒ ``files``”h]”jž)�”}”(hjh]”hŒfiles”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kmhjÿubjå)�”}”(hhh]”hþ)�”}”(hŒèThe physical address of the first `struct kho_block_header_ser`. This structure is the header for a block of memory containing an array of `struct luo_file_ser` entries. Multiple blocks are linked via the `next` field in the header.”h]”(hŒ"The physical address of the first ”…”�”}”(hjh²hh³Nh´NubjØ)�”}”(hŒ`struct kho_block_header_ser`”h]”hŒstruct kho_block_header_ser”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjubhŒL. This structure is the header for a block of memory containing an array of ”…”�”}”(hjh²hh³Nh´NubjØ)�”}”(hŒ`struct luo_file_ser`”h]”hŒstruct luo_file_ser”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjubhŒ- entries. Multiple blocks are linked via the ”…”�”}”(hjh²hh³Nh´NubjØ)�”}”(hŒ`next`”h]”hŒnext”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjubhŒ field in the header.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kjhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jh´KmhjüubjÎ)�”}”(hŒŽ``count`` The total number of files that were part of this session during serialization. Used for iteration and validation during restoration.”h]”(jÔ)�”}”(hŒ ``count``”h]”jž)�”}”(hjuh]”hŒcount”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kohjoubjå)�”}”(hhh]”hþ)�”}”(hŒ„The total number of files that were part of this session during serialization. Used for iteration and validation during restoration.”h]”hŒ„The total number of files that were part of this session during serialization. Used for iteration and validation during restoration.”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Knhj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjoubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jŠh´Kohjüubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj´ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³j»h´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_session_ser (C struct)”Œc.luo_session_ser”hNt”auh1jH hj7 h²hh³j»h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒluo_session_ser”h]”jf )�”}”(hŒstruct luo_session_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjËh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kvubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjËh²hh³jÜh´Kvubj� )�”}”(hŒluo_session_ser”h]”j• )�”}”(hjÉh]”hŒluo_session_ser”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjëubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjËh²hh³jÜh´Kvubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjÇh²hh³jÜh´Kvubah}”(h]”jÂah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jÜh´KvhjÄh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ5Represents the serialized metadata for a LUO session.”h]”hŒ5Represents the serialized metadata for a LUO session.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kwhjh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjÄh²hh³jÜh´Kvubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j)jã j)jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³j»h´Nubjè )�”}”(hXD**Definition**:: struct luo_session_ser { char name[LIVEUPDATE_SESSION_NAME_LENGTH]; struct luo_file_set_ser file_set_ser; }; **Members** ``name`` The unique name of the session, provided by the userspace at the time of session creation. ``file_set_ser`` Serialized files belonging to this session,”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj1ubhŒ:”…”�”}”(hj1h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K{hj-ubj )�”}”(hŒtstruct luo_session_ser { char name[LIVEUPDATE_SESSION_NAME_LENGTH]; struct luo_file_set_ser file_set_ser; };”h]”hŒtstruct luo_session_ser { char name[LIVEUPDATE_SESSION_NAME_LENGTH]; struct luo_file_set_ser file_set_ser; };”…”�”}”hjNsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K}hj-ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj_h]”hŒMembers”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K‚hj-ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒd``name`` The unique name of the session, provided by the userspace at the time of session creation. ”h]”(jÔ)�”}”(hŒ``name``”h]”jž)�”}”(hj~h]”hŒname”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kzhjxubjå)�”}”(hhh]”hþ)�”}”(hŒZThe unique name of the session, provided by the userspace at the time of session creation.”h]”hŒZThe unique name of the session, provided by the userspace at the time of session creation.”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kyhj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j“h´KzhjuubjÎ)�”}”(hŒ<``file_set_ser`` Serialized files belonging to this session,”h]”(jÔ)�”}”(hŒ``file_set_ser``”h]”jž)�”}”(hj¸h]”hŒ file_set_ser”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kzhj²ubjå)�”}”(hhh]”hþ)�”}”(hŒ+Serialized files belonging to this session,”h]”hŒ+Serialized files belonging to this session,”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K{hjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÍh´Kzhjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj-ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³j»h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjûh]”hŒ Description”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K~hj7 h²hubhþ)�”}”(hŒôThis structure is used to package session-specific metadata for transfer between kernels via Kexec Handover. An array of these structures (one per session) is created and passed to the new kernel, allowing it to reconstruct the session context.”h]”hŒôThis structure is used to package session-specific metadata for transfer between kernels via Kexec Handover. An array of these structures (one per session) is created and passed to the new kernel, allowing it to reconstruct the session context.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K{hj7 h²hubhþ)�”}”(hŒDIf this structure is modified, `LUO_ABI_COMPATIBLE` must be updated.”h]”(hŒIf this structure is modified, ”…”�”}”(hj h²hh³Nh´NubjØ)�”}”(hŒ`LUO_ABI_COMPATIBLE`”h]”hŒLUO_ABI_COMPATIBLE”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj ubhŒ must be updated.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K€hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_flb_header_ser (C struct)”Œc.luo_flb_header_ser”hNt”auh1jH hj7 h²hh³j»h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒluo_flb_header_ser”h]”jf )�”}”(hŒstruct luo_flb_header_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjVh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K…ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjVh²hh³jgh´K…ubj� )�”}”(hŒluo_flb_header_ser”h]”j• )�”}”(hjTh]”hŒluo_flb_header_ser”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjvubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjVh²hh³jgh´K…ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjRh²hh³jgh´K…ubah}”(h]”jMah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jgh´K…hjOh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ)Header for the serialized FLB data block.”h]”hŒ)Header for the serialized FLB data block.”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KŒhj™h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjOh²hh³jgh´K…ubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j´jã j´jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³j»h´Nubjè )�”}”(hX¡**Definition**:: struct luo_flb_header_ser { u64 pgcnt; u64 count; }; **Members** ``pgcnt`` The total number of pages occupied by the entire preserved memory region, including this header and the subsequent array of :c:type:`struct luo_flb_ser ` entries. ``count`` The number of :c:type:`struct luo_flb_ser ` entries that follow this header in the memory block.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj¼ubhŒ:”…”�”}”(hj¼h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K�hj¸ubj )�”}”(hŒ` entries. ”h]”(jÔ)�”}”(hŒ ``pgcnt``”h]”jž)�”}”(hj h]”hŒpgcnt”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K�hjubjå)�”}”(hhh]”hþ)�”}”(hŒ¯The total number of pages occupied by the entire preserved memory region, including this header and the subsequent array of :c:type:`struct luo_flb_ser ` entries.”h]”(hŒ|The total number of pages occupied by the entire preserved memory region, including this header and the subsequent array of ”…”�”}”(hj"h²hh³Nh´Nubh)�”}”(hŒ*:c:type:`struct luo_flb_ser `”h]”jž)�”}”(hj,h]”hŒstruct luo_flb_ser”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hj*ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œ luo_flb_ser”uh1hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´KŽhj"ubhŒ entries.”…”�”}”(hj"h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jIh´KŽhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jh´K�hjubjÎ)�”}”(hŒw``count`` The number of :c:type:`struct luo_flb_ser ` entries that follow this header in the memory block.”h]”(jÔ)�”}”(hŒ ``count``”h]”jž)�”}”(hjfh]”hŒcount”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjdubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K‘hj`ubjå)�”}”(hhh]”hþ)�”}”(hŒmThe number of :c:type:`struct luo_flb_ser ` entries that follow this header in the memory block.”h]”(hŒThe number of ”…”�”}”(hjh²hh³Nh´Nubh)�”}”(hŒ*:c:type:`struct luo_flb_ser `”h]”jž)�”}”(hj‰h]”hŒstruct luo_flb_ser”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hj‡ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œ luo_flb_ser”uh1hh³j{h´K‘hjubhŒ5 entries that follow this header in the memory block.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j{h´K‘hj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j{h´K‘hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¸ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³j»h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjËh]”hŒ Description”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K•hj7 h²hubhþ)�”}”(hŒVThis structure is located at the physical address specified by the flbs_pa in luo_ser.”h]”hŒVThis structure is located at the physical address specified by the flbs_pa in luo_ser.”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K’hj7 h²hubhþ)�”}”(hŒDIf this structure is modified, `LUO_ABI_COMPATIBLE` must be updated.”h]”(hŒIf this structure is modified, ”…”�”}”(hjðh²hh³Nh´NubjØ)�”}”(hŒ`LUO_ABI_COMPATIBLE`”h]”hŒLUO_ABI_COMPATIBLE”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjðubhŒ must be updated.”…”�”}”(hjðh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K•hj7 h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_flb_ser (C struct)”Œ c.luo_flb_ser”hNt”auh1jH hj7 h²hh³j»h´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ luo_flb_ser”h]”jf )�”}”(hŒstruct luo_flb_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj* h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj& h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kšubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj8 h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj& h²hh³j7 h´Kšubj� )�”}”(hŒ luo_flb_ser”h]”j• )�”}”(hj$ h]”hŒ luo_flb_ser”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjF ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj& h²hh³j7 h´Kšubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj" h²hh³j7 h´Kšubah}”(h]”j ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j7 h´Kšhj h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ7Represents the serialized state of a single FLB object.”h]”hŒ7Represents the serialized state of a single FLB object.”…”�”}”(hjl h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kžhji h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj h²hh³j7 h´Kšubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ j„ jã j„ jä ‰jå ‰jæ ‰uh1jZ h²hhj7 h³j»h´Nubjè )�”}”(hX§**Definition**:: struct luo_flb_ser { char name[LIVEUPDATE_FLB_COMPAT_LENGTH]; u64 data; u64 count; }; **Members** ``name`` The unique compatibility string of the FLB object, used to find the corresponding :c:type:`struct liveupdate_flb ` handler in the new kernel. ``data`` The opaque u64 handle returned by the FLB's .preserve() operation in the old kernel. This handle encapsulates the entire state needed for restoration. ``count`` The reference count at the time of serialization; i.e., the number of preserved files that depended on this FLB. This is used by the new kernel to correctly manage the FLB's lifecycle.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjŒ ubhŒ:”…”�”}”(hjŒ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¢hjˆ ubj )�”}”(hŒastruct luo_flb_ser { char name[LIVEUPDATE_FLB_COMPAT_LENGTH]; u64 data; u64 count; };”h]”hŒastruct luo_flb_ser { char name[LIVEUPDATE_FLB_COMPAT_LENGTH]; u64 data; u64 count; };”…”�”}”hj© sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¤hjˆ ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hjº h]”hŒMembers”…”�”}”(hj¼ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj¸ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kªhjˆ ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ§``name`` The unique compatibility string of the FLB object, used to find the corresponding :c:type:`struct liveupdate_flb ` handler in the new kernel. ”h]”(jÔ)�”}”(hŒ``name``”h]”jž)�”}”(hjÙ h]”hŒname”…”�”}”(hjÛ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj× ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¡hjÓ ubjå)�”}”(hhh]”hþ)�”}”(hŒ�The unique compatibility string of the FLB object, used to find the corresponding :c:type:`struct liveupdate_flb ` handler in the new kernel.”h]”(hŒRThe unique compatibility string of the FLB object, used to find the corresponding ”…”�”}”(hjò h²hh³Nh´Nubh)�”}”(hŒ0:c:type:`struct liveupdate_flb `”h]”jž)�”}”(hjü h]”hŒstruct liveupdate_flb”…”�”}”(hjþ h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hjú ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œliveupdate_flb”uh1hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K hjò ubhŒ handler in the new kernel.”…”�”}”(hjò h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j!h´K hjï ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÓ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jî h´K¡hjÐ ubjÎ)�”}”(hŒ ``data`` The opaque u64 handle returned by the FLB's .preserve() operation in the old kernel. This handle encapsulates the entire state needed for restoration. ”h]”(jÔ)�”}”(hŒ``data``”h]”jž)�”}”(hj6!h]”hŒdata”…”�”}”(hj8!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj4!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¤hj0!ubjå)�”}”(hhh]”hþ)�”}”(hŒ–The opaque u64 handle returned by the FLB's .preserve() operation in the old kernel. This handle encapsulates the entire state needed for restoration.”h]”hŒ˜The opaque u64 handle returned by the FLB’s .preserve() operation in the old kernel. This handle encapsulates the entire state needed for restoration.”…”�”}”(hjO!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¢hjL!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj0!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jK!h´K¤hjÐ ubjÎ)�”}”(hŒÂ``count`` The reference count at the time of serialization; i.e., the number of preserved files that depended on this FLB. This is used by the new kernel to correctly manage the FLB's lifecycle.”h]”(jÔ)�”}”(hŒ ``count``”h]”jž)�”}”(hjp!h]”hŒcount”…”�”}”(hjr!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjn!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¦hjj!ubjå)�”}”(hhh]”hþ)�”}”(hŒ¸The reference count at the time of serialization; i.e., the number of preserved files that depended on this FLB. This is used by the new kernel to correctly manage the FLB's lifecycle.”h]”hŒºThe reference count at the time of serialization; i.e., the number of preserved files that depended on this FLB. This is used by the new kernel to correctly manage the FLB’s lifecycle.”…”�”}”(hj‰!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K¥hj†!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjj!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j…!h´K¦hjÐ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjˆ ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj7 h²hh³j»h´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj³!h]”hŒ Description”…”�”}”(hjµ!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj±!ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´Kªhj7 h²hubhþ)�”}”(hŒ§An array of these structures is created in a preserved memory region and passed to the new kernel. Each entry allows the LUO core to restore one global, shared object.”h]”hŒ§An array of these structures is created in a preserved memory region and passed to the new kernel. Each entry allows the LUO core to restore one global, shared object.”…”�”}”(hjÉ!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K§hj7 h²hubhþ)�”}”(hŒDIf this structure is modified, `LUO_ABI_COMPATIBLE` must be updated.”h]”(hŒIf this structure is modified, ”…”�”}”(hjØ!h²hh³Nh´NubjØ)�”}”(hŒ`LUO_ABI_COMPATIBLE`”h]”hŒLUO_ABI_COMPATIBLE”…”�”}”(hjà!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hjØ!ubhŒ must be updated.”…”�”}”(hjØ!h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:42: ./include/linux/kho/abi/luo.h”h´K«hj7 h²hubeh}”(h]”Œ public-api”ah ]”h"]”Œ public api”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K'ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Internal API”h]”hŒ Internal API”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj"h²hh³hÇh´K7ubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œliveupdate_reboot (C function)”Œc.liveupdate_reboot”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒint liveupdate_reboot (void)”h]”jf )�”}”(hŒint liveupdate_reboot(void)”h]”(hŒdesc_sig_keyword_type”“”)�”}”(hŒint”h]”hŒint”…”�”}”(hj-"h²hh³Nh´Nubah}”(h]”h ]”Œkt”ah"]”h$]”h&]”uh1j+"hj'"h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´KÓubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj="h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj'"h²hh³j<"h´KÓubj� )�”}”(hŒliveupdate_reboot”h]”j• )�”}”(hŒliveupdate_reboot”h]”hŒliveupdate_reboot”…”�”}”(hjO"h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjK"ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj'"h²hh³j<"h´KÓubhŒdesc_parameterlist”“”)�”}”(hŒ(void)”h]”hŒdesc_parameter”“”)�”}”(hŒvoid”h]”j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjo"h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjk"ubah}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hje"ubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj'"h²hh³j<"h´KÓubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj#"h²hh³j<"h´KÓubah}”(h]”j"ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j<"h´KÓhj "h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ;Kernel reboot notifier for live update final serialization.”h]”hŒ;Kernel reboot notifier for live update final serialization.”…”�”}”(hj™"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´KÓhj–"h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj "h²hh³j<"h´KÓubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j±"jã j±"jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hŒý**Parameters** ``void`` no arguments **Description** This function is invoked directly from the reboot() syscall pathway if kexec is in progress. If any callback fails, this function aborts KHO, undoes the freeze() callbacks, and returns an error.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj»"h]”hŒ Parameters”…”�”}”(hj½"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj¹"ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´K×hjµ"ubjÉ)�”}”(hhh]”jÎ)�”}”(hŒ``void`` no arguments ”h]”(jÔ)�”}”(hŒ``void``”h]”jž)�”}”(hjÚ"h]”hŒvoid”…”�”}”(hjÜ"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjØ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´KhjÔ"ubjå)�”}”(hhh]”hþ)�”}”(hŒ no arguments”h]”hŒ no arguments”…”�”}”(hjó"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jï"h´Khjð"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÔ"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jï"h´KhjÑ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjµ"ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj#h]”hŒ Description”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Khjµ"ubhþ)�”}”(hŒ\This function is invoked directly from the reboot() syscall pathway if kexec is in progress.”h]”hŒ\This function is invoked directly from the reboot() syscall pathway if kexec is in progress.”…”�”}”(hj+#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´KÔhjµ"ubhþ)�”}”(hŒeIf any callback fails, this function aborts KHO, undoes the freeze() callbacks, and returns an error.”h]”hŒeIf any callback fails, this function aborts KHO, undoes the freeze() callbacks, and returns an error.”…”�”}”(hj:#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´K×hjµ"ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œliveupdate_enabled (C function)”Œc.liveupdate_enabled”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒbool liveupdate_enabled (void)”h]”jf )�”}”(hŒbool liveupdate_enabled(void)”h]”(j,")�”}”(hŒbool”h]”hŒbool”…”�”}”(hji#h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hje#h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Kíubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjx#h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hje#h²hh³jw#h´Kíubj� )�”}”(hŒliveupdate_enabled”h]”j• )�”}”(hŒliveupdate_enabled”h]”hŒliveupdate_enabled”…”�”}”(hjŠ#h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj†#ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hje#h²hh³jw#h´Kíubjd")�”}”(hŒ(void)”h]”jj")�”}”(hŒvoid”h]”j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj¦#h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj¢#ubah}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjž#ubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hje#h²hh³jw#h´Kíubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hja#h²hh³jw#h´Kíubah}”(h]”j\#ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jw#h´Kíhj^#h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ,Check if the live update feature is enabled.”h]”hŒ,Check if the live update feature is enabled.”…”�”}”(hjÐ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´KíhjÍ#h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj^#h²hh³jw#h´Kíubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jè#jã jè#jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX**Parameters** ``void`` no arguments **Description** This function returns the state of the live update feature flag, which can be controlled via the ``liveupdate`` kernel command-line parameter. **return** true if live update is enabled, false otherwise.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjò#h]”hŒ Parameters”…”�”}”(hjô#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjð#ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Kñhjì#ubjÉ)�”}”(hhh]”jÎ)�”}”(hŒ``void`` no arguments ”h]”(jÔ)�”}”(hŒ``void``”h]”jž)�”}”(hj$h]”hŒvoid”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Khj $ubjå)�”}”(hhh]”hþ)�”}”(hŒ no arguments”h]”hŒ no arguments”…”�”}”(hj*$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j&$h´Khj'$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj $ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j&$h´Khj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjì#ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjL$h]”hŒ Description”…”�”}”(hjN$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjJ$ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Khjì#ubhþ)�”}”(hŒŽThis function returns the state of the live update feature flag, which can be controlled via the ``liveupdate`` kernel command-line parameter.”h]”(hŒaThis function returns the state of the live update feature flag, which can be controlled via the ”…”�”}”(hjb$h²hh³Nh´Nubjž)�”}”(hŒ``liveupdate``”h]”hŒ liveupdate”…”�”}”(hjj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjb$ubhŒ kernel command-line parameter.”…”�”}”(hjb$h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Kîhjì#ubhþ)�”}”(hŒ;**return** true if live update is enabled, false otherwise.”h]”(jò )�”}”(hŒ **return**”h]”hŒreturn”…”�”}”(hj‡$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjƒ$ubhŒ1 true if live update is enabled, false otherwise.”…”�”}”(hjƒ$h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:56: ./kernel/liveupdate/luo_core.c”h´Kñhjì#ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ"luo_flb_file_preserve (C function)”Œc.luo_flb_file_preserve”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ>int luo_flb_file_preserve (struct liveupdate_file_handler *fh)”h]”jf )�”}”(hŒ=int luo_flb_file_preserve(struct liveupdate_file_handler *fh)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hjÀ$h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj¼$h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kïubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÏ$h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj¼$h²hh³jÎ$h´Kïubj� )�”}”(hŒluo_flb_file_preserve”h]”j• )�”}”(hŒluo_flb_file_preserve”h]”hŒluo_flb_file_preserve”…”�”}”(hjá$h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÝ$ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj¼$h²hh³jÎ$h´Kïubjd")�”}”(hŒ$(struct liveupdate_file_handler *fh)”h]”jj")�”}”(hŒ"struct liveupdate_file_handler *fh”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjý$h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjù$ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj %h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjù$ubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_file_handler”h]”hŒliveupdate_file_handler”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj%ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”Œ identifier”Œ reftarget”j%Œmodname”NŒ classname”Njj)�”}”j]”jŒ ASTIdentifier”“”)�”}”j1%jã$sbŒc.luo_flb_file_preserve”†”asbuh1hhjù$ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj>%h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjù$ubhŒdesc_sig_punctuation”“”)�”}”(hŒ*”h]”hŒ*”…”�”}”(hjN%h²hh³Nh´Nubah}”(h]”h ]”Œp”ah"]”h$]”h&]”uh1jL%hjù$ubj• )�”}”(hŒfh”h]”hŒfh”…”�”}”(hj]%h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjù$ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjõ$ubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj¼$h²hh³jÎ$h´Kïubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj¸$h²hh³jÎ$h´Kïubah}”(h]”j³$ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jÎ$h´Kïhjµ$h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ3Notifies FLBs that a file is about to be preserved.”h]”hŒ3Notifies FLBs that a file is about to be preserved.”…”�”}”(hj‡%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kïhj„%h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjµ$h²hh³jÎ$h´Kïubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jŸ%jã jŸ%jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXa**Parameters** ``struct liveupdate_file_handler *fh`` The file handler for the preserved file. **Description** This function iterates through all FLBs associated with the given file handler. It increments the reference count for each FLB. If the count becomes 1, it triggers the FLB's .preserve() callback to save the global state. This operation is atomic. If any FLB's .preserve() op fails, it will roll back by calling .unpreserve() on any FLBs that were successfully preserved during this call. **Context** Called from luo_preserve_file() **Return** 0 on success, or a negative errno on failure.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj©%h]”hŒ Parameters”…”�”}”(hj«%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj§%ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kóhj£%ubjÉ)�”}”(hhh]”jÎ)�”}”(hŒP``struct liveupdate_file_handler *fh`` The file handler for the preserved file. ”h]”(jÔ)�”}”(hŒ&``struct liveupdate_file_handler *fh``”h]”jž)�”}”(hjÈ%h]”hŒ"struct liveupdate_file_handler *fh”…”�”}”(hjÊ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÆ%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´KðhjÂ%ubjå)�”}”(hhh]”hþ)�”}”(hŒ(The file handler for the preserved file.”h]”hŒ(The file handler for the preserved file.”…”�”}”(hjá%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jÝ%h´KðhjÞ%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÂ%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÝ%h´Kðhj¿%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj£%ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj&h]”hŒ Description”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kòhj£%ubhþ)�”}”(hŒÜThis function iterates through all FLBs associated with the given file handler. It increments the reference count for each FLB. If the count becomes 1, it triggers the FLB's .preserve() callback to save the global state.”h]”hŒÞThis function iterates through all FLBs associated with the given file handler. It increments the reference count for each FLB. If the count becomes 1, it triggers the FLB’s .preserve() callback to save the global state.”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kñhj£%ubhþ)�”}”(hŒ¦This operation is atomic. If any FLB's .preserve() op fails, it will roll back by calling .unpreserve() on any FLBs that were successfully preserved during this call.”h]”hŒ¨This operation is atomic. If any FLB’s .preserve() op fails, it will roll back by calling .unpreserve() on any FLBs that were successfully preserved during this call.”…”�”}”(hj(&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kõhj£%ubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hj9&h]”hŒContext”…”�”}”(hj;&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj7&ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kùhj£%ubhþ)�”}”(hŒCalled from luo_preserve_file()”h]”hŒCalled from luo_preserve_file()”…”�”}”(hjO&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kúhj£%ubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hj`&h]”hŒReturn”…”�”}”(hjb&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj^&ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kühj£%ubhþ)�”}”(hŒ-0 on success, or a negative errno on failure.”h]”hŒ-0 on success, or a negative errno on failure.”…”�”}”(hjv&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Kûhj£%ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ$luo_flb_file_unpreserve (C function)”Œc.luo_flb_file_unpreserve”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒAvoid luo_flb_file_unpreserve (struct liveupdate_file_handler *fh)”h]”jf )�”}”(hŒ@void luo_flb_file_unpreserve(struct liveupdate_file_handler *fh)”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj¥&h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj¡&h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj´&h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj¡&h²hh³j³&h´Mubj� )�”}”(hŒluo_flb_file_unpreserve”h]”j• )�”}”(hŒluo_flb_file_unpreserve”h]”hŒluo_flb_file_unpreserve”…”�”}”(hjÆ&h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÂ&ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj¡&h²hh³j³&h´Mubjd")�”}”(hŒ$(struct liveupdate_file_handler *fh)”h]”jj")�”}”(hŒ"struct liveupdate_file_handler *fh”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjâ&h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjÞ&ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjï&h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÞ&ubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_file_handler”h]”hŒliveupdate_file_handler”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjý&ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j'Œmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jÈ&sbŒc.luo_flb_file_unpreserve”†”asbuh1hhjÞ&ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj 'h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÞ&ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj.'h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjÞ&ubj• )�”}”(hŒfh”h]”hŒfh”…”�”}”(hj;'h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÞ&ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjÚ&ubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj¡&h²hh³j³&h´Mubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj�&h²hh³j³&h´Mubah}”(h]”j˜&ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j³&h´Mhjš&h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ4Notifies FLBs that a dependent file was unpreserved.”h]”hŒ4Notifies FLBs that a dependent file was unpreserved.”…”�”}”(hje'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjb'h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjš&h²hh³j³&h´Mubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j}'jã j}'jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXñ**Parameters** ``struct liveupdate_file_handler *fh`` The file handler for the unpreserved file. **Description** This function iterates through all FLBs associated with the given file handler, in reverse order of registration. It decrements the reference count for each FLB. If the count becomes 0, it triggers the FLB's .unpreserve() callback to clean up the global state. **Context** Called when a preserved file is being cleaned up before reboot (e.g., from luo_file_unpreserve_files()).”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj‡'h]”hŒ Parameters”…”�”}”(hj‰'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj…'ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj�'ubjÉ)�”}”(hhh]”jÎ)�”}”(hŒR``struct liveupdate_file_handler *fh`` The file handler for the unpreserved file. ”h]”(jÔ)�”}”(hŒ&``struct liveupdate_file_handler *fh``”h]”jž)�”}”(hj¦'h]”hŒ"struct liveupdate_file_handler *fh”…”�”}”(hj¨'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¤'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj 'ubjå)�”}”(hhh]”hþ)�”}”(hŒ*The file handler for the unpreserved file.”h]”hŒ*The file handler for the unpreserved file.”…”�”}”(hj¿'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j»'h´Mhj¼'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj 'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j»'h´Mhj�'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj�'ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjá'h]”hŒ Description”…”�”}”(hjã'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjß'ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj�'ubhþ)�”}”(hXThis function iterates through all FLBs associated with the given file handler, in reverse order of registration. It decrements the reference count for each FLB. If the count becomes 0, it triggers the FLB's .unpreserve() callback to clean up the global state.”h]”hXThis function iterates through all FLBs associated with the given file handler, in reverse order of registration. It decrements the reference count for each FLB. If the count becomes 0, it triggers the FLB’s .unpreserve() callback to clean up the global state.”…”�”}”(hj÷'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj�'ubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hj(h]”hŒContext”…”�”}”(hj (h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj�'ubhþ)�”}”(hŒhCalled when a preserved file is being cleaned up before reboot (e.g., from luo_file_unpreserve_files()).”h]”hŒhCalled when a preserved file is being cleaned up before reboot (e.g., from luo_file_unpreserve_files()).”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj�'ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ luo_flb_file_finish (C function)”Œc.luo_flb_file_finish”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ=void luo_flb_file_finish (struct liveupdate_file_handler *fh)”h]”jf )�”}”(hŒAssociate an FLB with a file handler and register it globally.”h]”hŒ>Associate an FLB with a file handler and register it globally.”…”�”}”(hj¦,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Myhj£,h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjk+h²hh³j„+h´Myubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j¾,jã j¾,jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX7**Parameters** ``struct liveupdate_file_handler *fh`` The file handler that will now depend on the FLB. ``struct liveupdate_flb *flb`` The File-Lifecycle-Bound object to associate. **Description** Establishes a dependency, informing the LUO core that whenever a file of type **fh** is preserved, the state of **flb** must also be managed. On the first registration of a given **flb** object, it is added to a global registry. This function checks for duplicate registrations, both for a specific handler and globally, and ensures the total number of unique FLBs does not exceed the system limit. **Context** Typically called from a subsystem's module init function after both the handler and the FLB have been defined and initialized. **Return** 0 on success. Returns a negative errno on failure: -EINVAL if arguments are NULL or not initialized. -ENOMEM on memory allocation failure. -EEXIST if this FLB is already registered with this handler. -ENOSPC if the maximum number of global FLBs has been reached. -EOPNOTSUPP if live update is disabled or not configured.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjÈ,h]”hŒ Parameters”…”�”}”(hjÊ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÆ,ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M}hjÂ,ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒY``struct liveupdate_file_handler *fh`` The file handler that will now depend on the FLB. ”h]”(jÔ)�”}”(hŒ&``struct liveupdate_file_handler *fh``”h]”jž)�”}”(hjç,h]”hŒ"struct liveupdate_file_handler *fh”…”�”}”(hjé,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjå,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mzhjá,ubjå)�”}”(hhh]”hþ)�”}”(hŒ1The file handler that will now depend on the FLB.”h]”hŒ1The file handler that will now depend on the FLB.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jü,h´Mzhjý,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjá,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jü,h´MzhjÞ,ubjÎ)�”}”(hŒM``struct liveupdate_flb *flb`` The File-Lifecycle-Bound object to associate. ”h]”(jÔ)�”}”(hŒ``struct liveupdate_flb *flb``”h]”jž)�”}”(hj -h]”hŒstruct liveupdate_flb *flb”…”�”}”(hj"-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M{hj-ubjå)�”}”(hhh]”hþ)�”}”(hŒ-The File-Lifecycle-Bound object to associate.”h]”hŒ-The File-Lifecycle-Bound object to associate.”…”�”}”(hj9-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j5-h´M{hj6-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j5-h´M{hjÞ,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjÂ,ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj[-h]”hŒ Description”…”�”}”(hj]-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjY-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M}hjÂ,ubhþ)�”}”(hŒ�Establishes a dependency, informing the LUO core that whenever a file of type **fh** is preserved, the state of **flb** must also be managed.”h]”(hŒNEstablishes a dependency, informing the LUO core that whenever a file of type ”…”�”}”(hjq-h²hh³Nh´Nubjò )�”}”(hŒ**fh**”h]”hŒfh”…”�”}”(hjy-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjq-ubhŒ is preserved, the state of ”…”�”}”(hjq-h²hh³Nh´Nubjò )�”}”(hŒ**flb**”h]”hŒflb”…”�”}”(hj‹-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjq-ubhŒ must also be managed.”…”�”}”(hjq-h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M|hjÂ,ubhþ)�”}”(hXOn the first registration of a given **flb** object, it is added to a global registry. This function checks for duplicate registrations, both for a specific handler and globally, and ensures the total number of unique FLBs does not exceed the system limit.”h]”(hŒ%On the first registration of a given ”…”�”}”(hj¤-h²hh³Nh´Nubjò )�”}”(hŒ**flb**”h]”hŒflb”…”�”}”(hj¬-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj¤-ubhŒÔ object, it is added to a global registry. This function checks for duplicate registrations, both for a specific handler and globally, and ensures the total number of unique FLBs does not exceed the system limit.”…”�”}”(hj¤-h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MhjÂ,ubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hjÇ-h]”hŒContext”…”�”}”(hjÉ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÅ-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M„hjÂ,ubhþ)�”}”(hŒ~Typically called from a subsystem's module init function after both the handler and the FLB have been defined and initialized.”h]”hŒ€Typically called from a subsystem’s module init function after both the handler and the FLB have been defined and initialized.”…”�”}”(hjÝ-h²hh³Nh´Nubah}”(h]”h ]”•ãh"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M…hjÂ,ubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hjî-h]”hŒReturn”…”�”}”(hjð-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjì-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MˆhjÂ,ubhþ)�”}”(hX@0 on success. Returns a negative errno on failure: -EINVAL if arguments are NULL or not initialized. -ENOMEM on memory allocation failure. -EEXIST if this FLB is already registered with this handler. -ENOSPC if the maximum number of global FLBs has been reached. -EOPNOTSUPP if live update is disabled or not configured.”h]”hX@0 on success. Returns a negative errno on failure: -EINVAL if arguments are NULL or not initialized. -ENOMEM on memory allocation failure. -EEXIST if this FLB is already registered with this handler. -ENOSPC if the maximum number of global FLBs has been reached. -EOPNOTSUPP if live update is disabled or not configured.”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M‡hjÂ,ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ&liveupdate_unregister_flb (C function)”Œc.liveupdate_unregister_flb”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ_void liveupdate_unregister_flb (struct liveupdate_file_handler *fh, struct liveupdate_flb *flb)”h]”jf )�”}”(hŒ^void liveupdate_unregister_flb(struct liveupdate_file_handler *fh, struct liveupdate_flb *flb)”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj3.h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj/.h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÐubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjB.h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj/.h²hh³jA.h´MÐubj� )�”}”(hŒliveupdate_unregister_flb”h]”j• )�”}”(hŒliveupdate_unregister_flb”h]”hŒliveupdate_unregister_flb”…”�”}”(hjT.h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjP.ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj/.h²hh³jA.h´MÐubjd")�”}”(hŒ@(struct liveupdate_file_handler *fh, struct liveupdate_flb *flb)”h]”(jj")�”}”(hŒ"struct liveupdate_file_handler *fh”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjp.h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjl.ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj}.h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjl.ubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_file_handler”h]”hŒliveupdate_file_handler”…”�”}”(hjŽ.h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj‹.ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j�.Œmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jV.sbŒc.liveupdate_unregister_flb”†”asbuh1hhjl.ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj®.h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjl.ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj¼.h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjl.ubj• )�”}”(hŒfh”h]”hŒfh”…”�”}”(hjÉ.h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjl.ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjh.ubjj")�”}”(hŒstruct liveupdate_flb *flb”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjâ.h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjÞ.ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjï.h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÞ.ubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_flb”h]”hŒliveupdate_flb”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjý.ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j/Œmodname”NŒ classname”Njj)�”}”j]”jª.Œc.liveupdate_unregister_flb”†”asbuh1hhjÞ.ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÞ.ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj,/h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjÞ.ubj• )�”}”(hŒflb”h]”hŒflb”…”�”}”(hj9/h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÞ.ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjh.ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj/.h²hh³jA.h´MÐubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj+.h²hh³jA.h´MÐubah}”(h]”j&.ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jA.h´MÐhj(.h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ-Remove an FLB dependency from a file handler.”h]”hŒ-Remove an FLB dependency from a file handler.”…”�”}”(hjc/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÐhj`/h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj(.h²hh³jA.h´MÐubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j{/jã j{/jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX­**Parameters** ``struct liveupdate_file_handler *fh`` The file handler that is currently depending on the FLB. ``struct liveupdate_flb *flb`` The File-Lifecycle-Bound object to remove. **Description** Removes the association between the specified file handler and the FLB previously established by liveupdate_register_flb(). This function manages the global lifecycle of the FLB. It decrements the FLB's usage count. If this was the last file handler referencing this FLB, the FLB is removed from the global registry and the reference to its owner module (acquired during registration) is released. **Context** It is typically called from a subsystem's module exit function.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj…/h]”hŒ Parameters”…”�”}”(hj‡/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjƒ/ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÔhj/ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ```struct liveupdate_file_handler *fh`` The file handler that is currently depending on the FLB. ”h]”(jÔ)�”}”(hŒ&``struct liveupdate_file_handler *fh``”h]”jž)�”}”(hj¤/h]”hŒ"struct liveupdate_file_handler *fh”…”�”}”(hj¦/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¢/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÑhjž/ubjå)�”}”(hhh]”hþ)�”}”(hŒ8The file handler that is currently depending on the FLB.”h]”hŒ8The file handler that is currently depending on the FLB.”…”�”}”(hj½/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j¹/h´MÑhjº/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjž/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j¹/h´MÑhj›/ubjÎ)�”}”(hŒJ``struct liveupdate_flb *flb`` The File-Lifecycle-Bound object to remove. ”h]”(jÔ)�”}”(hŒ``struct liveupdate_flb *flb``”h]”jž)�”}”(hjÝ/h]”hŒstruct liveupdate_flb *flb”…”�”}”(hjß/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÛ/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÒhj×/ubjå)�”}”(hhh]”hþ)�”}”(hŒ*The File-Lifecycle-Bound object to remove.”h]”hŒ*The File-Lifecycle-Bound object to remove.”…”�”}”(hjö/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jò/h´MÒhjó/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj×/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jò/h´MÒhj›/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj/ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj0h]”hŒ Description”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÔhj/ubhþ)�”}”(hŒ{Removes the association between the specified file handler and the FLB previously established by liveupdate_register_flb().”h]”hŒ{Removes the association between the specified file handler and the FLB previously established by liveupdate_register_flb().”…”�”}”(hj.0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÓhj/ubhþ)�”}”(hXThis function manages the global lifecycle of the FLB. It decrements the FLB's usage count. If this was the last file handler referencing this FLB, the FLB is removed from the global registry and the reference to its owner module (acquired during registration) is released.”h]”hXThis function manages the global lifecycle of the FLB. It decrements the FLB’s usage count. If this was the last file handler referencing this FLB, the FLB is removed from the global registry and the reference to its owner module (acquired during registration) is released.”…”�”}”(hj=0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÖhj/ubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hjN0h]”hŒContext”…”�”}”(hjP0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjL0ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÛhj/ubhþ)�”}”(hŒ?It is typically called from a subsystem's module exit function.”h]”hŒAIt is typically called from a subsystem’s module exit function.”…”�”}”(hjd0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MÜhj/ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ(liveupdate_flb_get_incoming (C function)”Œc.liveupdate_flb_get_incoming”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒIint liveupdate_flb_get_incoming (struct liveupdate_flb *flb, void **objp)”h]”jf )�”}”(hŒHint liveupdate_flb_get_incoming(struct liveupdate_flb *flb, void **objp)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hj“0h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj�0h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mêubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¢0h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj�0h²hh³j¡0h´Mêubj� )�”}”(hŒliveupdate_flb_get_incoming”h]”j• )�”}”(hŒliveupdate_flb_get_incoming”h]”hŒliveupdate_flb_get_incoming”…”�”}”(hj´0h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj°0ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj�0h²hh³j¡0h´Mêubjd")�”}”(hŒ)(struct liveupdate_flb *flb, void **objp)”h]”(jj")�”}”(hŒstruct liveupdate_flb *flb”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjÐ0h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjÌ0ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÝ0h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÌ0ubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_flb”h]”hŒliveupdate_flb”…”�”}”(hjî0h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjë0ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”jð0Œmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%j¶0sbŒc.liveupdate_flb_get_incoming”†”asbuh1hhjÌ0ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÌ0ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjÌ0ubj• )�”}”(hŒflb”h]”hŒflb”…”�”}”(hj)1h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÌ0ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjÈ0ubjj")�”}”(hŒ void **objp”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjB1h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj>1ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjP1h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj>1ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj^1h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj>1ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjk1h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj>1ubj• )�”}”(hŒobjp”h]”hŒobjp”…”�”}”(hjx1h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj>1ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjÈ0ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj�0h²hh³j¡0h´Mêubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj‹0h²hh³j¡0h´Mêubah}”(h]”j†0ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j¡0h´Mêhjˆ0h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ!Retrieve the incoming FLB object.”h]”hŒ!Retrieve the incoming FLB object.”…”�”}”(hj¢1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MêhjŸ1h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjˆ0h²hh³j¡0h´Mêubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jº1jã jº1jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXé**Parameters** ``struct liveupdate_flb *flb`` The FLB definition. ``void **objp`` Output parameter; will be populated with the live shared object. **Description** Returns a pointer to its shared live object for the incoming (post-reboot) path. If this is the first time the object is requested in the new kernel, this function will trigger the FLB's .retrieve() callback to reconstruct the object from its preserved state. Subsequent calls will return the same cached object. **Return** 0 on success, or a negative errno on failure. -ENODATA means no incoming FLB data, -ENOENT means specific flb not found in the incoming data, -ENODEV if the FLB's module is unloading, and -EOPNOTSUPP when live update is disabled or not configured.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjÄ1h]”hŒ Parameters”…”�”}”(hjÆ1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÂ1ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mîhj¾1ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ3``struct liveupdate_flb *flb`` The FLB definition. ”h]”(jÔ)�”}”(hŒ``struct liveupdate_flb *flb``”h]”jž)�”}”(hjã1h]”hŒstruct liveupdate_flb *flb”…”�”}”(hjå1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjá1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MëhjÝ1ubjå)�”}”(hhh]”hþ)�”}”(hŒThe FLB definition.”h]”hŒThe FLB definition.”…”�”}”(hjü1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jø1h´Mëhjù1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÝ1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jø1h´MëhjÚ1ubjÎ)�”}”(hŒQ``void **objp`` Output parameter; will be populated with the live shared object. ”h]”(jÔ)�”}”(hŒ``void **objp``”h]”jž)�”}”(hj2h]”hŒ void **objp”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mìhj2ubjå)�”}”(hhh]”hþ)�”}”(hŒ@Output parameter; will be populated with the live shared object.”h]”hŒ@Output parameter; will be populated with the live shared object.”…”�”}”(hj52h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j12h´Mìhj22ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j12h´MìhjÚ1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¾1ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjW2h]”hŒ Description”…”�”}”(hjY2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjU2ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mîhj¾1ubhþ)�”}”(hŒPReturns a pointer to its shared live object for the incoming (post-reboot) path.”h]”hŒPReturns a pointer to its shared live object for the incoming (post-reboot) path.”…”�”}”(hjm2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Míhj¾1ubhþ)�”}”(hŒçIf this is the first time the object is requested in the new kernel, this function will trigger the FLB's .retrieve() callback to reconstruct the object from its preserved state. Subsequent calls will return the same cached object.”h]”hŒéIf this is the first time the object is requested in the new kernel, this function will trigger the FLB’s .retrieve() callback to reconstruct the object from its preserved state. Subsequent calls will return the same cached object.”…”�”}”(hj|2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mðhj¾1ubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hj�2h]”hŒReturn”…”�”}”(hj�2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj‹2ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mõhj¾1ubhþ)�”}”(hŒ÷0 on success, or a negative errno on failure. -ENODATA means no incoming FLB data, -ENOENT means specific flb not found in the incoming data, -ENODEV if the FLB's module is unloading, and -EOPNOTSUPP when live update is disabled or not configured.”h]”hŒù0 on success, or a negative errno on failure. -ENODATA means no incoming FLB data, -ENOENT means specific flb not found in the incoming data, -ENODEV if the FLB’s module is unloading, and -EOPNOTSUPP when live update is disabled or not configured.”…”�”}”(hj£2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Möhj¾1ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ(liveupdate_flb_get_outgoing (C function)”Œc.liveupdate_flb_get_outgoing”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒIint liveupdate_flb_get_outgoing (struct liveupdate_flb *flb, void **objp)”h]”jf )�”}”(hŒHint liveupdate_flb_get_outgoing(struct liveupdate_flb *flb, void **objp)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hjÒ2h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjÎ2h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjá2h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÎ2h²hh³jà2h´Mubj� )�”}”(hŒliveupdate_flb_get_outgoing”h]”j• )�”}”(hŒliveupdate_flb_get_outgoing”h]”hŒliveupdate_flb_get_outgoing”…”�”}”(hjó2h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjï2ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjÎ2h²hh³jà2h´Mubjd")�”}”(hŒ)(struct liveupdate_flb *flb, void **objp)”h]”(jj")�”}”(hŒstruct liveupdate_flb *flb”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj 3ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj 3ubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_flb”h]”hŒliveupdate_flb”…”�”}”(hj-3h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj*3ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j/3Œmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jõ2sbŒc.liveupdate_flb_get_outgoing”†”asbuh1hhj 3ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjM3h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj 3ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj[3h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj 3ubj• )�”}”(hŒflb”h]”hŒflb”…”�”}”(hjh3h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj 3ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj3ubjj")�”}”(hŒ void **objp”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj�3h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj}3ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�3h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj}3ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj�3h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj}3ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjª3h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj}3ubj• )�”}”(hŒobjp”h]”hŒobjp”…”�”}”(hj·3h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj}3ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj3ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjÎ2h²hh³jà2h´Mubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjÊ2h²hh³jà2h´Mubah}”(h]”jÅ2ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jà2h´MhjÇ2h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ!Retrieve the outgoing FLB object.”h]”hŒ!Retrieve the outgoing FLB object.”…”�”}”(hjá3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MhjÞ3h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjÇ2h²hh³jà2h´Mubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jù3jã jù3jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXÒ**Parameters** ``struct liveupdate_flb *flb`` The FLB definition. ``void **objp`` Output parameter; will be populated with the live shared object. **Description** Returns a pointer to its shared live object for the outgoing (pre-reboot) path. This function assumes the object has already been created by the FLB's .preserve() callback, which is triggered when the first dependent file is preserved. **Return** 0 on success, or a negative errno on failure.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj4h]”hŒ Parameters”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjý3ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒ3``struct liveupdate_flb *flb`` The FLB definition. ”h]”(jÔ)�”}”(hŒ``struct liveupdate_flb *flb``”h]”jž)�”}”(hj"4h]”hŒstruct liveupdate_flb *flb”…”�”}”(hj$4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj 4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhj4ubjå)�”}”(hhh]”hþ)�”}”(hŒThe FLB definition.”h]”hŒThe FLB definition.”…”�”}”(hj;4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j74h´Mhj84ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j74h´Mhj4ubjÎ)�”}”(hŒQ``void **objp`` Output parameter; will be populated with the live shared object. ”h]”(jÔ)�”}”(hŒ``void **objp``”h]”jž)�”}”(hj[4h]”hŒ void **objp”…”�”}”(hj]4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjY4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MhjU4ubjå)�”}”(hhh]”hþ)�”}”(hŒ@Output parameter; will be populated with the live shared object.”h]”hŒ@Output parameter; will be populated with the live shared object.”…”�”}”(hjt4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jp4h´Mhjq4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjU4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jp4h´Mhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjý3ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj–4h]”hŒ Description”…”�”}”(hj˜4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj”4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjý3ubhþ)�”}”(hŒOReturns a pointer to its shared live object for the outgoing (pre-reboot) path.”h]”hŒOReturns a pointer to its shared live object for the outgoing (pre-reboot) path.”…”�”}”(hj¬4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjý3ubhþ)�”}”(hŒ›This function assumes the object has already been created by the FLB's .preserve() callback, which is triggered when the first dependent file is preserved.”h]”hŒ�This function assumes the object has already been created by the FLB’s .preserve() callback, which is triggered when the first dependent file is preserved.”…”�”}”(hj»4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjý3ubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hjÌ4h]”hŒReturn”…”�”}”(hjÎ4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÊ4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjý3ubhþ)�”}”(hŒ-0 on success, or a negative errno on failure.”h]”hŒ-0 on success, or a negative errno on failure.”…”�”}”(hjâ4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Mhjý3ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_flb_serialize (C function)”Œc.luo_flb_serialize”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒvoid luo_flb_serialize (void)”h]”jf )�”}”(hŒvoid luo_flb_serialize(void)”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj 5h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MPubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj 5h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj 5h²hh³j5h´MPubj� )�”}”(hŒluo_flb_serialize”h]”j• )�”}”(hŒluo_flb_serialize”h]”hŒluo_flb_serialize”…”�”}”(hj25h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj.5ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj 5h²hh³j5h´MPubjd")�”}”(hŒ(void)”h]”jj")�”}”(hŒvoid”h]”j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjN5h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjJ5ubah}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjF5ubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj 5h²hh³j5h´MPubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj 5h²hh³j5h´MPubah}”(h]”j5ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j5h´MPhj5h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ*Serializes all active FLB objects for KHO.”h]”hŒ*Serializes all active FLB objects for KHO.”…”�”}”(hjx5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MPhju5h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj5h²hh³j5h´MPubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j�5jã j�5jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXm**Parameters** ``void`` no arguments **Description** This function is called from the reboot path. It iterates through all registered File-Lifecycle-Bound (FLB) objects. For each FLB that has been preserved (i.e., its reference count is greater than zero), it writes its metadata into the memory region designated for Kexec Handover. The serialized data includes the FLB's compatibility string, its opaque data handle, and the final reference count. This allows the new kernel to find the appropriate handler and reconstruct the FLB's state. **Context** Called from liveupdate_reboot() just before kho_finalize().”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjš5h]”hŒ Parameters”…”�”}”(hjœ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj˜5ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MThj”5ubjÉ)�”}”(hhh]”jÎ)�”}”(hŒ``void`` no arguments ”h]”(jÔ)�”}”(hŒ``void``”h]”jž)�”}”(hj¹5h]”hŒvoid”…”�”}”(hj»5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj·5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Khj³5ubjå)�”}”(hhh]”hþ)�”}”(hŒ no arguments”h]”hŒ no arguments”…”�”}”(hjÒ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jÎ5h´KhjÏ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj³5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÎ5h´Khj°5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj”5ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjô5h]”hŒ Description”…”�”}”(hjö5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjò5ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´Khj”5ubhþ)�”}”(hXThis function is called from the reboot path. It iterates through all registered File-Lifecycle-Bound (FLB) objects. For each FLB that has been preserved (i.e., its reference count is greater than zero), it writes its metadata into the memory region designated for Kexec Handover.”h]”hXThis function is called from the reboot path. It iterates through all registered File-Lifecycle-Bound (FLB) objects. For each FLB that has been preserved (i.e., its reference count is greater than zero), it writes its metadata into the memory region designated for Kexec Handover.”…”�”}”(hj 6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MQhj”5ubhþ)�”}”(hŒÏThe serialized data includes the FLB's compatibility string, its opaque data handle, and the final reference count. This allows the new kernel to find the appropriate handler and reconstruct the FLB's state.”h]”hŒÓThe serialized data includes the FLB’s compatibility string, its opaque data handle, and the final reference count. This allows the new kernel to find the appropriate handler and reconstruct the FLB’s state.”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MVhj”5ubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hj*6h]”hŒContext”…”�”}”(hj,6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj(6ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´MZhj”5ubhþ)�”}”(hŒ;Called from liveupdate_reboot() just before kho_finalize().”h]”hŒ;Called from liveupdate_reboot() just before kho_finalize().”…”�”}”(hj@6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ_/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:59: ./kernel/liveupdate/luo_flb.c”h´M[hj”5ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_session_header (C struct)”Œc.luo_session_header”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒluo_session_header”h]”jf )�”}”(hŒstruct luo_session_header”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjo6h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjk6h²hh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Kubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj}6h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjk6h²hh³j|6h´Kubj� )�”}”(hŒluo_session_header”h]”j• )�”}”(hji6h]”hŒluo_session_header”…”�”}”(hj�6h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj‹6ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjk6h²hh³j|6h´Kubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjg6h²hh³j|6h´Kubah}”(h]”jb6ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j|6h´Khjd6h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ(Header struct for managing LUO sessions.”h]”hŒ(Header struct for managing LUO sessions.”…”�”}”(hj±6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Kihj®6h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjd6h²hh³j|6h´Kubeh}”(h]”h ]”(j†Œstruct”eh"]”h$]”h&]”já j†jâ jÉ6jã jÉ6jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXõ**Definition**:: struct luo_session_header { long count; struct list_head list; struct rw_semaphore rwsem; struct kho_block_set block_set; u64 *sessions_pa; bool active; }; **Members** ``count`` The number of sessions currently tracked in the **list**. ``list`` The head of the linked list of `struct luo_session` instances. ``rwsem`` A read-write semaphore providing synchronized access to the session list and other fields in this structure. ``block_set`` The set of serialization blocks. ``sessions_pa`` Points to the location of sessions_pa within struct luo_ser. ``active`` Set to true when first initialized. If previous kernel did not send session data, active stays false for incoming.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjÕ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÑ6ubhŒ:”…”�”}”(hjÑ6h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´KmhjÍ6ubj )�”}”(hŒ³struct luo_session_header { long count; struct list_head list; struct rw_semaphore rwsem; struct kho_block_set block_set; u64 *sessions_pa; bool active; };”h]”hŒ³struct luo_session_header { long count; struct list_head list; struct rw_semaphore rwsem; struct kho_block_set block_set; u64 *sessions_pa; bool active; };”…”�”}”hjî6sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´KohjÍ6ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hjÿ6h]”hŒMembers”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjý6ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´KxhjÍ6ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒD``count`` The number of sessions currently tracked in the **list**. ”h]”(jÔ)�”}”(hŒ ``count``”h]”jž)�”}”(hj7h]”hŒcount”…”�”}”(hj 7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Kkhj7ubjå)�”}”(hhh]”hþ)�”}”(hŒ9The number of sessions currently tracked in the **list**.”h]”(hŒ0The number of sessions currently tracked in the ”…”�”}”(hj77h²hh³Nh´Nubjò )�”}”(hŒ**list**”h]”hŒlist”…”�”}”(hj?7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj77ubhŒ.”…”�”}”(hj77h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j37h´Kkhj47ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j37h´Kkhj7ubjÎ)�”}”(hŒH``list`` The head of the linked list of `struct luo_session` instances. ”h]”(jÔ)�”}”(hŒ``list``”h]”jž)�”}”(hji7h]”hŒlist”…”�”}”(hjk7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjg7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Klhjc7ubjå)�”}”(hhh]”hþ)�”}”(hŒ>The head of the linked list of `struct luo_session` instances.”h]”(hŒThe head of the linked list of ”…”�”}”(hj‚7h²hh³Nh´NubjØ)�”}”(hŒ`struct luo_session`”h]”hŒstruct luo_session”…”�”}”(hjŠ7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j×hj‚7ubhŒ instances.”…”�”}”(hj‚7h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j~7h´Klhj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjc7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j~7h´Klhj7ubjÎ)�”}”(hŒw``rwsem`` A read-write semaphore providing synchronized access to the session list and other fields in this structure. ”h]”(jÔ)�”}”(hŒ ``rwsem``”h]”jž)�”}”(hj´7h]”hŒrwsem”…”�”}”(hj¶7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj²7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Knhj®7ubjå)�”}”(hhh]”hþ)�”}”(hŒlA read-write semaphore providing synchronized access to the session list and other fields in this structure.”h]”hŒlA read-write semaphore providing synchronized access to the session list and other fields in this structure.”…”�”}”(hjÍ7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´KmhjÊ7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj®7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÉ7h´Knhj7ubjÎ)�”}”(hŒ/``block_set`` The set of serialization blocks. ”h]”(jÔ)�”}”(hŒ ``block_set``”h]”jž)�”}”(hjî7h]”hŒ block_set”…”�”}”(hjð7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjì7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Kohjè7ubjå)�”}”(hhh]”hþ)�”}”(hŒ The set of serialization blocks.”h]”hŒ The set of serialization blocks.”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j8h´Kohj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjè7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j8h´Kohj7ubjÎ)�”}”(hŒM``sessions_pa`` Points to the location of sessions_pa within struct luo_ser. ”h]”(jÔ)�”}”(hŒ``sessions_pa``”h]”jž)�”}”(hj'8h]”hŒ sessions_pa”…”�”}”(hj)8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj%8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œc/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:62: ./kernel/liveupdate/luo_session.c”h´Kphj!8ubjå)�”}”(hhh]”hþ)�”}”(hŒ` that manages this type of file. ``file`` Pointer to the kernel's :c:type:`struct file ` that is being preserved. This is NULL in the new kernel until the file is successfully retrieved. ``serialized_data`` The opaque u64 handle to the serialized state of the file. This handle is passed back to the handler's .freeze(), .retrieve(), and .finish() callbacks, allowing it to track and update its serialized state across phases. ``private_data`` Pointer to the private data for the file used to hold runtime state that is not preserved. Set by the handler's .preserve() callback, and must be freed in the handler's .unpreserve() callback. ``retrieve_status`` Status code indicating whether a user/kernel in the new kernel has successfully called retrieve() on this file. This prevents multiple retrieval attempts. A value of 0 means a retrieve() has not been attempted, a positive value means the retrieve() was successful, and a negative value means the retrieve() failed, and the value is the error code of the call. ``mutex`` A mutex that protects the fields of this specific instance (e.g., **retrieved**, **file**), ensuring that operations like retrieving or finishing a file are atomic. ``list`` The list_head linking this instance into its parent file_set's list of preserved files. ``token`` The user-provided unique token used to identify this file.”h]”(hþ)�”}”(hŒ**Definition**::”h]”(jò )�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hja:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj]:ubhŒ:”…”�”}”(hj]:h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K~hjY:ubj )�”}”(hŒßstruct luo_file { struct liveupdate_file_handler *fh; struct file *file; u64 serialized_data; void *private_data; int retrieve_status; struct mutex mutex; struct list_head list; u64 token; };”h]”hŒßstruct luo_file { struct liveupdate_file_handler *fh; struct file *file; u64 serialized_data; void *private_data; int retrieve_status; struct mutex mutex; struct list_head list; u64 token; };”…”�”}”hjz:sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j h³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K€hjY:ubhþ)�”}”(hŒ **Members**”h]”jò )�”}”(hj‹:h]”hŒMembers”…”�”}”(hj�:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj‰:ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K‹hjY:ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒy``fh`` Pointer to the :c:type:`struct liveupdate_file_handler ` that manages this type of file. ”h]”(jÔ)�”}”(hŒ``fh``”h]”jž)�”}”(hjª:h]”hŒfh”…”�”}”(hj¬:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¨:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K}hj¤:ubjå)�”}”(hhh]”hþ)�”}”(hŒqPointer to the :c:type:`struct liveupdate_file_handler ` that manages this type of file.”h]”(hŒPointer to the ”…”�”}”(hjÃ:h²hh³Nh´Nubh)�”}”(hŒB:c:type:`struct liveupdate_file_handler `”h]”jž)�”}”(hjÍ:h]”hŒstruct liveupdate_file_handler”…”�”}”(hjÏ:h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hjË:ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œliveupdate_file_handler”uh1hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K|hjÃ:ubhŒ that manages this type of file.”…”�”}”(hjÃ:h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jê:h´K|hjÀ:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj¤:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j¿:h´K}hj¡:ubjÎ)�”}”(hŒ ``file`` Pointer to the kernel's :c:type:`struct file ` that is being preserved. This is NULL in the new kernel until the file is successfully retrieved. ”h]”(jÔ)�”}”(hŒ``file``”h]”jž)�”}”(hj;h]”hŒfile”…”�”}”(hj ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K€hj;ubjå)�”}”(hhh]”hþ)�”}”(hŒ–Pointer to the kernel's :c:type:`struct file ` that is being preserved. This is NULL in the new kernel until the file is successfully retrieved.”h]”(hŒPointer to the kernel’s ”…”�”}”(hj ;h²hh³Nh´Nubh)�”}”(hŒ:c:type:`struct file `”h]”jž)�”}”(hj*;h]”hŒ struct file”…”�”}”(hj,;h²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hj(;ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œfile”uh1hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K~hj ;ubhŒb that is being preserved. This is NULL in the new kernel until the file is successfully retrieved.”…”�”}”(hj ;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jG;h´K~hj;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j;h´K€hj¡:ubjÎ)�”}”(hŒð``serialized_data`` The opaque u64 handle to the serialized state of the file. This handle is passed back to the handler's .freeze(), .retrieve(), and .finish() callbacks, allowing it to track and update its serialized state across phases. ”h]”(jÔ)�”}”(hŒ``serialized_data``”h]”jž)�”}”(hjd;h]”hŒserialized_data”…”�”}”(hjf;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjb;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K„hj^;ubjå)�”}”(hhh]”hþ)�”}”(hŒÛThe opaque u64 handle to the serialized state of the file. This handle is passed back to the handler's .freeze(), .retrieve(), and .finish() callbacks, allowing it to track and update its serialized state across phases.”h]”hŒÝThe opaque u64 handle to the serialized state of the file. This handle is passed back to the handler’s .freeze(), .retrieve(), and .finish() callbacks, allowing it to track and update its serialized state across phases.”…”�”}”(hj};h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K�hjz;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj^;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jy;h´K„hj¡:ubjÎ)�”}”(hŒÒ``private_data`` Pointer to the private data for the file used to hold runtime state that is not preserved. Set by the handler's .preserve() callback, and must be freed in the handler's .unpreserve() callback. ”h]”(jÔ)�”}”(hŒ``private_data``”h]”jž)�”}”(hjž;h]”hŒ private_data”…”�”}”(hj ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjœ;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Kˆhj˜;ubjå)�”}”(hhh]”hþ)�”}”(hŒÀPointer to the private data for the file used to hold runtime state that is not preserved. Set by the handler's .preserve() callback, and must be freed in the handler's .unpreserve() callback.”h]”hŒÄPointer to the private data for the file used to hold runtime state that is not preserved. Set by the handler’s .preserve() callback, and must be freed in the handler’s .unpreserve() callback.”…”�”}”(hj·;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K…hj´;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj˜;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j³;h´Kˆhj¡:ubjÎ)�”}”(hX|``retrieve_status`` Status code indicating whether a user/kernel in the new kernel has successfully called retrieve() on this file. This prevents multiple retrieval attempts. A value of 0 means a retrieve() has not been attempted, a positive value means the retrieve() was successful, and a negative value means the retrieve() failed, and the value is the error code of the call. ”h]”(jÔ)�”}”(hŒ``retrieve_status``”h]”jž)�”}”(hjØ;h]”hŒretrieve_status”…”�”}”(hjÚ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÖ;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KŽhjÒ;ubjå)�”}”(hhh]”hþ)�”}”(hXgStatus code indicating whether a user/kernel in the new kernel has successfully called retrieve() on this file. This prevents multiple retrieval attempts. A value of 0 means a retrieve() has not been attempted, a positive value means the retrieve() was successful, and a negative value means the retrieve() failed, and the value is the error code of the call.”h]”hXgStatus code indicating whether a user/kernel in the new kernel has successfully called retrieve() on this file. This prevents multiple retrieval attempts. A value of 0 means a retrieve() has not been attempted, a positive value means the retrieve() was successful, and a negative value means the retrieve() failed, and the value is the error code of the call.”…”�”}”(hjñ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K‰hjî;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÒ;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jí;h´KŽhj¡:ubjÎ)�”}”(hŒ¯``mutex`` A mutex that protects the fields of this specific instance (e.g., **retrieved**, **file**), ensuring that operations like retrieving or finishing a file are atomic. ”h]”(jÔ)�”}”(hŒ ``mutex``”h]”jž)�”}”(hj<h]”hŒmutex”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K‘hj <ubjå)�”}”(hhh]”hþ)�”}”(hŒ¤A mutex that protects the fields of this specific instance (e.g., **retrieved**, **file**), ensuring that operations like retrieving or finishing a file are atomic.”h]”(hŒBA mutex that protects the fields of this specific instance (e.g., ”…”�”}”(hj+<h²hh³Nh´Nubjò )�”}”(hŒ **retrieved**”h]”hŒ retrieved”…”�”}”(hj3<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj+<ubhŒ, ”…”�”}”(hj+<h²hh³Nh´Nubjò )�”}”(hŒ**file**”h]”hŒfile”…”�”}”(hjE<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj+<ubhŒK), ensuring that operations like retrieving or finishing a file are atomic.”…”�”}”(hj+<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K�hj(<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj <ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j'<h´K‘hj¡:ubjÎ)�”}”(hŒa``list`` The list_head linking this instance into its parent file_set's list of preserved files. ”h]”(jÔ)�”}”(hŒ``list``”h]”jž)�”}”(hjp<h]”hŒlist”…”�”}”(hjr<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjn<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K“hjj<ubjå)�”}”(hhh]”hþ)�”}”(hŒWThe list_head linking this instance into its parent file_set's list of preserved files.”h]”hŒYThe list_head linking this instance into its parent file_set’s list of preserved files.”…”�”}”(hj‰<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K’hj†<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjj<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j…<h´K“hj¡:ubjÎ)�”}”(hŒD``token`` The user-provided unique token used to identify this file.”h]”(jÔ)�”}”(hŒ ``token``”h]”jž)�”}”(hjª<h]”hŒtoken”…”�”}”(hj¬<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj¨<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K“hj¤<ubjå)�”}”(hhh]”hþ)�”}”(hŒ:The user-provided unique token used to identify this file.”h]”hŒ:The user-provided unique token used to identify this file.”…”�”}”(hjÃ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K”hjÀ<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj¤<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j¿<h´K“hj¡:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjY:ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´Nubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjí<h]”hŒ Description”…”�”}”(hjï<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjë<ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K—hj"h²hubhþ)�”}”(hX5This structure is the core in-kernel representation of a single file being managed through a live update. An instance is created by luo_preserve_file() to link a 'struct file' to its corresponding handler, a user-provided token, and the serialized state handle returned by the handler's .preserve() operation.”h]”hX;This structure is the core in-kernel representation of a single file being managed through a live update. An instance is created by luo_preserve_file() to link a ‘struct file’ to its corresponding handler, a user-provided token, and the serialized state handle returned by the handler’s .preserve() operation.”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K”hj"h²hubhþ)�”}”(hXYThese instances are tracked in a per-file_set list. The **serialized_data** field, which holds a handle to the file's serialized state, may be updated during the .freeze() callback before being serialized for the next kernel. After reboot, these structures are recreated by luo_file_deserialize() and are finally cleaned up by luo_file_finish().”h]”(hŒ8These instances are tracked in a per-file_set list. The ”…”�”}”(hj=h²hh³Nh´Nubjò )�”}”(hŒ**serialized_data**”h]”hŒserialized_data”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj=ubhX field, which holds a handle to the file’s serialized state, may be updated during the .freeze() callback before being serialized for the next kernel. After reboot, these structures are recreated by luo_file_deserialize() and are finally cleaned up by luo_file_finish().”…”�”}”(hj=h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Kšhj"h²hubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_preserve_file (C function)”Œc.luo_preserve_file”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒHint luo_preserve_file (struct luo_file_set *file_set, u64 token, int fd)”h]”jf )�”}”(hŒGint luo_preserve_file(struct luo_file_set *file_set, u64 token, int fd)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hjL=h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjH=h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K¿ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj[=h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjH=h²hh³jZ=h´K¿ubj� )�”}”(hŒluo_preserve_file”h]”j• )�”}”(hŒluo_preserve_file”h]”hŒluo_preserve_file”…”�”}”(hjm=h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hji=ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjH=h²hh³jZ=h´K¿ubjd")�”}”(hŒ2(struct luo_file_set *file_set, u64 token, int fd)”h]”(jj")�”}”(hŒstruct luo_file_set *file_set”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj‰=h²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj…=ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj–=h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj…=ubh)�”}”(hhh]”j• )�”}”(hŒ luo_file_set”h]”hŒ luo_file_set”…”�”}”(hj§=h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj¤=ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j©=Œmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jo=sbŒc.luo_preserve_file”†”asbuh1hhj…=ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÇ=h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj…=ubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjÕ=h²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj…=ubj• )�”}”(hŒfile_set”h]”hŒfile_set”…”�”}”(hjâ=h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj…=ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj�=ubjj")�”}”(hŒ u64 token”h]”(h)�”}”(hhh]”j• )�”}”(hŒu64”h]”hŒu64”…”�”}”(hjþ=h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjû=ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j>Œmodname”NŒ classname”Njj)�”}”j]”jÃ=Œc.luo_preserve_file”†”asbuh1hhj÷=ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj÷=ubj• )�”}”(hŒtoken”h]”hŒtoken”…”�”}”(hj*>h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj÷=ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj�=ubjj")�”}”(hŒint fd”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hjC>h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj?>ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjQ>h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj?>ubj• )�”}”(hŒfd”h]”hŒfd”…”�”}”(hj_>h²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj?>ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj�=ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjH=h²hh³jZ=h´K¿ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjD=h²hh³jZ=h´K¿ubah}”(h]”j?=ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jZ=h´K¿hjA=h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ/Initiate the preservation of a file descriptor.”h]”hŒ/Initiate the preservation of a file descriptor.”…”�”}”(hj‰>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´K¿hj†>h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjA=h²hh³jZ=h´K¿ubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j¡>jã j¡>jä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX[**Parameters** ``struct luo_file_set *file_set`` The file_set to which the preserved file will be added. ``u64 token`` A unique, user-provided identifier for the file. ``int fd`` The file descriptor to be preserved. **Description** This function orchestrates the first phase of preserving a file. Upon entry, it takes a reference to the 'struct file' via fget(), effectively making LUO a co-owner of the file. This reference is held until the file is either unpreserved or successfully finished in the next kernel, preventing the file from being prematurely destroyed. This function orchestrates the first phase of preserving a file. It performs the following steps: 1. Validates that the **token** is not already in use within the file_set. 2. Ensures the file_set's memory for files serialization is allocated (allocates if needed). 3. Iterates through registered handlers, calling can_preserve() to find one compatible with the given **fd**. 4. Calls the handler's .preserve() operation, which saves the file's state and returns an opaque private data handle. 5. Adds the new instance to the file_set's internal list. On success, LUO takes a reference to the 'struct file' and considers it under its management until it is unpreserved or finished. In case of any failure, all intermediate allocations (file reference, memory for the 'luo_file' struct, etc.) are cleaned up before returning an error. **Context** Can be called from an ioctl handler during normal system operation. **Return** 0 on success. Returns a negative errno on failure: -EEXIST if the token is already used. -EBUSY if the file descriptor is already preserved by another session. -EBADF if the file descriptor is invalid. -ENOSPC if the file_set is full. -ENOENT if no compatible handler is found. -ENOMEM on memory allocation failure. Other erros might be returned by .preserve().”•h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj«>h]”hŒ Parameters”…”�”}”(hj­>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj©>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÃhj¥>ubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒZ``struct luo_file_set *file_set`` The file_set to which the preserved file will be added. ”h]”(jÔ)�”}”(hŒ!``struct luo_file_set *file_set``”h]”jž)�”}”(hjÊ>h]”hŒstruct luo_file_set *file_set”…”�”}”(hjÌ>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÈ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÀhjÄ>ubjå)�”}”(hhh]”hþ)�”}”(hŒ7The file_set to which the preserved file will be added.”h]”hŒ7The file_set to which the preserved file will be added.”…”�”}”(hjã>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jß>h´KÀhjà>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÄ>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jß>h´KÀhjÁ>ubjÎ)�”}”(hŒ?``u64 token`` A unique, user-provided identifier for the file. ”h]”(jÔ)�”}”(hŒ ``u64 token``”h]”jž)�”}”(hj?h]”hŒ u64 token”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÁhjý>ubjå)�”}”(hhh]”hþ)�”}”(hŒ0A unique, user-provided identifier for the file.”h]”hŒ0A unique, user-provided identifier for the file.”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j?h´KÁhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjý>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j?h´KÁhjÁ>ubjÎ)�”}”(hŒ0``int fd`` The file descriptor to be preserved. ”h]”(jÔ)�”}”(hŒ ``int fd``”h]”jž)�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj:?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÂhj6?ubjå)�”}”(hhh]”hþ)�”}”(hŒ$The file descriptor to be preserved.”h]”hŒ$The file descriptor to be preserved.”…”�”}”(hjU?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jQ?h´KÂhjR?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj6?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jQ?h´KÂhjÁ>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¥>ubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjw?h]”hŒ Description”…”�”}”(hjy?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hju?ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÄhj¥>ubhþ)�”}”(hXPThis function orchestrates the first phase of preserving a file. Upon entry, it takes a reference to the 'struct file' via fget(), effectively making LUO a co-owner of the file. This reference is held until the file is either unpreserved or successfully finished in the next kernel, preventing the file from being prematurely destroyed.”h]”hXTThis function orchestrates the first phase of preserving a file. Upon entry, it takes a reference to the ‘struct file’ via fget(), effectively making LUO a co-owner of the file. This reference is held until the file is either unpreserved or successfully finished in the next kernel, preventing the file from being prematurely destroyed.”…”�”}”(hj�?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÃhj¥>ubhþ)�”}”(hŒaThis function orchestrates the first phase of preserving a file. It performs the following steps:”h]”hŒaThis function orchestrates the first phase of preserving a file. It performs the following steps:”…”�”}”(hjœ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÉhj¥>ubj})�”}”(hhh]”(j)�”}”(hŒGValidates that the **token** is not already in use within the file_set.”h]”hþ)�”}”(hj°?h]”(hŒValidates that the ”…”�”}”(hj²?h²hh³Nh´Nubjò )�”}”(hŒ **token**”h]”hŒtoken”…”�”}”(hj¹?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj²?ubhŒ+ is not already in use within the file_set.”…”�”}”(hj²?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÌhj®?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«?ubj)�”}”(hŒYEnsures the file_set's memory for files serialization is allocated (allocates if needed).”h]”hþ)�”}”(hŒYEnsures the file_set's memory for files serialization is allocated (allocates if needed).”h]”hŒ[Ensures the file_set’s memory for files serialization is allocated (allocates if needed).”…”�”}”(hjÜ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÍhjØ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«?ubj)�”}”(hŒjIterates through registered handlers, calling can_preserve() to find one compatible with the given **fd**.”h]”hþ)�”}”(hŒjIterates through registered handlers, calling can_preserve() to find one compatible with the given **fd**.”h]”(hŒcIterates through registered handlers, calling can_preserve() to find one compatible with the given ”…”�”}”(hjõ?h²hh³Nh´Nubjò )�”}”(hŒ**fd**”h]”hŒfd”…”�”}”(hjý?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjõ?ubhŒ.”…”�”}”(hjõ?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÏhjñ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«?ubj)�”}”(hŒrCalls the handler's .preserve() operation, which saves the file's state and returns an opaque private data handle.”h]”hþ)�”}”(hŒrCalls the handler's .preserve() operation, which saves the file's state and returns an opaque private data handle.”h]”hŒvCalls the handler’s .preserve() operation, which saves the file’s state and returns an opaque private data handle.”…”�”}”(hj @h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÑhj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«?ubj)�”}”(hŒ7Adds the new instance to the file_set's internal list. ”h]”hþ)�”}”(hŒ6Adds the new instance to the file_set's internal list.”h]”hŒ8Adds the new instance to the file_set’s internal list.”…”�”}”(hj9@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÓhj5@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj«?ubeh}”(h]”h ]”h"]”h$]”h&]”jWjXjYhjZj[uh1j|hj¥>ubhþ)�”}”(hŒ�On success, LUO takes a reference to the 'struct file' and considers it under its management until it is unpreserved or finished.”h]”hŒ…On success, LUO takes a reference to the ‘struct file’ and considers it under its management until it is unpreserved or finished.”…”�”}”(hjT@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÕhj¥>ubhþ)�”}”(hŒ—In case of any failure, all intermediate allocations (file reference, memory for the 'luo_file' struct, etc.) are cleaned up before returning an error.”h]”hŒ›In case of any failure, all intermediate allocations (file reference, memory for the ‘luo_file’ struct, etc.) are cleaned up before returning an error.”…”�”}”(hjc@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KØhj¥>ubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hjt@h]”hŒContext”…”�”}”(hjv@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjr@ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÛhj¥>ubhþ)�”}”(hŒCCan be called from an ioctl handler during normal system operation.”h]”hŒCCan be called from an ioctl handler during normal system operation.”…”�”}”(hjŠ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÜhj¥>ubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hj›@h]”hŒReturn”…”�”}”(hj�@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj™@ubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÞhj¥>ubhþ)�”}”(hXi0 on success. Returns a negative errno on failure: -EEXIST if the token is already used. -EBUSY if the file descriptor is already preserved by another session. -EBADF if the file descriptor is invalid. -ENOSPC if the file_set is full. -ENOENT if no compatible handler is found. -ENOMEM on memory allocation failure. Other erros might be returned by .preserve().”h]”hXi0 on success. Returns a negative errno on failure: -EEXIST if the token is already used. -EBUSY if the file descriptor is already preserved by another session. -EBADF if the file descriptor is invalid. -ENOSPC if the file_set is full. -ENOENT if no compatible handler is found. -ENOMEM on memory allocation failure. Other erros might be returned by .preserve().”…”�”}”(hj±@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´KÝhj¥>ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ&luo_file_unpreserve_files (C function)”Œc.luo_file_unpreserve_files”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ>void luo_file_unpreserve_files (struct luo_file_set *file_set)”h]”jf )�”}”(hŒ=void luo_file_unpreserve_files(struct luo_file_set *file_set)”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjà@h²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjÜ@h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M<ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjï@h²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÜ@h²hh³jî@h´M<ubj� )�”}”(hŒluo_file_unpreserve_files”h]”j• )�”}”(hŒluo_file_unpreserve_files”h]”hŒluo_file_unpreserve_files”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjý@ubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjÜ@h²hh³jî@h´M<ubjd")�”}”(hŒ(struct luo_file_set *file_set)”h]”jj")�”}”(hŒstruct luo_file_set *file_set”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjAubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj*Ah²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjAubh)�”}”(hhh]”j• )�”}”(hŒ luo_file_set”h]”hŒ luo_file_set”…”�”}”(hj;Ah²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj8Aubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j=AŒmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jAsbŒc.luo_file_unpreserve_files”†”asbuh1hhjAubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj[Ah²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjAubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjiAh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjAubj• )�”}”(hŒfile_set”h]”hŒfile_set”…”�”}”(hjvAh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjAubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjAubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjÜ@h²hh³jî@h´M<ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjØ@h²hh³jî@h´M<ubah}”(h]”jÓ@ah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jî@h´M<hjÕ@h²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ&Unpreserves all files from a file_set.”h]”hŒ&Unpreserves all files from a file_set.”…”�”}”(hj Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M<hj�Ah²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjÕ@h²hh³jî@h´M<ubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j¸Ajã j¸Ajä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX(**Parameters** ``struct luo_file_set *file_set`` The files to be cleaned up. **Description** This function serves as the primary cleanup path for a file_set. It is invoked when the userspace agent closes the file_set's file descriptor. For each file, it performs the following cleanup actions: 1. Calls the handler's .unpreserve() callback to allow the handler to release any resources it allocated. 2. Removes the file from the file_set's internal tracking list. 3. Releases the reference to the 'struct file' that was taken by luo_preserve_file() via fput(), returning ownership. 4. Frees the memory associated with the internal 'struct luo_file'. After all individual files are unpreserved, it frees the contiguous memory block that was allocated to hold their serialization data.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjÂAh]”hŒ Parameters”…”�”}”(hjÄAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÀAubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M@hj¼AubjÉ)�”}”(hhh]”jÎ)�”}”(hŒ>``struct luo_file_set *file_set`` The files to be cleaned up. ”h]”(jÔ)�”}”(hŒ!``struct luo_file_set *file_set``”h]”jž)�”}”(hjáAh]”hŒstruct luo_file_set *file_set”…”�”}”(hjãAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjßAubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M=hjÛAubjå)�”}”(hhh]”hþ)�”}”(hŒThe files to be cleaned up.”h]”hŒThe files to be cleaned up.”…”�”}”(hjúAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jöAh´M=hj÷Aubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÛAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jöAh´M=hjØAubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¼Aubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjBh]”hŒ Description”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjBubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M?hj¼Aubhþ)�”}”(hŒŽThis function serves as the primary cleanup path for a file_set. It is invoked when the userspace agent closes the file_set's file descriptor.”h]”hŒ�This function serves as the primary cleanup path for a file_set. It is invoked when the userspace agent closes the file_set’s file descriptor.”…”�”}”(hj2Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M>hj¼AubjÉ)�”}”(hhh]”jÎ)�”}”(hX¤For each file, it performs the following cleanup actions: 1. Calls the handler's .unpreserve() callback to allow the handler to release any resources it allocated. 2. Removes the file from the file_set's internal tracking list. 3. Releases the reference to the 'struct file' that was taken by luo_preserve_file() via fput(), returning ownership. 4. Frees the memory associated with the internal 'struct luo_file'. ”h]”(jÔ)�”}”(hŒ9For each file, it performs the following cleanup actions:”h]”hŒ9For each file, it performs the following cleanup actions:”…”�”}”(hjHBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MGhjDBubjå)�”}”(hhh]”j})�”}”(hhh]”(j)�”}”(hŒfCalls the handler's .unpreserve() callback to allow the handler to release any resources it allocated.”h]”hþ)�”}”(hŒfCalls the handler's .unpreserve() callback to allow the handler to release any resources it allocated.”h]”hŒhCalls the handler’s .unpreserve() callback to allow the handler to release any resources it allocated.”…”�”}”(hjaBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MBhj]Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjZBubj)�”}”(hŒRemoves the file from the file_set’s internal tracking list.”…”�”}”(hjzBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MDhjvBubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjZBubj)�”}”(hŒrReleases the reference to the 'struct file' that was taken by luo_preserve_file() via fput(), returning ownership.”h]”hþ)�”}”(hŒrReleases the reference to the 'struct file' that was taken by luo_preserve_file() via fput(), returning ownership.”h]”hŒvReleases the reference to the ‘struct file’ that was taken by luo_preserve_file() via fput(), returning ownership.”…”�”}”(hj’Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MEhjŽBubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjZBubj)�”}”(hŒAFrees the memory associated with the internal 'struct luo_file'. ”h]”hþ)�”}”(hŒ@Frees the memory associated with the internal 'struct luo_file'.”h]”hŒDFrees the memory associated with the internal ‘struct luo_file’.”…”�”}”(hj«Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jVBh´MGhj§Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjZBubeh}”(h]”h ]”h"]”h$]”h&]”jWjXjYhjZj[uh1j|hjWBubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjDBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jVBh´MGhjABubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¼Aubhþ)�”}”(hŒ…After all individual files are unpreserved, it frees the contiguous memory block that was allocated to hold their serialization data.”h]”hŒ…After all individual files are unpreserved, it frees the contiguous memory block that was allocated to hold their serialization data.”…”�”}”(hj×Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MIhj¼Aubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_file_freeze (C function)”Œc.luo_file_freeze”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒZint luo_file_freeze (struct luo_file_set *file_set, struct luo_file_set_ser *file_set_ser)”h]”jf )�”}”(hŒYint luo_file_freeze(struct luo_file_set *file_set, struct luo_file_set_ser *file_set_ser)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjCh²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M§ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjCh²hh³jCh´M§ubj� )�”}”(hŒluo_file_freeze”h]”j• )�”}”(hŒluo_file_freeze”h]”hŒluo_file_freeze”…”�”}”(hj'Ch²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj#Cubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjCh²hh³jCh´M§ubjd")�”}”(hŒF(struct luo_file_set *file_set, struct luo_file_set_ser *file_set_ser)”h]”(jj")�”}”(hŒstruct luo_file_set *file_set”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjCCh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj?Cubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjPCh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj?Cubh)�”}”(hhh]”j• )�”}”(hŒ luo_file_set”h]”hŒ luo_file_set”…”�”}”(hjaCh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj^Cubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”jcCŒmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%j)CsbŒc.luo_file_freeze”†”asbuh1hhj?Cubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�Ch²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj?CubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj�Ch²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj?Cubj• )�”}”(hŒfile_set”h]”hŒfile_set”…”�”}”(hjœCh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj?Cubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj;Cubjj")�”}”(hŒ%struct luo_file_set_ser *file_set_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjµCh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj±Cubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂCh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj±Cubh)�”}”(hhh]”j• )�”}”(hŒluo_file_set_ser”h]”hŒluo_file_set_ser”…”�”}”(hjÓCh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÐCubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”jÕCŒmodname”NŒ classname”Njj)�”}”j]”j}CŒc.luo_file_freeze”†”asbuh1hhj±Cubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjñCh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj±CubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjÿCh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj±Cubj• )�”}”(hŒ file_set_ser”h]”hŒ file_set_ser”…”�”}”(hj Dh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj±Cubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj;Cubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjCh²hh³jCh´M§ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjþBh²hh³jCh´M§ubah}”(h]”jùBah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jCh´M§hjûBh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ:Freezes all preserved files and serializes their metadata.”h]”hŒ:Freezes all preserved files and serializes their metadata.”…”�”}”(hj6Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M§hj3Dh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjûBh²hh³jCh´M§ubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jNDjã jNDjä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXS**Parameters** ``struct luo_file_set *file_set`` The file_set whose files are to be frozen. ``struct luo_file_set_ser *file_set_ser`` Where to put the serialized file_set. **Description** This function is called from the reboot() syscall path, just before the kernel transitions to the new image via kexec. Its purpose is to perform the final preparation and serialization of all preserved files in the file_set. It iterates through each preserved file in FIFO order (the order of preservation) and performs two main actions: 1. Freezes the File: It calls the handler's .freeze() callback for each file. This gives the handler a final opportunity to quiesce the device or prepare its state for the upcoming reboot. The handler may update its private data handle during this step. 2. Serializes Metadata: After a successful freeze, it copies the final file metadata—the handler's compatible string, the user token, and the final private data handle—into the pre-allocated contiguous memory buffer (file_set->files) that will be handed over to the next kernel via KHO. Error Handling (Rollback): This function is atomic. If any handler's .freeze() operation fails, the entire live update is aborted. The __luo_file_unfreeze() helper is immediately called to invoke the .unfreeze() op on all files that were successfully frozen before the point of failure, rolling them back to a running state. The function then returns an error, causing the reboot() syscall to fail. **Context** Called only from the liveupdate_reboot() path. **Return** 0 on success, or a negative errno on failure.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjXDh]”hŒ Parameters”…”�”}”(hjZDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjVDubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M«hjRDubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒM``struct luo_file_set *file_set`` The file_set whose files are to be frozen. ”h]”(jÔ)�”}”(hŒ!``struct luo_file_set *file_set``”h]”jž)�”}”(hjwDh]”hŒstruct luo_file_set *file_set”…”�”}”(hjyDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjuDubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M¨hjqDubjå)�”}”(hhh]”hþ)�”}”(hŒ*The file_set whose files are to be frozen.”h]”hŒ*The file_set whose files are to be frozen.”…”�”}”(hj�Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jŒDh´M¨hj�Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjqDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jŒDh´M¨hjnDubjÎ)�”}”(hŒP``struct luo_file_set_ser *file_set_ser`` Where to put the serialized file_set. ”h]”(jÔ)�”}”(hŒ)``struct luo_file_set_ser *file_set_ser``”h]”jž)�”}”(hj°Dh]”hŒ%struct luo_file_set_ser *file_set_ser”…”�”}”(hj²Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj®Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M©hjªDubjå)�”}”(hhh]”hþ)�”}”(hŒ%Where to put the serialized file_set.”h]”hŒ%Where to put the serialized file_set.”…”�”}”(hjÉDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jÅDh´M©hjÆDubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjªDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jÅDh´M©hjnDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjRDubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjëDh]”hŒ Description”…”�”}”(hjíDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjéDubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M«hjRDubhþ)�”}”(hŒàThis function is called from the reboot() syscall path, just before the kernel transitions to the new image via kexec. Its purpose is to perform the final preparation and serialization of all preserved files in the file_set.”h]”hŒàThis function is called from the reboot() syscall path, just before the kernel transitions to the new image via kexec. Its purpose is to perform the final preparation and serialization of all preserved files in the file_set.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MªhjRDubhþ)�”}”(hŒpIt iterates through each preserved file in FIFO order (the order of preservation) and performs two main actions:”h]”hŒpIt iterates through each preserved file in FIFO order (the order of preservation) and performs two main actions:”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M®hjRDubj})�”}”(hhh]”(j)�”}”(hŒûFreezes the File: It calls the handler's .freeze() callback for each file. This gives the handler a final opportunity to quiesce the device or prepare its state for the upcoming reboot. The handler may update its private data handle during this step. ”h]”hþ)�”}”(hŒúFreezes the File: It calls the handler's .freeze() callback for each file. This gives the handler a final opportunity to quiesce the device or prepare its state for the upcoming reboot. The handler may update its private data handle during this step.”h]”hŒüFreezes the File: It calls the handler’s .freeze() callback for each file. This gives the handler a final opportunity to quiesce the device or prepare its state for the upcoming reboot. The handler may update its private data handle during this step.”…”�”}”(hj&Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M±hj"Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjEubj)�”}”(hX Serializes Metadata: After a successful freeze, it copies the final file metadata—the handler's compatible string, the user token, and the final private data handle—into the pre-allocated contiguous memory buffer (file_set->files) that will be handed over to the next kernel via KHO. ”h]”hþ)�”}”(hXSerializes Metadata: After a successful freeze, it copies the final file metadata—the handler's compatible string, the user token, and the final private data handle—into the pre-allocated contiguous memory buffer (file_set->files) that will be handed over to the next kernel via KHO.”h]”hX!Serializes Metadata: After a successful freeze, it copies the final file metadata—the handler’s compatible string, the user token, and the final private data handle—into the pre-allocated contiguous memory buffer (file_set->files) that will be handed over to the next kernel via KHO.”…”�”}”(hj?Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M¶hj;Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjEubeh}”(h]”h ]”h"]”h$]”h&]”jWjXjYhjZj[uh1j|hjRDubhþ)�”}”(hXŽError Handling (Rollback): This function is atomic. If any handler's .freeze() operation fails, the entire live update is aborted. The __luo_file_unfreeze() helper is immediately called to invoke the .unfreeze() op on all files that were successfully frozen before the point of failure, rolling them back to a running state. The function then returns an error, causing the reboot() syscall to fail.”h]”hX�Error Handling (Rollback): This function is atomic. If any handler’s .freeze() operation fails, the entire live update is aborted. The __luo_file_unfreeze() helper is immediately called to invoke the .unfreeze() op on all files that were successfully frozen before the point of failure, rolling them back to a running state. The function then returns an error, causing the reboot() syscall to fail.”…”�”}”(hjZEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M»hjRDubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hjkEh]”hŒContext”…”�”}”(hjmEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjiEubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MÃhjRDubhþ)�”}”(hŒ.Called only from the liveupdate_reboot() path.”h]”hŒ.Called only from the liveupdate_reboot() path.”…”�”}”(hj�Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MÄhjRDubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hj’Eh]”hŒReturn”…”�”}”(hj”Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj�Eubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MÆhjRDubhþ)�”}”(hŒ-0 on success, or a negative errno on failure.”h]”hŒ-0 on success, or a negative errno on failure.”…”�”}”(hj¨Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MÅhjRDubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_file_unfreeze (C function)”Œc.luo_file_unfreeze”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ]void luo_file_unfreeze (struct luo_file_set *file_set, struct luo_file_set_ser *file_set_ser)”h]”jf )�”}”(hŒ\void luo_file_unfreeze(struct luo_file_set *file_set, struct luo_file_set_ser *file_set_ser)”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj×Eh²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjÓEh²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Möubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjæEh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÓEh²hh³jåEh´Möubj� )�”}”(hŒluo_file_unfreeze”h]”j• )�”}”(hŒluo_file_unfreeze”h]”hŒluo_file_unfreeze”…”�”}”(hjøEh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjôEubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjÓEh²hh³jåEh´Möubjd")�”}”(hŒF(struct luo_file_set *file_set, struct luo_file_set_ser *file_set_ser)”h]”(jj")�”}”(hŒstruct luo_file_set *file_set”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjFubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj!Fh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjFubh)�”}”(hhh]”j• )�”}”(hŒ luo_file_set”h]”hŒ luo_file_set”…”�”}”(hj2Fh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj/Fubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j4FŒmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%júEsbŒc.luo_file_unfreeze”†”asbuh1hhjFubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjRFh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjFubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj`Fh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjFubj• )�”}”(hŒfile_set”h]”hŒfile_set”…”�”}”(hjmFh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjFubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj Fubjj")�”}”(hŒ%struct luo_file_set_ser *file_set_ser”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj†Fh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj‚Fubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj“Fh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj‚Fubh)�”}”(hhh]”j• )�”}”(hŒluo_file_set_ser”h]”hŒluo_file_set_ser”…”�”}”(hj¤Fh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj¡Fubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j¦FŒmodname”NŒ classname”Njj)�”}”j]”jNFŒc.luo_file_unfreeze”†”asbuh1hhj‚Fubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂFh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj‚FubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjÐFh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj‚Fubj• )�”}”(hŒ file_set_ser”h]”hŒ file_set_ser”…”�”}”(hjÝFh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj‚Fubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj Fubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjÓEh²hh³jåEh´Möubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjÏEh²hh³jåEh´Möubah}”(h]”jÊEah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jåEh´MöhjÌEh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ9Unfreezes all files in a file_set and clear serialization”h]”hŒ9Unfreezes all files in a file_set and clear serialization”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MöhjGh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjÌEh²hh³jåEh´Möubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jGjã jGjä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX™**Parameters** ``struct luo_file_set *file_set`` The file_set whose files are to be unfrozen. ``struct luo_file_set_ser *file_set_ser`` Serialized file_set. **Description** This function rolls back the state of all files in a file_set after the freeze phase has begun but must be aborted. It is the counterpart to luo_file_freeze(). It invokes the __luo_file_unfreeze() helper with a NULL argument, which signals the helper to iterate through all files in the file_set and call their respective .unfreeze() handler callbacks. **Context** This is called when the live update is aborted during the reboot() syscall, after luo_file_freeze() has been called.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj)Gh]”hŒ Parameters”…”�”}”(hj+Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj'Gubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Múhj#GubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒO``struct luo_file_set *file_set`` The file_set whose files are to be unfrozen. ”h]”(jÔ)�”}”(hŒ!``struct luo_file_set *file_set``”h]”jž)�”}”(hjHGh]”hŒstruct luo_file_set *file_set”…”�”}”(hjJGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjFGubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M÷hjBGubjå)�”}”(hhh]”hþ)�”}”(hŒ,The file_set whose files are to be unfrozen.”h]”hŒ,The file_set whose files are to be unfrozen.”…”�”}”(hjaGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j]Gh´M÷hj^Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjBGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j]Gh´M÷hj?GubjÎ)�”}”(hŒ?``struct luo_file_set_ser *file_set_ser`` Serialized file_set. ”h]”(jÔ)�”}”(hŒ)``struct luo_file_set_ser *file_set_ser``”h]”jž)�”}”(hj�Gh]”hŒ%struct luo_file_set_ser *file_set_ser”…”�”}”(hjƒGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjGubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Møhj{Gubjå)�”}”(hhh]”hþ)�”}”(hŒSerialized file_set.”h]”hŒSerialized file_set.”…”�”}”(hjšGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j–Gh´Møhj—Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj{Gubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j–Gh´Møhj?Gubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj#Gubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj¼Gh]”hŒ Description”…”�”}”(hj¾Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjºGubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Múhj#Gubhþ)�”}”(hŒŸThis function rolls back the state of all files in a file_set after the freeze phase has begun but must be aborted. It is the counterpart to luo_file_freeze().”h]”hŒŸThis function rolls back the state of all files in a file_set after the freeze phase has begun but must be aborted. It is the counterpart to luo_file_freeze().”…”�”}”(hjÒGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mùhj#Gubhþ)�”}”(hŒÀIt invokes the __luo_file_unfreeze() helper with a NULL argument, which signals the helper to iterate through all files in the file_set and call their respective .unfreeze() handler callbacks.”h]”hŒÀIt invokes the __luo_file_unfreeze() helper with a NULL argument, which signals the helper to iterate through all files in the file_set and call their respective .unfreeze() handler callbacks.”…”�”}”(hjáGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mýhj#Gubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hjòGh]”hŒContext”…”�”}”(hjôGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjðGubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mhj#Gubhþ)�”}”(hŒtThis is called when the live update is aborted during the reboot() syscall, after luo_file_freeze() has been called.”h]”hŒtThis is called when the live update is aborted during the reboot() syscall, after luo_file_freeze() has been called.”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mhj#Gubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_retrieve_file (C function)”Œc.luo_retrieve_file”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒUint luo_retrieve_file (struct luo_file_set *file_set, u64 token, struct file **filep)”h]”jf )�”}”(hŒTint luo_retrieve_file(struct luo_file_set *file_set, u64 token, struct file **filep)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hj7Hh²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hj3Hh²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjFHh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj3Hh²hh³jEHh´Mubj� )�”}”(hŒluo_retrieve_file”h]”j• )�”}”(hŒluo_retrieve_file”h]”hŒluo_retrieve_file”…”�”}”(hjXHh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjTHubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hj3Hh²hh³jEHh´Mubjd")�”}”(hŒ?(struct luo_file_set *file_set, u64 token, struct file **filep)”h]”(jj")�”}”(hŒstruct luo_file_set *file_set”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjtHh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjpHubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�Hh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjpHubh)�”}”(hhh]”j• )�”}”(hŒ luo_file_set”h]”hŒ luo_file_set”…”�”}”(hj’Hh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj�Hubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j”HŒmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jZHsbŒc.luo_retrieve_file”†”asbuh1hhjpHubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj²Hh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjpHubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjÀHh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjpHubj• )�”}”(hŒfile_set”h]”hŒfile_set”…”�”}”(hjÍHh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjpHubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjlHubjj")�”}”(hŒ u64 token”h]”(h)�”}”(hhh]”j• )�”}”(hŒu64”h]”hŒu64”…”�”}”(hjéHh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjæHubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”jëHŒmodname”NŒ classname”Njj)�”}”j]”j®HŒc.luo_retrieve_file”†”asbuh1hhjâHubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjâHubj• )�”}”(hŒtoken”h]”hŒtoken”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjâHubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjlHubjj")�”}”(hŒstruct file **filep”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj.Ih²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj*Iubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj;Ih²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj*Iubh)�”}”(hhh]”j• )�”}”(hŒfile”h]”hŒfile”…”�”}”(hjLIh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjIIubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”jNIŒmodname”NŒ classname”Njj)�”}”j]”j®HŒc.luo_retrieve_file”†”asbuh1hhj*Iubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjjIh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj*IubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjxIh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj*IubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj…Ih²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj*Iubj• )�”}”(hŒfilep”h]”hŒfilep”…”�”}”(hj’Ih²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj*Iubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjlHubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hj3Hh²hh³jEHh´Mubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hj/Hh²hh³jEHh´Mubah}”(h]”j*Hah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³jEHh´Mhj,Hh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ7Restores a preserved file from a file_set by its token.”h]”hŒ7Restores a preserved file from a file_set by its token.”…”�”}”(hj¼Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mhj¹Ih²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj,Hh²hh³jEHh´Mubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jÔIjã jÔIjä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hXw**Parameters** ``struct luo_file_set *file_set`` The file_set from which to retrieve the file. ``u64 token`` The unique token identifying the file to be restored. ``struct file **filep`` Output parameter; on success, this is populated with a pointer to the newly retrieved 'struct file'. **Description** This function is the primary mechanism for recreating a file in the new kernel after a live update. It searches the file_set's list of deserialized files for an entry matching the provided **token**. The operation is idempotent: if a file has already been successfully retrieved, this function will simply return a pointer to the existing 'struct file' and report success without re-executing the retrieve operation. This is handled by checking the 'retrieved' flag under a lock. File retrieval can happen in any order; it is not bound by the order of preservation. **Context** Can be called from an ioctl or other in-kernel code in the new kernel. **Return** 0 on success. Returns a negative errno on failure: -ENOENT if no file with the matching token is found. Any error code returned by the handler's .retrieve() op.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjÞIh]”hŒ Parameters”…”�”}”(hjàIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÜIubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhjØIubjÉ)�”}”(hhh]”(jÎ)�”}”(hŒP``struct luo_file_set *file_set`` The file_set from which to retrieve the file. ”h]”(jÔ)�”}”(hŒ!``struct luo_file_set *file_set``”h]”jž)�”}”(hjýIh]”hŒstruct luo_file_set *file_set”…”�”}”(hjÿIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjûIubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mhj÷Iubjå)�”}”(hhh]”hþ)�”}”(hŒ-The file_set from which to retrieve the file.”h]”hŒ-The file_set from which to retrieve the file.”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jJh´MhjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj÷Iubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jJh´MhjôIubjÎ)�”}”(hŒD``u64 token`` The unique token identifying the file to be restored. ”h]”(jÔ)�”}”(hŒ ``u64 token``”h]”jž)�”}”(hj6Jh]”hŒ u64 token”…”�”}”(hj8Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj4Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mhj0Jubjå)�”}”(hhh]”hþ)�”}”(hŒ5The unique token identifying the file to be restored.”h]”hŒ5The unique token identifying the file to be restored.”…”�”}”(hjOJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jKJh´MhjLJubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj0Jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jKJh´MhjôIubjÎ)�”}”(hŒ}``struct file **filep`` Output parameter; on success, this is populated with a pointer to the newly retrieved 'struct file'. ”h]”(jÔ)�”}”(hŒ``struct file **filep``”h]”jž)�”}”(hjoJh]”hŒstruct file **filep”…”�”}”(hjqJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjmJubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhjiJubjå)�”}”(hhh]”hþ)�”}”(hŒdOutput parameter; on success, this is populated with a pointer to the newly retrieved 'struct file'.”h]”hŒhOutput parameter; on success, this is populated with a pointer to the newly retrieved ‘struct file’.”…”�”}”(hjˆJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´Mhj…Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjiJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j„Jh´MhjôIubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjØIubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hj«Jh]”hŒ Description”…”�”}”(hj­Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj©Jubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhjØIubhþ)�”}”(hŒÇThis function is the primary mechanism for recreating a file in the new kernel after a live update. It searches the file_set's list of deserialized files for an entry matching the provided **token**.”h]”(hŒ¿This function is the primary mechanism for recreating a file in the new kernel after a live update. It searches the file_set’s list of deserialized files for an entry matching the provided ”…”�”}”(hjÁJh²hh³Nh´Nubjò )�”}”(hŒ **token**”h]”hŒtoken”…”�”}”(hjÉJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÁJubhŒ.”…”�”}”(hjÁJh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhjØIubhþ)�”}”(hXThe operation is idempotent: if a file has already been successfully retrieved, this function will simply return a pointer to the existing 'struct file' and report success without re-executing the retrieve operation. This is handled by checking the 'retrieved' flag under a lock.”h]”hXThe operation is idempotent: if a file has already been successfully retrieved, this function will simply return a pointer to the existing ‘struct file’ and report success without re-executing the retrieve operation. This is handled by checking the ‘retrieved’ flag under a lock.”…”�”}”(hjâJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhjØIubhþ)�”}”(hŒUFile retrieval can happen in any order; it is not bound by the order of preservation.”h]”hŒUFile retrieval can happen in any order; it is not bound by the order of preservation.”…”�”}”(hjñJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhjØIubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hjKh]”hŒContext”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjKubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M!hjØIubhþ)�”}”(hŒFCan be called from an ioctl or other in-kernel code in the new kernel.”h]”hŒFCan be called from an ioctl or other in-kernel code in the new kernel.”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M"hjØIubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hj)Kh]”hŒReturn”…”�”}”(hj+Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj'Kubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M%hjØIubhþ)�”}”(hŒ 0 on success. Returns a negative errno on failure: -ENOENT if no file with the matching token is found. Any error code returned by the handler's .retrieve() op.”h]”hŒ¢0 on success. Returns a negative errno on failure: -ENOENT if no file with the matching token is found. Any error code returned by the handler’s .retrieve() op.”…”�”}”(hj?Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M$hjØIubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œluo_file_finish (C function)”Œc.luo_file_finish”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒ3int luo_file_finish (struct luo_file_set *file_set)”h]”jf )�”}”(hŒ2int luo_file_finish(struct luo_file_set *file_set)”h]”(j,")�”}”(hŒint”h]”hŒint”…”�”}”(hjnKh²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjjKh²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M‰ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj}Kh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjjKh²hh³j|Kh´M‰ubj� )�”}”(hŒluo_file_finish”h]”j• )�”}”(hŒluo_file_finish”h]”hŒluo_file_finish”…”�”}”(hj�Kh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj‹Kubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjjKh²hh³j|Kh´M‰ubjd")�”}”(hŒ(struct luo_file_set *file_set)”h]”jj")�”}”(hŒstruct luo_file_set *file_set”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hj«Kh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hj§Kubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¸Kh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj§Kubh)�”}”(hhh]”j• )�”}”(hŒ luo_file_set”h]”hŒ luo_file_set”…”�”}”(hjÉKh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjÆKubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”jËKŒmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%j‘KsbŒc.luo_file_finish”†”asbuh1hhj§Kubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjéKh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hj§KubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hj÷Kh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hj§Kubj• )�”}”(hŒfile_set”h]”hŒfile_set”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj§Kubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hj£Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjjKh²hh³j|Kh´M‰ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjfKh²hh³j|Kh´M‰ubah}”(h]”jaKah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j|Kh´M‰hjcKh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ4Completes the lifecycle for all files in a file_set.”h]”hŒ4Completes the lifecycle for all files in a file_set.”…”�”}”(hj.Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M‰hj+Lh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hjcKh²hh³j|Kh´M‰ubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ jFLjã jFLjä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hX²**Parameters** ``struct luo_file_set *file_set`` The file_set to be finalized. **Description** This function orchestrates the final teardown of a live update file_set in the new kernel. It should be called after all necessary files have been retrieved and the userspace agent is ready to release the preserved state. The function iterates through all tracked files. For each file, it performs the following sequence of cleanup actions: 1. If file is not yet retrieved, retrieves it, and calls can_finish() on every file in the file_set. If all can_finish return true, continue to finish. 2. Calls the handler's .finish() callback (via luo_file_finish_one) to allow for final resource cleanup within the handler. 3. Releases LUO's ownership reference on the 'struct file' via fput(). This is the counterpart to the get_file() call in luo_retrieve_file(). 4. Removes the 'struct luo_file' from the file_set's internal list. 5. Frees the memory for the 'struct luo_file' instance itself. After successfully finishing all individual files, it frees the contiguous memory block that was used to transfer the serialized metadata from the previous kernel. Error Handling (Atomic Failure): This operation is atomic. If any handler's .can_finish() op fails, the entire function aborts immediately and returns an error. **Context** Can be called from an ioctl handler in the new kernel. **Return** 0 on success, or a negative errno on failure.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjPLh]”hŒ Parameters”…”�”}”(hjRLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjNLubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M�hjJLubjÉ)�”}”(hhh]”jÎ)�”}”(hŒ@``struct luo_file_set *file_set`` The file_set to be finalized. ”h]”(jÔ)�”}”(hŒ!``struct luo_file_set *file_set``”h]”jž)�”}”(hjoLh]”hŒstruct luo_file_set *file_set”…”�”}”(hjqLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjmLubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MŠhjiLubjå)�”}”(hhh]”hþ)�”}”(hŒThe file_set to be finalized.”h]”hŒThe file_set to be finalized.”…”�”}”(hjˆLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j„Lh´MŠhj…Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjiLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³j„Lh´MŠhjfLubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjJLubhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjªLh]”hŒ Description”…”�”}”(hj¬Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj¨Lubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MŒhjJLubhþ)�”}”(hŒÝThis function orchestrates the final teardown of a live update file_set in the new kernel. It should be called after all necessary files have been retrieved and the userspace agent is ready to release the preserved state.”h]”hŒÝThis function orchestrates the final teardown of a live update file_set in the new kernel. It should be called after all necessary files have been retrieved and the userspace agent is ready to release the preserved state.”…”�”}”(hjÀLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M‹hjJLubhþ)�”}”(hŒvThe function iterates through all tracked files. For each file, it performs the following sequence of cleanup actions:”h]”hŒvThe function iterates through all tracked files. For each file, it performs the following sequence of cleanup actions:”…”�”}”(hjÏLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M�hjJLubj})�”}”(hhh]”(j)�”}”(hŒ”If file is not yet retrieved, retrieves it, and calls can_finish() on every file in the file_set. If all can_finish return true, continue to finish.”h]”hþ)�”}”(hŒ”If file is not yet retrieved, retrieves it, and calls can_finish() on every file in the file_set. If all can_finish return true, continue to finish.”h]”hŒ”If file is not yet retrieved, retrieves it, and calls can_finish() on every file in the file_set. If all can_finish return true, continue to finish.”…”�”}”(hjåLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M’hjáLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÞLubj)�”}”(hŒxCalls the handler's .finish() callback (via luo_file_finish_one) to allow for final resource cleanup within the handler.”h]”hþ)�”}”(hŒxCalls the handler's .finish() callback (via luo_file_finish_one) to allow for final resource cleanup within the handler.”h]”hŒzCalls the handler’s .finish() callback (via luo_file_finish_one) to allow for final resource cleanup within the handler.”…”�”}”(hjþLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M•hjúLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÞLubj)�”}”(hŒŠReleases LUO's ownership reference on the 'struct file' via fput(). This is the counterpart to the get_file() call in luo_retrieve_file().”h]”hþ)�”}”(hŒŠReleases LUO's ownership reference on the 'struct file' via fput(). This is the counterpart to the get_file() call in luo_retrieve_file().”h]”hŒ�Releases LUO’s ownership reference on the ‘struct file’ via fput(). This is the counterpart to the get_file() call in luo_retrieve_file().”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M—hjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÞLubj)�”}”(hŒ@Removes the 'struct luo_file' from the file_set's internal list.”h]”hþ)�”}”(hj.Mh]”hŒFRemoves the ‘struct luo_file’ from the file_set’s internal list.”…”�”}”(hj0Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M™hj,Mubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÞLubj)�”}”(hŒ`. The caller must initialize this structure, including a unique 'compatible' string and a valid 'fh' callbacks. This function adds the handler to the global list of supported file handlers. **Context** Typically called during module initialization for file types that support live update preservation. **Return** 0 on success. Negative errno on failure.”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hjßQh]”hŒ Parameters”…”�”}”(hjáQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjÝQubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MchjÙQubjÉ)�”}”(hhh]”jÎ)�”}”(hXE``struct liveupdate_file_handler *fh`` Pointer to a caller-allocated :c:type:`struct liveupdate_file_handler `. The caller must initialize this structure, including a unique 'compatible' string and a valid 'fh' callbacks. This function adds the handler to the global list of supported file handlers. ”h]”(jÔ)�”}”(hŒ&``struct liveupdate_file_handler *fh``”h]”jž)�”}”(hjþQh]”hŒ"struct liveupdate_file_handler *fh”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjüQubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MchjøQubjå)�”}”(hhh]”hþ)�”}”(hXPointer to a caller-allocated :c:type:`struct liveupdate_file_handler `. The caller must initialize this structure, including a unique 'compatible' string and a valid 'fh' callbacks. This function adds the handler to the global list of supported file handlers.”h]”(hŒPointer to a caller-allocated ”…”�”}”(hjRh²hh³Nh´Nubh)�”}”(hŒB:c:type:`struct liveupdate_file_handler `”h]”jž)�”}”(hj!Rh]”hŒstruct liveupdate_file_handler”…”�”}”(hj#Rh²hh³Nh´Nubah}”(h]”h ]”(j…j†Œc-type”eh"]”h$]”h&]”uh1j�hjRubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j†Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj˜Œliveupdate_file_handler”uh1hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M`hjRubhŒÅ. The caller must initialize this structure, including a unique ‘compatible’ string and a valid ‘fh’ callbacks. This function adds the handler to the global list of supported file handlers.”…”�”}”(hjRh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hýh³j>Rh´M`hjRubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjøQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jRh´MchjõQubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhjÙQubhþ)�”}”(hŒ **Context**”h]”jò )�”}”(hj]Rh]”hŒContext”…”�”}”(hj_Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj[Rubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MehjÙQubhþ)�”}”(hŒcTypically called during module initialization for file types that support live update preservation.”h]”hŒcTypically called during module initialization for file types that support live update preservation.”…”�”}”(hjsRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MehjÙQubhþ)�”}”(hŒ **Return**”h]”jò )�”}”(hj„Rh]”hŒReturn”…”�”}”(hj†Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj‚Rubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhhjÙQubhþ)�”}”(hŒ(0 on success. Negative errno on failure.”h]”hŒ(0 on success. Negative errno on failure.”…”�”}”(hjšRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´MhhjÙQubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´NubjI )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jU Œ/liveupdate_unregister_file_handler (C function)”Œ$c.liveupdate_unregister_file_handler”hNt”auh1jH hj"h²hh³Nh´Nubj[ )�”}”(hhh]”(j` )�”}”(hŒLvoid liveupdate_unregister_file_handler (struct liveupdate_file_handler *fh)”h]”jf )�”}”(hŒKvoid liveupdate_unregister_file_handler(struct liveupdate_file_handler *fh)”h]”(j,")�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÉRh²hh³Nh´Nubah}”(h]”h ]”j8"ah"]”h$]”h&]”uh1j+"hjÅRh²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M’ubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjØRh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjÅRh²hh³j×Rh´M’ubj� )�”}”(hŒ"liveupdate_unregister_file_handler”h]”j• )�”}”(hŒ"liveupdate_unregister_file_handler”h]”hŒ"liveupdate_unregister_file_handler”…”�”}”(hjêRh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjæRubah}”(h]”h ]”(j§ j¨ eh"]”h$]”h&]”hÅhÆuh1jŽ hjÅRh²hh³j×Rh´M’ubjd")�”}”(hŒ$(struct liveupdate_file_handler *fh)”h]”jj")�”}”(hŒ"struct liveupdate_file_handler *fh”h]”(jl )�”}”(hjo h]”hŒstruct”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”jx ah"]”h$]”h&]”uh1jk hjSubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjSubh)�”}”(hhh]”j• )�”}”(hŒliveupdate_file_handler”h]”hŒliveupdate_file_handler”…”�”}”(hj$Sh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hj!Subah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j†Œreftype”j1%Œ reftarget”j&SŒmodname”NŒ classname”Njj)�”}”j]”j9%)�”}”j1%jìRsbŒ$c.liveupdate_unregister_file_handler”†”asbuh1hhjSubj~ )�”}”(hŒ ”h]”hŒ ”…”�”}”(hjDSh²hh³Nh´Nubah}”(h]”h ]”jŠ ah"]”h$]”h&]”uh1j} hjSubjM%)�”}”(hjP%h]”hŒ*”…”�”}”(hjRSh²hh³Nh´Nubah}”(h]”h ]”jY%ah"]”h$]”h&]”uh1jL%hjSubj• )�”}”(hŒfh”h]”hŒfh”…”�”}”(hj_Sh²hh³Nh´Nubah}”(h]”h ]”j  ah"]”h$]”h&]”uh1j” hjSubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1ji"hjþRubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc"hjÅRh²hh³j×Rh´M’ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj² ˆuh1je j³ j´ hjÁRh²hh³j×Rh´M’ubah}”(h]”j¼Rah ]”(j¸ j¹ eh"]”h$]”h&]”j½ ˆj¾ )j¿ huh1j_ h³j×Rh´M’hj¾Rh²hubjÁ )�”}”(hhh]”hþ)�”}”(hŒ$Unregister a liveupdate file handler”h]”hŒ$Unregister a liveupdate file handler”…”�”}”(hj‰Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M’hj†Sh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀ hj¾Rh²hh³j×Rh´M’ubeh}”(h]”h ]”(j†Œfunction”eh"]”h$]”h&]”já j†jâ j¡Sjã j¡Sjä ‰jå ‰jæ ‰uh1jZ h²hhj"h³Nh´Nubjè )�”}”(hŒí**Parameters** ``struct liveupdate_file_handler *fh`` The file handler to unregister **Description** Unregisters the file handler from the liveupdate core. This function reverses the operations of liveupdate_register_file_handler().”h]”(hþ)�”}”(hŒ**Parameters**”h]”jò )�”}”(hj«Sh]”hŒ Parameters”…”�”}”(hj­Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hj©Subah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M–hj¥SubjÉ)�”}”(hhh]”jÎ)�”}”(hŒF``struct liveupdate_file_handler *fh`` The file handler to unregister ”h]”(jÔ)�”}”(hŒ&``struct liveupdate_file_handler *fh``”h]”jž)�”}”(hjÊSh]”hŒ"struct liveupdate_file_handler *fh”…”�”}”(hjÌSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÈSubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M“hjÄSubjå)�”}”(hhh]”hþ)�”}”(hŒThe file handler to unregister”h]”hŒThe file handler to unregister”…”�”}”(hjãSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³jßSh´M“hjàSubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÄSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÍh³jßSh´M“hjÁSubah}”(h]”h ]”h"]”h$]”h&]”uh1jÈhj¥Subhþ)�”}”(hŒ**Description**”h]”jò )�”}”(hjTh]”hŒ Description”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñ hjTubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M•hj¥Subhþ)�”}”(hŒƒUnregisters the file handler from the liveupdate core. This function reverses the operations of liveupdate_register_file_handler().”h]”hŒƒUnregisters the file handler from the liveupdate core. This function reverses the operations of liveupdate_register_file_handler().”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/liveupdate:65: ./kernel/liveupdate/luo_file.c”h´M”hj¥Subeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jç hj"h²hh³Nh´Nubeh}”(h]”Œ internal-api”ah ]”h"]”Œ internal api”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K7ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒSee Also”h]”hŒSee Also”…”�”}”(hj`”h]”hþ)�”}”(hjOTh]”h)�”}”(hjOTh]”hŒinline”“”)�”}”(hjOTh]”hŒLive Update uAPI”…”�”}”(hjYTh²hh³Nh´Nubah}”(h]”h ]”(j…Œstd”Œstd-doc”eh"]”h$]”h&]”uh1jWThjTTubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”jcTŒreftype”Œdoc”Œ refexplicit”ˆŒrefwarn”ˆj˜Œ/userspace-api/liveupdate”uh1hh³hÇh´KGhjQTubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³hÇh´KGhjMTubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjJTh²hh³hÇh´Nubj)�”}”(hŒ:doc:`/core-api/kho/index`”h]”hþ)�”}”(hjƒTh]”h)�”}”(hjƒTh]”jXT)�”}”(hjƒTh]”hŒ/core-api/kho/index”…”�”}”(hj‹Th²hh³Nh´Nubah}”(h]”h ]”(j…Œstd”Œstd-doc”eh"]”h$]”h&]”uh1jWThjˆTubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j’Œ refdomain”j•TŒreftype”Œdoc”Œ refexplicit”‰Œrefwarn”ˆj˜Œ/core-api/kho/index”uh1hh³hÇh´KHhj…Tubah}”(h]”h ]”h"]”h$]”h&]”uh1hýh³hÇh´KHhj�Tubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjJTh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jkjluh1jh³hÇh´KGhj9Th²hubeh}”(h]”Œsee-also”ah ]”h"]”Œsee also”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KEubeh}”(h]”Œlive-update-orchestrator”ah ]”h"]”Œlive update orchestrator”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jìTŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jÆTjÃTj=j:jÀj½jîjëj4 j1 jþ!jû!j6Tj3Tj¾Tj»TuŒ nametypes”}”(jÆT‰j=‰jÀ‰jî‰j4 ‰jþ!‰j6T‰j¾T‰uh}”(jÃThÊj:j¾j½j@jëjÃj1 jñjû!j7 jW ja j™ jž jÞjãjrjwjjj-j2j¹j¿j•jšjIjNjÂjÇjMjRj j" j3Tj"j"j#"j\#ja#j³$j¸$j˜&j�&j@(jE(jè)jí)ji+jn+j&.j+.j†0j‹0jÅ2jÊ2j5j 5jb6jg6j¬8j±8jî9jó9j?=jD=jÓ@jØ@jùBjþBjÊEjÏEj*Hj/HjaKjfKjâMjçMjðPjõPj¼RjÁRj»Tj9TuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.