Home
last modified time | relevance | path

Searched refs:nrsrc (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/drd/
H A Ddrd_rcm.c47 static int drd_rcm_cpu_config_request(drctl_rsrc_t *rsrcs, int nrsrc);
48 static int drd_rcm_cpu_config_notify(drctl_rsrc_t *rsrcs, int nrsrc);
49 static int drd_rcm_cpu_unconfig_request(drctl_rsrc_t *rsrcs, int nrsrc);
50 static int drd_rcm_cpu_unconfig_notify(drctl_rsrc_t *rsrcs, int nrsrc);
51 static int drd_rcm_io_config_request(drctl_rsrc_t *rsrc, int nrsrc);
52 static int drd_rcm_io_config_notify(drctl_rsrc_t *rsrc, int nrsrc);
53 static int drd_rcm_io_unconfig_request(drctl_rsrc_t *rsrc, int nrsrc);
54 static int drd_rcm_io_unconfig_notify(drctl_rsrc_t *rsrc, int nrsrc);
55 static int drd_rcm_mem_config_request(drctl_rsrc_t *rsrcs, int nrsrc);
56 static int drd_rcm_mem_config_notify(drctl_rsrc_t *rsrcs, int nrsrc);
[all …]
H A Ddrd.h58 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 Ddrd.c262 drd_pack_response(drctl_rsrc_t *rsrcs, int nrsrc) in drd_pack_response() argument
283 orsrcsp = calloc(sizeof (*orsrcsp), nrsrc); in drd_pack_response()
284 osize = sizeof (*orsrcsp) * nrsrc; in drd_pack_response()
295 for (idx = 0; idx < nrsrc; idx++) { in drd_pack_response()
312 while (idx < nrsrc) { in drd_pack_response()
351 int nrsrc; in drd_door_server() local
364 nrsrc = msg->count; in drd_door_server()
369 (*drd_backend->cpu_config_request)(rsrcs, nrsrc); in drd_door_server()
373 (*drd_backend->cpu_config_notify)(rsrcs, nrsrc); in drd_door_server()
377 (*drd_backend->cpu_unconfig_request)(rsrcs, nrsrc); in drd_door_server()
[all …]
/titanic_41/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c1238 uint_t nrsrc; in ap_rcm_ctl() local
1269 for (nrsrc = 0; rlist[nrsrc] != NULL; nrsrc++) in ap_rcm_ctl()
1270 ap_msg(a, MSG_ISSUE, cmd, rlist[nrsrc]); in ap_rcm_ctl()
/titanic_41/usr/src/uts/sun4v/io/
H A Ddr_cpu.c547 dr_cpu_res_array_init(dr_cpu_hdr_t *req, drctl_rsrc_t *rsrc, int nrsrc) in dr_cpu_res_array_init() argument
555 res = kmem_zalloc(nrsrc * sizeof (dr_cpu_res_t), KM_SLEEP); in dr_cpu_res_array_init()
557 __func__, (void *)res, nrsrc * sizeof (dr_cpu_res_t)); in dr_cpu_res_array_init()
562 for (idx = 0; idx < nrsrc; idx++) { in dr_cpu_res_array_init()
H A Ddr_mem.c580 dr_mem_res_array_init(dr_mem_hdr_t *req, drctl_rsrc_t *rsrc, int nrsrc) in dr_mem_res_array_init() argument
588 res = kmem_zalloc(nrsrc * sizeof (dr_mem_res_t), KM_SLEEP); in dr_mem_res_array_init()
593 for (idx = 0; idx < nrsrc; idx++) { in dr_mem_res_array_init()