Lines Matching defs:myrs_ldev_info

405 struct myrs_ldev_info {  struct
406 unsigned char ctlr; /* Byte 0 */
407 unsigned char channel; /* Byte 1 */
408 unsigned char target; /* Byte 2 */
409 unsigned char lun; /* Byte 3 */
410 enum myrs_devstate dev_state; /* Byte 4 */
411 unsigned char raid_level; /* Byte 5 */
412 enum myrs_stripe_size stripe_size; /* Byte 6 */
413 enum myrs_cacheline_size cacheline_size; /* Byte 7 */
414 struct {
431 } ldev_control; /* Byte 8 */
433 unsigned char cc_active:1; /* Byte 9 Bit 0 */
434 unsigned char rbld_active:1; /* Byte 9 Bit 1 */
435 unsigned char bg_init_active:1; /* Byte 9 Bit 2 */
436 unsigned char fg_init_active:1; /* Byte 9 Bit 3 */
437 unsigned char migration_active:1; /* Byte 9 Bit 4 */
438 unsigned char patrol_active:1; /* Byte 9 Bit 5 */
439 unsigned char rsvd2:2; /* Byte 9 Bits 6-7 */
440 unsigned char raid5_writeupdate; /* Byte 10 */
441 unsigned char raid5_algo; /* Byte 11 */
442 unsigned short ldev_num; /* Bytes 12-13 */
444 unsigned char bios_disabled:1; /* Byte 14 Bit 0 */
445 unsigned char cdrom_boot:1; /* Byte 14 Bit 1 */
446 unsigned char drv_coercion:1; /* Byte 14 Bit 2 */
447 unsigned char write_same_disabled:1; /* Byte 14 Bit 3 */
448 unsigned char hba_mode:1; /* Byte 14 Bit 4 */
449 enum {
454 } __packed drv_geom:2; /* Byte 14 Bits 5-6 */
455 unsigned char super_ra_enabled:1; /* Byte 14 Bit 7 */
456 unsigned char rsvd3; /* Byte 15 */
458 unsigned short soft_errs; /* Bytes 16-17 */
459 unsigned short cmds_failed; /* Bytes 18-19 */
460 unsigned short cmds_aborted; /* Bytes 20-21 */
461 unsigned short deferred_write_errs; /* Bytes 22-23 */
462 unsigned int rsvd4; /* Bytes 24-27 */
463 unsigned int rsvd5; /* Bytes 28-31 */
465 unsigned short rsvd6; /* Bytes 32-33 */
466 unsigned short devsize_bytes; /* Bytes 34-35 */
467 unsigned int orig_devsize; /* Bytes 36-39 */
468 unsigned int cfg_devsize; /* Bytes 40-43 */
469 unsigned int rsvd7; /* Bytes 44-47 */
470 unsigned char ldev_name[32]; /* Bytes 48-79 */
471 unsigned char inquiry[36]; /* Bytes 80-115 */
472 unsigned char rsvd8[12]; /* Bytes 116-127 */
473 u64 last_read_lba; /* Bytes 128-135 */
474 u64 last_write_lba; /* Bytes 136-143 */
475 u64 cc_lba; /* Bytes 144-151 */
476 u64 rbld_lba; /* Bytes 152-159 */
477 u64 bg_init_lba; /* Bytes 160-167 */
478 u64 fg_init_lba; /* Bytes 168-175 */
479 u64 migration_lba; /* Bytes 176-183 */
480 u64 patrol_lba; /* Bytes 184-191 */
481 unsigned char rsvd9[64]; /* Bytes 192-255 */