Searched refs:myast (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | ast.h | 155 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 D | ast.c | 107 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 D | trap.h | 67 typedef kern_return_t(*perfASTCallback) (ast_t reasons, ast_t * myast);
|
/darwin-on-arm/xnu/osfmk/chud/i386/ |
H A D | chud_osfmk_callback_i386.c | 334 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 D | trap.h | 153 typedef kern_return_t (*perfASTCallback)(ast_t reasons, ast_t *myast);
|
H A D | trap.c | 477 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 28 milliseconds