Lines Matching refs:entities
81 #define NENTITY_INIT 1 /* Initial number of entities to allocate */
108 /* Types of entities (e_type) */
516 entity_t **entityp) /* Array of stat-able entities */
518 int nentities = 0; /* Number of entities found */
524 * We know exactly what the maximum number of entities is going
528 perror("calloc() entities");
584 * operands are stat-able entities.
592 * be stat-able entities.
707 * We have an array of entities that are potentially stat-able. Using
716 set_ksnames(entity_t *entities, int nentities, char **fstypes, int nfstypes)
722 entity_t *ep = &entities[i];
734 if (entities[i].e_vs == NULL) {
772 if (entities[i].e_vs == NULL) {
814 int nentities; /* Number of stat-able entities */
815 entity_t *entities; /* Array of stat-able entities */
905 argc, argv, optind, &interval, &count, &entities);
926 * requested FStypes only (-F), then fill in the entities[]
930 if ((entities = calloc(nfstypes, sizeof (entity_t))) == NULL) {
937 entities[nentities].e_name = strdup(fstypes[i]);
943 set_ksnames(entities, nentities, fstypes, nfstypes);
960 * The following loop walks through the entities[] list to "prime
964 entity_t *ent = &entities[j];
977 entities[j].e_ksname[0] = 0;
988 entities[j].e_name);
1021 entity_t *ent = &entities[j];
1060 * If the entities we were observing are no longer there