Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c904 int rv, cur_buf, left, have, tpcnt; in child_copy() local
912 cur_buf = 0; in child_copy()
914 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in child_copy()
916 left = *Cnts[cur_buf]; in child_copy()
919 c_p = Buf[cur_buf]; in child_copy()
946 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in child_copy()
948 cur_buf = (cur_buf + 1) % BUFCNT; in child_copy()
961 int rv, left, have, tpcnt, cur_buf; in parent_copy() local
974 cur_buf = 0; in parent_copy()
978 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in parent_copy()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dmain.c65 void *cur_buf; variable
377 if ((char *)cur_buf != NULL) { in init_globals()
378 destroy_data((char *)cur_buf); in init_globals()
379 cur_buf = NULL; in init_globals()
468 cur_buf = (void *) zalloc(BUF_SECTS * cur_blksz); in init_globals()
H A Danalyze.c604 blkcnt, (caddr_t)cur_buf, driver_flags, xfercntp); in analyze_blocks()
665 blkcnt, (caddr_t)cur_buf, driver_flags, xfercntp); in analyze_blocks()
681 blkcnt, (caddr_t)cur_buf, F_NORMAL, xfercntp)) in analyze_blocks()
H A Ddisk_generic.c90 status = generic_rdwr(DIR_READ, cur_file, 0, 4, (caddr_t)cur_buf, in generic_ck_format()
H A Dglobal.h117 extern void *cur_buf; /* current disk's I/O buffer */
H A Dmenu_analyze.c191 *((int *)((int *)cur_buf + i + j))); in a_print()
H A Dctlr_scsi.c276 (caddr_t)cur_buf, F_SILENT, NULL); in scsi_ck_format()