Lines Matching refs:this

5  * Permission to use, copy, modify, and distribute this software for any
7 * copyright notice and this permission notice appear in all copies.
94 static struct __res_state * nw_res_get(struct irs_nw *this);
95 static void nw_res_set(struct irs_nw *this,
99 static struct nwent * makenwent(struct irs_nw *this);
101 static int init(struct irs_nw *this);
106 irs_nis_nw(struct irs_acc *this) {
122 pvt->nis_domain = ((struct nis_p *)this->private)->domain;
138 nw_close(struct irs_nw *this) {
139 struct pvt *pvt = (struct pvt *)this->private;
141 nw_minimize(this);
147 memput(this, sizeof *this);
151 nw_byaddr(struct irs_nw *this, void *net, int length, int af) {
152 struct pvt *pvt = (struct pvt *)this->private;
156 if (init(this) == -1)
185 return (makenwent(this));
189 nw_byname(struct irs_nw *this, const char *name, int af) {
190 struct pvt *pvt = (struct pvt *)this->private;
194 if (init(this) == -1)
210 return (makenwent(this));
214 nw_rewind(struct irs_nw *this) {
215 struct pvt *pvt = (struct pvt *)this->private;
221 nw_next(struct irs_nw *this) {
222 struct pvt *pvt = (struct pvt *)this->private;
226 if (init(this) == -1)
253 rval = makenwent(this);
259 nw_minimize(struct irs_nw *this) {
260 struct pvt *pvt = (struct pvt *)this->private;
267 nw_res_get(struct irs_nw *this) {
268 struct pvt *pvt = (struct pvt *)this->private;
278 nw_res_set(this, res, free);
285 nw_res_set(struct irs_nw *this, struct __res_state *res,
287 struct pvt *pvt = (struct pvt *)this->private;
301 makenwent(struct irs_nw *this) {
302 struct pvt *pvt = (struct pvt *)this->private;
372 init(struct irs_nw *this) {
373 struct pvt *pvt = (struct pvt *)this->private;
375 if (!pvt->res && !nw_res_get(this))