Lines Matching defs:tcon
1252 smbioc_tcon_t *tcon = NULL;
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->tc_sh.sh_name));
1273 tcon->tc_sh.sh_use = ctx->ct_shtype_req;
1280 if (ioctl(ctx->ct_dev_fd, cmd, tcon) == -1) {
1288 DPRINT("ret. sh_type: \"%d\"", tcon->tc_sh.sh_type);
1290 ctx->ct_shtype_req != tcon->tc_sh.sh_type) {
1297 if (tcon != NULL)
1298 free(tcon);