ctl_ioctl.h (814aaaa7da4dab462d90e12e7b48b75f2093ccfd) | ctl_ioctl.h (b4b4b5304bd22eab265c9c049cb7fc6b55c4ef3f) |
---|---|
1/*- 2 * Copyright (c) 2003 Silicon Graphics International Corp. 3 * Copyright (c) 2011 Spectra Logic Corporation 4 * Copyright (c) 2014-2017 Alexander Motin <mav@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 136 unchanged lines hidden (view full) --- 145 struct bintime dma_time[CTL_STATS_NUM_TYPES]; 146}; 147 148struct ctl_lun_io_stats { 149 uint8_t device_type; 150 uint64_t lun_number; 151 uint32_t blocksize; 152 ctl_lun_stats_flags flags; | 1/*- 2 * Copyright (c) 2003 Silicon Graphics International Corp. 3 * Copyright (c) 2011 Spectra Logic Corporation 4 * Copyright (c) 2014-2017 Alexander Motin <mav@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 136 unchanged lines hidden (view full) --- 145 struct bintime dma_time[CTL_STATS_NUM_TYPES]; 146}; 147 148struct ctl_lun_io_stats { 149 uint8_t device_type; 150 uint64_t lun_number; 151 uint32_t blocksize; 152 ctl_lun_stats_flags flags; |
153 struct ctl_lun_io_port_stats *ports; | 153 struct ctl_lun_io_port_stats ports[CTL_MAX_PORTS]; |
154}; 155 156struct ctl_stats { 157 int alloc_len; /* passed to kernel */ 158 struct ctl_lun_io_stats *lun_stats; /* passed to/from kernel */ 159 int fill_len; /* passed to userland */ 160 int num_luns; /* passed to userland */ 161 ctl_stats_status status; /* passed to userland */ --- 695 unchanged lines hidden --- | 154}; 155 156struct ctl_stats { 157 int alloc_len; /* passed to kernel */ 158 struct ctl_lun_io_stats *lun_stats; /* passed to/from kernel */ 159 int fill_len; /* passed to userland */ 160 int num_luns; /* passed to userland */ 161 ctl_stats_status status; /* passed to userland */ --- 695 unchanged lines hidden --- |