Home
last modified time | relevance | path

Searched refs:tcon (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree_connect.c64 smb_arg_tcon_t *tcon = &sr->sr_tcon; in smb_pre_tree_connect() local
70 rc = smbsr_decode_data(sr, "%AAA", sr, &tcon->path, in smb_pre_tree_connect()
71 &tcon->password, &tcon->service); in smb_pre_tree_connect()
73 tcon->flags = 0; in smb_pre_tree_connect()
74 tcon->optional_support = 0; in smb_pre_tree_connect()
77 smb_arg_tcon_t *, tcon); in smb_pre_tree_connect()
247 smb_arg_tcon_t *tcon = &sr->sr_tcon; in smb_pre_tree_connect_andx() local
253 &tcon->flags, &pwlen); in smb_pre_tree_connect_andx()
259 &tcon->path, &tcon->service); in smb_pre_tree_connect_andx()
261 tcon->pwdlen = pwlen; in smb_pre_tree_connect_andx()
[all …]
H A Dsmb_tree.c714 sr->arg.tcon.optional_support |= SMB_UNIQUE_FILE_NAME; in smb_tree_connect_disk()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_usr.c723 smbioc_tcon_t *tcon = NULL; in smb_usr_get_tree() local
736 tcon = kmem_alloc(sizeof (*tcon), KM_SLEEP); in smb_usr_get_tree()
737 if (ddi_copyin((void *)arg, tcon, sizeof (*tcon), flags)) { in smb_usr_get_tree()
745 tcon->tc_sh.sh_name[SMBIOC_MAX_NAME-1] = '\0'; in smb_usr_get_tree()
746 tcon->tc_sh.sh_pass[SMBIOC_MAX_NAME-1] = '\0'; in smb_usr_get_tree()
749 tcon->tc_opt |= SMBSOPT_CREATE; in smb_usr_get_tree()
751 tcon->tc_opt &= ~SMBSOPT_CREATE; in smb_usr_get_tree()
753 error = smb_share_findcreate(tcon, vcp, &ssp, &scred); in smb_usr_get_tree()
774 tcon->tc_sh.sh_type = ssp->ss_type; in smb_usr_get_tree()
784 (void) ddi_copyout(tcon, (void *)arg, sizeof (*tcon), flags); in smb_usr_get_tree()
[all …]
H A Dsmb_conn.c643 smb_share_create(smbioc_tcon_t *tcon, struct smb_vc *vcp, in smb_share_create() argument
659 bcopy(&tcon->tc_sh, &ssp->ss_ioc, in smb_share_create()
674 smb_share_findcreate(smbioc_tcon_t *tcon, struct smb_vc *vcp, in smb_share_findcreate() argument
690 if (u8_strcmp(ssp->ss_name, tcon->tc_sh.sh_name, 0, in smb_share_findcreate()
704 tcon->tc_opt &= ~SMBSOPT_CREATE; in smb_share_findcreate()
722 if (tcon->tc_opt & SMBSOPT_CREATE) { in smb_share_findcreate()
727 error = smb_share_create(tcon, vcp, &ssp, scred); in smb_share_findcreate()
/titanic_41/usr/src/cmd/smbsrv/dtrace/
H A Dstype.d95 tcon = (struct tcon *)arg1;
98 stringof(tcon->service),
99 stringof(tcon->path));
H A Dcifs.d138 tcon = (struct tcon *)arg1;
141 stringof(tcon->service),
142 stringof(tcon->path));
H A Dmsrpc.d142 stringof(sr->arg.tcon.path),
143 stringof(sr->arg.tcon.service));
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dctx.c1252 smbioc_tcon_t *tcon = NULL; in smb_ctx_get_tree() local
1261 tcon = malloc(sizeof (*tcon)); in smb_ctx_get_tree()
1262 if (tcon == NULL) in smb_ctx_get_tree()
1264 bzero(tcon, sizeof (*tcon)); in smb_ctx_get_tree()
1265 tcon->tc_flags = SMBLK_CREATE; in smb_ctx_get_tree()
1266 tcon->tc_opt = 0; in smb_ctx_get_tree()
1269 strlcpy(tcon->tc_sh.sh_name, ctx->ct_origshare, in smb_ctx_get_tree()
1270 sizeof (tcon->tc_sh.sh_name)); in smb_ctx_get_tree()
1273 tcon->tc_sh.sh_use = ctx->ct_shtype_req; in smb_ctx_get_tree()
1280 if (ioctl(ctx->ct_dev_fd, cmd, tcon) == -1) { in smb_ctx_get_tree()
[all …]
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_fscache.c590 int tcon; in fscache_simdisconnect() local
662 tcon = fscache_object_p->i_connected; in fscache_simdisconnect()
666 if (tcon == 0) in fscache_simdisconnect()
669 if ((tcon == 1) && (trec == 0)) in fscache_simdisconnect()
/titanic_41/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h715 typedef struct tcon { struct
1654 smb_arg_tcon_t tcon; member
1664 #define sr_tcon arg.tcon