Home
last modified time | relevance | path

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

12345678910>>...12

/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_idspace.h42 id_t ide_id; /* identifier associated w/ element */
52 id_t ids_nextid; /* next identifier guess for alloc */
53 id_t ids_minid; /* minimum identifier value */
54 id_t ids_maxid; /* maximum identifier value */
55 id_t ids_count; /* number of allocated ids */
58 extern fmd_idspace_t *fmd_idspace_create(const char *, id_t, id_t);
61 void (*)(fmd_idspace_t *, id_t, void *), void *);
63 extern void *fmd_idspace_getspecific(fmd_idspace_t *, id_t);
64 extern void fmd_idspace_setspecific(fmd_idspace_t *, id_t, void *);
65 extern int fmd_idspace_contains(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()
95 void (*func)(fmd_idspace_t *, id_t, void *), void *arg) in fmd_idspace_apply() argument
98 id_t *ida, *idp; in fmd_idspace_apply()
103 ida = idp = fmd_alloc(sizeof (id_t) * count, FMD_SLEEP); in fmd_idspace_apply()
116 fmd_free(ida, sizeof (id_t) * count); in fmd_idspace_apply()
120 fmd_idspace_lookup(fmd_idspace_t *ids, id_t id) in fmd_idspace_lookup()
136 fmd_idspace_getspecific(fmd_idspace_t *ids, id_t id) in fmd_idspace_getspecific()
150 fmd_idspace_setspecific(fmd_idspace_t *ids, id_t id, void *data) in fmd_idspace_setspecific()
169 fmd_idspace_contains(fmd_idspace_t *ids, id_t id) in fmd_idspace_contains()
181 fmd_idspace_valid(fmd_idspace_t *ids, id_t id) in fmd_idspace_valid()
[all …]
H A Dfmd_timerq.h44 typedef void fmd_timer_f(void *, id_t, hrtime_t);
50 id_t tmr_id; /* client identifier for this timer */
65 extern id_t fmd_timerq_install(fmd_timerq_t *,
68 extern void *fmd_timerq_remove(fmd_timerq_t *, fmd_idspace_t *, id_t);
/titanic_44/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.h117 id_t pc_i_id;
125 id_t pd_o_id;
143 id_t pa_o_res_id;
157 id_t pt_o_src_id;
158 id_t pt_o_tgt_id;
168 id_t px_o_src_id;
169 id_t px_o_tgt_id;
171 id_t *px_o_comp_list;
177 id_t px_o_src_id;
178 id_t px_o_tgt_id;
[all …]
H A Did_space.h41 id_space_t *id_space_create(const char *, id_t, id_t);
43 void id_space_extend(id_space_t *, id_t, id_t);
44 id_t id_alloc(id_space_t *);
45 id_t id_alloc_nosleep(id_space_t *);
46 id_t id_allocff(id_space_t *);
47 id_t id_allocff_nosleep(id_space_t *);
48 id_t id_alloc_specific_nosleep(id_space_t *, id_t);
49 void id_free(id_space_t *, id_t);
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 Dsmbios.h314 id_t smbb_chassis; /* chassis containing this board */
429 id_t smbp_l1cache; /* L1 cache handle */
430 id_t smbp_l2cache; /* L2 cache handle */
431 id_t smbp_l3cache; /* L3 cache handle */
1154 id_t smbma_err; /* handle of error (if any) */
1198 id_t smbmd_array; /* handle of physical memory array */
1199 id_t smbmd_error; /* handle of memory error data */
1314 id_t smbmam_array; /* physical memory array handle */
1325 id_t smbmdm_device; /* memory device handle */
1326 id_t smbmdm_arrmap; /* memory array mapped address handle */
[all …]
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;
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Drcm_module.h74 int (*rcmop_get_info)(rcm_handle_t *, char *, id_t, uint_t,
76 int (*rcmop_request_suspend)(rcm_handle_t *, char *, id_t,
78 int (*rcmop_notify_resume)(rcm_handle_t *, char *, id_t, uint_t,
80 int (*rcmop_request_offline)(rcm_handle_t *, char *, id_t, uint_t,
82 int (*rcmop_notify_online)(rcm_handle_t *, char *, id_t, uint_t,
84 int (*rcmop_notify_remove)(rcm_handle_t *, char *, id_t, uint_t,
89 int (*rcmop_request_capacity_change)(rcm_handle_t *, char *, id_t,
91 int (*rcmop_notify_capacity_change)(rcm_handle_t *, char *, id_t,
93 int (*rcmop_notify_event)(rcm_handle_t *, char *, id_t, uint_t,
104 int (*rcmop_get_info)(rcm_handle_t *, char *, id_t, uint_t, char **,
[all …]
H A Dcluster_rcm.c57 static int cluster_getinfo(rcm_handle_t *, char *, id_t, uint_t,
59 static int cluster_suspend(rcm_handle_t *, char *, id_t,
61 static int cluster_resume(rcm_handle_t *, char *, id_t, uint_t,
63 static int cluster_offline(rcm_handle_t *, char *, id_t, uint_t,
65 static int cluster_online(rcm_handle_t *, char *, id_t, uint_t,
67 static int cluster_remove(rcm_handle_t *, char *, id_t, uint_t,
155 cluster_getinfo(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, in cluster_getinfo()
169 cluster_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id, in cluster_suspend()
181 cluster_resume(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, in cluster_resume()
193 cluster_offline(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, in cluster_offline()
[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 **,
56 static int pool_request_capacity_change(rcm_handle_t *, char *, id_t, uint_t,
58 static int pool_notify_capacity_change(rcm_handle_t *, char *, id_t, uint_t,
359 pool_request_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, in pool_request_capacity_change()
384 pool_notify_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, in pool_notify_capacity_change()
[all …]
H A Dnetwork_rcm.c83 static int net_getinfo(rcm_handle_t *, char *, id_t, uint_t, char **,
85 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 **,
89 static int net_offline(rcm_handle_t *, char *, id_t, uint_t, char **,
91 static int net_online(rcm_handle_t *, char *, id_t, uint_t, char **,
93 static int net_remove(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()
391 net_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **reason, in net_online()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Did_space.c59 #define ADDR_TO_ID(addr) ((id_t)((uintptr_t)addr - 1))
66 id_space_create(const char *name, id_t low, id_t high) in id_space_create()
86 id_space_extend(id_space_t *isp, id_t low, id_t high) in id_space_extend()
95 id_t
106 id_t
116 id_t
127 id_t
137 id_t
138 id_alloc_specific_nosleep(id_space_t *isp, id_t id) in id_alloc_specific_nosleep()
156 id_free(id_space_t *isp, id_t id) in id_free()
/titanic_44/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,
/titanic_44/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);
/titanic_44/usr/src/cmd/priocntl/
H A Dsubr.c141 id_t *id1p; in idcompar()
142 id_t *id2p;
151 id_t
159 return ((id_t)-1);
167 id_t *idptr;
174 *idptr = (id_t)getpid();
178 *idptr = (id_t)getppid();
182 *idptr = (id_t)getpgrp();
186 *idptr = (id_t)getsid(getpid());
199 *idptr = (id_t)getuid();
[all …]
H A Dpriocntl.h59 extern int idcompar(id_t *, id_t *);
60 extern id_t clname2cid(char *);
61 extern int getmyid(idtype_t, id_t *);
63 extern int verifyupri(idtype_t, id_t, char *, int, pri_t, char *);
/titanic_44/usr/src/uts/common/syscall/
H A Dlwpsys.c46 idtot(proc_t *p, id_t lwpid) in idtot()
63 idtot_and_lock(proc_t *p, id_t lwpid, kmutex_t **mpp) in idtot_and_lock()
80 syslwp_suspend(id_t lwpid) in syslwp_suspend()
98 syslwp_continue(id_t lwpid) in syslwp_continue()
114 lwp_kill(id_t lwpid, int sig) in lwp_kill()
172 lwp_wait(id_t lwpid, id_t *departed) in lwp_wait()
206 id_t tid; in lwp_wait()
230 copyout(&lwpid, departed, sizeof (id_t))) in lwp_wait()
277 copyout(&tid, departed, sizeof (id_t))) in lwp_wait()
358 lwp_detach(id_t lwpid) in lwp_detach()
[all …]
/titanic_44/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);
/titanic_44/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()
237 do_lwps(id_t pid, const char *range, processorid_t cpu) in do_lwps()
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()
366 id_t pid; in main()
[all …]
/titanic_44/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;
/titanic_44/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;
96 extdimmslot_to_dimmslot(topo_mod_t *mod, id_t chip_smbid, int channum, in extdimmslot_to_dimmslot()
149 id_t
156 id_t dimmslot = -1; in memnode_to_smbiosid()
169 *((id_t *)data) = dimmslot % (dimmsmb[0].dimm_id); in memnode_to_smbiosid()
[all …]
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/x86pi/
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 *);
H A Dx86pi_bboard.c201 id_t *cid; in x86pi_bb_getchips()
248 id_t
249 x86pi_bb_topparent(topo_mod_t *mod, int index, tnode_t **pnode, id_t *psmbid) in x86pi_bb_topparent()
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()
[all …]

12345678910>>...12