Searched refs:snums (Results 1 – 1 of 1) sorted by relevance
28 static qe_snum_t snums[QE_NUM_OF_SNUM]; variable140 snums[i].state = QE_SNUM_STATE_FREE; in qe_snums_init()141 snums[i].num = thread_snum[i]; in qe_snums_init()151 if (snums[i].state == QE_SNUM_STATE_FREE) { in qe_get_snum()152 snums[i].state = QE_SNUM_STATE_USED; in qe_get_snum()153 snum = snums[i].num; in qe_get_snum()166 if (snums[i].num == snum) { in qe_put_snum()167 snums[i].state = QE_SNUM_STATE_FREE; in qe_put_snum()