Searched defs:rctl (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Drctl_proc.c30 #include <sys/rctl.h>
75 proc_cpu_time_test(struct rctl *rctl, struct proc *p, rctl_entity_p_t *e, argument
92 proc_filesize_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
96 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_native);
98 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_ilp32);
121 proc_stack_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
127 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_native);
129 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_ilp32);
170 proc_nofile_set(rctl_t *rctl, struc argument
194 proc_vmem_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
[all...]
H A Dtask.c36 #include <sys/rctl.h>
190 task_lwps_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) { argument
241 task_nprocs_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
647 * required callback for the task rctl set.
908 * rctl ops vectors
H A Dproject.c34 #include <sys/rctl.h>
429 project_cpu_shares_usage(rctl_t *rctl, struct proc *p) argument
437 project_cpu_shares_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
463 project_cpu_cap_get(rctl_t *rctl, struct proc *p) argument
471 project_cpu_cap_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
532 project_lwps_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
589 project_procs_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
642 project_ntasks_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
664 project_shmmax_usage(rctl_t *rctl, struct proc *p) argument
672 project_shmmax_test(struct rctl *rct argument
698 project_shmmni_usage(rctl_t *rctl, struct proc *p) argument
706 project_shmmni_test(struct rctl *rctl, struct proc *p, rctl_entity_p_t *e, rctl_val_t *rval, rctl_qty_t inc, uint_t flags) argument
732 project_semmni_usage(rctl_t *rctl, struct proc *p) argument
740 project_semmni_test(struct rctl *rctl, struct proc *p, rctl_entity_p_t *e, rctl_val_t *rval, rctl_qty_t inc, uint_t flags) argument
766 project_msgmni_usage(rctl_t *rctl, struct proc *p) argument
774 project_msgmni_test(struct rctl *rctl, struct proc *p, rctl_entity_p_t *e, rctl_val_t *rval, rctl_qty_t inc, uint_t flags) argument
796 project_locked_mem_usage(rctl_t *rctl, struct proc *p) argument
808 project_locked_mem_test(struct rctl *rctl, struct proc *p, rctl_entity_p_t *e, rctl_val_t *rval, rctl_qty_t inc, uint_t flags) argument
822 project_locked_mem_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
847 project_contract_test(struct rctl *rctl, struct proc *p, rctl_entity_p_t *e, rctl_val_t *rval, rctl_qty_t inc, uint_t flags) argument
[all...]
H A Drctl.c38 #include <sys/rctl.h>
50 * The rctl subsystem provides a mechanism for kernel components to
59 * also wishing to provide additional limits on a given rctl can modify
60 * them once they have the rctl handle. Each subsystem should store the
61 * handle to their rctl for direct access.
68 * advertised to userland; all userland interactions are via the rctl
72 * no ancestor, they inherit their rctls from the rctl dict for project
79 * hash table keyed on the rctl handle assigned at registration. The entries
88 * rctl_set[key] ---> | rctl | --> value <-> value <-> system value --> NULL
93 * That is, the rctl contain
588 rctl_t *rctl = prev; local
635 rctl_t *rctl = rcgp->rcag_ctls; local
651 rctl_t *rctl = rcgp->rcag_ctls; local
976 rctl_set_insert(rctl_set_t *set, rctl_hndl_t hndl, rctl_t *rctl) argument
1113 rctl_t *rctl = rctl_gp_detach_ctl(ragp); local
1138 rctl_dup(rctl_t *rctl, rctl_alloc_gp_t *ragp, struct proc *oldp, struct proc *newp) argument
1448 rctl_set_find(rctl_set_t *set, rctl_hndl_t hndl, rctl_t **rctl) argument
1485 rctl_t *rctl; local
1564 rctl_t *rctl; local
1597 rctl_local_get_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
1640 rctl_local_delete_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
1689 rctl_local_insert_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
1743 rctl_local_insert_all_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *new_values, rctl_val_t *alloc_values) argument
1888 rctl_local_replace_all_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *new_values, rctl_val_t *alloc_values) argument
1979 rctl_local_replace_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
2039 rctl_t *rctl; local
2194 rctl_t *rctl; local
2333 rctl_t *rctl = kmem_cache_alloc(rctl_cache, KM_SLEEP); local
[all...]
H A Dzone.c160 * related to the zone.max-lwps rctl.
245 #include <sys/rctl.h>
1314 zone_cpu_shares_usage(rctl_t *rctl, struct proc *p) argument
1322 zone_cpu_shares_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
1346 zone_cpu_cap_get(rctl_t *rctl, struct proc *p) argument
1354 zone_cpu_cap_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, argument
1416 zone_lwps_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
1471 zone_procs_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
1490 zone_shmmax_usage(rctl_t *rctl, struct proc *p) argument
1519 zone_shmmni_usage(rctl_t *rctl, struc argument
1548 zone_semmni_usage(rctl_t *rctl, struct proc *p) argument
1577 zone_msgmni_usage(rctl_t *rctl, struct proc *p) argument
1606 zone_locked_mem_usage(rctl_t *rctl, struct proc *p) argument
1635 zone_locked_mem_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
1655 zone_max_swap_usage(rctl_t *rctl, struct proc *p) argument
1686 zone_max_swap_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
1706 zone_max_lofi_usage(rctl_t *rctl, struct proc *p) argument
1737 zone_max_lofi_set(rctl_t *rctl, struct proc *p, rctl_entity_p_t *e, rctl_qty_t nv) argument
[all...]
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c33 #include <rctl.h>
255 die(gettext("failed to read rctl configuration from \"%s\""),
449 char *rctl; local
511 rctl = argv[optind];
514 rctladm_enable(rctl, action);
517 rctladm_disable(rctl, action);
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_eth.c136 uint8_t rctl = FRM_R_CTL(frm); local
138 switch (rctl) {
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c31 #include <sys/rctl.h>
270 rctl_t *rctl; local
280 if (rctl_set_find(rset, hndl, &rctl) == -1) {
286 if (RCTLOP_NO_USAGE(rctl)) {
292 usage = RCTLOP_GET_USAGE(rctl, curproc);
457 /* case for manipulating rctl values on other procs */
533 /* for manipulating rctl values on this proc */
698 * Only one basic control is allowed per rctl.
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82543.c1200 u32 icr, rctl; local
1302 rctl = E1000_READ_REG(hw, E1000_RCTL);
1303 rctl &= ~E1000_RCTL_SBP;
1304 E1000_WRITE_REG(hw, E1000_RCTL, rctl);
1316 rctl = E1000_READ_REG(hw, E1000_RCTL);
1317 rctl |= E1000_RCTL_SBP;
1318 E1000_WRITE_REG(hw, E1000_RCTL, rctl);
H A De1000_82575.c2148 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; local
2190 rctl = E1000_READ_REG(hw, E1000_RCTL);
2191 temp_rctl = rctl & ~(E1000_RCTL_EN | E1000_RCTL_SBP);
2204 E1000_WRITE_REG(hw, E1000_RCTL, rctl);
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c153 uint32_t rctl; local
271 rctl = E1000_RCTL_EN | /* Enable Receive Unit */
278 rctl |= E1000_RCTL_LPE; /* Large Packet Enable bit */
281 rctl |= E1000_RCTL_SECRC; /* Strip Ethernet CRC */
287 rctl |= E1000_RCTL_SZ_2048;
291 rctl |= E1000_RCTL_SZ_4096 | E1000_RCTL_BSEX;
294 rctl |= E1000_RCTL_SZ_8192 | E1000_RCTL_BSEX;
297 rctl |= E1000_RCTL_SZ_16384 | E1000_RCTL_BSEX;
299 rctl |= E1000_RCTL_SZ_2048;
303 rctl |
918 uint32_t rctl, rxdctl; local
[all...]
H A De1000g_main.c2487 uint32_t rctl = E1000_READ_REG(hw, E1000_RCTL); local
2489 rctl & ~E1000_RCTL_EN);
2819 uint32_t rctl; local
2828 rctl = E1000_READ_REG(&Adapter->shared, E1000_RCTL);
2831 rctl |=
2834 rctl &= (~(E1000_RCTL_UPE | E1000_RCTL_MPE));
2836 E1000_WRITE_REG(&Adapter->shared, E1000_RCTL, rctl);
5655 uint32_t rctl; local
5677 rctl = E1000_READ_REG(hw, E1000_RCTL);
5678 rctl |
6576 uint32_t rctl; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Drctl.c30 #include <sys/rctl.h>
71 rctl(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
73 rctl_t rctl; local
81 if (mdb_vread(&rctl, sizeof (rctl_t), addr) == -1) {
94 if (rctl.rc_id != hndl)
99 (uintptr_t)rctl.rc_dict_entry) == -1) {
101 addr, rctl.rc_dict_entry);
110 mdb_printf("%0?p\t%3d : %s\n", addr, rctl.rc_id, name);
112 if (mdb_pwalk("rctl_val", (mdb_walk_cb_t)print_val, &(rctl.rc_cursor),
193 * If a handle is specified, print only the rctl matchin
418 rctl_t rctl; local
466 rctl_t rctl; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Drctl.h95 * rctl_priv_t: rctl privilege defined values
164 struct rctl;
182 void (*rco_action)(struct rctl *, struct proc *,
184 rctl_qty_t (*rco_get_usage)(struct rctl *, struct proc *);
185 int (*rco_set)(struct rctl *, struct proc *,
187 int (*rco_test)(struct rctl *, struct proc *,
200 void rcop_no_action(struct rctl *, struct proc *, rctl_entity_p_t *);
201 rctl_qty_t rcop_no_usage(struct rctl *, struct proc *);
202 int rcop_no_set(struct rctl *, struct proc *, rctl_entity_p_t *, rctl_qty_t);
203 int rcop_no_test(struct rctl *, struc
214 typedef struct rctl { struct
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c2405 uint32_t rctl; local
2503 rctl = E1000_READ_REG(hw, RCTL);
2504 rctl &= ~E1000_RCTL_SBP;
2505 E1000_WRITE_REG(hw, RCTL, rctl);
2516 rctl = E1000_READ_REG(hw, RCTL);
2517 rctl |= E1000_RCTL_SBP;
2518 E1000_WRITE_REG(hw, RCTL, rctl);
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c28 #include <rctl.h>
111 /* global flags of rctl name passed to -n */
115 /* appropriate scaling variables determined by rctl unit type */
155 static int match_rctl(struct ps_prochandle *Pr, rctlblk_t **rctl, char *name,
158 static int match_rctl_blk(rctlblk_t *rctl, char *valuestringin,
178 " -t privilege level of rctl values to get\n"
185 " -t privilege level of rctl value to set/replace/delete/modify\n"
188 " -r replace first rctl value of matching privilege\n"
189 " -x delete first rctl value of matching privilege, value, and \n"
191 " -v value of rctl t
1571 match_rctl(struct ps_prochandle *Pr, rctlblk_t **rctl, char *name, char *valuestringin, int valuein, rctl_priv_t privin, int pidin) argument
1644 match_rctl_blk(rctlblk_t *rctl, char *valuestringin, uint64_t valuein, rctl_priv_t privin, int pidin) argument
[all...]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c2161 uint32_t rctl, rxcsum; local
2173 rctl = E1000_READ_REG(hw, E1000_RCTL);
2179 rctl &= ~(3 << E1000_RCTL_MO_SHIFT);
2180 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC);
2182 rctl |= (E1000_RCTL_EN | /* Enable Receive Unit */
2259 E1000_WRITE_REG(hw, E1000_RCTL, rctl);
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2093 zerror(gettext("WARNING: Ignoring unrecognized rctl "
2104 zerror(gettext("invalid rctl value: "
2113 "is not a valid value for rctl '%s'"),
5239 zerror(gettext("WARNING: The zone.cpu-shares rctl is set but\n"
5255 struct zone_rctltab rctl; local
5263 while (zonecfg_getrctlent(handle, &rctl) == Z_OK) {
5264 if (strcmp(rctl.zone_rctl_name, "zone.cpu-shares") == 0) {
5364 * rctl settings that were removed from zonecfg. There is still work to be
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c89 #define DTD_ELEM_RCTL (const xmlChar *) "rctl"
90 #define DTD_ELEM_RCTLVALUE (const xmlChar *) "rctl-value"
163 * rctl alias definitions
165 * This holds the alias, the full rctl name, the default priv value, action
166 * and lower limit. The functions that handle rctl aliases step through
168 * the rctl entry as well the limit for validation.
3749 "An incompatible rctl already exists for this property"));
3928 * Apply the current rctl settings to the specified, running zone.
3937 struct zone_rctltab rctl; local
3953 while (zonecfg_getrctlent(handle, &rctl)
6649 struct zone_rctlvaltab rctl; local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h5776 u8_t rctl /* rctl */; member in struct:xstorm_fcoe_context_section
5780 u8_t rctl /* rctl */; member in struct:xstorm_fcoe_context_section

Completed in 250 milliseconds