/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tgoto.c | 52 tgoto(char *cap, int col, int row) argument 56 cp = tparm_p2(cap, row, col);
|
H A D | tcsearch.c | 48 _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 D | tgetflag.c | 53 tgetflag(char *cap) argument 59 if (memcmp(*p, cap, 2) == 0) {
|
H A D | tgetnum.c | 53 tgetnum(char *cap) argument 59 if (memcmp(*p, cap, 2) == 0) {
|
H A D | tigetfla.c | 53 tigetflag(char *cap) argument 59 if (strcmp(*p, cap) == 0) {
|
H A D | tigetnum.c | 53 tigetnum(char *cap) argument 59 if (strcmp(*p, cap) == 0) {
|
H A D | tgetstr.c | 55 * 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 D | tgoto.c | 52 tgoto(char *cap, int col, int row) argument 56 str = tparm((char *)cap, (long) row, (long) col,
|
H A D | tigetstr.c | 53 tigetstr(char *cap) argument 60 if (strcmp(*p, cap) == 0) {
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | tgoto.c | 47 (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 D | dumpinfo.c | 46 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 D | write_image.c | 103 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 D | sysconfig.c | 168 * 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 D | permit.c | 99 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 D | scsi_capabilities.c | 40 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 D | pmap_prot.c | 179 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 D | ao_main.c | 62 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 D | pcie_nvidia.c | 53 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 D | virtinfo.c | 57 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 D | main.c | 149 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 D | cap.c | 213 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 D | pci_fm.c | 136 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 D | sfxge_phy.c | 231 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 D | nfs4_dispatch.c | 382 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 D | sas2_functions.c | 66 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...] |