/titanic_51/usr/src/uts/common/os/ |
H A D | zone.c | 30 * A zone is a named collection of processes, namespace constraints, 36 * (zoneid_t) are used to track zone association. Zone IDs are 37 * dynamically generated when the zone is created; if a persistent 39 * etc.), the zone name should be used. 44 * The global zone (zoneid 0) is automatically associated with all 45 * system resources that have not been bound to a user-created zone. 47 * have a global zone, and all processes, mounts, etc. are 48 * associated with that zone. The global zone is generally 55 * The states in which a zone ma 613 struct zone *zone; zone_key_create() local 702 zone_t *zone; zone_key_delete() local 780 zone_setspecific(zone_key_t key,zone_t * zone,const void * data) zone_setspecific() argument 802 zone_getspecific(zone_key_t key,zone_t * zone) zone_getspecific() argument 821 zone_zsd_configure(zone_t * zone) zone_zsd_configure() argument 860 zone_zsd_callbacks(zone_t * zone,enum zsd_callback_type ct) zone_zsd_callbacks() argument 910 zone_free_zsd(zone_t * zone) zone_free_zsd() argument 948 zone_t *zone; zsd_apply_all_zones() local 980 zsd_apply_all_keys(zsd_applyfn_t * applyfn,zone_t * zone) zsd_apply_all_keys() argument 1012 zsd_apply_create(kmutex_t * lockp,boolean_t zone_lock_held,zone_t * zone,zone_key_t key) zsd_apply_create() argument 1091 zsd_apply_shutdown(kmutex_t * lockp,boolean_t zone_lock_held,zone_t * zone,zone_key_t key) zsd_apply_shutdown() argument 1172 zsd_apply_destroy(kmutex_t * lockp,boolean_t zone_lock_held,zone_t * zone,zone_key_t key) zsd_apply_destroy() argument 1243 zsd_wait_for_creator(zone_t * zone,struct zsd_entry * t,kmutex_t * lockp) zsd_wait_for_creator() argument 1270 zsd_wait_for_inprogress(zone_t * zone,struct zsd_entry * t,kmutex_t * lockp) zsd_wait_for_inprogress() argument 1296 zone_free_datasets(zone_t * zone) zone_free_datasets() argument 1357 zone_t *zone = e->rcep_p.zone; zone_cpu_cap_set() local 1383 zone_t *zone = p->p_zone; zone_lwps_usage() local 1438 zone_t *zone = p->p_zone; zone_procs_usage() local 1727 zone_uniqid(zone_t * zone) zone_uniqid() argument 1741 zone_t *zone; zone_get_kcred() local 1755 zone_t *zone = ksp->ks_private; zone_lockedmem_kstat_update() local 1769 zone_t *zone = ksp->ks_private; zone_nprocs_kstat_update() local 1783 zone_t *zone = ksp->ks_private; zone_swapresv_kstat_update() local 1795 zone_kstat_create_common(zone_t * zone,char * name,int (* updatefunc)(kstat_t *,int)) zone_kstat_create_common() argument 1823 zone_t *zone = ksp->ks_private; zone_misc_kstat_update() local 1853 zone_misc_kstat_create(zone_t * zone) zone_misc_kstat_create() argument 1897 zone_kstat_create(zone_t * zone) zone_kstat_create() argument 1926 zone_kstat_delete(zone_t * zone) zone_kstat_delete() argument 2253 zone_free(zone_t * zone) zone_free() argument 2325 zone_status_set(zone_t * zone,zone_status_t status) zone_status_set() argument 2360 zone_status_get(zone_t * zone) zone_status_get() argument 2366 zone_set_bootargs(zone_t * zone,const char * zone_bootargs) zone_set_bootargs() argument 2386 zone_set_brand(zone_t * zone,const char * brand) zone_set_brand() argument 2427 zone_set_fs_allowed(zone_t * zone,const char * zone_fs_allowed) zone_set_fs_allowed() argument 2448 zone_set_initname(zone_t * zone,const char * zone_initname) zone_set_initname() argument 2467 zone_set_phys_mcap(zone_t * zone,const uint64_t * zone_mcap) zone_set_phys_mcap() argument 2479 zone_set_sched_class(zone_t * zone,const char * new_class) zone_set_sched_class() argument 2502 zone_status_wait(zone_t * zone,zone_status_t status) zone_status_wait() argument 2517 zone_status_wait_cpr(zone_t * zone,zone_status_t status,char * str) zone_status_wait_cpr() argument 2542 zone_status_wait_sig(zone_t * zone,zone_status_t status) zone_status_wait_sig() argument 2563 zone_status_timedwait(zone_t * zone,clock_t tim,zone_status_t status) zone_status_timedwait() argument 2583 zone_status_timedwait_sig(zone_t * zone,clock_t tim,zone_status_t status) zone_status_timedwait_sig() argument 2653 ZONE_IS_UNREF(zone) global() argument 2827 zone_task_rele(zone_t * zone) zone_task_rele() argument 2893 zone_t *zone = NULL; zone_find_all_by_id() local 2907 zone_t *zone = NULL; zone_find_all_by_label() local 2925 zone_t *zone = NULL; zone_find_all_by_name() local 2945 zone_t *zone; zone_find_by_id() local 2972 zone_t *zone; zone_find_by_label() local 3000 zone_t *zone; zone_find_by_name() local 3036 zone_t *zone; zone_find_by_path() local 3159 zone_ncpus_get(zone_t * zone) zone_ncpus_get() argument 3172 zone_ncpus_online_get(zone_t * zone) zone_ncpus_online_get() argument 3183 zone_pool_get(zone_t * zone) zone_pool_get() argument 3195 zone_pool_set(zone_t * zone,pool_t * pool) zone_pool_set() argument 3210 zone_pset_get(zone_t * zone) zone_pset_get() argument 3223 zone_pset_set(zone_t * zone,psetid_t newpsetid) zone_pset_set() argument 3263 zone_t *zone; zone_walk() local 3289 zone_set_root(zone_t * zone,const char * upath) zone_set_root() argument 3358 zone_set_name(zone_t * zone,const char * uname) zone_set_name() argument 3431 zone_t *zone = curproc->p_zone; zthread_create() local 3490 zone_t *zone = pp->p_zone; zthread_exit() local 3665 zone_t *zone; global() member 3683 zone_t *zone = za->zone; zsched() local 4048 zone_t *zone; zone_is_nested() local 4074 zone_set_privset(zone_t * zone,const priv_set_t * zone_privs,size_t zone_privssz) zone_set_privset() argument 4182 zone_set_label(zone_t * zone,const bslabel_t * lab,uint32_t doi) zone_set_label() argument 4202 parse_zfs(zone_t * zone,caddr_t ubuf,size_t buflen) parse_zfs() argument 4267 zone_t *zone, *ztmp; zone_create() local 4600 zone_t *zone; zone_boot() local 4649 zone_empty(zone_t * zone) zone_empty() argument 4683 zone_list_access(zone_t * zone) zone_list_access() argument 4720 zone_t *zone; zone_shutdown() local 4884 zone_log_refcounts(zone_t * zone) zone_log_refcounts() argument 4986 zone_t *zone; zone_destroy() local 5200 zone_t *zone; zone_getattr() local 5496 zone_t *zone; zone_setattr() local 5669 zone_t *zone; zone_enter() local 6089 zone_t *zone, *myzone; zone_list() local 6187 zone_t *zone; zone_lookup() local 6233 zone(int cmd, void *arg1, void *arg2, void *arg3, void *arg4) zone() function 6330 zone_t *zone; global() member 6364 zone_t *zone; zone_ki_call_zoneadmd() local 6492 zone_t *zone; zone_kadmin() local 6629 zone_t *zone = curproc->p_zone; zone_dataset_visible() local 6755 zone_t *zone; zone_find_by_any_path() local 6801 zone_find_dl(zone_t * zone,datalink_id_t linkid) zone_find_dl() argument 6815 zone_dl_exists(zone_t * zone,datalink_id_t linkid) zone_dl_exists() argument 6832 zone_t *zone; zone_add_datalink() local 6864 zone_t *zone; zone_remove_datalink() local 6891 zone_t *zone; zone_check_datalink() local 6929 zone_t *zone; zone_list_datalink() local 6983 zone_t *zone; zone_find_by_id_nolock() local 7001 zone_t *zone; zone_datalink_walk() local 7066 zone_t *zone; zone_set_network() local 7122 zone_t *zone; zone_get_network() local [all...] |
H A D | pool_pset.c | 45 #include <sys/zone.h> 64 * the pset the zone is currently bound to, and can read this value 70 * the number of configured and online cpus in the zone, we also cache 110 * Callback function used to apply a cpu configuration event to a zone. 113 pool_pset_setup_cb(zone_t *zone, void *arg) in pool_pset_setup_cb() argument 119 ASSERT(zone != NULL); in pool_pset_setup_cb() 121 if (zone == global_zone) in pool_pset_setup_cb() 123 if (zone_pset_get(zone) != sa->psetid) in pool_pset_setup_cb() 127 cpu_visibility_configure(sa->cpu, zone); in pool_pset_setup_cb() 130 cpu_visibility_unconfigure(sa->cpu, zone); in pool_pset_setup_cb() 207 pool_pset_zone_pset_set(zone_t * zone,void * arg) pool_pset_zone_pset_set() argument 392 pool_pset_visibility_change(psetid_t psetid,zone_t * zone,boolean_t add) pool_pset_visibility_change() argument 428 pool_pset_visibility_add(psetid_t psetid,zone_t * zone) pool_pset_visibility_add() argument 439 pool_pset_visibility_remove(psetid_t psetid,zone_t * zone) pool_pset_visibility_remove() argument 466 pool_pset_assoc_zone_cb(zone_t * zone,void * arg) pool_pset_assoc_zone_cb() argument [all...] |
H A D | tlabel.c | 36 #include <sys/zone.h> 162 * So we rely on conventions: zones, zone names, and zone paths 164 * the exported name to find the equivalent local zone and its 199 * Skip over zonepath (not including "root"), e.g. /zone/internal in getflabel_cipso() 205 /* Check if we now have something like "/zone/public/" */ in getflabel_cipso() 320 zone_t *zone; in getflabel() local 348 * Fast path, for objects in a labeled zone: everything except in getflabel() 349 * for lofs/nfs will be just the label of that zone. in getflabel() 354 zone in getflabel() [all...] |
H A D | cred.c | 61 #include <sys/zone.h> 109 get_ephemeral_zsd(zone_t *zone) in get_ephemeral_zsd() argument 113 eph_zsd = zone_getspecific(ephemeral_zone_key, zone); in get_ephemeral_zsd() 119 eph_zsd = zone_getspecific(ephemeral_zone_key, zone); in get_ephemeral_zsd() 131 eph_zsd->eph_nobody = crdup(zone->zone_kcred); in get_ephemeral_zsd() 134 eph_zsd->eph_nobody->cr_zone = zone; in get_ephemeral_zsd() 136 (void) zone_setspecific(ephemeral_zone_key, zone, eph_zsd); in get_ephemeral_zsd() 146 * This function is called when a zone is destroyed 352 * If cred uses label different from zone label, free it. 584 * (2) if the zone id 762 zone_t *zone = crgetzone(cr); crsetresuid() local 782 zone_t *zone = crgetzone(cr); crsetresgid() local 802 zone_t *zone = crgetzone(cr); crsetugid() local 1164 zone_t *zone; zone_kcred() local 1173 valid_ephemeral_uid(zone_t * zone,uid_t id) valid_ephemeral_uid() argument 1186 valid_ephemeral_gid(zone_t * zone,gid_t id) valid_ephemeral_gid() argument 1199 eph_uid_alloc(zone_t * zone,int flags,uid_t * start,int count) eph_uid_alloc() argument 1225 eph_gid_alloc(zone_t * zone,int flags,gid_t * start,int count) eph_gid_alloc() argument 1257 get_ephemeral_data(zone_t * zone,uid_t * min_uid,uid_t * last_uid,gid_t * min_gid,gid_t * last_gid) get_ephemeral_data() argument 1276 set_ephemeral_data(zone_t * zone,uid_t min_uid,uid_t last_uid,gid_t min_gid,gid_t last_gid) set_ephemeral_data() argument 1404 zone_t *zone = crgetzone(cr); crset_zone_privall() local [all...] |
/titanic_51/usr/src/cmd/zoneadm/ |
H A D | svc-zones | 57 # Boot the installed zones for which the "autoboot" zone property is 61 for zone in `zoneadm list -pi | nawk -F: '{ 66 zonecfg -z $zone info autoboot | grep "true" >/dev/null 2>&1 70 echo " $zone\c" 77 zoneadm -z $zone boot & 79 zoneadm -z $zone sysboot & 101 MAXSHUT=`expr 3 \* $SVC_TIMEOUT \/ 4` # 3/4 of time to zone shutdown 111 for zone in $zonelist; do 112 echo " $zone\c" 113 zoneadm -z $zone shutdow [all...] |
/titanic_51/usr/src/lib/libzonestat/common/ |
H A D | libzonestat.c | 98 zs_zone_t *zone; in zs_lookup_zone_byid() local 100 for (zone = list_head(&u->zsu_zone_list); zone != NULL; in zs_lookup_zone_byid() 101 zone = list_next(&u->zsu_zone_list, zone)) { in zs_lookup_zone_byid() 102 if (zone->zsz_id == zid) in zs_lookup_zone_byid() 103 return (zone); in zs_lookup_zone_byid() 111 zs_zone_t *zone; in zs_lookup_zone_byname() local 113 for (zone = list_head(&u->zsu_zone_list); zone ! in zs_lookup_zone_byname() 689 zs_zone_name(zs_zone_t * zone,char * name,size_t len) zs_zone_name() argument 695 zs_zone_id(zs_zone_t * zone) zs_zone_id() argument 701 zs_zone_iptype(zs_zone_t * zone) zs_zone_iptype() argument 707 zs_zone_cputype(zs_zone_t * zone) zs_zone_cputype() argument 713 zs_zone_poolname(zs_zone_t * zone,char * name,size_t len) zs_zone_poolname() argument 719 zs_zone_psetname(zs_zone_t * zone,char * name,size_t len) zs_zone_psetname() argument 725 zs_zone_schedulers(zs_zone_t * zone) zs_zone_schedulers() argument 774 zs_zone_cpu_shares(zs_zone_t * zone) zs_zone_cpu_shares() argument 784 zs_zone_cpu_cap(zs_zone_t * zone) zs_zone_cpu_cap() argument 790 zs_zone_cpu_cap_used(zs_zone_t * zone) zs_zone_cpu_cap_used() argument 800 zs_zone_cpu_shares_used(zs_zone_t * zone) zs_zone_cpu_shares_used() argument 816 zs_zone_cpu_cap_time(zs_zone_t * zone,timestruc_t * ts) zs_zone_cpu_cap_time() argument 822 zs_zone_cpu_share_time(zs_zone_t * zone,timestruc_t * ts) zs_zone_cpu_share_time() argument 828 zs_zone_cpu_cap_time_used(zs_zone_t * zone,timestruc_t * ts) zs_zone_cpu_cap_time_used() argument 834 zs_zone_cpu_share_time_used(zs_zone_t * zone,timestruc_t * ts) zs_zone_cpu_share_time_used() argument 872 zs_zone_cpu_cap_pct(zs_zone_t * zone) zs_zone_cpu_cap_pct() argument 882 zs_zone_cpu_shares_pct(zs_zone_t * zone) zs_zone_cpu_shares_pct() argument 898 zs_zone_physical_memory_cap(zs_zone_t * zone) zs_zone_physical_memory_cap() argument 904 zs_zone_virtual_memory_cap(zs_zone_t * zone) zs_zone_virtual_memory_cap() argument 910 zs_zone_locked_memory_cap(zs_zone_t * zone) zs_zone_locked_memory_cap() argument 916 zs_zone_physical_memory_cap_used(zs_zone_t * zone) zs_zone_physical_memory_cap_used() argument 925 zs_zone_virtual_memory_cap_used(zs_zone_t * zone) zs_zone_virtual_memory_cap_used() argument 934 zs_zone_locked_memory_cap_used(zs_zone_t * zone) zs_zone_locked_memory_cap_used() argument 1152 zs_zone_t *zone = pz->zspz_zone; zs_pset_zone_usage_pct_cpu_cap() local 1318 zs_cpu_usage_zone(zs_zone_t * zone,timestruc_t * ts) zs_cpu_usage_zone() argument 1371 zs_cpu_usage_zone_cpu(zs_zone_t * zone) zs_cpu_usage_zone_cpu() argument 1378 zs_cpu_usage_zone_pct(zs_zone_t * zone) zs_cpu_usage_zone_pct() argument 1452 zs_physical_memory_usage_zone(zs_zone_t * zone) zs_physical_memory_usage_zone() argument 1458 zs_physical_memory_usage_zone_pct(zs_zone_t * zone) zs_physical_memory_usage_zone_pct() argument 1467 zs_zone_physical_memory_cap_pct(zs_zone_t * zone) zs_zone_physical_memory_cap_pct() argument 1546 zs_virtual_memory_usage_zone(zs_zone_t * zone) zs_virtual_memory_usage_zone() argument 1552 zs_virtual_memory_usage_zone_pct(zs_zone_t * zone) zs_virtual_memory_usage_zone_pct() argument 1562 zs_zone_virtual_memory_cap_pct(zs_zone_t * zone) zs_zone_virtual_memory_cap_pct() argument 1641 zs_locked_memory_usage_zone(zs_zone_t * zone) zs_locked_memory_usage_zone() argument 1647 zs_locked_memory_usage_zone_pct(zs_zone_t * zone) zs_locked_memory_usage_zone_pct() argument 1656 zs_zone_locked_memory_cap_pct(zs_zone_t * zone) zs_zone_locked_memory_cap_pct() argument 1847 zs_processes_usage_zone(zs_zone_t * zone) zs_processes_usage_zone() argument 1853 zs_lwps_usage_zone(zs_zone_t * zone) zs_lwps_usage_zone() argument 1859 zs_shm_usage_zone(zs_zone_t * zone) zs_shm_usage_zone() argument 1865 zs_shmids_usage_zone(zs_zone_t * zone) zs_shmids_usage_zone() argument 1871 zs_semids_usage_zone(zs_zone_t * zone) zs_semids_usage_zone() argument 1877 zs_msgids_usage_zone(zs_zone_t * zone) zs_msgids_usage_zone() argument 1883 zs_lofi_usage_zone(zs_zone_t * zone) zs_lofi_usage_zone() argument 1889 zs_processes_usage_zone_pct(zs_zone_t * zone) zs_processes_usage_zone_pct() argument 1898 zs_lwps_usage_zone_pct(zs_zone_t * zone) zs_lwps_usage_zone_pct() argument 1907 zs_shm_usage_zone_pct(zs_zone_t * zone) zs_shm_usage_zone_pct() argument 1916 zs_shmids_usage_zone_pct(zs_zone_t * zone) zs_shmids_usage_zone_pct() argument 1925 zs_semids_usage_zone_pct(zs_zone_t * zone) zs_semids_usage_zone_pct() argument 1934 zs_msgids_usage_zone_pct(zs_zone_t * zone) zs_msgids_usage_zone_pct() argument 1943 zs_lofi_usage_zone_pct(zs_zone_t * zone) zs_lofi_usage_zone_pct() argument 1952 zs_processes_zone_cap_pct(zs_zone_t * zone) zs_processes_zone_cap_pct() argument 1965 zs_lwps_zone_cap_pct(zs_zone_t * zone) zs_lwps_zone_cap_pct() argument 1977 zs_shm_zone_cap_pct(zs_zone_t * zone) zs_shm_zone_cap_pct() argument 1989 zs_shmids_zone_cap_pct(zs_zone_t * zone) zs_shmids_zone_cap_pct() argument 2002 zs_semids_zone_cap_pct(zs_zone_t * zone) zs_semids_zone_cap_pct() argument 2015 zs_msgids_zone_cap_pct(zs_zone_t * zone) zs_msgids_zone_cap_pct() argument 2028 zs_lofi_zone_cap_pct(zs_zone_t * zone) zs_lofi_zone_cap_pct() argument 2062 zs_zone_t *zone = NULL; zs_usage_read_internal() local 2465 zs_zone_t *zone, *ztmp; zs_usage_free() local 3443 zs_zone_t *zone, *tmp; zs_zone_list() local 3471 zs_zone_next(zs_usage_t * usage,zs_zone_t * zone) zs_zone_next() argument 3481 zs_zone_property(zs_zone_t * zone,int prop,zs_property_t * p) zs_zone_property() argument 4002 zs_pset_zone_t *zone, *tmp; zs_pset_zone_list() local [all...] |
/titanic_51/usr/src/boot/lib/libz/test/ |
H A D | infcover.c | 75 struct mem_zone *zone = mem; in mem_alloc() local 79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) in mem_alloc() 99 item->next = zone->first; in mem_alloc() 100 zone->first = item; in mem_alloc() 103 zone->total += item->size; in mem_alloc() 104 if (zone->total > zone in mem_alloc() 115 struct mem_zone *zone = mem; mem_free() local 160 struct mem_zone *zone; mem_setup() local 178 struct mem_zone *zone = strm->opaque; mem_limit() local 186 struct mem_zone *zone = strm->opaque; mem_used() local 194 struct mem_zone *zone = strm->opaque; mem_high() local 204 struct mem_zone *zone = strm->opaque; mem_done() local [all...] |
/titanic_51/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 72 #include <sys/zone.h> 77 #include <zone.h> 95 * new zone is booted. This is used to fattach the zsd_server door 96 * into the new zone. 103 * If the client is in a non-global zone, the utilization data will 104 * be filtered to only show the given zone. The usage by all other zones 109 * current utilization data for each running zone. This includes 111 * of each zone, such as their configured limits, and which processor 156 /* Used to store a zone's usage of a pset */ 164 boolean_t zsu_found; /* zone boun 813 zsd_zone_t *zone; zsd_lookup_zone() local 829 zsd_zone_t *zone; zsd_lookup_zone_byid() local 842 zsd_zone_t *zone; zsd_allocate_zone() local 882 zsd_zone_t *zone, *tmp; zsd_lookup_insert_zone() local 908 zsd_zone_t *zone; zsd_mark_zones_start() local 990 zsd_zone_t *zone = usage->zsu_zone; zsd_mark_pset_usage_found() local 1040 zsd_zone_t *zone = usage->zsu_zone; zsd_add_usage() local 1086 zsd_zone_t *zone; zsd_mark_pset_usages_end() local 1134 zsd_mark_zone_found(zsd_ctl_t * ctl,zsd_zone_t * zone,uint64_t cpu_shares,uint64_t cpu_cap,uint64_t ram_cap,uint64_t locked_cap,uint64_t vm_cap,uint64_t processes_cap,uint64_t processes,uint64_t lwps_cap,uint64_t lwps,uint64_t shm_cap,uint64_t shm,uint64_t shmids_cap,uint64_t shmids,uint64_t semids_cap,uint64_t semids,uint64_t msgids_cap,uint64_t msgids,uint64_t lofi_cap,uint64_t lofi,char * poolname,char * psetname,uint_t sched,uint_t cputype,uint_t iptype) zsd_mark_zone_found() argument 1212 zsd_zone_t *zone, *tmp; zsd_mark_zones_end() local 1453 zsd_lookup_usage(zsd_pset_t * pset,zsd_zone_t * zone) zsd_lookup_usage() argument 1466 zsd_allocate_pset_usage(zsd_ctl_t * ctl,zsd_pset_t * pset,zsd_zone_t * zone) zsd_allocate_pset_usage() argument 1500 zsd_lookup_insert_usage(zsd_ctl_t * ctl,zsd_pset_t * pset,zsd_zone_t * zone) zsd_lookup_insert_usage() argument 2040 zsd_get_zone_pool_pset(zsd_ctl_t * ctl,zsd_zone_t * zone,char * pool,int poollen,char * pset,int psetlen,uint_t * cputype) zsd_get_zone_pool_pset() argument 2201 zsd_get_zone_caps(zsd_ctl_t * ctl,zsd_zone_t * zone,uint64_t * cpu_shares,uint64_t * cpu_cap,uint64_t * ram_cap,uint64_t * locked_cap,uint64_t * vm_cap,uint64_t * processes_cap,uint64_t * processes,uint64_t * lwps_cap,uint64_t * lwps,uint64_t * shm_cap,uint64_t * shm,uint64_t * shmids_cap,uint64_t * shmids,uint64_t * semids_cap,uint64_t * semids,uint64_t * msgids_cap,uint64_t * msgids,uint64_t * lofi_cap,uint64_t * lofi,uint_t * sched) zsd_get_zone_caps() argument 2378 zsd_zone_t *zone; zsd_refresh_zones() local 2626 zsd_zone_t *zone, *prev_zone; zsd_refresh_procs() local 3244 zsd_zone_t *zone; zsd_refresh_memory() local 3564 zsd_zone_t *zone; zsd_refresh_cpu_stats() local 3703 zs_zone_t *zone = NULL; zsd_usage_cache_update() local 3921 zsd_zone_t *zone; zsd_close() local 4231 zs_zone_t *zone, *czone; zsd_usage_filter() local [all...] |
/titanic_51/usr/src/lib/libbc/libc/gen/4.2/ |
H A D | timezone.c | 39 static struct zone { struct 63 char *timezone(zone, dst) in timezone() argument 65 register struct zone *zp; in timezone() 86 if (zp->offset==zone) { in timezone() 92 if (zone<0) { in timezone() 93 zone = -zone; in timezone() 97 sprintf(czone, "GMT%s%d:%02d", sign, zone/60, zone%60); in timezone() 41 stdzonezone global() argument 42 dlzonezone global() argument
|
/titanic_51/usr/src/pkg/manifests/ |
H A D | service-fault-management.mf | 28 # global zone only. See the include file for greater detail, as well as 43 dir path=etc group=sys variant.opensolaris.zone=__NODEFAULT 44 dir path=etc/fm group=sys variant.opensolaris.zone=__NODEFAULT 45 dir path=etc/fm/fmd group=sys variant.opensolaris.zone=__NODEFAULT 49 dir path=etc/logadm.d group=sys variant.opensolaris.zone=__NODEFAULT 50 dir path=etc/net-snmp variant.opensolaris.zone=__NODEFAULT 51 dir path=etc/net-snmp/snmp variant.opensolaris.zone=__NODEFAULT 52 dir path=etc/net-snmp/snmp/mibs variant.opensolaris.zone=__NODEFAULT 54 # Our kernel driver is global zone only 62 dir path=lib/fm variant.opensolaris.zone=__NODEFAULT [all …]
|
H A D | service-hal.mf | 34 dir path=etc group=sys variant.opensolaris.zone=global 35 dir path=etc/dbus-1 variant.opensolaris.zone=global 36 dir path=etc/dbus-1/system.d variant.opensolaris.zone=global 37 dir path=etc/hal variant.opensolaris.zone=global 38 dir path=etc/hal/fdi variant.opensolaris.zone=global 39 dir path=etc/hal/fdi/information variant.opensolaris.zone=global 40 dir path=etc/hal/fdi/information/10freedesktop variant.opensolaris.zone=global 41 dir path=etc/hal/fdi/information/20thirdparty variant.opensolaris.zone=global 42 dir path=etc/hal/fdi/information/30user variant.opensolaris.zone=global 43 dir path=etc/hal/fdi/policy variant.opensolaris.zone=global [all …]
|
H A D | network-iscsi-initiator.mf | 32 dir path=etc group=sys variant.opensolaris.zone=global 33 dir path=etc/iscsi group=sys variant.opensolaris.zone=global 34 dir path=etc/security group=sys variant.opensolaris.zone=global 38 dir path=lib variant.opensolaris.zone=global 39 dir path=lib/svc variant.opensolaris.zone=global 40 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global 41 dir path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global 43 variant.opensolaris.zone=global 44 dir path=lib/svc/method variant.opensolaris.zone=global 55 mode=0444 variant.opensolaris.zone [all...] |
H A D | system-storage-fibre-channel-port-utility.mf | 34 dir path=lib variant.opensolaris.zone=global 35 dir path=lib/svc variant.opensolaris.zone=global 36 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global 37 dir path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global 38 dir path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global 39 dir path=lib/svc/method variant.opensolaris.zone=global 44 variant.opensolaris.zone=global 46 variant.opensolaris.zone=global 48 variant.opensolaris.zone=global 49 file path=lib/svc/method/npivconfig mode=0555 variant.opensolaris.zone [all...] |
H A D | system-zones.mf | 32 dir path=etc group=sys variant.opensolaris.zone=global 33 dir path=etc/brand group=sys variant.opensolaris.zone=global 34 dir path=etc/zones group=sys variant.opensolaris.zone=global 35 dir path=lib variant.opensolaris.zone=global 36 dir path=lib/svc variant.opensolaris.zone=global 37 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global 38 dir path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global 39 dir path=lib/svc/method variant.opensolaris.zone=global 62 file path=etc/zones/SUNWblank.xml mode=0444 variant.opensolaris.zone=global 63 file path=etc/zones/SUNWdefault.xml mode=0444 variant.opensolaris.zone [all...] |
/titanic_51/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | kidmap.h | 40 #include <sys/zone.h> 84 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 88 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 92 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 96 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix, 100 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix, 113 kidmap_get_create(zone_t *zone); 161 int idmap_reg_dh(zone_t *zone, door_handle_t dh); 162 int idmap_unreg_dh(zone_t *zone, door_handle_t dh); 168 door_handle_t idmap_get_door(zone_t *zone); [all...] |
/titanic_51/usr/src/uts/common/sys/ |
H A D | kidmap.h | 40 #include <sys/zone.h> 71 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 75 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 79 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 83 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix, 87 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix, 100 kidmap_get_create(zone_t *zone); 147 int idmap_reg_dh(zone_t *zone, door_handle_t dh); 148 int idmap_unreg_dh(zone_t *zone, door_handle_t dh); 154 door_handle_t idmap_get_door(zone_t *zone); [all...] |
H A D | cred.h | 133 * Private interface for setting zone association of credential. 135 struct zone; 136 extern void crsetzone(cred_t *, struct zone *); 137 extern struct zone *crgetzone(const cred_t *); 170 extern boolean_t valid_ephemeral_uid(struct zone *, uid_t); 171 extern boolean_t valid_ephemeral_gid(struct zone *, gid_t); 173 extern int eph_uid_alloc(struct zone *, int, uid_t *, int); 174 extern int eph_gid_alloc(struct zone *, int, gid_t *, int);
|
/titanic_51/usr/src/uts/common/syscall/ |
H A D | sidsys.c | 49 zone_t *zone = crgetzone(CRED()); in allocids() local 51 dh = idmap_get_door(zone); in allocids() 67 idmap_purge_cache(zone); in allocids() 73 err = eph_uid_alloc(zone, flag, &su, nuids); in allocids() 75 err = eph_gid_alloc(zone, flag, &sg, ngids); in allocids() 111 zone_t *zone; in idmap_unreg() local 116 zone = crgetzone(CRED()); in idmap_unreg() 117 res = idmap_unreg_dh(zone, dh); in idmap_unreg() 131 zone_t *zone = crgetzone(CRED()); in idmap_flush_kcache() local 133 dh = idmap_get_door(zone); in idmap_flush_kcache() [all...] |
/titanic_51/usr/src/uts/common/disp/ |
H A D | cpucaps.c | 43 * A CPU cap can be set on any project or any zone. Zone CPU cap limits the CPU 44 * usage for all projects running inside the zone. If the zone CPU cap is set 50 * below the cap level. Each zone and each project has its own wait queue. 57 * zone's CPU usage drops below the cap. 61 * CPU usage to its project. Usage from all projects belonging to a capped zone 62 * is aggregated to get the zone usage. 64 * When the current CPU usage is above the cap, a project or zone is considered 66 * zone is marked by setting TS_PROJWAITQ flag in thread's t_schedflag field and 87 * Zone CPU usage is the sum of usages for all projects within the zone 419 cap_zone_enable(zone_t * zone,hrtime_t value) cap_zone_enable() argument 455 cap_zone_disable(zone_t * zone) cap_zone_disable() argument 518 zone_t *zone = cap->cap_zone; cap_project_usage_walker() local 655 cpucaps_zone_set(zone_t * zone,rctl_qty_t cap_val) cpucaps_zone_set() argument 779 cpucaps_zone_remove(zone_t * zone) cpucaps_zone_remove() argument 945 cpucaps_zone_get(zone_t * zone) cpucaps_zone_get() argument 1027 zone_t *zone; cpucaps_charge() local [all...] |
/titanic_51/usr/src/pkg/transforms/ |
H A D | global_zone_only_component | 30 # to appear primarily in the global zone, but which may have some small 34 # dir, hardlink, link) should appear *only* in the global zone, with 46 # variant.opensolaris.zone=__NODEFAULT 51 # Note: When you specify variant.opensolaris.zone=__NODEFAULT, the 52 # net effect is that *no* variant.opensolaris.zone attribute will 60 # it should have *no* variant.opensolaris.zone attribute. So it's a bit 64 # which have no variant.opensolaris.zone attribute to be 65 # variant.opensolaris.zone=global. For those actions which need to appear 67 # variant.opensolaris.zone=__NODEFAULT. Additionally we have some rules 76 <transform dir file link hardlink path=.*/man/.* -> default variant.opensolaris.zone __NODEFAUL [all...] |
/titanic_51/usr/src/data/zoneinfo/ |
H A D | zonelint | 27 # First check that all of the referenced zone files exist in the proto 37 ' $f | while read zone; do 38 if [ ! -f $proto/$zone ]; then 39 echo "Missing: $zone" 52 # Check that field 5 does not point to a zone file. This could indicate a 58 ' $f | while read zone; do 59 if [ -f "$proto/$zone" ]; then 60 echo "Check: $zone"
|
/titanic_51/usr/src/cmd/syseventd/ |
H A D | svc-syseventd | 45 zone=`smf_zonename` 46 /usr/bin/pkill -x -u 0 -P 1 -z $zone rcm_daemon 47 /usr/bin/pkill -x -u 0 -P 1 -z $zone syseventd 48 /usr/bin/pkill -x -u 0 -P 1 -z $zone devfsadm 49 /usr/bin/pkill -x -u 0 -P 1 -z $zone syseventconfd
|
/titanic_51/usr/src/lib/libast/common/tm/ |
H A D | tmxtime.c | 61 tmset(tm_info.zone); in tmxtime() 88 t += tm_info.zone->west * 60; in tmxtime() 89 if (!tm_info.zone->daylight) in tmxtime() 95 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime() 100 t += tm_info.zone->dst * 60; in tmxtime() 106 if (!tm_info.zone->daylight) in tmxtime() 113 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxtime.c | 61 tmset(tm_info.zone); in tmxtime() 83 * time zone adjustments in tmxtime() 88 t += tm_info.zone->west * 60; in tmxtime() 89 if (!tm_info.zone->daylight) in tmxtime() 95 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime() 100 t += tm_info.zone->dst * 60; in tmxtime() 106 if (!tm_info.zone->daylight) in tmxtime() 113 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime()
|
/titanic_51/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 33 * the set of processes owned by a particular, zone, project, task, or user. 57 * - Figure out proc's collectives (zone, project, task, and/or user). 87 * - Figure out proc's collectives (zone, project, task, and/or user). 123 * - A zone. 124 * - A project, task, or user within a zone. 127 * uid, regardless of which zone the process is in. For instance, 128 * project 0 in the global zone and project 0 in a non global zone are 138 #include <sys/zone.h> 153 #include <sys/zone 385 vmu_zone_t *zone = (vmu_zone_t *)val; vmu_free_zone() local 507 vmu_zone_t *zone; vmu_alloc_zone() local 1451 vmu_zone_t *zone; vmu_calculate_proc() local [all...] |