Searched defs:tcon (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_tree_connect.c25 smb_arg_tcon_t *tcon = &sr->sr_tcon; local
65 sr, (uint_t)PathLength, &tcon->path);
H A Dsmb_tree_connect.c91 smb_arg_tcon_t *tcon = &sr->sr_tcon; local
97 rc = smbsr_decode_data(sr, "%AAA", sr, &tcon->path,
98 &tcon->password, &tcon->service);
100 tcon->flags = 0;
101 tcon->optional_support = 0;
104 smb_arg_tcon_t *, tcon);
274 smb_arg_tcon_t *tcon = &sr->sr_tcon; local
280 &tcon->flags, &pwlen);
286 &tcon
309 smb_arg_tcon_t *tcon = &sr->sr_tcon; local
[all...]
H A Dsmb_tree.c226 smb_arg_tcon_t *tcon = &sr->sr_tcon; local
231 (void) smb_strlwr(tcon->path);
233 if ((name = smb_tree_get_sharename(tcon->path)) == NULL) {
234 smb_tree_log(sr, tcon->path, "invalid UNC path");
250 /* NB: name points into tcon->path - don't free it. */
251 tcon->name = name;
645 smb_tree_connect_disk(smb_request_t *sr, smb_arg_tcon_t *tcon) argument
647 char *sharename = tcon->path;
652 smb_kshare_t *si = tcon->si;
653 char *service = tcon
763 smb_tree_connect_printq(smb_request_t *sr, smb_arg_tcon_t *tcon) argument
837 smb_tree_connect_ipc(smb_request_t *sr, smb_arg_tcon_t *tcon) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_conn.c643 smb_share_create(smbioc_tcon_t *tcon, struct smb_vc *vcp, argument
659 bcopy(&tcon->tc_sh, &ssp->ss_ioc,
674 smb_share_findcreate(smbioc_tcon_t *tcon, struct smb_vc *vcp, argument
690 if (u8_strcmp(ssp->ss_name, tcon->tc_sh.sh_name, 0,
704 tcon->tc_opt &= ~SMBSOPT_CREATE;
722 if (tcon->tc_opt & SMBSOPT_CREATE) {
727 error = smb_share_create(tcon, vcp, &ssp, scred);
H A Dsmb_usr.c723 smbioc_tcon_t *tcon = NULL; local
736 tcon = kmem_alloc(sizeof (*tcon), KM_SLEEP);
737 if (ddi_copyin((void *)arg, tcon, sizeof (*tcon), flags)) {
745 tcon->tc_sh.sh_name[SMBIOC_MAX_NAME-1] = '\0';
746 tcon->tc_sh.sh_pass[SMBIOC_MAX_NAME-1] = '\0';
749 tcon->tc_opt |= SMBSOPT_CREATE;
751 tcon->tc_opt &= ~SMBSOPT_CREATE;
753 error = smb_share_findcreate(tcon, vc
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c1252 smbioc_tcon_t *tcon = NULL; local
1261 tcon = malloc(sizeof (*tcon));
1262 if (tcon == NULL)
1264 bzero(tcon, sizeof (*tcon));
1265 tcon->tc_flags = SMBLK_CREATE;
1266 tcon->tc_opt = 0;
1269 strlcpy(tcon->tc_sh.sh_name, ctx->ct_origshare,
1270 sizeof (tcon
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h738 typedef struct tcon { struct
1727 smb_arg_tcon_t tcon; member in union:smb_request::__anon403
1738 #define sr_tcon arg.tcon

Completed in 82 milliseconds