Home
last modified time | relevance | path

Searched refs:shspec (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/sys/netsmb/
H A Dsmb_conn.c130 vcspec->shspec = shspec; in smb_sm_lookupint()
161 if (shspec) { in smb_sm_lookupint()
208 if (shspec == NULL) in smb_sm_lookup()
210 error = smb_share_create(vcp, shspec, scred, &ssp); in smb_sm_lookup()
749 uid_t uid = shspec->owner; in smb_share_create()
750 gid_t gid = shspec->group; in smb_share_create()
775 ssp->ss_name = smb_strdup(shspec->name); in smb_share_create()
776 if (shspec->pass && shspec->pass[0]) in smb_share_create()
777 ssp->ss_pass = smb_strdup(shspec->pass); in smb_share_create()
778 ssp->ss_type = shspec->stype; in smb_share_create()
[all …]
H A Dsmb_conn.h326 struct smb_sharespec *shspec; member
354 struct smb_sharespec *shspec, struct smb_cred *scred,
380 int smb_vc_lookupshare(struct smb_vc *vcp, struct smb_sharespec *shspec,
388 int smb_share_create(struct smb_vc *vcp, struct smb_sharespec *shspec,
H A Dsmb_usr.c187 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()