Searched refs:myast (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dast.h155 ast_t *myast = ast_pending(); \
157 if ((*myast |= (reasons)) != AST_NONE) \
158 { aston(myast); } \
163 ast_t *myast = ast_pending(); \
165 if ((*myast &= ~(reasons)) == AST_NONE) \
166 { astoff(myast); } \
173 ast_t *myast = ast_pending(); \
175 if ((*myast = ((*myast &~ AST_PER_THREAD) | (act)->ast)) != AST_NONE) \
176 { aston(myast); } \
[all...]
H A Dast.c107 ast_t *myast = ast_pending(); local
115 if (*myast & AST_CHUD_ALL) {
116 (*perf_hook)(reasons, myast);
118 if (*myast == AST_NONE)
123 *myast &= ~AST_CHUD_ALL;
125 reasons &= *myast;
126 *myast &= ~reasons;
/darwin-on-arm/xnu/osfmk/arm/
H A Dtrap.h67 typedef kern_return_t(*perfASTCallback) (ast_t reasons, ast_t * myast);
/darwin-on-arm/xnu/osfmk/chud/i386/
H A Dchud_osfmk_callback_i386.c334 chudxnu_private_chud_ast_callback(ast_t reasons, ast_t *myast) argument
341 if ((*myast & AST_CHUD_URGENT) && (reasons & (AST_URGENT | AST_CHUD_URGENT))) { // Only execute urgent callbacks if reasons specifies an urgent context.
342 *myast &= ~AST_CHUD_URGENT;
344 if (AST_URGENT == *myast) { // If the only flag left is AST_URGENT, we can clear it; we know that we set it, but if there are also other bits set in reasons then someone else might still need AST_URGENT, so we'll leave it set. The normal machinery in ast_taken will ensure it gets cleared eventually, as necessary.
345 *myast = AST_NONE;
351 if ((*myast & AST_CHUD) && (reasons & AST_CHUD)) { // Only execute non-urgent callbacks if reasons actually specifies AST_CHUD. This implies non-urgent callbacks since the only time this'll happen is if someone either calls ast_taken with AST_CHUD explicitly (not done at time of writing, but possible) or with AST_ALL, which of course includes AST_CHUD.
352 *myast &= ~AST_CHUD;
413 ast_t *myast = ast_pending(); local
416 *myast |= (AST_CHUD_URGENT | AST_URGENT);
418 *myast |
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dtrap.h153 typedef kern_return_t (*perfASTCallback)(ast_t reasons, ast_t *myast);
H A Dtrap.c477 ast_t *myast; local
519 myast = ast_pending();
523 if (*myast & AST_CHUD_ALL)
524 astfn(AST_CHUD_ALL, myast);
526 *myast &= ~AST_CHUD_ALL;
924 ast_t *myast; local
985 myast = ast_pending();
986 if (*myast & AST_CHUD_ALL) {
987 astfn(AST_CHUD_ALL, myast);

Completed in 74 milliseconds