Searched refs:id_t (Results 1 - 25 of 302) sorted by relevance

1234567891011>>

/illumos-gate/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, voi
[all...]
H A Dfmd_dispq.h61 id_t dq_gmax; /* maximum group id allocated */
71 const char *, id_t);
73 extern id_t fmd_dispq_getgid(fmd_dispq_t *, void *);
74 extern void fmd_dispq_delgid(fmd_dispq_t *, id_t);
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);
H A Dfmd_idspace.c35 fmd_idspace_create(const char *name, id_t min, id_t max)
95 void (*func)(fmd_idspace_t *, id_t, void *), void *arg)
98 id_t *ida, *idp;
103 ida = idp = fmd_alloc(sizeof (id_t) * count, FMD_SLEEP);
116 fmd_free(ida, sizeof (id_t) * count);
120 fmd_idspace_lookup(fmd_idspace_t *ids, id_t id)
136 fmd_idspace_getspecific(fmd_idspace_t *ids, id_t id)
150 fmd_idspace_setspecific(fmd_idspace_t *ids, id_t id, void *data)
169 fmd_idspace_contains(fmd_idspace_t *ids, id_t i
[all...]
/illumos-gate/usr/src/uts/common/sys/
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);
[all...]
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 *);
[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_i
[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;
H A Dcpu_pm.h99 id_t cpd_id; /* Domain ID */
113 #define CPUPM_NO_DOMAIN ((id_t)-1)
119 id_t cpupm_domain_id(struct cpu *, cpupm_dtype_t);
135 id_t cpupm_plat_domain_id(struct cpu *, cpupm_dtype_t);
/illumos-gate/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_
[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,
169 cluster_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id,
181 cluster_resume(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags,
193 cluster_offline(rcm_handle_t *hdl, char *rsrcname, id_t i
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Did_space.c46 * As an ID space is designed for representing a range of id_t's, there
59 #define ADDR_TO_ID(addr) ((id_t)((uintptr_t)addr - 1))
66 id_space_create(const char *name, id_t low, id_t high)
86 id_space_extend(id_space_t *isp, id_t low, id_t high)
92 * Allocate an id_t from specified ID space.
95 id_t
102 * Allocate an id_t from specified ID space.
106 id_t
[all...]
/illumos-gate/usr/src/cmd/priocntl/
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 *);
/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/fm/modules/common/sw-diag-response/common/
H A Dsw_impl.h46 id_t swt_timerid; /* fmd_timer_install result */
47 id_t swt_ownerid; /* subsidiary owner id */
80 * sw_timeout is the fmdo_timeout entry point; it looks up the unique id_t
95 extern void sw_timeout(fmd_hdl_t *, id_t, void *);
99 enum sw_casetype sw_id_to_casetype(fmd_hdl_t *, id_t);
H A Dsw.h115 * a subsidiary-unique id_t assigned by the framework that it should
165 int (*swsub_init)(fmd_hdl_t *, id_t, const struct sw_disp **, int *);
167 void (*swsub_timeout)(fmd_hdl_t *, id_t, void *);
180 * Timers - as per the fmd module API but with an additional id_t argument
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);
[all...]
/illumos-gate/usr/src/head/
H A Dklpd.h41 extern int klpd_register_id(const priv_set_t *, void *, idtype_t, id_t);
43 extern int klpd_unregister_id(void *, idtype_t, id_t);
H A Drctl.h46 id_t rctlblk_get_recipient_pid(rctlblk_t *);
53 void rctlblk_set_recipient_pid(rctlblk_t *, id_t);
H A Dwait.h43 extern int waitid(idtype_t, id_t, siginfo_t *, int);
/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/lib/libc/port/sys/
H A Dexacctsys.c39 getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize)
52 putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags)
58 wracct(idtype_t idtype, id_t id, int flags)
/illumos-gate/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 *);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsigsend.c40 sigsend(idtype_t idtype, id_t id, int sig)
/illumos-gate/usr/src/uts/sun4/os/
H A Dcpupm_mach.c32 id_t

Completed in 127 milliseconds

1234567891011>>