Lines Matching refs:fd
73 smbfs_fh_close(int fd)
77 if (ioctl(fd, SMBIOC_CLOSEFH, NULL) == -1)
80 (void) close(fd);
99 * Get fd then duplicate the driver session and tree bindings.
144 int fd = -1;
246 fd = smbfs_fh_ntcreate(ctx, ntpath, req_acc,
255 return (fd);
311 smbfs_fh_read(int fd, void *buf, size_t count, off_t offset)
321 if (ioctl(fd, SMBIOC_READ, &rwrq) == -1)
328 smbfs_fh_write(int fd, const void *buf, size_t count, off_t offset)
338 if (ioctl(fd, SMBIOC_WRITE, &rwrq) == -1)
354 smbfs_fh_xactnp(int fd, int tdlen, const char *tdata,
364 err = smbfs_rq_t2_request(fd, 2, setup, "\\PIPE\\",