Searched defs:ses (Results 1 - 20 of 20) sorted by relevance

/fs/cifs/
H A Dcifs_dfs_ref.c282 struct cifs_ses *ses; local
310 ses = tlink_tcon(tlink)->ses;
313 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls,
H A Dmisc.c265 if (treeCon->ses) {
266 if (treeCon->ses->capabilities & CAP_UNICODE)
268 if (treeCon->ses->capabilities & CAP_STATUS32)
272 buffer->Uid = treeCon->ses->Suid;
273 buffer->Mid = get_next_mid(treeCon->ses->server);
279 if ((treeCon->ses) && (treeCon->ses->server))
280 if (treeCon->ses->server->sign)
402 struct cifs_ses *ses; local
461 ses
[all...]
H A Dsess.c35 static __u32 cifs_ssetup_hdr(struct cifs_ses *ses, SESSION_SETUP_ANDX *pSMB) argument
48 pSMB->req.MaxMpxCount = cpu_to_le16(ses->server->maxReq);
59 if (ses->server->sign)
62 if (ses->capabilities & CAP_UNICODE) {
66 if (ses->capabilities & CAP_STATUS32) {
70 if (ses->capabilities & CAP_DFS) {
74 if (ses->capabilities & CAP_UNIX)
103 static void unicode_domain_string(char **pbcc_area, struct cifs_ses *ses, argument
110 if (ses->domainName == NULL) {
117 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses
126 unicode_ssetup_strings(char **pbcc_area, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
158 ascii_ssetup_strings(char **pbcc_area, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
197 decode_unicode_ssetup(char **pbcc_area, int bleft, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
230 decode_ascii_ssetup(char **pbcc_area, __u16 bleft, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
280 decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses) argument
334 build_ntlmssp_negotiate_blob(unsigned char *pbuffer, struct cifs_ses *ses) argument
370 build_ntlmssp_auth_blob(unsigned char *pbuffer, u16 *buflen, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
526 struct cifs_ses *ses; member in struct:sess_data
546 struct cifs_ses *ses = sess_data->ses; local
592 struct cifs_ses *ses = sess_data->ses; local
656 struct cifs_ses *ses = sess_data->ses; local
757 struct cifs_ses *ses = sess_data->ses; local
862 struct cifs_ses *ses = sess_data->ses; local
967 struct cifs_ses *ses = sess_data->ses; local
1109 struct cifs_ses *ses = sess_data->ses; local
1149 struct cifs_ses *ses = sess_data->ses; local
1245 struct cifs_ses *ses = sess_data->ses; local
1353 select_sec(struct cifs_ses *ses, struct sess_data *sess_data) argument
1404 CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
[all...]
H A Dsmb2misc.c444 struct TCP_Server_Info *server = tcon->ses->server;
505 struct cifs_ses *ses; local
524 ses = list_entry(tmp1, struct cifs_ses, smb_ses_list);
527 list_for_each(tmp2, &ses->tcon_list) {
552 struct cifs_ses *ses; local
575 ses = list_entry(tmp, struct cifs_ses, smb_ses_list);
576 list_for_each(tmp1, &ses->tcon_list) {
H A Dsmb2transport.c120 struct cifs_ses *ses; local
123 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) {
124 if (ses->Suid != smb2hdr->SessionId)
127 return ses;
144 struct cifs_ses *ses; local
146 ses = smb2_find_smb_ses(smb2_pdu, server);
147 if (!ses) {
162 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE);
226 generate_smb3signingkey(struct cifs_ses *ses) argument
236 memset(ses
315 struct cifs_ses *ses; local
513 smb2_get_mid_entry(struct cifs_ses *ses, struct smb2_hdr *buf, struct mid_q_entry **mid) argument
573 smb2_setup_request(struct cifs_ses *ses, struct smb_rqst *rqst) argument
[all...]
H A Dcifs_debug.c133 struct cifs_ses *ses; local
175 ses = list_entry(tmp2, struct cifs_ses,
177 if ((ses->serverDomain == NULL) ||
178 (ses->serverOS == NULL) ||
179 (ses->serverNOS == NULL)) {
181 "displayed\n\t", i, ses->serverName);
187 i, ses->serverName, ses->serverDomain,
188 ses->ses_count, ses
280 struct cifs_ses *ses; local
320 struct cifs_ses *ses; local
[all...]
H A Dcifsencrypt.c262 int setup_ntlm_response(struct cifs_ses *ses, const struct nls_table *nls_cp) argument
268 if (!ses)
271 ses->auth_key.response = kmalloc(temp_len, GFP_KERNEL);
272 if (!ses->auth_key.response)
275 ses->auth_key.len = temp_len;
277 rc = SMBNTencrypt(ses->password, ses->server->cryptkey,
278 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp);
285 rc = E_md4hash(ses->password, temp_key, nls_cp);
292 rc = mdfour(ses
344 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) argument
399 find_domain_name(struct cifs_ses *ses, const struct nls_table *nls_cp) argument
444 calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, const struct nls_table *nls_cp) argument
548 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash) argument
632 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) argument
736 calc_seckey(struct cifs_ses *ses) argument
[all...]
H A Dtransport.c460 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, argument
463 if (ses->server->tcpStatus == CifsExiting) {
467 if (ses->server->tcpStatus == CifsNeedReconnect) {
472 if (ses->status == CifsNew) {
479 if (ses->status == CifsExiting) {
486 *ppmidQ = AllocMidQEntry(in_buf, ses->server);
490 list_add_tail(&(*ppmidQ)->qhead, &ses->server->pending_mid_q);
601 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, argument
611 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags);
688 cifs_setup_request(struct cifs_ses *ses, struc argument
706 SendReceive2(const unsigned int xid, struct cifs_ses *ses, struct kvec *iov, int n_vec, int *resp_buf_type , const int flags) argument
835 SendReceive(const unsigned int xid, struct cifs_ses *ses, struct smb_hdr *in_buf, struct smb_hdr *out_buf, int *pbytes_returned, const int timeout) argument
953 struct cifs_ses *ses = tcon->ses; local
977 struct cifs_ses *ses; local
[all...]
H A Dcifsfs.c128 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files)
186 struct TCP_Server_Info *server = tcon->ses->server;
215 struct TCP_Server_Info *server = tcon->ses->server;
327 cifs_show_security(struct seq_file *s, struct cifs_ses *ses) argument
329 if (ses->sectype == Unspecified)
334 switch (ses->sectype) {
356 if (ses->sign)
396 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr;
398 seq_printf(s, ",vers=%s", tcon->ses
[all...]
H A Dsmb1ops.c424 cifs_negotiate(const unsigned int xid, struct cifs_ses *ses) argument
427 rc = CIFSSMBNegotiate(xid, ses);
430 set_credits(ses->server, 1);
431 rc = CIFSSMBNegotiate(xid, ses);
442 struct TCP_Server_Info *server = tcon->ses->server;
477 struct TCP_Server_Info *server = tcon->ses->server;
711 if (!(oparms->tcon->ses->capabilities & CAP_NT_SMBS))
891 if ((tcon->ses->capabilities & CAP_UNIX) &&
899 if (rc && (tcon->ses->capabilities & CAP_NT_SMBS))
931 rc = get_dfs_path(xid, tcon->ses, searchNam
[all...]
H A Dsmb2ops.c213 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses) argument
216 ses->server->CurrentMid = 0;
217 rc = SMB2_negotiate(xid, ses);
227 struct TCP_Server_Info *server = tcon->ses->server;
243 struct TCP_Server_Info *server = tcon->ses->server;
527 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server;
898 if (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING)
H A Dsmb2pdu.c113 if ((tcon->ses) &&
114 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU))
120 if (tcon->ses)
121 hdr->SessionId = tcon->ses->Suid;
136 if (tcon->ses && tcon->ses->server && tcon->ses->server->sign)
148 struct cifs_ses *ses; local
176 if ((!tcon->ses) || (tcon->ses
323 SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) argument
526 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *nls_cp) argument
747 SMB2_logoff(const unsigned int xid, struct cifs_ses *ses) argument
799 SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, const char *tree, struct cifs_tcon *tcon, const struct nls_table *cp) argument
922 struct cifs_ses *ses = tcon->ses; local
1077 struct cifs_ses *ses = tcon->ses; local
1222 struct cifs_ses *ses = tcon->ses; local
1381 struct cifs_ses *ses = tcon->ses; local
1487 struct cifs_ses *ses = tcon->ses; local
1608 struct cifs_ses *ses = tcon->ses; local
2121 struct cifs_ses *ses = tcon->ses; local
2244 struct cifs_ses *ses = tcon->ses; local
2479 struct cifs_ses *ses = tcon->ses; local
2516 struct cifs_ses *ses = tcon->ses; local
[all...]
H A Dcifssmb.c119 struct cifs_ses *ses; local
131 ses = tcon->ses;
132 server = ses->server;
171 if (!ses->need_reconnect && !tcon->need_reconnect)
180 mutex_lock(&ses->session_mutex);
181 rc = cifs_negotiate_protocol(0, ses);
182 if (rc == 0 && ses->need_reconnect)
183 rc = cifs_setup_session(0, ses, nls_codepage);
187 mutex_unlock(&ses
259 small_smb_init_no_tc(const int smb_command, const int wct, struct cifs_ses *ses, void **request_buf) argument
367 decode_ext_sec_blob(struct cifs_ses *ses, NEGOTIATE_RSP *pSMBr) argument
545 CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses) argument
740 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) argument
4872 CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, const char *search_name, struct dfs_info3_param **target_nodes, unsigned int *num_of_nodes, const struct nls_table *nls_codepage, int remap) argument
[all...]
H A Dconnect.c305 struct cifs_ses *ses; local
332 ses = list_entry(tmp, struct cifs_ses, smb_ses_list);
333 ses->need_reconnect = true;
334 ses->ipc_tid = 0;
335 list_for_each(tmp2, &ses->tcon_list) {
2228 static int match_session(struct cifs_ses *ses, struct smb_vol *vol) argument
2231 vol->sectype != ses->sectype)
2234 switch (ses->sectype) {
2236 if (!uid_eq(vol->cred_uid, ses->cred_uid))
2241 if (ses
2265 struct cifs_ses *ses; local
2282 cifs_put_smb_ses(struct cifs_ses *ses) argument
2326 cifs_set_cifscreds(struct smb_vol *vol, struct cifs_ses *ses) argument
2454 struct cifs_ses *ses; local
2561 cifs_find_tcon(struct cifs_ses *ses, const char *unc) argument
2583 struct cifs_ses *ses = tcon->ses; local
2606 cifs_get_tcon(struct cifs_ses *ses, struct smb_vol *volume_info) argument
2751 struct cifs_ses *ses; local
2784 get_dfs_path(const unsigned int xid, struct cifs_ses *ses, const char *old_path, const struct nls_table *nls_codepage, unsigned int *num_referrals, struct dfs_info3_param **referrals, int remap) argument
3347 expand_dfs_referral(const unsigned int xid, struct cifs_ses *ses, struct smb_vol *volume_info, struct cifs_sb_info *cifs_sb, int check_prefix) argument
3455 struct cifs_ses *ses; local
3653 CIFSTCon(const unsigned int xid, struct cifs_ses *ses, const char *tree, struct cifs_tcon *tcon, const struct nls_table *nls_codepage) argument
3843 cifs_negotiate_protocol(const unsigned int xid, struct cifs_ses *ses) argument
3871 cifs_setup_session(const unsigned int xid, struct cifs_ses *ses, struct nls_table *nls_info) argument
3894 cifs_set_vol_auth(struct smb_vol *vol, struct cifs_ses *ses) argument
3910 struct cifs_ses *ses; local
[all...]
H A Dcifsglob.h805 cap_unix(struct cifs_ses *ses) argument
807 return ses->server->vals->cap_unix & ses->capabilities;
818 struct cifs_ses *ses; /* pointer to session associated with */ member in struct:cifs_tcon
1036 struct mutex fh_mutex; /* prevents reopen race after dead ses*/
/fs/nfs/
H A Dnfs4session.c443 int nfs4_setup_session_slot_tables(struct nfs4_session *ses) argument
450 tbl = &ses->fc_slot_table;
451 tbl->session = ses;
452 status = nfs4_realloc_slot_table(tbl, ses->fc_attrs.max_reqs, 1);
456 tbl = &ses->bc_slot_table;
457 tbl->session = ses;
458 status = nfs4_realloc_slot_table(tbl, ses->bc_attrs.max_reqs, 0);
462 nfs4_release_session_slot_tables(ses);
H A Dnfs4state.c229 struct nfs4_session *ses = clp->cl_session; local
236 if (ses != NULL) {
237 nfs4_end_drain_slot_table(&ses->bc_slot_table);
238 nfs4_end_drain_slot_table(&ses->fc_slot_table);
257 struct nfs4_session *ses = clp->cl_session; local
264 ret = nfs4_drain_slot_tbl(&ses->bc_slot_table);
268 return nfs4_drain_slot_tbl(&ses->fc_slot_table);
/fs/nfsd/
H A Dnfs4callback.c619 static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses) argument
627 acred.uid = ses->se_cb_sec.uid;
628 acred.gid = ses->se_cb_sec.gid;
649 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_session *ses) argument
683 clp->cl_cb_session = ses;
688 args.authflavor = ses->se_cb_sec.flavor;
697 cred = get_backchannel_cred(clp, client, ses);
921 struct nfsd4_session *ses = NULL; local
953 ses = c->cn_session;
957 err = setup_callback_client(clp, &conn, ses);
[all...]
H A Dnfs4state.c101 static bool is_session_dead(struct nfsd4_session *ses) argument
103 return ses->se_flags & NFS4_SESSION_DEAD;
106 static __be32 mark_session_dead_locked(struct nfsd4_session *ses, int ref_held_by_me) argument
108 if (atomic_read(&ses->se_ref) > ref_held_by_me)
110 ses->se_flags |= NFS4_SESSION_DEAD;
186 static __be32 nfsd4_get_session_locked(struct nfsd4_session *ses) argument
190 if (is_session_dead(ses))
192 status = get_client_locked(ses->se_client);
195 atomic_inc(&ses->se_ref);
199 static void nfsd4_put_session_locked(struct nfsd4_session *ses) argument
211 nfsd4_put_session(struct nfsd4_session *ses) argument
1200 gen_sessionid(struct nfsd4_session *ses) argument
1226 free_session_slots(struct nfsd4_session *ses) argument
1346 __nfsd4_hash_conn(struct nfsd4_conn *conn, struct nfsd4_session *ses) argument
1352 nfsd4_hash_conn(struct nfsd4_conn *conn, struct nfsd4_session *ses) argument
1367 nfsd4_init_conn(struct svc_rqst *rqstp, struct nfsd4_conn *conn, struct nfsd4_session *ses) argument
1409 __free_session(struct nfsd4_session *ses) argument
1415 free_session(struct nfsd4_session *ses) argument
1501 unhash_session(struct nfsd4_session *ses) argument
1572 struct nfsd4_session *ses; local
1592 struct nfsd4_session *ses; local
2624 struct nfsd4_session *ses; local
2674 nfsd4_sequence_check_conn(struct nfsd4_conn *new, struct nfsd4_session *ses) argument
[all...]
/fs/f2fs/
H A Dsegment.c1570 struct sit_entry_set *ses = local
1573 ses->entry_cnt = 0;
1574 INIT_LIST_HEAD(&ses->set_list);
1575 return ses;
1578 static void release_sit_entry_set(struct sit_entry_set *ses) argument
1580 list_del(&ses->set_list);
1581 kmem_cache_free(sit_entry_set_slab, ses);
1584 static void adjust_sit_entry_set(struct sit_entry_set *ses, argument
1587 struct sit_entry_set *next = ses;
1589 if (list_is_last(&ses
1601 struct sit_entry_set *ses; local
1659 struct sit_entry_set *ses, *tmp; local
[all...]

Completed in 174 milliseconds