Lines Matching refs:pl
85 np_new(struct pipe_listener *pl, int fid) in np_new() argument
101 np->np_listener = pl; in np_new()
102 np->np_endpoint = pl->name; in np_new()
129 struct pipe_listener *pl; in smbd_pipesvc_start() local
141 pl = &pipe_listeners[i]; in smbd_pipesvc_start()
142 pl->max_seen = 0; in smbd_pipesvc_start()
144 if (strcasecmp(pl->name, "spoolss") == 0 && in smbd_pipesvc_start()
148 rc = pthread_create(&tid, &tattr, pipesvc_listener, pl); in smbd_pipesvc_start()
183 struct pipe_listener *pl = varg; in pipesvc_listener() local
197 "%s/%s", SMB_PIPE_DIR, pl->name); in pipesvc_listener()
233 np = np_new(pl, newfd); in pipesvc_listener()
255 pl->tid = 0; in pipesvc_listener()
320 struct pipe_listener *pl = np->np_listener; in pipesvc_worker() local
327 pl->current >= pl->max_allowed) { in pipesvc_worker()
334 pl->current++; in pipesvc_worker()
335 if (pl->max_seen < pl->current) in pipesvc_worker()
336 pl->max_seen = pl->current; in pipesvc_worker()
412 pl->current--; in pipesvc_worker()