Home
last modified time | relevance | path

Searched refs:chcnt (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/csh/
H A Dsh.tchar.c145 int chcnt = 0; in mbstotcs() local
156 chcnt++; in mbstotcs()
158 chcnt++; /* For terminator. */ in mbstotcs()
159 return (chcnt); /* # of chars including terminating zero. */ in mbstotcs()
168 if (++chcnt >= tosize) { in mbstotcs()
173 if (chcnt < tosize) { in mbstotcs()
175 ++chcnt; in mbstotcs()
177 return (chcnt); /* # of chars including terminating zero. */ in mbstotcs()
/titanic_50/usr/src/uts/intel/os/
H A Dfmsmb.c726 uint16_t bb_id, int *chcnt) in get_chassis_inst() argument
759 *chcnt = 2; in get_chassis_inst()
761 *chcnt = 1; in get_chassis_inst()
785 int chcnt = 0; in smb_get_bb_fmri() local
798 rc = get_chassis_inst(shp, &chassis_inst, bbid, &chcnt); in smb_get_bb_fmri()
804 if ((bb_idx.count + chcnt) > MAX_PAIRS) { in smb_get_bb_fmri()
809 if (chcnt > 1) { in smb_get_bb_fmri()
849 for (j = 0, i = chcnt, cnt = chcnt; j < bb_idx.count; j++) { in smb_get_bb_fmri()
/titanic_50/usr/src/uts/common/rpc/
H A Drpc_subr.c142 int chcnt = 0; in rpc_iptype() local
152 while ((*cp != '\0') && (chcnt < RPC_MAX_IP_LENGTH)) { in rpc_iptype()
190 chcnt++; in rpc_iptype()
195 if ((chcnt == RPC_MAX_IP_LENGTH) || (othercnt)) in rpc_iptype()