Lines Matching refs:spfile
287 smb_spooldoc_t *spfile;
312 if ((spfile = calloc(1, sizeof (smb_spooldoc_t))) == NULL) {
318 (void) strlcpy(spfile->sd_doc_name,
321 (void) strlcpy(spfile->sd_doc_name, "document", MAXNAMELEN);
324 (void) strlcpy(spfile->sd_printer_name,
327 (void) strlcpy(spfile->sd_printer_name, "printer", MAXPATHLEN);
329 spfile->sd_ipaddr = mxa->pipe->np_user->ui_ipaddr;
330 (void) strlcpy((char *)spfile->sd_username,
332 (void) memcpy(&spfile->sd_handle, ¶m->handle, sizeof (ndr_hdid_t));
338 spfile->sd_username, spoolss_cnt);
346 free(spfile);
348 (void) strlcpy((char *)spfile->sd_path, g_path, MAXPATHLEN);
349 spfile->sd_fd = (uint16_t)fd;
355 list_insert_tail(&spoolss_splist.sp_list, spfile);