Lines Matching refs:shpx_client_directory
65 extern SHPX_CLIENT_ENTRY shpx_client_directory[];
68 static SHPX_CLIENT_ENTRY shpx_client_directory[SHPX_MAX_CLIENTS];
151 shpx_client_directory[i].cid = 0;
152 shpx_client_directory[i].shpx_directory = NULL;
153 shpx_client_directory[i].fd = 0;
154 shpx_client_directory[i].size = 0;
155 shpx_client_directory[i].npix = 0;
166 (shpx_client_directory[i].cid != token)) {
177 shpx_dir = shpx_client_directory[i].shpx_directory;
178 shpx_client_directory[i].npix++;
207 while ((i < SHPX_MAX_CLIENTS) && (shpx_client_directory[i].cid != 0))
224 shpx_client_directory[i].cid = token; /* BMAC - correct?? */
225 shpx_client_directory[i].shpx_directory = shpx_dir;
226 shpx_client_directory[i].fd = c_fd; /* no longer need to save it */
227 shpx_client_directory[i].size = shpx_dir[0].shpx_entry_0.s_size;
228 shpx_client_directory[i].npix = 1;
400 (shpx_client_directory[i].cid != pixlist->p_token)) {
407 shpx_client_directory[i].npix--;
408 if (!shpx_client_directory[i].npix) {
409 munmap((caddr_t)shpx_client_directory[i].shpx_directory,
411 close(shpx_client_directory[i].fd);
412 shpx_client_directory[i].cid = 0;
413 shpx_client_directory[i].shpx_directory = NULL;
414 shpx_client_directory[i].fd = 0;
415 shpx_client_directory[i].size = 0;