Searched refs:from_fd (Results 1 – 3 of 3) sorted by relevance
63 int32_t from_fd; in smb_open_printer() local77 from_fd = ctx->ct_dev_fd; in smb_open_printer()78 if (ioctl(new_fd, SMBIOC_DUP_DEV, &from_fd) == -1) { in smb_open_printer()
80 int32_t from_fd; in smb_fh_ntcreate() local98 from_fd = ctx->ct_dev_fd; in smb_fh_ntcreate()99 if (ioctl(new_fd, SMBIOC_DUP_DEV, &from_fd) == -1) { in smb_fh_ntcreate()
272 int n, from_fd; local276 if ((from_fd = open(from_name, O_RDONLY, 0)) < 0) {280 while ((n = read(from_fd, buf, sizeof(buf))) > 0)293 (void) close(from_fd);