Searched refs:drctl_rsrc_t (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd.h | 58 int (*cpu_config_request)(drctl_rsrc_t *rsrcs, int nrsrc); 59 int (*cpu_config_notify)(drctl_rsrc_t *rsrcs, int nrsrc); 60 int (*cpu_unconfig_request)(drctl_rsrc_t *rsrcs, int nrsrc); 61 int (*cpu_unconfig_notify)(drctl_rsrc_t *rsrcs, int nrsrc); 62 int (*io_config_request)(drctl_rsrc_t *rsrc, int nrsrc); 63 int (*io_config_notify)(drctl_rsrc_t *rsrc, int nrsrc); 64 int (*io_unconfig_request)(drctl_rsrc_t *rsrc, int nrsrc); 65 int (*io_unconfig_notify)(drctl_rsrc_t *rsrc, int nrsrc); 66 int (*mem_config_request)(drctl_rsrc_t *rsrcs, int nrsrc); 67 int (*mem_config_notify)(drctl_rsrc_t *rsrcs, int nrsrc); [all …]
|
H A D | drd_rcm.c | 100 static drctl_rsrc_t *cpu_rsrcstr_to_rsrc(const char *, drctl_rsrc_t *, int); 138 drd_rcm_cpu_config_request(drctl_rsrc_t *rsrcs, int nrsrc) in drd_rcm_cpu_config_request() 159 drd_rcm_cpu_config_notify(drctl_rsrc_t *rsrcs, int nrsrc) in drd_rcm_cpu_config_notify() 257 drd_rcm_online_cpu_notify(drctl_rsrc_t *rsrcs, int nrsrc) in drd_rcm_online_cpu_notify() 284 drd_rcm_add_cpu_notify(drctl_rsrc_t *rsrcs, int nrsrc) in drd_rcm_add_cpu_notify() 364 drd_rcm_del_cpu_request(drctl_rsrc_t *rsrcs, int nrsrc) in drd_rcm_del_cpu_request() 468 drctl_rsrc_t *rsrc; in drd_rcm_offline_cpu_request() 638 drd_rcm_del_cpu_notify(drctl_rsrc_t *rsrcs, int nrsrc) in drd_rcm_del_cpu_notify() 847 static drctl_rsrc_t * 1014 drd_rcm_io_config_request(drctl_rsrc_t *rsrc, int nrsrc) in drd_rcm_io_config_request() [all …]
|
H A D | drd.c | 57 static drctl_rsrc_t *drd_result = NULL; 262 drd_pack_response(drctl_rsrc_t *rsrcs, int nrsrc) in drd_pack_response() 264 drctl_rsrc_t *orsrcsp; in drd_pack_response() 349 drctl_rsrc_t *rsrcs; in drd_door_server() 363 rsrcs = (drctl_rsrc_t *)(uintptr_t)msg->data; in drd_door_server()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | drctl.h | 89 } drctl_rsrc_t; typedef 109 drctl_rsrc_t resources[1]; 123 drctl_rsrc_t data[1]; 136 drctl_rsrc_t *, int, drctl_resp_t **, size_t *, drctl_cookie_t); 137 extern int drctl_config_fini(drctl_cookie_t, drctl_rsrc_t *, int);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | drctl.c | 280 drctl_generate_resp(drctl_rsrc_t *res, in drctl_generate_resp() 285 drctl_rsrc_t *rsrc; in drctl_generate_resp() 340 drctl_rsrc_t *rsrc = resp->resp_resources; in verify_response() 380 drctl_config_common(int cmd, int flags, drctl_rsrc_t *res, in drctl_config_common() 438 drctl_config_init(int cmd, int flags, drctl_rsrc_t *res, in drctl_config_init() 522 drctl_config_fini(drctl_cookie_t ck, drctl_rsrc_t *res, int count) in drctl_config_fini() 616 drctl_rsrc_t *rsrcs; in send_message() 663 *data_size = count * sizeof (drctl_rsrc_t); in pack_message() 669 *data_size = count * sizeof (drctl_rsrc_t); in pack_message() 675 *data_size = sizeof (drctl_rsrc_t) + in pack_message() [all …]
|
H A D | dr_io.c | 446 drctl_rsrc_t *drctl_req; in dr_io_configure() 448 drctl_rsrc_t *drctl_rsrc = NULL; in dr_io_configure() 527 drctl_req_len = sizeof (drctl_rsrc_t) + MAXPATHLEN; in dr_io_configure() 650 drctl_rsrc_t *drctl_req; in dr_io_unconfigure() 652 drctl_rsrc_t *drctl_rsrc = NULL; in dr_io_unconfigure() 672 drctl_req_len = sizeof (drctl_rsrc_t) + MAXPATHLEN; in dr_io_unconfigure()
|
H A D | dr_mem.c | 201 static dr_mem_res_t *dr_mem_res_array_init(dr_mem_hdr_t *, drctl_rsrc_t *, int); 433 drctl_rsrc_t *drctl_req; in dr_mem_list_wrk() 436 drctl_rsrc_t *drctl_rsrc; in dr_mem_list_wrk() 471 drctl_req_len = sizeof (drctl_rsrc_t) * count; in dr_mem_list_wrk() 580 dr_mem_res_array_init(dr_mem_hdr_t *req, drctl_rsrc_t *rsrc, int nrsrc) in dr_mem_res_array_init()
|
H A D | dr_cpu.c | 147 static dr_cpu_res_t *dr_cpu_res_array_init(dr_cpu_hdr_t *, drctl_rsrc_t *, int); 390 drctl_rsrc_t *drctl_req; in dr_cpu_list_wrk() 393 drctl_rsrc_t *drctl_rsrc; in dr_cpu_list_wrk() 432 drctl_req_len = sizeof (drctl_rsrc_t) * count; in dr_cpu_list_wrk() 551 dr_cpu_res_array_init(dr_cpu_hdr_t *req, drctl_rsrc_t *rsrc, int nrsrc) in dr_cpu_res_array_init()
|