Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/format/
H A Danalyze.c125 if (scan_correct && !EMBEDDED_SCSI && (cur_ops->op_repair != NULL) && in do_scan()
455 if (cur_ops->op_repair == NULL) { in scan_repair()
476 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, bn, 1, in scan_repair()
489 status = (*cur_ops->op_repair)(bn, mode); in scan_repair()
509 status = (*cur_ops->op_rdwr)(DIR_WRITE, cur_file, bn, in scan_repair()
512 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, bn, in scan_repair()
544 (*cur_ops->op_ex_cur)(&cur_list); in scan_repair()
603 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, blkno, in analyze_blocks()
623 status = (*cur_ops->op_rdwr)(DIR_WRITE, cur_file, blkno, in analyze_blocks()
634 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, blkno, in analyze_blocks()
[all …]
H A Ddefect.c93 if (*cur_ops->op_ex_cur != NULL && in read_list()
94 ((*cur_ops->op_ex_cur)(list)) == 0) { in read_list()
103 if (*cur_ops->op_ex_man != NULL && in read_list()
104 ((*cur_ops->op_ex_man)(list)) == 0) { in read_list()
123 if ((*cur_ops->op_rdwr)(DIR_READ, cur_file, in read_list()
141 if ((*cur_ops->op_rdwr)(DIR_READ, cur_file, in read_list()
163 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, in read_list()
344 (*cur_ops->op_wr_cur)(list); in write_deflist()
361 status = (*cur_ops->op_rdwr)(DIR_WRITE, cur_file, in write_deflist()
369 status = (*cur_ops->op_rdwr)(DIR_WRITE, cur_file, in write_deflist()
[all …]
H A Dmenu_command.c834 if (cur_ops->op_format == NULL) { in c_format()
1144 status = (*cur_ops->op_format)(start, end, &cur_list); in c_format()
1164 if (*cur_ops->op_ex_man == NULL || in c_format()
1165 (*cur_ops->op_ex_man)(&cur_list)) { in c_format()
1253 if (cur_ops->op_repair == NULL) { in c_repair()
1317 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, bn, in c_repair()
1344 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, bn, in c_repair()
1367 status = (*cur_ops->op_repair)(bn, F_NORMAL); in c_repair()
1382 status = (*cur_ops->op_rdwr)(DIR_WRITE, cur_file, bn, in c_repair()
1385 status = (*cur_ops->op_rdwr)(DIR_READ, cur_file, in c_repair()
[all …]
H A Dmain.c67 struct ctlr_ops *cur_ops; variable
395 cur_ops = cur_ctype->ctype_ops; in init_globals()
485 if ((*cur_ops->op_ck_format)()) { in init_globals()
543 if ((status == 0) && (cur_ops->op_ex_man != NULL)) { in init_globals()
544 status = (*cur_ops->op_ex_man)(&cur_list); in init_globals()
H A Dmenu_defect.c118 if (cur_ops->op_ex_man == NULL) { in d_original()
145 status = (*cur_ops->op_ex_man)(&work_list); in d_original()
177 if (cur_ops->op_ex_cur == NULL) { in d_extract()
214 status = (*cur_ops->op_ex_cur)(&work_list); in d_extract()
849 if (cur_ops->op_create == NULL) { in d_create()
873 status = (*cur_ops->op_create)(&work_list); in d_create()
H A Dglobal.h114 extern struct ctlr_ops *cur_ops; /* current ctlr's ops vector */
H A Dlabel.c432 if ((*cur_ops->op_rdwr)(DIR_READ, cur_file, (diskaddr_t) in write_label()