Home
last modified time | relevance | path

Searched refs:cstate (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c128 static const char *cstate[] = { CHAPCS__LIST }; in chap_cstate() local
131 if (clientstate < 0 || clientstate >= Dim(cstate)) { in chap_cstate()
135 return cstate[clientstate]; in chap_cstate()
158 chap_state *cstate = &chap[unit]; local
160 BZERO(cstate, sizeof(*cstate));
161 cstate->unit = unit;
162 cstate->clientstate = CHAPCS_INITIAL;
163 cstate->serverstate = CHAPSS_INITIAL;
164 cstate->timeouttime = CHAP_DEFTIMEOUT;
165 cstate->max_transmits = CHAP_DEFTRANSMITS;
[all …]
H A Dmschap_test.c23 show_response(chap_state *cstate, const char *str) in show_response() argument
27 printf("%s -- %d bytes:", str, cstate->resp_length); in show_response()
29 for (i = 0; i < cstate->resp_length; i++) { in show_response()
32 printf("%02X ", (unsigned int)cstate->response[i]); in show_response()
44 chap_state cstate; local
60 BZERO(&cstate, sizeof(cstate));
61 ChapMS(&cstate, challenge, sizeof(challenge), argv[2], strlen(argv[2]));
63 show_response(&cstate, "MS-CHAPv1 with LAN Manager");
65 show_response(&cstate, "MS-CHAPv1");
68 cstate.chal_len = sizeof(challenge);
[all …]
H A Dchap_ms.c343 ChapMS(cstate, rchallenge, rchallenge_len, secret, secret_len) in ChapMS() argument
344 chap_state *cstate; in ChapMS()
353 cstate->resp_length = 0;
374 BCOPY(&response, cstate->response, MS_CHAP_RESPONSE_LEN);
375 cstate->resp_length = MS_CHAP_RESPONSE_LEN;
379 ChapMSStatus(cstate, flag) in ChapMSStatus() argument
380 chap_state *cstate; in ChapMSStatus()
384 cstate->stat_message = NULL;
385 cstate->stat_length = 0;
387 cstate->stat_message = "E=691 R=0 M=\"Authentication failed\"";
[all …]
H A Dchap_ms.h37 int ChapMSValidate __P((chap_state *cstate, u_char *response, int response_len,
39 int ChapMSv2Validate __P((chap_state *cstate, char *rhostname,
H A Dupap.c113 static const char *cstate[] = { UPAPCS__NAMES }; local
116 if (clientstate < 0 || clientstate >= Dim(cstate)) {
120 return (cstate[clientstate]);
/titanic_44/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_idle.c61 static void acpi_cpu_cstate(cpu_acpi_cstate_t *cstate);
102 cpu_acpi_cstate_t *cstate = ksp->ks_private; in cpu_idle_kstat_update() local
108 if (cstate->cs_addrspace_id == ACPI_ADR_SPACE_FIXED_HARDWARE) { in cpu_idle_kstat_update()
111 } else if (cstate->cs_addrspace_id == ACPI_ADR_SPACE_SYSTEM_IO) { in cpu_idle_kstat_update()
119 cpu_idle_kstat.cs_latency.value.ui32 = cstate->cs_latency; in cpu_idle_kstat_update()
120 cpu_idle_kstat.cs_power.value.ui32 = cstate->cs_power; in cpu_idle_kstat_update()
332 acpi_cpu_cstate(cpu_acpi_cstate_t *cstate) in acpi_cpu_cstate() argument
339 uint8_t type = cstate->cs_addrspace_id; in acpi_cpu_cstate()
340 uint32_t cs_type = cstate->cs_type; in acpi_cpu_cstate()
508 i86_mwait(cstate->cs_address, 1); in acpi_cpu_cstate()
[all …]
H A Dcpu_acpi.c665 cpu_acpi_verify_cstate(cpu_acpi_cstate_t *cstate) in cpu_acpi_verify_cstate() argument
667 uint32_t addrspaceid = cstate->cs_addrspace_id; in cpu_acpi_verify_cstate()
672 ":C%d, type: %d\n", cstate->cs_type, addrspaceid); in cpu_acpi_verify_cstate()
685 cpu_acpi_cstate_t *cstate, *p; in cpu_acpi_cache_cst() local
743 cstate = (cpu_acpi_cstate_t *)CPU_ACPI_CSTATES(handle); in cpu_acpi_cache_cst()
744 p = cstate; in cpu_acpi_cache_cst()
754 cstate->cs_addrspace_id = reg->AddressSpaceId; in cpu_acpi_cache_cst()
755 cstate->cs_address = reg->Address; in cpu_acpi_cache_cst()
757 cstate->cs_type = element->Integer.Value; in cpu_acpi_cache_cst()
759 cstate->cs_latency = element->Integer.Value; in cpu_acpi_cache_cst()
[all …]
H A Dcpupm_mach.c591 ASSERT(ms_cstate->cma_state.cstate == NULL); in cpupm_alloc_ms_cstate()
592 ms_cstate->cma_state.cstate = kmem_zalloc(sizeof (cma_c_state_t), in cpupm_alloc_ms_cstate()
594 ms_cstate->cma_state.cstate->cs_next_cstate = CPU_ACPI_C1; in cpupm_alloc_ms_cstate()
604 if (ms_cstate->cma_state.cstate != NULL) { in cpupm_free_ms_cstate()
605 kmem_free(ms_cstate->cma_state.cstate, sizeof (cma_c_state_t)); in cpupm_free_ms_cstate()
606 ms_cstate->cma_state.cstate = NULL; in cpupm_free_ms_cstate()
/titanic_44/usr/src/uts/common/net/
H A Dvjcompress.h111 struct cstate { struct
112 struct cstate *cs_next; /* next most recently used state (xmit only) */ argument
128 struct cstate *last_cs; /* most recently used tstate */ argument
135 struct cstate tstate[MAX_STATES]; /* xmit connection states */
136 struct cstate rstate[MAX_STATES]; /* receive connection states */
/titanic_44/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.c2920 ELFEDIT_CPL_STATE *cstate = (ELFEDIT_CPL_STATE *) cpldata; in elfedit_cpl_match() local
2930 ((cstate->ecpl_token_len != 0) && in elfedit_cpl_match()
2931 ((strlen(str) < cstate->ecpl_token_len)))) in elfedit_cpl_match()
2936 if (strncasecmp(cstate->ecpl_token_str, str, in elfedit_cpl_match()
2937 cstate->ecpl_token_len) != 0) in elfedit_cpl_match()
2940 if (strncmp(cstate->ecpl_token_str, str, in elfedit_cpl_match()
2941 cstate->ecpl_token_len) != 0) in elfedit_cpl_match()
2945 if (cstate->ecpl_add_mod_colon) { in elfedit_cpl_match()
2951 (void) cpl_add_completion(cstate->ecpl_cpl, cstate->ecpl_line, in elfedit_cpl_match()
2952 cstate->ecpl_word_start, cstate->ecpl_word_end, in elfedit_cpl_match()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dvuid_store.h93 #define vuid_cstate_to_state(cstate) ((Vuid_seg *)cstate) argument
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c80 register struct cstate *tstate = comp->tstate; in vj_compress_init()
163 register struct cstate *cs = comp->last_cs->cs_next; in vj_compress_tcp()
220 register struct cstate *lcs; in vj_compress_tcp()
221 register struct cstate *lastcs = comp->last_cs; in vj_compress_tcp()
495 register struct cstate *cs; in vj_uncompress_uncomp()
541 register struct cstate *cs; in vj_uncompress_tcp()
/titanic_44/usr/src/cmd/egrep/
H A Degrep.y440 if (cstate(line-1)==0) { in cgotofn()
513 cstate(int v) in cstate() function
524 if (cstate(left[v]) == 0) return (0); in cstate()
529 if (cstate(left[v]) == 0 && cstate(right[v]) == 0) return (0); in cstate()
533 b = cstate(right[v]); in cstate()
534 if (cstate(left[v]) == 0 || b == 0) return (0); in cstate()
626 case PLUS: cstate(v); in follow()
635 if (cstate(right[p]) == 0) { in follow()
980 if (cstate(line-1)==0) { in clearg()
/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_case.c2149 uint_t cstate; in fmd_case_update() local
2153 cstate = cip->ci_state; in fmd_case_update()
2185 if (cstate == FMD_CASE_CLOSED) in fmd_case_update()
2291 uint_t cstate; in fmd_case_repair() local
2295 cstate = cip->ci_state; in fmd_case_repair()
2297 if (cstate < FMD_CASE_SOLVED) { in fmd_case_repair()
2324 if (cstate == FMD_CASE_CLOSED) in fmd_case_repair()
2336 uint_t cstate; in fmd_case_acquit() local
2340 cstate = cip->ci_state; in fmd_case_acquit()
2342 if (cstate < FMD_CASE_SOLVED) { in fmd_case_acquit()
[all …]
/titanic_44/usr/src/uts/i86pc/sys/
H A Dcpupm_mach.h100 cma_c_state_t *cstate; member
/titanic_44/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.s58 SHA1TransformVIS(uint64_t *X0, uint64_t *blk, uint32_t *cstate, uint64_t *VIS)