Searched refs:smart_h (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/smart/ |
| H A D | libsmart.h | 49 typedef void * smart_h; typedef 121 smart_h smart_open(smart_protocol_e p, char *devname); 129 void smart_close(smart_h); 137 bool smart_supported(smart_h); 145 smart_map_t *smart_read(smart_h); 164 void smart_print(smart_h, smart_map_t *, smart_matches_t *, uint32_t); 172 void smart_print_device_info(smart_h);
|
| H A D | libsmart_dev.h | 34 extern smart_h device_open(smart_protocol_e, char *); 43 extern void device_close(smart_h); 58 extern int32_t device_read_log(smart_h, uint32_t, void *, size_t);
|
| H A D | libsmart.c | 67 static uint32_t __smart_buffer_size(smart_h h); 68 static smart_map_t *__smart_map(smart_h h, smart_buf_t *sb); 69 static smart_page_list_t *__smart_page_list(smart_h h); 70 static int32_t __smart_read_pages(smart_h h, smart_buf_t *sb); 90 smart_h 108 smart_close(smart_h h) in smart_close() 115 smart_supported(smart_h h) in smart_supported() 129 smart_read(smart_h h) in smart_read() 353 smart_print(__attribute__((unused)) smart_h h, smart_map_t *sm, smart_matches_t *which, uint32_t fl… in smart_print() 482 smart_print_device_info(smart_h h) in smart_print_device_info() [all …]
|
| H A D | freebsd_dev.c | 51 smart_h 95 device_close(smart_h h) in device_close() 119 __device_read_ata(smart_h h, uint32_t page, void *buf, size_t bsize, union ccb *ccb) in __device_read_ata() 204 __device_read_scsi(__attribute__((unused)) smart_h h, uint32_t page, void *buf, size_t bsize, union… in __device_read_scsi() 225 __device_read_nvme(__attribute__((unused)) smart_h h, uint32_t page, void *buf, size_t bsize, union… in __device_read_nvme() 273 __device_status_ata(smart_h h, union ccb *ccb) in __device_status_ata() 355 device_read_log(smart_h h, uint32_t page, void *buf, size_t bsize) in device_read_log()
|
| H A D | smart.c | 199 smart_h h; in main()
|