Searched refs:shspec (Results 1 – 3 of 3) sorted by relevance
/dragonfly/sys/netproto/smb/ |
H A D | smb_conn.c | 132 vcspec->shspec = shspec; in smb_sm_lookupint() 165 if (shspec) { in smb_sm_lookupint() 209 if (shspec == NULL) in smb_sm_lookup() 211 error = smb_share_create(vcp, shspec, scred, &ssp); in smb_sm_lookup() 740 uid_t uid = shspec->owner; in smb_share_create() 741 gid_t gid = shspec->group; in smb_share_create() 766 ssp->ss_name = smb_strdup(shspec->name); in smb_share_create() 767 if (shspec->pass && shspec->pass[0]) in smb_share_create() 768 ssp->ss_pass = smb_strdup(shspec->pass); in smb_share_create() 769 ssp->ss_type = shspec->stype; in smb_share_create() [all …]
|
H A D | smb_conn.h | 335 struct smb_sharespec *shspec; member 363 struct smb_sharespec *shspec, struct smb_cred *scred, 379 int smb_vc_lookupshare(struct smb_vc *vcp, struct smb_sharespec *shspec, 387 int smb_share_create(struct smb_vc *vcp, struct smb_sharespec *shspec,
|
H A D | smb_usr.c | 187 struct smb_sharespec shspec; in smb_usr_openshare() local 190 error = smb_usr_share2spec(dp, &shspec); in smb_usr_openshare() 193 error = smb_vc_lookupshare(vcp, &shspec, scred, &ssp); in smb_usr_openshare() 200 error = smb_share_create(vcp, &shspec, scred, &ssp); in smb_usr_openshare()
|