/titanic_41/usr/src/uts/common/sys/ |
H A D | rctl.h | 160 } rctl_val_t; typedef 188 rctl_entity_p_t *, rctl_val_t *, rctl_qty_t, uint_t); 216 rctl_val_t *rc_values; /* list of enforced value */ 217 rctl_val_t *rc_cursor; /* currently enforced value */ 220 rctl_val_t *rc_projdb; /* project database rctls */ 237 rctl_val_t *rcd_default_value; /* system control value */ 252 rctl_val_t *rcag_vals; /* list of allocated rctl values */ 279 int rctl_invalid_value(rctl_dict_entry_t *, rctl_val_t *); 290 int rctl_val_cmp(rctl_val_t *, rctl_val_t *, int); 291 int rctl_val_list_insert(rctl_val_t **, rctl_val_t *); [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | rctl.c | 471 rctl_val_t *dval; in rctl_add_default_limit() 475 bzero(dval, sizeof (rctl_val_t)); in rctl_add_default_limit() 602 rctl_val_t *prev = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctl_gp_alloc() 603 rctl_val_t *rval = prev; in rctl_gp_alloc() 618 static rctl_val_t * 621 rctl_val_t *rval = rcgp->rcag_vals; in rctl_gp_detach_val() 650 rctl_val_t *rval = rcgp->rcag_vals; in rctl_gp_free() 654 rctl_val_t *next = rval->rcv_next; in rctl_gp_free() 706 rctl_val_cmp(rctl_val_t *a, rctl_val_t *b, int imprecise) in rctl_val_cmp() 748 static rctl_val_t * [all …]
|
H A D | project.c | 511 project_lwps_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in project_lwps_test() 568 project_procs_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in project_procs_test() 625 project_ntasks_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in project_ntasks_test() 664 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in project_shmmax_test() 690 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in project_shmmni_test() 716 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in project_semmni_test() 742 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in project_msgmni_test() 776 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in project_locked_mem_test() 815 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in project_contract_test() 863 rctl_val_t *rval, rctl_qty_t incr, uint_t flags) in project_crypto_test()
|
H A D | zone.c | 1396 zone_lwps_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in zone_lwps_test() 1451 zone_procs_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in zone_procs_test() 1490 zone_shmmax_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rval, in zone_shmmax_test() 1511 zone_shmmni_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rval, in zone_shmmni_test() 1532 zone_semmni_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rval, in zone_semmni_test() 1553 zone_msgmni_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rval, in zone_msgmni_test() 1587 rctl_val_t *rcntl, rctl_qty_t incr, uint_t flags) in zone_locked_mem_test() 1638 rctl_val_t *rcntl, rctl_qty_t incr, uint_t flags) in zone_max_swap_test() 1689 rctl_val_t *rcntl, rctl_qty_t incr, uint_t flags) in zone_max_lofi_test() 2076 rctl_val_t *dval; in zone_init() [all …]
|
H A D | rctl_proc.c | 76 rctl_val_t *rval, rctl_qty_t inc, uint_t flags) in proc_cpu_time_test()
|
H A D | task.c | 168 task_lwps_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in task_lwps_test() 220 task_nprocs_test(rctl_t *r, proc_t *p, rctl_entity_p_t *e, rctl_val_t *rcntl, in task_nprocs_test()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 60 rctl_val_t *val, int flags) in rctlsys_rblk_xfrm() 143 rctl_invalid_value(rctl_dict_entry_t *rde, rctl_val_t *rval) in rctl_invalid_value() 145 rctl_val_t *sys_rval; in rctl_invalid_value() 223 rctl_val_t *nval; in rctlsys_get() 318 rctl_val_t *oval; in rctlsys_get() 389 rctl_val_t *nval; in rctlsys_set() 399 rctl_val_t *oval; in rctlsys_set() 400 rctl_val_t *rval1; in rctlsys_set() 401 rctl_val_t *rval2; in rctlsys_set() 402 rctl_val_t *tval; in rctlsys_set() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 37 print_val(uintptr_t addr, rctl_val_t *val, uintptr_t *enforced) in print_val() 480 rctl_val_t val; in rctl_val_walk_step() 483 if (mdb_vread(&val, sizeof (rctl_val_t), wsp->walk_addr) == -1) { in rctl_val_walk_step() 503 rctl_val_t *v_cursor; 522 rctl_val_validate(uintptr_t addr, rctl_val_t *val, rctl_validate_data_t *data) in rctl_val_validate() 651 } else if (data.v_cursor == (rctl_val_t *)0xbaddcafe) { in rctl_validate()
|