Lines Matching refs:lcl
56 struct lcl_p *lcl; in irs_lcl_acc() local
65 if (!(lcl = memget(sizeof *lcl))) { in irs_lcl_acc()
70 memset(lcl, 0x5e, sizeof *lcl); in irs_lcl_acc()
71 lcl->res = NULL; in irs_lcl_acc()
72 lcl->free_res = NULL; in irs_lcl_acc()
73 acc->private = lcl; in irs_lcl_acc()
98 struct lcl_p *lcl = (struct lcl_p *)this->private; in lcl_res_get() local
100 if (lcl->res == NULL) { in lcl_res_get()
109 if ((lcl->res->options & RES_INIT) == 0U && in lcl_res_get()
110 res_ninit(lcl->res) < 0) in lcl_res_get()
113 return (lcl->res); in lcl_res_get()
119 struct lcl_p *lcl = (struct lcl_p *)this->private; in lcl_res_set() local
121 if (lcl->res && lcl->free_res) { in lcl_res_set()
122 res_nclose(lcl->res); in lcl_res_set()
123 (*lcl->free_res)(lcl->res); in lcl_res_set()
126 lcl->res = res; in lcl_res_set()
127 lcl->free_res = free_res; in lcl_res_set()
132 struct lcl_p *lcl = (struct lcl_p *)this->private; in lcl_close() local
134 if (lcl) { in lcl_close()
135 if (lcl->free_res) in lcl_close()
136 (*lcl->free_res)(lcl->res); in lcl_close()
137 memput(lcl, sizeof *lcl); in lcl_close()