/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 112 * - per vnode (entity->vme_vnode_hash) 113 * - per shared amp (entity->vme_amp_hash) 117 * (entity->vme_anon_hash) 131 * Each entity structure tracks which pages have been already visited for 132 * that entity (via previously inspected processes) so that these pages are 204 * The entity structure keeps the current rss/swap counts for each entity 206 * been visited for the entity. 222 mod_hash_t *vme_vnode_hash; /* vnodes visited for entity */ 223 mod_hash_t *vme_amp_hash; /* shared amps visited for entity */ 365 vmu_entity_t *entity = (vmu_entity_t *)val; local 464 vmu_entity_t *entity; local 639 vmu_entity_t *entity; local 1091 vmu_entity_t *entity; local 1898 vmu_entity_t *entity; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_methods.c | 171 * entity: either "self" or "parent" 178 char *entity; local 188 if ((ret = nvlist_lookup_string(args, "entity", &entity)) != 0) { 189 topo_mod_dprintf(mod, "Failed to lookup 'entity' arg (%s)\n", 194 if (strcasecmp(entity, "self") == 0) { 197 } else if (strcasecmp(entity, "parent") == 0) { 201 topo_mod_dprintf(mod, "Invalid 'entity' value\n");
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | rssread.sh | 274 typeset entity 282 # entity to ascii (fixme: add UTF-8 transliterations) 300 entity="" 307 entity+="$c" 311 # debugmsg "error &${entity}${c}#" 313 print -n -r -- "${entity}${c}" 314 entity="" 321 if [[ "${entity_cache["${entity}"]}" != "" ]] ; then 322 # debugmsg "match #${entity}# = #${entity_cache["${entity}"]}#" [all...] |
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg.h | 188 * Return values for functions that validate an entity against the templates. 221 typedef struct entity { struct 230 struct entity *sc_parent; 242 struct entity *sc_restarter; 243 struct entity *sc_global; 248 struct entity *sc_instance_restarter; 267 struct entity *sc_parent;
|
H A D | svccfg_xml.c | 835 lxml_get_pgroup(entity_t *entity, xmlNodePtr pgroup) argument 848 pg = internal_pgroup_find_or_create(entity, (char *)name, (char *)type); 1047 lxml_get_entity_method_context(entity_t *entity, xmlNodePtr ctx) argument 1051 pg = internal_pgroup_find_or_create(entity, SCF_PG_METHOD_CONTEXT, 1058 lxml_get_exec_method(entity_t *entity, xmlNodePtr emeth) argument 1066 if (entity->sc_op == SVCCFG_OP_APPLY) 1070 pg = internal_pgroup_find_or_create(entity, (char *)name, 1149 lxml_get_dependency(entity_t *entity, xmlNodePtr dependency) argument 1165 if (entity->sc_op == SVCCFG_OP_APPLY) 1169 pg = internal_pgroup_find_or_create(entity, (cha 1251 lxml_get_dependent(entity_t *entity, xmlNodePtr dependent) argument 1371 lxml_get_entity_stability(entity_t *entity, xmlNodePtr rstr) argument 1393 lxml_get_restarter(entity_t *entity, xmlNodePtr rstr) argument 1542 lxml_get_event(entity_t *entity, const char *pgname, xmlNodePtr np) argument 1570 lxml_get_notification_parameters(entity_t *entity, xmlNodePtr np) argument 3321 lxml_get_single_instance(entity_t *entity, xmlNodePtr si) argument [all...] |
H A D | svccfg_internal.c | 105 uu_die(gettext("entity list pool creation failed: %s\n"), 272 internal_entity_new(entity_type_t entity) argument 281 e->sc_etype = entity; 285 uu_die(gettext("Unable to create list for entity property " 653 uu_die(gettext("bad entity attach: %s is not a service\n"), 658 semerr(gettext("Multiple definitions of entity %s in service " 678 "entity %s.\n"), pgrp->sc_pgroup_name, ent->sc_name); 700 "entity %s.\n"), pg->sc_pgroup_name, ent->sc_name); 1242 * Initialize our entity structure.
|
H A D | svccfg_libscf.c | 65 /* The colon namespaces in each entity (each followed by a newline). */ 975 emsg_entity_not_selected = gettext("An entity is not selected.\n"); 1246 * an entity, return SCF_ERROR_CONSTRAINT_VIOLATED. If the entity cannot be 1310 * Create the entity named by fmri. Place a pointer to its libscf handle in 1562 refresh_running_snapshot(void *entity) argument 1569 r = take_snap(entity, snap_running, snap); 1576 * Refresh entity. If isservice is zero, take entity to be an scf_instance_t *. 1577 * Otherwise take entity t 1589 refresh_entity(int isservice, void *entity, const char *fmri, scf_instance_t *inst, scf_iter_t *iter, char *name_buf) argument 10054 void *entity; local 12008 void *entity = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 153 entity_item_t *entity, 1335 } else /* just a regular entity */ { 1349 * Prints the entity items recursively 1352 hidparser_print_entity(entity_item_t *entity, int indent_level) argument 1365 attr = entity->entity_item_attributes; 1372 indent_space, items[entity->entity_item_type], 1373 (entity->entity_item_params_leng ? 1374 entity->entity_item_params[0] & 0xFF : 0x00)); 2086 entity_item_t *entity; local 2093 entity 2143 int entity = scan_ifp->hidparser_tok_token; local [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | client.c | 497 entity_destroy(repcache_entity_t *entity) argument 499 (void) pthread_mutex_lock(&entity->re_lock); 500 rc_node_clear(&entity->re_node, 0); 501 (void) pthread_mutex_unlock(&entity->re_lock); 503 uu_avl_node_fini(entity, &entity->re_link, entity_pool); 504 (void) pthread_mutex_destroy(&entity->re_lock); 505 rc_node_ptr_free_mem(&entity->re_node); 506 uu_free(entity); 512 repcache_entity_t *entity; local 517 add_log_ptr(get_log(), RC_PTR_TYPE_ENTITY, id, entity); local 1094 repcache_entity_t *entity; local [all...] |
H A D | rc_node.c | 40 * the "localhost" scope have some entity as a parent, and therefore form 43 * The entity tree is rooted at rc_scope, which rc_node_init() initializes to 158 * traversed by such an iterator may not have the target entity as a parent. 163 * composition-savvy, and that we have a "composed property group" entity 4657 get_delete_event_id(rep_protocol_entity_t entity, uint32_t pgflags) argument 4662 switch (entity) { 6336 * For composed iterators, then check to see if there's an overlapping entity 6463 * there's an entity at a higher level with the same name. If
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | rctl.c | 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, argument 553 e->rcep_t = entity; 555 switch (entity) { 1056 rctl_set_init_prealloc(rctl_entity_t entity) argument 1097 rctl_set_init(rctl_entity_t entity, struct proc *p, rctl_entity_p_t *e, rctl_set_t *rset, rctl_alloc_gp_t *ragp) argument 2325 rctl_register( const char *name, rctl_entity_t entity, int global_flags, rlim64_t max_native, rlim64_t max_ilp32, rctl_ops_t *ops) argument [all...] |
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 70 " info [entity name]\n" \ 72 " create entity name [property-list]\n" \ 73 " make an entity of the specified type and name\n" \ 74 " destroy entity name\n" \ 75 " remove the specified entity\n" \ 76 " modify entity name [property-list]\n" \ 77 " change the listed properties on the named entity\n" \ 88 " create a system entity, with one pool entity and resources to\n" \ 90 " rename entity old_nam 480 entity: PCE_SYSTEM {$$ = PCE_SYSTEM;} label [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | obj.c | 340 * caculate the hash value of a network entity object. 342 * p - the pointer pointers to network entity object or 344 * of a network entity object. 364 /* p pointers to a network entity object */ 894 * hash table for network entity objects. 1719 * generate a default network entity object. 1721 * return - pointer of the default network entity object. 1742 /* set default entity name */ 1875 isns_obj_t *entity = NULL; local 1880 /* parse the entity objec [all...] |
H A D | func.c | 465 * entity - the object which is being added as key attributes. 473 isns_obj_t *entity 481 isns_attr_t *attr = &entity->attrs[ATTR_INDEX_ENTITY(tag)]; 517 ec = rsp_add_op(conn, entity); 634 isns_obj_t *ety = NULL; /* network entity object */ 669 /* error if it is a network entity */ 674 /* update or replace the network entity object */ 682 /* de-register the network entity if replace is true */ 698 /* register the network entity object */ 786 /* an error, instead, remove the network entity */ [all...] |
/illumos-gate/usr/src/cmd/stat/fsstat/ |
H A D | fsstat.c | 86 * structure. We only need two per entity and we can swap between them. 94 * An "entity" is anything we're collecting statistics on, it could 96 * e_name is the name of the entity (e.g. mount point or FS-type) 101 typedef struct entity { struct 102 char *e_name; /* name of entity */ 105 int e_type; /* type of entity */ 667 * set_mntpt() looks at the entity's name (e_name) and finds its 759 * the name (e_name) of the entity, attempt to construct a ksname suitable 796 * If the entity in the exception list of fstypes, then
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 1025 * entity already set up with different type 1515 * entity already set up with different type 1592 * We delay ENTITY_RESETs until right before the entity is used. By doing 1642 * big, bad entity id, request not applicable to entity, name too long for 2607 * entity already set up with different type 3086 * their entity ids. 3091 int entity = dst->rd_d.rd_entity; local 3094 dst_arg->rd_d.rd_entity = entity; 5673 * big, bad entity i [all...] |