Searched refs:cap (Results 1 - 25 of 248) sorted by relevance

12345678910

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtgetflag.c48 tgetflag(cap)
49 const char *cap;
55 __m_trace("tgetflag(%p = \"%.2s\")", cap, cap);
59 if (strcmp(*p, cap) == 0) {
H A Dtgetnum.c48 tgetnum(cap)
49 const char *cap;
55 __m_trace("tgetnum(%p = \"%.2s\")", cap, cap);
59 if (strcmp(*p, cap) == 0) {
H A Dtigetfla.c48 tigetflag(cap)
49 const char *cap;
55 __m_trace("tigetflag(%p = \"%s\")", cap, cap);
59 if (strcmp(*p, cap) == 0) {
H A Dtigetnum.c48 tigetnum(cap)
49 const char *cap;
55 __m_trace("tigetnum(%p = \"%s\")", cap, cap);
59 if (strcmp(*p, cap) == 0) {
H A Dtigetstr.c48 tigetstr(cap)
49 const char *cap;
55 __m_trace("tigetstr(%p = \"%s\")", cap, cap);
59 if (strcmp(*p, cap) == 0) {
H A Dtgetstr.c50 * Similar to tigetstr() except cap is a termcap code and area is
54 tgetstr(cap, area)
55 const char *cap;
61 __m_trace("tgetstr(%p = \"%.2s\", %p)", cap, cap, area);
65 if (strcmp(*p, cap) == 0) {
H A Dtgoto.c47 (tgoto)(const char *cap, int col, int row) argument
52 __m_trace("tgoto(%p = \"%s\", %d, %d)", cap, col, row);
55 str = tparm((char *)cap, (long) row, (long) col, 0L, 0L, 0L, 0L, 0L, 0L, 0L);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 cp = tparm_p2(cap, row, col);
H A Dtcsearch.c48 _tcsearch(char *cap, short offsets[], char *names[], int size, int n) argument
55 cmp = ((n == 0) ? strcmp(cap, names[offsets[m]]) :
56 strncmp(cap, names[offsets[m]], n));
/illumos-gate/usr/src/uts/common/disp/
H A Dcpucaps.c43 * 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
45 * below the project CPU cap, the latter will have no effect.
49 * with a cap. Such threads will start running again only when CPU usage drops
50 * below the cap level. Each zone and each project has its own wait queue.
52 * When CPU cap is set, the kernel continously keeps track of CPU time used by
55 * cap, LWPs running in the user-land (when they are not holding any critical
57 * zone's CPU usage drops below the cap.
64 * When the current CPU usage is above the cap,
264 cpucap_t *cap = kmem_zalloc(sizeof (cpucap_t), KM_SLEEP); local
276 cap_free(cpucap_t *cap) argument
300 cap_enable(list_t *l, cpucap_t *cap, hrtime_t value) argument
332 cap_disable(list_t *l, cpucap_t *cap) argument
366 cpucap_t *cap = kpj->kpj_cpucap; local
403 cpucap_t *cap = kpj->kpj_cpucap; local
421 cpucap_t *cap = zone->zone_cpucap; local
457 cpucap_t *cap = zone->zone_cpucap; local
474 cpucap_t *cap; local
493 cap_poke_waitq(cpucap_t *cap, int64_t gen) argument
516 cap_project_usage_walker(cpucap_t *cap, int64_t gen) argument
657 cpucap_t *cap = NULL; local
801 cpucap_t *cap = NULL; local
839 cpucap_t *cap = NULL; local
927 cap_get(cpucap_t *cap) argument
987 cpucap_t *cap = kpj->kpj_cpucap; local
1127 cpucap_t *cap = ksp->ks_private; local
[all...]
/illumos-gate/usr/src/uts/sun/io/dada/impl/
H A Ddcd_capabilities.c41 dcd_ifgetcap(struct dcd_address *ap, char *cap, int whom)
44 return (*A_TO_TRAN(ap)->tran_getcap)(ap, cap, whom);
48 dcd_ifsetcap(struct dcd_address *ap, char *cap, int value, int whom)
51 return (*A_TO_TRAN(ap)->tran_setcap)(ap, cap, value, whom);
/illumos-gate/usr/src/uts/common/sys/
H A Dddifm.h53 #define DDI_FM_DEFAULT_CAP(cap) (cap == DDI_FM_NOT_CAPABLE)
54 #define DDI_FM_EREPORT_CAP(cap) (cap & DDI_FM_EREPORT_CAPABLE)
55 #define DDI_FM_ACC_ERR_CAP(cap) (cap & DDI_FM_ACCCHK_CAPABLE)
56 #define DDI_FM_DMA_ERR_CAP(cap) (cap & DDI_FM_DMACHK_CAPABLE)
57 #define DDI_FM_ERRCB_CAP(cap) (cap
[all...]
H A Dcpucaps_impl.h43 * When resource control framework sets the cap to NOCAP value the cap
49 * Maximum value for the cap usage. Should be the maximum value for hrtime_t
64 struct kproject *cap_project; /* project for the cap */
65 struct zone *cap_zone; /* zone for the cap */
68 int64_t cap_gen; /* zone cap specific */
69 hrtime_t cap_value; /* scaled CPU usage cap */
73 * Per cap statistics.
75 hrtime_t cap_maxusage; /* maximum cap usage */
76 u_longlong_t cap_below; /* # of ticks spend below the cap */
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dcap.c51 CAP_CMD_T_DUMP = 0, /* cap:dump */
54 CAP_CMD_T_TAG = 1, /* cap:tag */
55 CAP_CMD_T_VALUE = 2, /* cap:value */
56 CAP_CMD_T_DELETE = 3, /* cap:delete */
57 CAP_CMD_T_MOVE = 4, /* cap:shift */
60 CAP_CMD_T_HW1 = 5, /* cap:hw1 */
61 CAP_CMD_T_SF1 = 6, /* cap:sf1 */
62 CAP_CMD_T_HW2 = 7, /* cap:hw2 */
127 Boolean grp_set; /* TRUE when cap group is set */
130 } cap; member in struct:__anon9
224 Cap *cap = argstate->cap.data + ndx; local
334 Cap *cap = argstate->cap.data; local
388 Cap *cap; local
725 cap_set(ARGSTATE *argstate, Cap *cap, Word ndx, Word cap_ndx, const char *cap_name, Xword cap_tag, elfedit_const_t const_type) argument
769 Cap *cap; local
1056 Cap *cap; local
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtgetflag.c53 tgetflag(char *cap) argument
59 if (memcmp(*p, cap, 2) == 0) {
H A Dtgetnum.c53 tgetnum(char *cap) argument
59 if (memcmp(*p, cap, 2) == 0) {
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 str = tparm((char *)cap, (long) row, (long) col,
H A Dtigetfla.c53 tigetflag(char *cap) argument
59 if (strcmp(*p, cap) == 0) {
H A Dtigetnum.c53 tigetnum(char *cap) argument
59 if (strcmp(*p, cap) == 0) {
H A Dtigetstr.c53 tigetstr(char *cap) argument
60 if (strcmp(*p, cap) == 0) {
H A Dtgetstr.c55 * Similar to tigetstr() except cap is a termcap code and area is
59 tgetstr(char *cap, char **area) argument
66 if (memcmp(*p, cap, 2) == 0) {
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.conf21 # intr-type-cap:
40 intr-type-cap=-1;
/illumos-gate/usr/src/cmd/cdrw/
H A Dwrite_image.c103 off_t cap; local
116 if ((cap = get_last_possible_lba(target)) <= 0) {
117 if ((cap = read_format_capacity(target->d_fd,
122 cap = MAX_CD_BLKS;
131 cap = read_format_capacity(target->d_fd,
134 * Sanity check; Default to 4.7 GB if cap unreasonable
136 if (cap < MAX_CD_BLKS)
137 cap = MAX_DVD_BLKS;
141 cap = (cap
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_capabilities.c40 scsi_ifgetcap(struct scsi_address *ap, char *cap, int whom) argument
49 capability = (*A_TO_TRAN(ap)->tran_getcap)(ap, cap, whom);
52 if (cap != NULL) {
53 ckey = scsi_hba_lookup_capstr(cap);
93 scsi_ifsetcap(struct scsi_address *ap, char *cap, int value, int whom) argument
98 rval = (*A_TO_TRAN(ap)->tran_setcap)(ap, cap, value, whom);
100 cidx = scsi_hba_lookup_capstr(cap);
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c96 get_cache(cache_t *cap, head_t *chp) argument
102 * hash chain ["cap"] and a pointer to the corresponding cache header
111 while (cap) {
117 if ((x_dev == cap->dev) && (*chp->cmp)(cap)) {
123 cap->link[Next]->link[Prev] = cap->link[Prev];
124 cap->link[Prev]->link[Next] = cap->link[Next];
126 cap
153 cache_t *cap, *cxp; local
215 cache_t *cap; local
[all...]

Completed in 192 milliseconds

12345678910