Lines Matching refs:stack
1536 The stack snapshot is taken immediately after the parent has
1673 try taking stack snapshots of it. */
2539 /* For each semaphore, we maintain a stack of SOs. When a 'post'
2543 SO), and the SO is pushed on the semaphore's stack.
2546 semaphore, we pop a SO off the semaphore's stack (which should be
2550 It may not be necessary to use a stack - perhaps a bag of SOs would
2604 /* xa is the stack for this semaphore. */
2610 return NULL; /* odd, the stack is empty */
2616 /* hmm, that's odd. No stack for this semaphore. */
2632 /* Empty out the semaphore's SO stack. This way of doing it is
2662 /* Empty out the semaphore's SO stack. This way of doing it is
2679 each of them, and push them all on the stack. */
2694 on on a stack of SOs associated with 'sem'. This is later used
2697 stack, they acquire dependencies on the posting thread
2724 the 'sem' from this semaphore's SO-stack, and do a strong recv
2957 /* and we don't need this any more. Perhaps a stack-allocated
3626 XArray* stack; /* of Lock* */
3640 stack = VG_(newXA)( HG_(zalloc), "hg.lddft.1", HG_(free), sizeof(Lock*) );
3643 (void) VG_(addToXA)( stack, &src );
3647 ssz = VG_(sizeXA)( stack );
3651 here = *(Lock**) VG_(indexXA)( stack, ssz-1 );
3652 VG_(dropTailXA)( stack, 1 );
3664 (void) VG_(addToXA)( stack, &succs_words[i] );
3668 VG_(deleteXA)( stack );
4152 // mostly above) that we assume implies a stack reference.
4236 stack. In fact just skip stack refs that are within 4 pages
4238 filters out most stack references. */
4936 else if VG_BOOL_CLO(arg, "--check-stack-refs",
4951 " full: show both stack traces for a data race (can be very slow)\n"
4955 " --check-stack-refs=no|yes race-check reads and writes on the\n"
4956 " main stack and thread stacks? [yes]\n"
5021 //zz VG_(printf)(" hbefore: %'10lu stack high water mark\n",