Lines Matching refs:strlock
4500 * qprocsoff, removeq, and strlock:
4503 * - strlock acquires the sd_lock and sd_reflock to prevent putnext,
4506 * - strlock waits for sd_refcnt to be zero to wait for e.g. any canputnext
4508 * - optionally for every syncq in the stream strlock acquires all the
4536 * Assumes that only one thread attempts to call strlock for a given
4538 * This assumption is guaranteed since strlock is only called by insertq
4551 * The locks acquired and held by strlock depends on a few factors.
4559 strlock(struct stdata *stp, sqlist_t *sqlist)
4679 * Drop all the locks that strlock acquired.
4734 * q_next and related pointer using strlock().
4767 strlock(stp, NULL);
4843 * strlock() ensures that there is either no threads executing inside perimeter
4846 * strlock() compares the value of sq_count with the number of threads inside
4848 * any threads waiting in strlock() when the sq_rmqcount increases.
4916 strlock(stp, sqlist);
7084 * Assumes that the stream is strlock()'ed. We don't come here if there
7541 * freezestr() which grabs all QLOCKs and with strlock() which grabs both
7832 * blocked. The call to strlock will ensure that all activity in the stream head
7851 * Use strlock() to wait for the stream head sq_count to drop to zero
7859 strlock(stpdown, &sqlist);