Home
last modified time | relevance | path

Searched refs:smb_share (Results 1 – 14 of 14) sorted by relevance

/freebsd-9-stable/sys/netsmb/
Dsmb_conn.h169 struct smb_share;
293 struct smb_share { struct
310 #define CPTOSS(cp) ((struct smb_share*)(cp)) argument
329 struct smb_share *ssp; /* returned */
383 struct smb_cred *scred, struct smb_share **sspp);
391 struct smb_cred *scred, struct smb_share **sspp);
392 int smb_share_access(struct smb_share *ssp, struct smb_cred *scred, mode_t mode);
393 void smb_share_ref(struct smb_share *ssp);
394 void smb_share_rele(struct smb_share *ssp, struct smb_cred *scred);
395 int smb_share_get(struct smb_share *ssp, int flags, struct smb_cred *scred);
[all …]
Dsmb_dev.h161 struct smb_share *sd_share; /* reference to share if any */
178 struct smb_vc **vcpp, struct smb_share **sspp);
182 struct smb_cred *scred, struct smb_share **sspp);
183 int smb_usr_simplerequest(struct smb_share *ssp, struct smbioc_rq *data,
185 int smb_usr_t2request(struct smb_share *ssp, struct smbioc_t2rq *data,
188 struct smb_share **sspp);
Dsmb_conn.c177 struct smb_share *ssp = NULL; in smb_sm_lookup()
583 smb_vc_cmpshare(struct smb_share *ssp, struct smb_sharespec *dp) in smb_vc_cmpshare()
616 struct smb_cred *scred, struct smb_share **sspp) in smb_vc_lookupshare()
619 struct smb_share *ssp = NULL; in smb_vc_lookupshare()
625 ssp = (struct smb_share *)scp; in smb_vc_lookupshare()
712 struct smb_cred *scred, struct smb_share **sspp) in smb_share_create()
714 struct smb_share *ssp; in smb_share_create()
759 struct smb_share *ssp = CPTOSS(cp); in smb_share_free()
771 struct smb_share *ssp = CPTOSS(cp); in smb_share_gone()
777 smb_share_ref(struct smb_share *ssp) in smb_share_ref()
[all …]
Dsmb_usr.c127 struct smb_vc **vcpp, struct smb_share **sspp) in smb_usr_lookup()
184 struct smb_cred *scred, struct smb_share **sspp) in smb_usr_openshare()
186 struct smb_share *ssp; in smb_usr_openshare()
212 smb_usr_simplerequest(struct smb_share *ssp, struct smbioc_rq *dp, in smb_usr_simplerequest()
292 smb_usr_t2request(struct smb_share *ssp, struct smbioc_t2rq *dp, in smb_usr_t2request()
Dsmb_dev.c159 struct smb_share *ssp; in nsmb_dev_close()
193 struct smb_share *ssp; in nsmb_dev_ioctl()
391 struct smb_share **sspp) in smb_dev2share()
396 struct smb_share *ssp; in smb_dev2share()
Dsmb_smb.c499 smb_smb_treeconnect(struct smb_share *ssp, struct smb_cred *scred) in smb_smb_treeconnect()
602 smb_smb_treedisconnect(struct smb_share *ssp, struct smb_cred *scred) in smb_smb_treedisconnect()
626 smb_smb_readx(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, in smb_smb_readx()
707 smb_smb_writex(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, in smb_smb_writex()
764 smb_smb_read(struct smb_share *ssp, u_int16_t fid, in smb_smb_read()
822 smb_read(struct smb_share *ssp, u_int16_t fid, struct uio *uio, in smb_read()
843 smb_smb_write(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, in smb_smb_write()
897 smb_write(struct smb_share *ssp, u_int16_t fid, struct uio *uio, in smb_write()
Dsmb_rq.c56 struct smb_vc **vcpp, struct smb_share **sspp);
183 struct smb_share *ssp = rqp->sr_share; in smb_rq_enqueue()
279 struct smb_vc **vcpp, struct smb_share **sspp) in smb_rq_getenv()
282 struct smb_share *ssp = NULL; in smb_rq_getenv()
Dsmb_rq.h71 struct smb_share* sr_share;
Dsmb_iod.c188 smb_iod_treeconnect(struct smbiod *iod, struct smb_share *ssp) in smb_iod_treeconnect()
217 struct smb_share *ssp = rqp->sr_share; in smb_iod_sendrq()
/freebsd-9-stable/sys/fs/smbfs/
Dsmbfs_smb.c89 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_lockandx()
126 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_lock()
138 smbfs_query_info_fs(struct smb_share *ssp, struct statfs *sbp, in smbfs_query_info_fs()
179 smbfs_query_info_alloc(struct smb_share *ssp, struct statfs *sbp, in smbfs_query_info_alloc()
220 smbfs_query_info_disk(struct smb_share *ssp, struct statfs *sbp, in smbfs_query_info_disk()
256 smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp, in smbfs_smb_statfs()
273 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_seteof()
301 struct smb_share *ssp = np->n_mount->sm_share; in smb_smb_flush()
336 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_setfsize()
370 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_query_info()
[all …]
Dsmbfs.h69 struct smb_share;
85 struct smb_share * sm_share;
Dsmbfs_subr.h103 struct smb_share *f_ssp;
128 int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp,
148 int smbfs_smb_close(struct smb_share *ssp, u_int16_t fid,
Dsmbfs_vfsops.c144 struct smb_share *ssp = NULL; in smbfs_mount()
412 struct smb_share *ssp = smp->sm_share; in smbfs_statfs()
Dsmbfs_vnops.c293 struct smb_share *ssp = np->n_mount->sm_share;