Lines Matching refs:sip

121 	const struct sw_subinfo *sip;  in sw_timer_install()  local
130 sip = subinfo[ID2IDX(who)]; in sw_timer_install()
132 if (sip-> swsub_timeout == NULL) in sw_timer_install()
185 const struct sw_subinfo *sip; in sw_timer_remove() local
193 sip = subinfo[ID2IDX(who)]; in sw_timer_remove()
198 "for %s\n", timerid, sip->swsub_name); in sw_timer_remove()
212 const struct sw_subinfo *sip; in sw_timeout() local
228 sip = subinfo[ID2IDX(owner)]; in sw_timeout()
230 sip->swsub_timeout(hdl, timerid, arg); in sw_timeout()
242 const struct sw_subinfo *sip; in sw_id_to_casetype() local
250 sip = subinfo[ID2IDX(who)]; in sw_id_to_casetype()
252 if ((sip->swsub_casetype & SW_CASE_NONE) != SW_CASE_NONE) in sw_id_to_casetype()
254 "for %s\n", sip->swsub_casetype, sip->swsub_name); in sw_id_to_casetype()
256 return (sip->swsub_casetype); in sw_id_to_casetype()
268 const struct sw_subinfo *sip; in sw_subinfo_bycase() local
275 sip = subinfo[i]; in sw_subinfo_bycase()
276 if (sip->swsub_casetype == type) in sw_subinfo_bycase()
277 return (sip); in sw_subinfo_bycase()
289 const struct sw_subinfo *sip; in sw_sub_case_close_func() local
291 if ((sip = sw_subinfo_bycase(hdl, type)) == NULL) in sw_sub_case_close_func()
295 return (sip->swsub_case_close); in sw_sub_case_close_func()
304 const struct sw_subinfo *sip; in sw_sub_case_vrfy_func() local
306 if ((sip = sw_subinfo_bycase(hdl, type)) == NULL) in sw_sub_case_vrfy_func()
310 return (sip->swsub_case_verify); in sw_sub_case_vrfy_func()
386 const struct sw_subinfo *sip = (*subsid)[i]; in sw_fmd_init() local
392 if (!sip || sip->swsub_name == NULL) in sw_fmd_init()
395 initrslt = (*sip->swsub_init)(hdl, IDX2ID(i), &dp, &nelem); in sw_fmd_init()
399 i, IDX2ID(i), sip->swsub_name); in sw_fmd_init()
409 sw_add_callbacks(hdl, sip->swsub_name, dp, nelem, in sw_fmd_init()
416 sw_add_callbacks(hdl, sip->swsub_name, NULL, -1, in sw_fmd_init()
423 sw_add_callbacks(hdl, sip->swsub_name, NULL, -1, in sw_fmd_init()
460 const struct sw_subinfo *sip = subinfo[i]; in sw_fmd_fini() local
465 if (sip->swsub_fini != NULL) in sw_fmd_fini()
466 (*sip->swsub_fini)(hdl); in sw_fmd_fini()