Home
last modified time | relevance | path

Searched refs:ct_dev_fd (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Diod_wk.c101 if (nsmb_ioctl(ctx->ct_dev_fd, in smb_iod_work()
133 if (nsmb_ioctl(ctx->ct_dev_fd, in smb_iod_work()
148 if (nsmb_ioctl(ctx->ct_dev_fd, in smb_iod_work()
172 if (ctx->ct_dev_fd != -1) { in smb_iod_work()
173 nsmb_close(ctx->ct_dev_fd); in smb_iod_work()
174 ctx->ct_dev_fd = -1; in smb_iod_work()
H A Dfindvc.c81 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_SSN_FIND, ssn) == -1) in findvc()
101 if (ctx->ct_dev_fd < 0) { in smb_ctx_findvc()
141 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_SSN_KILL, NULL) == -1) in smb_ctx_kill()
H A Dctx.c253 ctx->ct_dev_fd = -1; in smb_ctx_init()
403 if (ctx->ct_dev_fd != -1) { in smb_ctx_done()
404 nsmb_close(ctx->ct_dev_fd); in smb_ctx_done()
405 ctx->ct_dev_fd = -1; in smb_ctx_done()
1221 if (ctx->ct_dev_fd != -1) { in smb_ctx_gethandle()
1223 nsmb_close(ctx->ct_dev_fd); in smb_ctx_gethandle()
1224 ctx->ct_dev_fd = -1; in smb_ctx_gethandle()
1247 ctx->ct_dev_fd = fd; in smb_ctx_gethandle()
1307 if (ctx->ct_dev_fd < 0 || in smb_ctx_get_tree()
1332 if (nsmb_ioctl(ctx->ct_dev_fd, cmd, tcon) == -1) { in smb_ctx_get_tree()
[all …]
H A Dconnect.c186 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_IOD_CONNECT, work) < 0) { in smb_iod_connect()
211 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_IOD_NEGOTIATE, work) < 0) { in smb_iod_connect()
376 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_IOD_SSNSETUP, work) < 0) { in smb__ssnsetup()
H A Dprint.c92 from_fd = ctx->ct_dev_fd; in smb_open_printer()
H A Dfile.c105 from_fd = ctx->ct_dev_fd; in smb_fh_ntcreate()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c282 (void) nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_SSN_RELE, NULL); in do_logoff()
309 (void) nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_TREE_RELE, NULL); in do_shares()
356 mdata.devfd = ctx->ct_dev_fd; in do_mount()
375 (void) nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_TREE_RELE, NULL); in do_mount()
H A Dfkiod_cl.c118 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_SSN_CREATE, &ctx->ct_ssn) < 0) { in smb_iod_cl_newvc()
/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmb_lib.h96 int ct_dev_fd; /* device handle */ member
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod/
H A Dsmbiod.c300 if (ioctl(ctx->ct_dev_fd, SMBIOC_SSN_CREATE, &ctx->ct_ssn) < 0) { in iod_newvc()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c386 mdata.devfd = ctx->ct_dev_fd; in main()