Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/acct/
H A Dacctcms.c71 struct tcms *tcm; variable
180 if( (tcm = (struct tcms *)calloc(CSIZE, sizeof(struct tcms))) == NULL) { in main()
189 qsort(tcm, csize, sizeof(tcm[0]), in main()
452 for (i %= csize, j = 0; tcm[i].tcm_comm[0] && j != csize; i = (i+1)%csize, j++) in tenter()
453 if (EQN(p->tcm_comm, tcm[i].tcm_comm)) in tenter()
456 if ((ntcm = (struct tcms *) realloc(tcm, in tenter()
463 tcm = ntcm; in tenter()
464 if (!EQN(p->tcm_comm, tcm[i].tcm_comm)) in tenter()
469 if (tcm[i].tcm_comm[0] == 0) in tenter()
470 CPYN(tcm[i].tcm_comm, p->tcm_comm); in tenter()
[all …]