Lines Matching full:scope
8 * DOC: scope-based cleanup helpers
24 * dropped when the associated variable goes out of scope::
32 * when @dev goes out of scope (automatic variable scope). If a function
43 * dropped when the scope where guard() is invoked ends::
50 * scope of automatic variable declaration. Take the following example::
68 * "When multiple variables in the same scope have cleanup attributes,
69 * at exit from the scope their associated cleanup functions are run in
73 * mid-function scope rather than at the top of the file. Take the
139 * resources that need a "goto" cleanup to scope-based cleanup, or
277 * similar to CLASS(name, scope)(args), except the variable (with the
278 * explicit name 'scope') is declard in a for-loop such that its scope is
320 * It is needed because the other part - "__guard_ptr(_name)(&scope)" - is too
324 for (CLASS(_name, scope)(args); \
325 __guard_ptr(_name)(&scope) || !__is_cond_ptr(_name); \
336 for (CLASS(_name, scope)(args); true; ({ goto _label; })) \
337 if (!__guard_ptr(_name)(&scope)) { \