Lines Matching refs:ct_dev_fd
253 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()
1363 if (nsmb_ioctl(ctx->ct_dev_fd, SMBIOC_FLAGS2, &flags2) == -1) { in smb_ctx_flags2()