Lines Matching refs:scred

87 	struct smb_cred *scred)
98 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_LOCKING_ANDX, scred, &rqp);
125 off_t start, off_t end, struct smb_cred *scred)
135 return smbfs_smb_lockandx(np, op, (uintptr_t)id, start, end, scred);
140 struct smb_cred *scred)
150 scred, &t2p);
181 struct smb_cred *scred)
191 scred, &t2p);
222 struct smb_cred *scred)
230 scred, &rqp);
259 struct smb_cred *scred)
263 if (smbfs_query_info_fs(ssp, sbp, scred) == 0)
265 if (smbfs_query_info_alloc(ssp, sbp, scred) == 0)
268 return (smbfs_query_info_disk(ssp, sbp, scred));
272 smbfs_smb_seteof(struct smbnode *np, int64_t newsize, struct smb_cred *scred)
280 scred, &t2p);
301 smb_smb_flush(struct smbnode *np, struct smb_cred *scred)
311 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_FLUSH, scred, &rqp);
328 smbfs_smb_flush(struct smbnode *np, struct smb_cred *scred)
331 return (smb_smb_flush(np, scred));
336 smbfs_smb_setfsize(struct smbnode *np, int64_t newsize, struct smb_cred *scred)
343 if (!smbfs_smb_seteof(np, newsize, scred)) {
348 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_WRITE, scred, &rqp);
369 struct smbfattr *fap, struct smb_cred *scred)
380 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_QUERY_INFORMATION, scred,
426 struct smb_cred *scred)
434 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_SET_INFORMATION, scred,
477 struct timespec *atime, int attr, struct smb_cred *scred)
487 scred, &t2p);
532 struct timespec *atime, struct smb_cred *scred)
542 scred, &t2p);
583 struct timespec *atime, struct smb_cred *scred)
591 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_SET_INFORMATION2, scred,
628 struct timespec *atime, struct smb_cred *scred)
637 scred, &t2p);
672 smbfs_smb_open(struct smbnode *np, int accmode, struct smb_cred *scred)
682 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_OPEN, scred, &rqp);
725 struct smb_cred *scred)
732 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_CLOSE, scred, &rqp);
753 struct smb_cred *scred)
765 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_CREATE, scred, &rqp);
793 smbfs_smb_close(ssp, fid, &ctime, scred);
798 smbfs_smb_delete(struct smbnode *np, struct smb_cred *scred)
805 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_DELETE, scred, &rqp);
825 const char *tname, int tnmlen, struct smb_cred *scred)
832 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_RENAME, scred, &rqp);
858 const char *tname, int tnmlen, u_int16_t flags, struct smb_cred *scred)
865 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_MOVE, scred, &rqp);
893 struct smb_cred *scred)
900 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_CREATE_DIRECTORY, scred,
919 smbfs_smb_rmdir(struct smbnode *np, struct smb_cred *scred)
926 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_DELETE_DIRECTORY, scred,
1021 const char *wildcard, int wclen, int attr, struct smb_cred *scred)
1225 const char *wildcard, int wclen, int attr, struct smb_cred *scred)
1370 struct smb_cred *scred, struct smbfs_fctx **ctxpp)
1379 ctx->f_scred = scred;
1383 error = smbfs_findopenLM1(ctx, dnp, wildcard, wclen, attr, scred);
1385 error = smbfs_findopenLM2(ctx, dnp, wildcard, wclen, attr, scred);
1387 smbfs_findclose(ctx, scred);
1394 smbfs_findnext(struct smbfs_fctx *ctx, int limit, struct smb_cred *scred)
1402 ctx->f_scred = scred;
1430 smbfs_findclose(struct smbfs_fctx *ctx, struct smb_cred *scred)
1432 ctx->f_scred = scred;
1445 struct smbfattr *fap, struct smb_cred *scred)
1460 SMB_FA_SYSTEM | SMB_FA_HIDDEN | SMB_FA_DIR, scred, &ctx);
1464 error = smbfs_findnext(ctx, 1, scred);
1470 smbfs_findclose(ctx, scred);