Home
last modified time | relevance | path

Searched refs:id_t (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_idspace.h40 id_t ide_id; /* identifier associated w/ element */
51 id_t ids_minid; /* minimum identifier value */
52 id_t ids_maxid; /* maximum identifier value */
53 id_t ids_count; /* number of allocated ids */
56 extern fmd_idspace_t *fmd_idspace_create(const char *, id_t, id_t);
59 void (*)(fmd_idspace_t *, id_t, void *), void *);
64 extern int fmd_idspace_valid(fmd_idspace_t *, id_t);
66 extern id_t fmd_idspace_xalloc(fmd_idspace_t *, id_t, void *);
69 extern void *fmd_idspace_free(fmd_idspace_t *, id_t);
71 extern void *fmd_idspace_hold(fmd_idspace_t *, id_t);
[all …]
H A Dfmd_idspace.c35 fmd_idspace_create(const char *name, id_t min, id_t max) in fmd_idspace_create()
98 id_t *ida, *idp; in fmd_idspace_apply()
116 fmd_free(ida, sizeof (id_t) * count); in fmd_idspace_apply()
186 static id_t
214 id_t
223 static id_t
226 id_t id; in fmd_idspace_alloc_locked()
242 id_t
245 id_t id; in fmd_idspace_alloc()
259 id_t
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpool.h89 extern int pool_create(int, int, id_t *);
90 extern int pool_destroy(int, int, id_t);
91 extern int pool_transfer(int, id_t, id_t, uint64_t);
92 extern int pool_assoc(poolid_t, int, id_t);
94 extern int pool_bind(poolid_t, idtype_t, id_t);
95 extern id_t pool_get_class(pool_t *);
96 extern int pool_do_bind(pool_t *, idtype_t, id_t, int);
97 extern int pool_query_binding(idtype_t, id_t, id_t *);
98 extern int pool_xtransfer(int, id_t, id_t, uint_t, id_t *);
100 extern int pool_propput(int, int, id_t, nvpair_t *);
[all …]
H A Dpool_impl.h115 id_t pc_i_id;
123 id_t pd_o_id;
187 id_t pp_o_id;
198 id_t pp_o_id;
209 id_t pp_o_id;
218 id_t pp_o_id;
225 id_t pp_o_id;
234 id_t pp_o_id;
243 id_t pp_o_id;
252 id_t pp_o_id;
[all …]
H A Did_space.h40 id_space_t *id_space_create(const char *, id_t, id_t);
42 void id_space_extend(id_space_t *, id_t, id_t);
43 id_t id_alloc(id_space_t *);
44 id_t id_alloc_nosleep(id_space_t *);
45 id_t id_allocff(id_space_t *);
46 id_t id_allocff_nosleep(id_space_t *);
47 id_t id_alloc_specific_nosleep(id_space_t *, id_t);
48 void id_free(id_space_t *, id_t);
H A Dsmbios.h447 id_t smbp_l1cache; /* L1 cache handle */
448 id_t smbp_l2cache; /* L2 cache handle */
449 id_t smbp_l3cache; /* L3 cache handle */
1740 id_t smbps_vprobe; /* voltage probe handle */
1742 id_t smbps_iprobe; /* current probe handle */
1781 id_t smbai_ref; /* referenced handle */
1823 id_t smbpi_processor; /* processor handle */
1922 id_t smbfwe_id; /* Contained element ID */
1963 id_t smbsp_parent; /* parent handle */
2059 id_t smbstr_id; /* structure ID handle */
[all …]
H A Dpghw.h77 #define PGHW_INSTANCE_ANON ((id_t)0xdecafbad)
117 id_t pghw_instance; /* sharing instance identifier */
143 id_t cpu_chipid; /* CPU's physical processor */
144 id_t cpu_coreid; /* CPU's physical core */
145 id_t cpu_cacheid; /* CPU's cache id */
167 extern pghw_t *pghw_find_by_instance(id_t, pghw_type_t);
173 extern id_t pg_plat_hw_instance_id(cpu_t *, pghw_type_t);
187 extern id_t pg_plat_get_core_id(cpu_t *);
H A Dpriocntl.h44 extern long priocntl(idtype_t, id_t, int, ...);
80 id_t pc_cid; /* class id */
86 id_t pc_cid; /* process class */
97 id_t pc_cid; /* class id */
149 id_t pc_cid; /* process class */
168 id_t pc_cid;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_module.h72 int (*rcmop_get_info)(rcm_handle_t *, char *, id_t, uint_t,
74 int (*rcmop_request_suspend)(rcm_handle_t *, char *, id_t,
76 int (*rcmop_notify_resume)(rcm_handle_t *, char *, id_t, uint_t,
80 int (*rcmop_notify_online)(rcm_handle_t *, char *, id_t, uint_t,
82 int (*rcmop_notify_remove)(rcm_handle_t *, char *, id_t, uint_t,
89 int (*rcmop_notify_capacity_change)(rcm_handle_t *, char *, id_t,
91 int (*rcmop_notify_event)(rcm_handle_t *, char *, id_t, uint_t,
104 int (*rcmop_request_suspend)(rcm_handle_t *, char *, id_t,
106 int (*rcmop_notify_resume)(rcm_handle_t *, char *, id_t, uint_t,
110 int (*rcmop_notify_online)(rcm_handle_t *, char *, id_t, uint_t,
[all …]
H A Dcluster_rcm.c55 static int cluster_getinfo(rcm_handle_t *, char *, id_t, uint_t,
57 static int cluster_suspend(rcm_handle_t *, char *, id_t,
59 static int cluster_resume(rcm_handle_t *, char *, id_t, uint_t,
61 static int cluster_offline(rcm_handle_t *, char *, id_t, uint_t,
63 static int cluster_online(rcm_handle_t *, char *, id_t, uint_t,
65 static int cluster_remove(rcm_handle_t *, char *, id_t, uint_t,
153 cluster_getinfo(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, in cluster_getinfo()
167 cluster_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id, in cluster_suspend()
179 cluster_resume(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, in cluster_resume()
202 cluster_online(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, in cluster_online()
[all …]
H A Dpool_rcm.c44 static int pool_get_info(rcm_handle_t *, char *, id_t, uint_t, char **,
46 static int pool_request_suspend(rcm_handle_t *, char *, id_t,
48 static int pool_notify_resume(rcm_handle_t *, char *, id_t, uint_t, char **,
50 static int pool_notify_remove(rcm_handle_t *, char *, id_t, uint_t,
52 static int pool_request_offline(rcm_handle_t *, char *, id_t, uint_t,
54 static int pool_notify_online(rcm_handle_t *, char *, id_t, uint_t, char **,
384 pool_notify_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, in pool_notify_capacity_change()
434 pool_get_info(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flag, in pool_get_info()
452 id_t id, timespec_t *time, uint_t flags, char **reason, in pool_request_suspend()
462 id_t pid, uint_t flags, char **reason, rcm_info_t **dependent_info) in pool_notify_resume()
[all …]
H A Dnetwork_rcm.c85 static int net_suspend(rcm_handle_t *, char *, id_t, timespec_t *,
87 static int net_resume(rcm_handle_t *, char *, id_t, uint_t, char **,
95 static int net_notify_event(rcm_handle_t *, char *, id_t, uint_t,
370 net_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, in net_offline()
375 assert(id == (id_t)0); in net_offline()
396 assert(id == (id_t)0); in net_online()
416 net_getinfo(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, in net_getinfo()
429 assert(id == (id_t)0); in net_getinfo()
503 assert(id == (id_t)0); in net_suspend()
528 assert(id == (id_t)0); in net_resume()
[all …]
/illumos-gate/usr/src/lib/libidspace/common/
H A Dlibidspace.h32 extern id_space_t *id_space_create(const char *, id_t, id_t);
34 extern void id_space_extend(id_space_t *, id_t, id_t);
35 extern id_t id_alloc(id_space_t *);
36 extern id_t id_allocff(id_space_t *);
37 extern id_t id_alloc_specific(id_space_t *, id_t);
38 extern void id_free(id_space_t *, id_t);
/illumos-gate/usr/src/common/idspace/
H A Did_space.c63 #define ADDR_TO_ID(addr) ((id_t)((uintptr_t)addr - 1))
71 id_space_create(const char *name, id_t low, id_t high) in id_space_create()
96 id_space_extend(id_space_t *isp, id_t low, id_t high) in id_space_extend()
110 id_t
126 id_t
136 id_t
152 id_t
162 id_t
163 id_alloc_specific_nosleep(id_space_t *isp, id_t id) in id_alloc_specific_nosleep()
181 id_free(id_space_t *isp, id_t id) in id_free()
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.h59 typedef int pctx_sysc_execfn_t(pctx_t *, pid_t, id_t, char *, void *);
60 typedef void pctx_sysc_forkfn_t(pctx_t *, pid_t, id_t, pid_t, void *);
61 typedef void pctx_sysc_exitfn_t(pctx_t *, pid_t, id_t, int, void *);
62 typedef int pctx_sysc_lwp_createfn_t(pctx_t *, pid_t, id_t, void *);
63 typedef int pctx_init_lwpfn_t(pctx_t *, pid_t, id_t, void *);
64 typedef int pctx_fini_lwpfn_t(pctx_t *, pid_t, id_t, void *);
65 typedef int pctx_sysc_lwp_exitfn_t(pctx_t *, pid_t, id_t, void *);
83 int (*tick)(pctx_t *, pid_t, id_t, void *));
91 extern int __pctx_cpc(pctx_t *, struct __cpc *, int, id_t,
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c138 id_t *id1p; in idcompar()
139 id_t *id2p;
148 id_t
156 return ((id_t)-1);
164 id_t *idptr;
171 *idptr = (id_t)getpid();
175 *idptr = (id_t)getppid();
179 *idptr = (id_t)getpgrp();
196 *idptr = (id_t)getuid();
200 *idptr = (id_t)getgid();
[all …]
H A Dpriocntl.h57 extern int idcompar(id_t *, id_t *);
58 extern id_t clname2cid(char *);
59 extern int getmyid(idtype_t, id_t *);
61 extern int verifyupri(idtype_t, id_t, char *, int, pri_t, char *);
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw.h165 int (*swsub_init)(fmd_hdl_t *, id_t, const struct sw_disp **, int *);
167 void (*swsub_timeout)(fmd_hdl_t *, id_t, void *);
184 extern id_t sw_timer_install(fmd_hdl_t *, id_t, void *, fmd_event_t *,
186 extern void sw_timer_remove(fmd_hdl_t *, id_t, id_t);
242 extern fmd_case_t *swde_case_open(fmd_hdl_t *, id_t, char *, uint32_t,
244 extern fmd_case_t *swde_case_first(fmd_hdl_t *, id_t);
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwpsys.c47 idtot(proc_t *p, id_t lwpid) in idtot()
81 syslwp_suspend(id_t lwpid) in syslwp_suspend()
99 syslwp_continue(id_t lwpid) in syslwp_continue()
115 lwp_kill(id_t lwpid, int sig) in lwp_kill()
173 lwp_wait(id_t lwpid, id_t *departed) in lwp_wait()
208 id_t tid; in lwp_wait()
360 lwp_detach(id_t lwpid) in lwp_detach()
394 lwp_unpark(id_t lwpid) in lwp_unpark()
426 lwp_unpark_cancel(id_t lwpid) in lwp_unpark_cancel()
555 id_t *lwpid; in lwp_unpark_all()
[all …]
/illumos-gate/usr/src/cmd/prstat/
H A Dprtable.h69 id_t l_lwpid;
85 extern void lwpid_add(lwp_info_t *, pid_t, id_t);
86 extern lwp_info_t *lwpid_get(pid_t, id_t);
88 extern void lwpid_del(pid_t, id_t);
89 extern void lwpid_set_active(pid_t, id_t);
90 extern int lwpid_is_active(pid_t, id_t);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachcpuvar.h178 id_t cpu_ipipe; /* cpu int exec unit id */
179 id_t cpu_mpipe; /* cpu memory pipe id */
180 id_t cpu_fpu; /* cpu fpu unit id */
181 id_t cpu_core; /* cpu core id */
182 id_t cpu_chip; /* cpu chip id */
235 id_t exec_unit_mapping;
236 id_t fpu_mapping;
237 id_t l2_cache_mapping;
238 id_t core_mapping;
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c100 query_out(id_t pid, id_t lwpid, processorid_t cpu) in query_out()
125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) in bind_err()
152 bind_out(id_t pid, id_t lwpid, processorid_t old, processorid_t new) in bind_out()
183 grab_proc(id_t pid) in grab_proc()
218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) in bind_lwp()
313 id_t pid = psinfo->pr_pid; in query_all_proc()
335 id_t pid = psinfo->pr_pid; in query_all_lwp()
336 id_t lwpid = lwpsinfo->pr_lwpid; in query_all_lwp()
400 id_t pid; in main()
499 cpu = (id_t)strtol(*argv, &endstr, 10); in main()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c50 id_t cpu_id;
56 id_t dimm_id;
57 id_t extdimm_id;
62 id_t extmct_id;
63 id_t mct_id;
64 id_t p_id;
190 id_t
197 id_t dimmslot = -1; in memnode_to_smbiosid()
212 *((id_t *)data) = -1; in memnode_to_smbiosid()
228 id_t dimmslot = -1; in memnode_to_smbiosid()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bboard.c201 id_t *cid; in x86pi_bb_getchips()
248 id_t
252 id_t top_bb_smbid = -1; in x86pi_bb_topparent()
253 id_t smb_id; in x86pi_bb_topparent()
303 id_t
304 x86pi_bb_chassis(topo_mod_t *mod, id_t bb_smbid) in x86pi_bb_chassis()
326 id_t smb_id; in x86pi_bb_contains()
358 id_t *cont_hdl; in x86pi_bb_contains()
363 sizeof (id_t)); in x86pi_bb_contains()
368 sizeof (id_t)); in x86pi_bb_contains()
[all …]
H A Dx86pi_impl.h100 id_t id; /* smbios struct id */
101 id_t con_cnt; /* containee count */
102 id_t con_ids[SMB_MAX_ID]; /* containee ids */
103 id_t con_by_id; /* container id */
201 id_t x86pi_bb_topparent(topo_mod_t *, int, tnode_t **, id_t *);

12345678910>>...13