Lines Matching refs:dir
195 struct logdir *dir; member
223 #define dir (G.dir ) macro
615 struct logdir *ld = &dir[n]; in buffer_pwrite()
883 logdir_close(&dir[l]); in logdirs_reopen()
884 if (logdir_open(&dir[l], fndir[l])) in logdirs_reopen()
915 rotate(dir + i); in buffer_pread()
930 if (dir[i].rotate_period) { in buffer_pread()
931 if (LESS(dir[i].next_rotate, now)) in buffer_pread()
932 rotate(dir + i); in buffer_pread()
933 if (LESS(dir[i].next_rotate, nearest_rotate)) in buffer_pread()
934 nearest_rotate = dir[i].next_rotate; in buffer_pread()
1003 if (dir[l].ppid == pid) { in sig_child_handler()
1004 dir[l].ppid = 0; in sig_child_handler()
1005 processorstop(&dir[l]); in sig_child_handler()
1094 dir = xzalloc(dirn * sizeof(dir[0])); in svlogd_main()
1096 dir[i].fddir = -1; in svlogd_main()
1097 dir[i].fdcur = -1; in svlogd_main()
1194 struct logdir *ld = &dir[i]; in svlogd_main()
1228 if (dir[i].fddir == -1) in svlogd_main()
1230 if (dir[i].matcherr == 'e') { in svlogd_main()
1234 if (dir[i].match != '+') in svlogd_main()
1255 if (dir[i].ppid) in svlogd_main()
1256 while (!processorstop(&dir[i])) in svlogd_main()
1258 logdir_close(&dir[i]); in svlogd_main()