Lines Matching refs:pf
61 struct pidfh *pf;
65 pf = pidfile_open(fn, 0600, &other);
66 if (pf == NULL && other != 0)
68 if (pf == NULL)
70 if (pidfile_write(pf) != 0) {
71 pidfile_close(pf);
75 pidfile_close(pf);
127 struct pidfh *pf = NULL;
139 pf = pidfile_open(fn, 0600, &other);
140 if (pf == NULL && other != 0)
142 if (pf == NULL)
154 pf = pidfile_open(fn, 0600, &other);
155 if (pf == NULL && other != 0)
157 if (pf == NULL)
160 if (pidfile_write(pf) != 0) {
162 pidfile_close(pf);
166 if (pf == NULL)
168 if (pidfile_write(pf) != 0)
187 if (pf)
188 pidfile_close(pf);
200 pf = pidfile_open(fn, 0600, &other);
201 if (pf != NULL) {
202 pidfile_close(pf);
220 if (pf)
221 pidfile_close(pf);