/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | drmach.h | 107 extern sbd_error_t *drmach_get_dip(drmachid_t id, dev_info_t **dip); 108 extern sbd_error_t *drmach_release(drmachid_t id); 109 extern sbd_error_t *drmach_pre_op(int cmd, drmachid_t id, 111 extern sbd_error_t *drmach_post_op(int cmd, drmachid_t id, 113 extern sbd_error_t *drmach_configure(drmachid_t id, int flags); 114 extern sbd_error_t *drmach_unconfigure(drmachid_t id, int flags); 115 extern sbd_error_t *drmach_status(drmachid_t id, drmach_status_t *stat); 116 extern sbd_error_t *drmach_passthru(drmachid_t id, 119 extern sbd_error_t *drmach_board_find_devices(drmachid_t id, void *a, 120 sbd_error_t *(*found)(void *a, const char *, int, drmachid_t)); [all …]
|
H A D | dr_util.h | 55 extern sbd_error_t *sbd_err_new(int e_code, char *fmt, va_list args); 56 extern void sbd_err_log(sbd_error_t *ep, int ce); 57 extern void sbd_err_clear(sbd_error_t **ep); 58 extern void sbd_err_set_c(sbd_error_t **ep, int ce, 60 extern void sbd_err_set(sbd_error_t **ep, int ce, 63 extern sbd_error_t *drerr_new(int log, int e_code, char *fmt, ...); 64 extern sbd_error_t *drerr_new_v(int e_code, char *fmt, va_list args); 65 extern void drerr_set_c(int log, sbd_error_t **ep,
|
H A D | sbd_ioctl.h | 240 } sbd_error_t; typedef 244 sbd_error_t i_err;
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | drmach.h | 288 extern sbd_error_t *drmach_mem_get_info(drmachid_t, drmach_mem_info_t *); 291 extern sbd_error_t *drmach_copy_rename_init( 295 extern sbd_error_t *drmach_copy_rename_fini(drmachid_t id); 298 extern sbd_error_t *drmach_pre_op(int cmd, drmachid_t id, 300 extern sbd_error_t *drmach_post_op(int cmd, drmachid_t id, 303 extern sbd_error_t *drmach_board_assign(int bnum, drmachid_t *id); 304 extern sbd_error_t *drmach_board_connect(drmachid_t id, 306 extern sbd_error_t *drmach_board_deprobe(drmachid_t id); 307 extern sbd_error_t *drmach_board_disconnect(drmachid_t id, 309 extern sbd_error_t *drmach_board_find_devices(drmachid_t id, void *a, [all …]
|
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr_util.h | 58 extern sbd_error_t *sbd_err_new(int e_code, char *fmt, va_list args); 59 extern void sbd_err_log(sbd_error_t *ep, int ce); 60 extern void sbd_err_clear(sbd_error_t **ep); 61 extern void sbd_err_set_c(sbd_error_t **ep, int ce, 63 extern void sbd_err_set(sbd_error_t **ep, int ce, 66 extern sbd_error_t *drerr_new(int log, int e_code, char *fmt, ...); 67 extern sbd_error_t *drerr_new_v(int e_code, char *fmt, va_list args); 68 extern void drerr_set_c(int log, sbd_error_t **ep,
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 87 static sbd_error_t *drmach_mem_update_lgrp(drmachid_t); 90 static sbd_error_t *drmach_board_release(drmachid_t); 91 static sbd_error_t *drmach_board_status(drmachid_t, drmach_status_t *); 94 static sbd_error_t *drmach_io_release(drmachid_t); 95 static sbd_error_t *drmach_io_status(drmachid_t, drmach_status_t *); 98 static sbd_error_t *drmach_cpu_release(drmachid_t); 99 static sbd_error_t *drmach_cpu_status(drmachid_t, drmach_status_t *); 102 static sbd_error_t *drmach_mem_release(drmachid_t); 103 static sbd_error_t *drmach_mem_status(drmachid_t, drmach_status_t *); 126 sbd_error_t *(*new)(drmach_device_t *, drmachid_t *); [all …]
|
H A D | drmach_acpi.h | 121 sbd_error_t *(*release)(drmachid_t); 122 sbd_error_t *(*status)(drmachid_t, drmach_status_t *); 180 sbd_error_t *(*found)(void *a, const char *, int, drmachid_t); 181 sbd_error_t *err; 187 extern sbd_error_t *drmach_device_new(drmach_node_t *, 189 extern sbd_error_t *drmach_cpu_new(drmach_device_t *, drmachid_t *); 190 extern sbd_error_t *drmach_mem_new(drmach_device_t *, drmachid_t *); 191 extern sbd_error_t *drmach_io_new(drmach_device_t *, drmachid_t *);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 127 sbd_error_t *(*release)(drmachid_t); 128 sbd_error_t *(*status)(drmachid_t, drmach_status_t *); 199 sbd_error_t *err; 207 sbd_error_t *(*found)(void *a, const char *, int, drmachid_t); 208 sbd_error_t *err; 213 static sbd_error_t *drmach_device_new(drmach_node_t *, 215 static sbd_error_t *drmach_cpu_new(drmach_device_t *, drmachid_t *); 216 static sbd_error_t *drmach_mem_new(drmach_device_t *, drmachid_t *); 217 static sbd_error_t *drmach_io_new(drmach_device_t *, drmachid_t *); 226 static sbd_error_t *drmach_i_status(drmachid_t, drmach_status_t *); [all …]
|
H A D | dr_mem.c | 118 sbd_error_t *err; in dr_get_memlist() 312 sbd_error_t *err; in dr_attach_mem() 328 sbd_error_t *err; in dr_attach_mem() 437 sbd_error_t *err; in dr_move_memory() 604 sbd_error_t *err; in dr_detach_mem() 628 sbd_error_t *err; in dr_detach_mem() 709 sbd_error_t *err; in dr_mem_status() 867 sbd_error_t *err; in dr_pre_attach_mem() 983 sbd_error_t *err; in dr_post_attach_mem() 1079 sbd_error_t *err; in dr_add_memory_spans() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 40 sbd_error_t * 43 sbd_error_t *new; in sbd_err_new() 45 new = GETSTRUCT(sbd_error_t, 1); in sbd_err_new() 55 sbd_err_log(sbd_error_t *ep, int ce) in sbd_err_log() 86 sbd_err_clear(sbd_error_t **ep) in sbd_err_clear() 88 FREESTRUCT(*ep, sbd_error_t, 1); in sbd_err_clear() 93 sbd_err_set_c(sbd_error_t **ep, int ce, int e_code, char *fmt, ...) in sbd_err_set_c() 95 sbd_error_t *tmp; in sbd_err_set_c() 113 sbd_err_set(sbd_error_t **ep, int ce, int e_code, char *fmt, ...) in sbd_err_set() 115 sbd_error_t *tmp; in sbd_err_set() [all …]
|
H A D | dr_io.c | 71 sbd_error_t *err; in dr_attach_io() 91 sbd_error_t *err; in dr_detach_io() 149 sbd_error_t *err; in dr_check_io_refs() 207 sbd_error_t *err; in dr_pre_release_io() 224 sbd_error_t *err; in dr_pre_release_io() 312 sbd_error_t *err; in dr_io_status()
|
H A D | dr_mem_acpi.c | 88 sbd_error_t *err; in dr_get_memlist() 167 sbd_error_t *err; in dr_attach_mem() 191 sbd_error_t *err; in dr_attach_mem() 292 sbd_error_t *err; in dr_mem_status() 415 sbd_error_t *err; in dr_pre_attach_mem() 505 sbd_error_t *err; in dr_post_attach_mem() 617 sbd_error_t *err; in dr_init_mem_unit_data()
|
H A D | dr_cpu.c | 114 sbd_error_t *err; in dr_cpu_set_prop() 169 sbd_error_t *err; in dr_init_cpu_unit() 265 sbd_error_t *err; in dr_attach_cpu() 436 sbd_error_t *err; in dr_pre_release_cpu() 559 sbd_error_t *err; in dr_detach_cpu() 730 sbd_error_t *err; in dr_cpu_status() 862 sbd_error_t *err; in dr_disconnect_cpu()
|
H A D | dr.c | 340 static sbd_error_t *dr_init_devlists(dr_board_t *bp); 708 sbd_error_t *err; in dr_attach() 1029 sizeof (sbd_error_t), hp->h_mode)) { in dr_copyout_errs() 1116 sbd_error_t *err; in dr_post_op() 2219 sbd_error_t *err; in dr_dev_status() 2778 sbd_error_t *err; in dr_op_err() 2794 sbd_error_t *err; in dr_dev_err() 2808 static sbd_error_t * 2849 static sbd_error_t * 2853 sbd_error_t *err; in dr_init_devlists() [all …]
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 40 sbd_error_t * 43 sbd_error_t *new; in sbd_err_new() 45 new = GETSTRUCT(sbd_error_t, 1); in sbd_err_new() 55 sbd_err_log(sbd_error_t *ep, int ce) in sbd_err_log() 86 sbd_err_clear(sbd_error_t **ep) in sbd_err_clear() 88 FREESTRUCT(*ep, sbd_error_t, 1); in sbd_err_clear() 93 sbd_err_set_c(sbd_error_t **ep, int ce, int e_code, char *fmt, ...) in sbd_err_set_c() 95 sbd_error_t *tmp; in sbd_err_set_c() 113 sbd_err_set(sbd_error_t **ep, int ce, int e_code, char *fmt, ...) in sbd_err_set() 115 sbd_error_t *tmp; in sbd_err_set() [all …]
|
H A D | dr_io.c | 93 sbd_error_t *err; in dr_attach_io() 113 sbd_error_t *err; in dr_detach_io() 171 sbd_error_t *err; in dr_check_io_refs() 229 sbd_error_t *err; in dr_pre_release_io() 246 sbd_error_t *err; in dr_pre_release_io() 334 sbd_error_t *err; in dr_io_status()
|
H A D | dr_cpu.c | 136 sbd_error_t *err; in dr_cpu_set_prop() 212 sbd_error_t *err; in dr_init_cpu_unit() 324 sbd_error_t *err; in dr_attach_cpu() 489 sbd_error_t *err; in dr_pre_release_cpu() 613 sbd_error_t *err; in dr_detach_cpu() 782 sbd_error_t *err; in dr_cpu_status() 913 sbd_error_t *err; in dr_disconnect_cpu()
|
H A D | dr_mem.c | 99 sbd_error_t *err; in dr_get_memlist() 294 sbd_error_t *err; in dr_attach_mem() 310 sbd_error_t *err; in dr_attach_mem() 432 sbd_error_t *err; in dr_move_memory() 600 sbd_error_t *err; in dr_detach_mem() 624 sbd_error_t *err; in dr_detach_mem() 726 sbd_error_t *err; in dr_mem_status() 882 sbd_error_t *err; in dr_pre_attach_mem() 978 sbd_error_t *err; in dr_post_attach_mem() 1079 sbd_error_t *err; in dr_add_memory_spans() [all …]
|
H A D | dr.c | 337 static sbd_error_t *dr_init_devlists(dr_board_t *bp); 710 sbd_error_t *err; in dr_attach() 1032 sizeof (sbd_error_t), hp->h_mode)) { in dr_copyout_errs() 2251 sbd_error_t *err; in dr_dev_status() 2808 sbd_error_t *err; in dr_op_err() 2824 sbd_error_t *err; in dr_dev_err() 2838 static sbd_error_t * 2880 static sbd_error_t * 2884 sbd_error_t *err; in dr_init_devlists() 2955 sbd_error_t *err; in dr_check_unit_attached() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_io.c | 189 sbd_error_t *sep; in sbd_io_status() 197 sep = kmem_zalloc(sizeof (sbd_error_t), KM_SLEEP); in sbd_io_status() 289 kmem_free(sep, sizeof (sbd_error_t)); in sbd_io_status() 330 sbd_error_t *sep; in sbd_check_io_refs() 333 sep = kmem_zalloc(sizeof (sbd_error_t), KM_SLEEP); in sbd_check_io_refs() 365 kmem_free(sep, sizeof (sbd_error_t)); in sbd_check_io_refs()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_priv.h | 197 sbd_error_t sep; 231 void sbdp_set_err(sbd_error_t *ep, int ecode, char *rsc); 234 int sbdp_detach_bd(int node, int board, sbd_error_t *sep);
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 126 sbd_error_t *sep = hp->h_err; in sbdp_get_board_status() 256 sbd_error_t *sep; in sbdp_assign_board() 307 sbd_error_t *sep; in sbdp_unassign_board() 400 sbd_error_t *sep; in sbdp_connect_board() 499 sbd_error_t *sep; in sbdp_disconnect_board() 581 sbd_error_t *sep; in sbdp_poweroff_board() 635 sbd_error_t *sep; in sbdp_poweron_board() 739 sbd_error_t *sep; in sbdp_test_board()
|
H A D | sbdp_quiesce.c | 74 sbdp_get_err_buf(sbd_error_t *ep) in sbdp_get_err_buf() 242 sbd_error_t *sep; 295 sbdp_check_devices(dev_info_t *dip, int *refcount, sbd_error_t *sep, in sbdp_check_devices() 412 sbd_error_t *sep; 510 sbd_error_t *sep;
|
H A D | sbdp_cpu.c | 187 sbd_error_t *sep; in sbdp_connect_cpu() 488 sbd_error_t *sep; in sbdp_get_cpuid() 530 sbd_error_t *sep; in sbdp_cpu_get_impl()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | sbd.h | 51 sbd_error_t *h_err; /* error reporting from lower layer */ 112 void sbdp_check_devices(dev_info_t *, int *refcount, sbd_error_t *, int *);
|