Lines Matching refs:descs_
22 internal_memset(&descs_, 0, sizeof(descs_)); in MutexSet()
28 if (descs_[i].id == id) { in Add()
29 descs_[i].count++; in Add()
30 descs_[i].epoch = epoch; in Add()
39 if (descs_[i].epoch < minepoch) { in Add()
40 minepoch = descs_[i].epoch; in Add()
48 descs_[size_].id = id; in Add()
49 descs_[size_].write = write; in Add()
50 descs_[size_].epoch = epoch; in Add()
51 descs_[size_].count = 1; in Add()
57 if (descs_[i].id == id) { in Del()
58 if (--descs_[i].count == 0) in Del()
67 if (descs_[i].id == id) { in Remove()
76 descs_[i] = descs_[size_ - 1]; in RemovePos()
86 return descs_[i]; in Get()