Searched refs:mr_writes_waiting (Results 1 – 2 of 2) sorted by relevance
58 mrp->mr_writes_waiting = 0; in mrlock_init()134 if(mrp->mr_writes_waiting > 0) { in mraccessf()154 mrp->mr_writes_waiting++; in mrupdatef()156 mrp->mr_writes_waiting--; in mrupdatef()171 if(mrp->mr_writes_waiting > 0 || mrp->mr_count < 0) { in mrtryaccess()216 if (mrp->mr_writes_waiting) { /* Wake-up first writer waiting */ in mrwake()256 return (mrp->mr_reads_waiting | mrp->mr_writes_waiting); in ismrlocked()
50 unsigned short mr_writes_waiting; member