Lines 395-401
mfi_decode_evt(int fd, struct mfi_evt_detail *detail, int verbose)
Link Here
|
395 |
printf(": "); |
395 |
printf(": "); |
396 |
break; |
396 |
break; |
397 |
case MR_EVT_ARGS_LD_LBA: |
397 |
case MR_EVT_ARGS_LD_LBA: |
398 |
printf("VOL %s", volume_name(fd, &detail->args.ld_count.ld)); |
398 |
printf("VOL %s", volume_name(fd, &detail->args.ld_lba.ld)); |
399 |
if (verbose) { |
399 |
if (verbose) { |
400 |
printf(" lba %lld", |
400 |
printf(" lba %lld", |
401 |
(long long)detail->args.ld_lba.lba); |
401 |
(long long)detail->args.ld_lba.lba); |
Lines 403-409
mfi_decode_evt(int fd, struct mfi_evt_detail *detail, int verbose)
Link Here
|
403 |
printf(": "); |
403 |
printf(": "); |
404 |
break; |
404 |
break; |
405 |
case MR_EVT_ARGS_LD_OWNER: |
405 |
case MR_EVT_ARGS_LD_OWNER: |
406 |
printf("VOL %s", volume_name(fd, &detail->args.ld_count.ld)); |
406 |
printf("VOL %s", volume_name(fd, &detail->args.ld_owner.ld)); |
407 |
if (verbose) { |
407 |
if (verbose) { |
408 |
printf(" owner changed: prior %d, new %d", |
408 |
printf(" owner changed: prior %d, new %d", |
409 |
detail->args.ld_owner.pre_owner, |
409 |
detail->args.ld_owner.pre_owner, |
Lines 412-418
mfi_decode_evt(int fd, struct mfi_evt_detail *detail, int verbose)
Link Here
|
412 |
printf(": "); |
412 |
printf(": "); |
413 |
break; |
413 |
break; |
414 |
case MR_EVT_ARGS_LD_LBA_PD_LBA: |
414 |
case MR_EVT_ARGS_LD_LBA_PD_LBA: |
415 |
printf("VOL %s", volume_name(fd, &detail->args.ld_count.ld)); |
415 |
printf("VOL %s", volume_name(fd, &detail->args.ld_lba_pd_lba.ld)); |
416 |
if (verbose) { |
416 |
if (verbose) { |
417 |
printf(" lba %lld, physical drive PD %s lba %lld", |
417 |
printf(" lba %lld, physical drive PD %s lba %lld", |
418 |
(long long)detail->args.ld_lba_pd_lba.ld_lba, |
418 |
(long long)detail->args.ld_lba_pd_lba.ld_lba, |
Lines 431-437
mfi_decode_evt(int fd, struct mfi_evt_detail *detail, int verbose)
Link Here
|
431 |
printf(": "); |
431 |
printf(": "); |
432 |
break; |
432 |
break; |
433 |
case MR_EVT_ARGS_LD_STATE: |
433 |
case MR_EVT_ARGS_LD_STATE: |
434 |
printf("VOL %s", volume_name(fd, &detail->args.ld_prog.ld)); |
434 |
printf("VOL %s", volume_name(fd, &detail->args.ld_state.ld)); |
435 |
if (verbose) { |
435 |
if (verbose) { |
436 |
printf(" state prior %s new %s", |
436 |
printf(" state prior %s new %s", |
437 |
mfi_ldstate(detail->args.ld_state.prev_state), |
437 |
mfi_ldstate(detail->args.ld_state.prev_state), |
Lines 486-492
mfi_decode_evt(int fd, struct mfi_evt_detail *detail, int verbose)
Link Here
|
486 |
case MR_EVT_ARGS_PD_STATE: |
486 |
case MR_EVT_ARGS_PD_STATE: |
487 |
if (verbose) { |
487 |
if (verbose) { |
488 |
printf("PD %s state prior %s new %s: ", |
488 |
printf("PD %s state prior %s new %s: ", |
489 |
pdrive_location(&detail->args.pd_prog.pd), |
489 |
pdrive_location(&detail->args.pd_state.pd), |
490 |
mfi_pdstate(detail->args.pd_state.prev_state), |
490 |
mfi_pdstate(detail->args.pd_state.prev_state), |
491 |
mfi_pdstate(detail->args.pd_state.new_state)); |
491 |
mfi_pdstate(detail->args.pd_state.new_state)); |
492 |
} |
492 |
} |