Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c104 static char *workp; /* name of the work file */ variable
243 workp = tempnam(".", "xx");
244 if ((fp_outp = fopen(workp, "a+")) == NULL) {
245 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
280 cmdname, workp, syserr());
289 if ((fp_outp = fopen(workp, "r")) == NULL) {
290 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
293 if ((stat(workp, &buf)) != 0) {
294 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
311 (void) fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_nvram.c629 pmcwork_t *workp; in pmcs_get_nvmd() local
676 workp = pmcs_gwork(pwp, PMCS_TAG_TYPE_WAIT, NULL); in pmcs_get_nvmd()
677 if (workp == NULL) { in pmcs_get_nvmd()
686 workp->arg = (void *)&iomb; in pmcs_get_nvmd()
687 iomb.htag = LE_32(workp->htag); in pmcs_get_nvmd()
706 pmcs_pwork(pwp, workp); in pmcs_get_nvmd()
713 workp->state = PMCS_WORK_STATE_ONCHIP; in pmcs_get_nvmd()
716 WAIT_FOR(workp, 1000, result); in pmcs_get_nvmd()
717 ptr = workp->arg; in pmcs_get_nvmd()
719 pmcs_timed_out(pwp, workp->htag, __func__); in pmcs_get_nvmd()
[all …]
/titanic_44/usr/src/uts/common/crypto/io/
H A Ddca.c1137 dca_work_t *workp; in dca_initworklist() local
1139 if ((workp = dca_newwork(dca)) == NULL) { in dca_initworklist()
1144 workp->dw_wlp = wlp; in dca_initworklist()
1145 dca_freework(workp); in dca_initworklist()
1231 dca_work_t *workp; in dca_uninit() local
1239 while ((workp = dca_getwork(dca, mcr)) != NULL) { in dca_uninit()
1240 dca_destroywork(workp); in dca_uninit()
1533 dca_work_t *workp; in dca_newwork() local
1539 workp = kmem_zalloc(sizeof (dca_work_t), KM_SLEEP); in dca_newwork()
1542 DDI_DMA_SLEEP, NULL, &workp->dw_mcr_dmah); in dca_newwork()
[all …]