Lines Matching refs:uidtable
121 static struct uidentry uidtable[MAX_UID_ENTRY];
166 uidtable[0].allocated = ALLOCATED;
167 uidtable[0].userid = 0;
180 if (uidtable[i].allocated == ALLOCATED)
193 if (uidtable[i].allocated == ALLOCATED &&
194 uidtable[i].userid == userid)
213 if (uidtable[i].allocated == ALLOCATED)
217 uidaddr[j].uid = uidtable[i].userid;
239 * Search entire uidtable, to prevent duplicate uid
244 if ((uidtable[i].allocated == ALLOCATED) &&
245 (uidtable[i].userid == *userid))
260 if (uidtable[i].allocated != ALLOCATED)
262 uidtable[i].allocated = ALLOCATED;
263 uidtable[i].userid = *userid;
269 /* uidtable overflow */
270 ErrorF("Server problem: Please enlarge the table size of uidtable \n");
289 if ((uidtable[i].allocated == ALLOCATED) &&
290 (uidtable[i].userid == *userid))
293 uidtable[i].allocated = EMPTIED;