Searched defs:cap (Results 1 - 25 of 190) sorted by relevance

12345678

/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/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 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 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) {
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 str = tparm((char *)cap, (long) row, (long) col,
H A Dtigetstr.c53 tigetstr(char *cap) argument
60 if (strcmp(*p, cap) == 0) {
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
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/cmd/cdrw/
H A Ddumpinfo.c46 size_t cap = 0; local
86 cap = get_last_possible_lba(target);
93 if (cap == 0)
94 cap = read_format_capacity(target->d_fd, &bsize);
101 cap *= target->d_blksize;
105 ((double)cap/ONE_MB_BASE2));
113 "%.2f GB "), ((double)cap/ONE_GB_BASE10));
116 cap /= target->d_blksize;
117 (void) printf(gettext("(%u blocks)\n"), (uint_t)cap);
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/syscall/
H A Dsysconfig.c168 * If the non-global zone has a phys. memory cap, use that.
181 * If the non-global zone has a phys. memory cap, use
182 * the phys. memory cap - zone's current rss. We always
188 pgcnt_t cap, rss, free; local
192 cap = btop(curproc->p_zone->zone_phys_mcap);
193 if (cap > physinstalled)
201 * Because rcapd implements a soft cap, it is possible
202 * for rss to be temporarily over the cap.
204 if (cap > rss)
205 free = cap
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c99 FILE *cap; local
102 if ((cap = fopen(filename, "r")) == NULL)
104 while (fgets(line, UNAMESIZE, cap) != NULL) {
111 fclose(cap);
115 fclose(cap);
/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/lib/libnsl/rpc/
H A Dpmap_prot.c179 xdr_rmtcallargs(XDR *xdrs, struct p_rmtcallargs *cap) argument
186 if (!xdr_u_int(xdrs, (uint_t *)&(cap->prog)) ||
187 !xdr_u_int(xdrs, (uint_t *)&(cap->vers)) ||
188 !xdr_u_int(xdrs, (uint_t *)&(cap->proc)))
191 IXDR_PUT_U_INT32(buf, cap->prog);
192 IXDR_PUT_U_INT32(buf, cap->vers);
193 IXDR_PUT_U_INT32(buf, cap->proc);
200 if (!xdr_u_int(xdrs, &(cap->args.args_len)))
203 if (!(*cap->xdr_args)(xdrs, cap
[all...]
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_main.c62 uint64_t cap; local
70 if (cmi_hdl_rdmsr(hdl, IA32_MSR_MCG_CAP, &cap) != CMI_SUCCESS)
73 if (!(cap & MCG_CAP_CTL_P))
76 if ((cap & MCG_CAP_COUNT_MASK) != AMD_MCA_BANK_COUNT) {
80 (u_longlong_t)cap & MCG_CAP_COUNT_MASK,
/illumos-gate/usr/src/uts/intel/io/pciex/
H A Dpcie_nvidia.c53 ushort_t cap; local
68 cap = (*pci_getb_func)(bus, dev, func, capsp);
70 if (cap == PCI_CAP_ID_PCI_E) {
113 if (cdip && (cap == PCI_CAP_ID_PCI_HOTPLUG)) {
/illumos-gate/usr/src/cmd/virtinfo/
H A Dvirtinfo.c57 virtinfo_cap_to_impl(int cap) argument
59 if (cap & V12N_CAP_IMPL_LDOMS)
68 int cap; local
134 cap = v12n_capabilities();
135 if ((cap & V12N_CAP_SUPPORTED) == 0) {
138 } else if ((cap & V12N_CAP_ENABLED) == 0) {
141 virtinfo_cap_to_impl(cap));
155 if (roles == -1 || (cap & V12N_CAP_IMPL_LDOMS) == 0) {
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c149 get_tpm_capability(TSS_HCONTEXT hContext, TSS_HOBJECT hTPM, UINT32 cap, argument
156 ret = Tspi_TPM_GetCapability(hTPM, cap, sizeof (subcap),
166 "(expected %u)\n"), cap, datalen, bufsize);
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dcap.c213 Elf_cap_entry(Lm_list *lml, Cap *cap, int ndx, const char *str, size_t str_size, argument
222 switch (cap->c_tag) {
227 if (str && (cap->c_un.c_ptr < str_size)) {
228 str += cap->c_un.c_ptr;
234 str = conv_cap_val(cap->c_tag, cap->c_un.c_val, mach, 0,
239 conv_cap_tag(cap->c_tag, 0, &inv_buf), str);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_fm.c136 pci_fm_init_child(dev_info_t *dip, dev_info_t *tdip, int cap, argument
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_phy.c231 uint32_t cap = 0; local
238 efx_phy_lp_cap_get(sp->s_enp, &cap);
243 return (cap & (1 << field));
315 uint32_t cap = 0; local
324 efx_phy_adv_cap_get(enp, flag, &cap);
333 return ((cap & (1 << field)) ? 1 : 0);
342 uint32_t cap; local
356 efx_phy_adv_cap_get(enp, EFX_PHY_CAP_CURRENT, &cap);
359 cap |= (1 << field);
361 cap
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c382 COMPOUND4args *cap; local
409 cap = (COMPOUND4args *)ap;
415 rfs4_compound_flagproc(cap, &dis_flags);
431 rfs4_resource_err(req, cap);
447 rfs4_compound(cap, rbp, NULL, req, cr, &rv);
480 rfs4_compound(cap, rbp, NULL, req, cr, &rv);
/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...]

Completed in 104 milliseconds

12345678