Lines Matching refs:pl
82 np_new(struct pipe_listener *pl, int fid) in np_new() argument
98 np->np_listener = pl; in np_new()
99 np->np_endpoint = pl->name; in np_new()
126 struct pipe_listener *pl; in smbd_pipesvc_start() local
138 pl = &pipe_listeners[i]; in smbd_pipesvc_start()
139 pl->max_seen = 0; in smbd_pipesvc_start()
141 if (strcasecmp(pl->name, "spoolss") == 0 && in smbd_pipesvc_start()
145 rc = pthread_create(&tid, &tattr, pipesvc_listener, pl); in smbd_pipesvc_start()
180 struct pipe_listener *pl = varg; in pipesvc_listener() local
194 "%s/%s", SMB_PIPE_DIR, pl->name); in pipesvc_listener()
230 np = np_new(pl, newfd); in pipesvc_listener()
252 pl->tid = 0; in pipesvc_listener()
262 struct pipe_listener *pl = np->np_listener; in pipesvc_worker() local
269 pl->current >= pl->max_allowed) { in pipesvc_worker()
276 pl->current++; in pipesvc_worker()
277 if (pl->max_seen < pl->current) in pipesvc_worker()
278 pl->max_seen = pl->current; in pipesvc_worker()
344 pl->current--; in pipesvc_worker()