Searched defs:cap (Results 26 - 50 of 195) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c438 cost(char *cap, int index, int p1, int p2) argument
440 cur_term->_move[index]._seq = cap;
442 if (cap == (char *) 0 || cap[0] == '\0') {
446 tparm(cap, (long) p1, (long) p2, 0, 0, 0, 0, 0, 0, 0),
449 if (cap == cursor_down && strchr(cap, '\n') != (char *) 0)
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpci.c476 * @cap: capability code
481 * support it. Possible values for @cap:
495 int pci_find_capability(struct pci_device *dev, int cap) argument
524 if (id == cap)
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_tty.h145 unsigned char *cap; /* pressing button that sends this.. */ member in struct:maps
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dparallel.c186 uint_t cap; local
189 if (ioctl(fd, PRNIOC_GET_IFCAP, &cap) == -1) {
193 if ((cap & PRN_1284_STATUS) == 0) {
195 if (cap & PRN_BIDI) {
196 cap &= ~PRN_BIDI;
197 (void) ioctl(fd, PRNIOC_SET_IFCAP, &cap);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dtidbit.c145 * tidbit ("term-type", "boolean-cap-name", &ushort)
146 * tidbit ("term-type", "numeric-cap-name", &short)
147 * tidbit ("term-type", "string-cap-name", &charstar)
148 * tidbit ("term-type", "any-cap-name", (char *)0)
192 char *cap,
196 tidbit(term, cap, va_alist)
198 *cap;
318 va_start(ap, cap);
323 if (!cap || !*cap)
190 tidbit( char *term, char *cap, ... ) argument
[all...]
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c94 uchar_t *cap; local
157 cap = (uchar_t *)my_zalloc(18);
159 if (get_mode_page(fd, 0x2A, 0, 8, cap)) {
160 if (cap[2] & 0x10)
162 if (cap[3] & 0x10)
164 if (cap[5] & 0x4)
166 if (cap[2] & 0x20)
168 if (cap[3] & 0x20)
173 free(cap);
195 cap
806 uchar_t *cap = (uchar_t *)my_zalloc(MMC_FTR_HDR_LEN); local
[all...]
/illumos-gate/usr/src/cmd/tput/
H A Dtput.c66 static int outputcap(char *cap, int argc, char **argv);
68 static int getpad(char *cap);
85 char *cap, std_input = FALSE; local
158 cap = argv[optind++];
160 if (strcmp(cap, "init") == 0)
162 else if (strcmp(cap, "reset") == 0)
164 else if (strcmp(cap, "longname") == 0)
167 exit(outputcap(cap, argc, argv));
189 cap = v[0];
192 if (strcmp(cap, "ini
213 outputcap(char *cap, int argc, char **argv) argument
440 getpad(char *cap) argument
[all...]
/illumos-gate/usr/src/lib/scsi/plugins/smp/sas2/common/
H A Dsas2_functions.c66 uint_t cap; local
73 cap = smp_target_getcap(tp);
78 if (cap & SMP_TARGET_C_LONG_RESP) {
559 uint_t cap = smp_target_getcap(tp); local
562 if (cap & SMP_TARGET_C_ZG_256)
926 smp_default_request_len(uint_t cap, smp_function_t fn) argument
936 if (cap & SMP_TARGET_C_LONG_RESP)
941 if (cap & SMP_TARGET_C_LONG_RESP)
946 if (cap & SMP_TARGET_C_LONG_RESP)
960 if (cap
1034 smp_default_response_len(uint_t cap, smp_function_t fn) argument
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnbu.c331 xnbu_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
335 switch (cap) {
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/
H A Dacpinex_drv.c592 acpinex_fm_init_child(dev_info_t *dip, dev_info_t *tdip, int cap, argument
595 _NOTE(ARGUNUSED(tdip, cap));
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_capab.c515 dl_capability_ack_t *cap; local
522 cap = (dl_capability_ack_t *)prim;
523 if (cap->dl_sub_length == 0)
527 if ((sizeof (*cap) + cap->dl_sub_length) > MBLKL(mp)) {
532 sub = (dl_capability_sub_t *)((caddr_t)cap + cap->dl_sub_offset);
533 end = (dl_capability_sub_t *)((caddr_t)cap + cap->dl_sub_length
/illumos-gate/usr/src/uts/common/os/
H A Dmutex.c271 uint_t cap; /* backoff cap calculated */ local
279 /* set cap */
286 * cap-factor). Maximum backoff is set to this value, and
289 cap = ncpus_online * mutex_cap_factor;
291 cap = mutex_backoff_cap;
296 if (backoff > cap) {
297 if (cap < mutex_backoff_base)
300 backoff = cap;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c321 oce_m_getcap(void *arg, mac_capab_t cap, void *data) argument
325 switch (cap) {
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_gld.c283 ixgbe_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
287 switch (cap) {
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxgldv3.c713 bnx_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
719 switch (cap) {
1041 #define BNX_SETPROP_CASE(cap, param) \
1042 case cap: \
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c579 * will be the global zone. We still want to show the swap cap inside
624 * If the fs is used by a non-global zone with a swap cap,
627 rctl_qty_t cap, used; local
631 cap = zp->zone_max_swap_ctl;
635 pgcap = btop(cap);
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm_dev.c85 void *cap = NULL; local
88 (void) nvme_ioctl(fd, NVME_IOC_CAPABILITIES, &bufsize, &cap, 0, NULL);
90 return (cap);
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c495 uint32_t cap; local
550 if ((sda_getprop(slot, SDA_PROP_CAP_NOPIO, &cap) == 0) && (cap != 0)) {
553 if ((sda_getprop(slot, SDA_PROP_CAP_4BITS, &cap) == 0) && (cap != 0)) {
556 if ((sda_getprop(slot, SDA_PROP_CAP_HISPEED, &cap) == 0) &&
557 (cap != 0)) {
/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/common/io/fibre-channel/fca/qlge/
H A Dqlge_gld.c905 ql_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
911 switch (cap) {
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_main.c524 eib_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) argument
547 if ((caps != NULL) && (cap == MAC_CAPAB_HCKSUM)) {
560 } else if ((caps != NULL) && (cap == MAC_CAPAB_LSO)) {
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dpmap.c234 xdr_rmtcall_args(XDR *xdrs, struct rmtcallargs *cap) argument
238 if (xdr_rpcprog(xdrs, &(cap->prog)) &&
239 xdr_rpcvers(xdrs, &(cap->vers)) &&
240 xdr_rpcproc(xdrs, &(cap->proc))) {
242 if (!xdr_u_int(xdrs, &(cap->arglen)))
245 if (!(*(cap->xdr_args))(xdrs, cap->args_ptr))
248 cap->arglen = position - argposition;
250 if (!xdr_u_int(xdrs, &(cap->arglen)))
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c525 pt_display_acpi_power(uint32_t flag, double rate, double rem_cap, double cap, argument
552 (uint32_t)(cap - rem_cap)/rate);
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h176 #define cap cap64 macro
200 #define cap cap32 macro
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_gld_v3.c454 sfxge_gld_getcapab(void *arg, mac_capab_t cap, void *cap_arg) argument
460 switch (cap) {

Completed in 322 milliseconds

12345678