Lines Matching refs:variable
8 unmodified. The shadow variable API described in this document is used
14 used to describe shadow variable version, class or type, etc. More
29 * The klp_shadow variable data structure encapsulates both tracking
40 klp_shadow_get_or_alloc() are zeroing the variable by default.
46 to do actions that can be done only once when a new variable is allocated.
48 * klp_shadow_get() - retrieve a shadow variable data pointer
51 * klp_shadow_alloc() - allocate and add a new shadow variable
60 - allocate a new shadow variable
61 - initialize the variable using a custom constructor and data when provided
64 * klp_shadow_get_or_alloc() - get existing or alloc a new shadow variable
69 - return existing shadow variable
73 - allocate a new shadow variable
74 - initialize the variable using a custom constructor and data when provided
77 * klp_shadow_free() - detach and free a <obj, id> shadow variable
83 - free shadow variable
91 - free shadow variable
97 (See the example shadow variable livepatch modules in samples/livepatch/
114 manner. Shadow variable allocation and setup can then be considered
116 parent "goes live" (ie, any shadow variable get-API requests are made
132 /* Attach a corresponding shadow variable, then initialize it */
140 When requiring a ps_lock, query the shadow variable API to retrieve one
154 variable::
197 This usage will create a shadow variable, only if needed, otherwise it
201 A shadow variable can be freed just before its parent object is freed,
202 or even when the shadow variable itself is no longer required.
210 doesn't matter what data value the shadow variable holds, its existence