Lines Matching defs:entity

64  *   control definition for each controlled resource-entity pair on the system.
141 * Traversing any of the various resource control entity lists requires
144 * Each individual resource control set associated with an entity must have
149 * rctl_lists_lock, entity->rcs_lock.
151 * The projects(4) database and project entity resource controls
155 * blocks that need to be set while holding the entity->rcs_lock. This
541 panic("unknown rctl entity type %d seen", rcd->rcd_entity);
549 rctl_entity_obtain_entity_p(rctl_entity_t entity, struct proc *p,
553 e->rcep_t = entity;
555 switch (entity) {
576 panic("unknown rctl entity type %d seen", entity);
1019 * controlled entity.
1047 * resource control set for the specified entity.
1056 rctl_set_init_prealloc(rctl_entity_t entity)
1063 if (rctl_lists[entity] == NULL)
1068 for (rde = rctl_lists[entity]; rde != NULL; rde = rde->rcd_next) {
1086 * system entity requiring resource controls, such as a process or a task.
1097 rctl_set_init(rctl_entity_t entity, struct proc *p, rctl_entity_p_t *e,
1104 rset->rcs_entity = entity;
1106 if (rctl_lists[entity] == NULL)
1112 for (rde = rctl_lists[entity]; rde != NULL; rde = rde->rcd_next) {
1249 * of the owning process and of the process associated with the entity
2327 rctl_entity_t entity,
2365 rctl_de->rcd_entity = entity;
2405 * 3a. Insert rctl_dict_entry_t * in appropriate entity list.
2410 switch (entity) {
2415 rctl_de->rcd_next = rctl_lists[entity];
2416 rctl_lists[entity] = rctl_de;
2419 panic("registering unknown rctl entity %d (%s)", entity,
2503 en = "unknown entity associated with process";
2770 * that haven't been set on this entity (since the only valid value is
2790 * If we have been called by rctl_test, look up the entity pointer