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