Lines Matching full:cid
888 int cid; in FreeResource() local
894 if (((cid = CLIENT_ID(id)) < LimitClients) && clientTable[cid].buckets) { in FreeResource()
895 head = &clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in FreeResource()
896 eltptr = &clientTable[cid].elements; in FreeResource()
924 int cid; in FreeResourceByType() local
928 if (((cid = CLIENT_ID(id)) < LimitClients) && clientTable[cid].buckets) { in FreeResourceByType()
929 head = &clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in FreeResourceByType()
939 clientTable[cid].elements--; in FreeResourceByType()
960 int cid; in ChangeResourceValue() local
963 if (((cid = CLIENT_ID(id)) < LimitClients) && clientTable[cid].buckets) { in ChangeResourceValue()
964 res = clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in ChangeResourceValue()
1194 int cid = CLIENT_ID(id); in dixLookupResourceByType() local
1201 if ((cid < LimitClients) && clientTable[cid].buckets) { in dixLookupResourceByType()
1202 res = clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in dixLookupResourceByType()
1215 cid = XaceHook(XACE_RESOURCE_ACCESS, client, id, res->type, in dixLookupResourceByType()
1217 if (cid == BadValue) in dixLookupResourceByType()
1219 if (cid != Success) in dixLookupResourceByType()
1220 return cid; in dixLookupResourceByType()
1231 int cid = CLIENT_ID(id); in dixLookupResourceByClass() local
1236 if ((cid < LimitClients) && clientTable[cid].buckets) { in dixLookupResourceByClass()
1237 res = clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in dixLookupResourceByClass()
1250 cid = XaceHook(XACE_RESOURCE_ACCESS, client, id, res->type, in dixLookupResourceByClass()
1252 if (cid != Success) in dixLookupResourceByClass()
1253 return cid; in dixLookupResourceByClass()