• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/src/common/

Lines Matching defs:of_pid

137 		of_pid, copy, copies,
155 of_pid = -1;
257 if( Run_OF_filter( send_job_rw_timeout, &of_pid, &of_stdin, &of_stderr,
472 if( Run_OF_filter( send_job_rw_timeout, &of_pid, &of_stdin, &of_stderr,
660 if( Run_OF_filter( send_job_rw_timeout, &of_pid, &of_stdin, &of_stderr,
729 int Run_OF_filter( int send_job_rw_timeout, int *of_pid, int *of_stdin, int *of_stderr,
751 if( *of_pid < 0 ){
839 if( (*of_pid = Make_passthrough( OF_Filter_DYN, s,&files, job, 0 ))<0){
858 DEBUG3("Run_OF_filter: OF pid %d", *of_pid );
873 DEBUG3("Run_OF_filter: writing init to OF pid '%d', count %d", *of_pid, *outlen );
880 DEBUG3("Run_OF_filter: SIGCONT to to OF pid '%d'", *of_pid );
882 kill( *of_pid, SIGCONT );
896 DEBUG3("Run_OF_filter: stopping OF pid '%d'", *of_pid );
909 n = Get_status_from_OF(job,"OF",*of_pid,
931 DEBUG3("Run_OF_filter: end OF pid '%d'", *of_pid );
949 n = Get_status_from_OF(job,"OF",*of_pid,
973 n = Wait_for_pid( *of_pid, "OF", 0, time_left );
1007 *of_pid = -1;
1255 * int Get_status_from_OF( struct job *job, char *title, int of_pid,
1263 int Get_status_from_OF( struct job *job, char *title, int of_pid,
1279 of_pid, of_error, timeout );
1314 suspend?"suspend":"exit", left, of_pid );
1322 return_status = Wait_for_pid( of_pid, title, suspend, left );
1387 * int Wait_for_pid( int of_pid, char *name, int suspend, int timeout )
1388 * of_pid = pid of the process
1404 int Wait_for_pid( int of_pid, char *name, int suspend, int timeout )
1415 name, of_pid, suspend, timeout );
1420 pid = plp_waitpid(of_pid,&ps_status,suspend?WUNTRACED:0 );
1424 pid = plp_waitpid(of_pid,&ps_status,suspend?WUNTRACED:0);
1427 pid = plp_waitpid(of_pid,&ps_status,(suspend?WUNTRACED:0)|WNOHANG);