Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 32) sorted by relevance

12

/fs/ceph/
Dmds_client.c51 struct ceph_mds_session *session; member
1009 mds = cap->session->s_mds; in __choose_mds()
1157 struct ceph_mds_session *session) in __open_session() argument
1161 int mds = session->s_mds; in __open_session()
1167 session->s_state = CEPH_MDS_SESSION_OPENING; in __open_session()
1168 session->s_renew_requested = jiffies; in __open_session()
1171 msg = create_session_open_msg(mdsc, session->s_seq); in __open_session()
1174 ceph_con_send(&session->s_con, msg); in __open_session()
1186 struct ceph_mds_session *session; in __open_export_target_session() local
1188 session = __ceph_lookup_mds_session(mdsc, target); in __open_export_target_session()
[all …]
Dcaps.c47 struct ceph_mds_session *session,
607 struct ceph_mds_session *session, u64 cap_id, in ceph_add_cap() argument
615 int mds = session->s_mds; in ceph_add_cap()
622 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap()
631 spin_lock(&session->s_gen_ttl_lock); in ceph_add_cap()
632 gen = session->s_cap_gen; in ceph_add_cap()
633 spin_unlock(&session->s_gen_ttl_lock); in ceph_add_cap()
650 cap->session = session; in ceph_add_cap()
651 spin_lock(&session->s_cap_lock); in ceph_add_cap()
652 list_add_tail(&cap->session_caps, &session->s_caps); in ceph_add_cap()
[all …]
Ddebugfs.c156 struct ceph_mds_session *session; in caps_show() local
158 session = __ceph_lookup_mds_session(mdsc, i); in caps_show()
159 if (!session) in caps_show()
162 mutex_lock(&session->s_mutex); in caps_show()
163 ceph_iterate_session_caps(session, caps_show_cb, s); in caps_show()
164 mutex_unlock(&session->s_mutex); in caps_show()
165 ceph_put_mds_session(session); in caps_show()
203 struct ceph_mds_session *session = in mds_sessions_show() local
205 if (!session) { in mds_sessions_show()
210 session->s_mds, in mds_sessions_show()
[all …]
Dmds_client.h501 extern void __ceph_queue_cap_release(struct ceph_mds_session *session,
504 struct ceph_mds_session *session);
507 extern int ceph_iterate_session_caps(struct ceph_mds_session *session,
523 extern void ceph_mdsc_lease_send_msg(struct ceph_mds_session *session,
535 struct ceph_mds_session *session);
538 struct ceph_mds_session *session,
Dinode.c727 struct ceph_mds_session *session, in fill_inode() argument
962 ceph_add_cap(inode, session, in fill_inode()
1043 struct ceph_mds_session *session, in __update_dentry_lease() argument
1065 if (di->lease_gen == session->s_cap_gen && in __update_dentry_lease()
1069 if (di->lease_session && di->lease_session != session) { in __update_dentry_lease()
1075 di->lease_session = ceph_get_mds_session(session); in __update_dentry_lease()
1076 di->lease_gen = session->s_cap_gen; in __update_dentry_lease()
1087 struct ceph_mds_session *session, in update_dentry_lease() argument
1092 __update_dentry_lease(dir, dentry, lease, session, from_time, in update_dentry_lease()
1104 struct ceph_mds_session *session, in update_dentry_lease_careful() argument
[all …]
Dsuper.h149 struct ceph_mds_session *session; member
867 struct ceph_mds_session *session,
912 struct ceph_mds_session *session);
1031 extern void ceph_handle_caps(struct ceph_mds_session *session,
1036 struct ceph_mds_session *session, u64 cap_id,
1050 struct ceph_mds_session *session);
1052 struct ceph_mds_session *session);
1063 struct ceph_mds_session *session);
1167 struct ceph_mds_session *session,
Dquota.c38 struct ceph_mds_session *session, in ceph_handle_quota() argument
49 session->s_mds, (int)msg->front.iov_len); in ceph_handle_quota()
55 mutex_lock(&session->s_mutex); in ceph_handle_quota()
56 session->s_seq++; in ceph_handle_quota()
57 mutex_unlock(&session->s_mutex); in ceph_handle_quota()
Dsnap.c834 struct ceph_mds_session *session = NULL; in flush_snaps() local
844 ceph_flush_snaps(ci, &session); in flush_snaps()
852 if (session) { in flush_snaps()
853 mutex_unlock(&session->s_mutex); in flush_snaps()
854 ceph_put_mds_session(session); in flush_snaps()
872 struct ceph_mds_session *session, in ceph_handle_snap() argument
876 int mds = session->s_mds; in ceph_handle_snap()
904 mutex_lock(&session->s_mutex); in ceph_handle_snap()
905 session->s_seq++; in ceph_handle_snap()
906 mutex_unlock(&session->s_mutex); in ceph_handle_snap()
Ddir.c1428 struct ceph_mds_session *session; in __dentry_lease_is_valid() local
1433 session = di->lease_session; in __dentry_lease_is_valid()
1434 if (session) { in __dentry_lease_is_valid()
1438 spin_lock(&session->s_gen_ttl_lock); in __dentry_lease_is_valid()
1439 gen = session->s_cap_gen; in __dentry_lease_is_valid()
1440 ttl = session->s_cap_ttl; in __dentry_lease_is_valid()
1441 spin_unlock(&session->s_gen_ttl_lock); in __dentry_lease_is_valid()
1455 struct ceph_mds_session *session = NULL; in dentry_lease_is_valid() local
1474 session = ceph_get_mds_session(di->lease_session); in dentry_lease_is_valid()
1483 if (session) { in dentry_lease_is_valid()
[all …]
/fs/nfs/
Dnfs4session.c523 static void nfs4_release_session_slot_tables(struct nfs4_session *session) in nfs4_release_session_slot_tables() argument
525 nfs4_release_slot_table(&session->fc_slot_table); in nfs4_release_session_slot_tables()
526 nfs4_release_slot_table(&session->bc_slot_table); in nfs4_release_session_slot_tables()
540 tbl->session = ses; in nfs4_setup_session_slot_tables()
546 tbl->session = ses; in nfs4_setup_session_slot_tables()
557 struct nfs4_session *session; in nfs4_alloc_session() local
559 session = kzalloc(sizeof(struct nfs4_session), GFP_NOFS); in nfs4_alloc_session()
560 if (!session) in nfs4_alloc_session()
563 nfs4_init_slot_table(&session->fc_slot_table, "ForeChannel Slot table"); in nfs4_alloc_session()
564 nfs4_init_slot_table(&session->bc_slot_table, "BackChannel Slot table"); in nfs4_alloc_session()
[all …]
Dnfs4session.h39 struct nfs4_session *session; /* Parent session */ member
123 extern void nfs4_destroy_session(struct nfs4_session *session);
158 #define nfs_session_id_hash(session) (0) argument
180 #define nfs_session_id_hash(session) (0) argument
Dnfs4trace.h411 const struct nfs4_session *session,
414 TP_ARGS(session, res),
417 __field(unsigned int, session)
428 __entry->session = nfs_session_id_hash(&session->sess_id);
444 __entry->session,
466 __field(unsigned int, session)
475 __entry->session = nfs_session_id_hash(&args->csa_sessionid);
488 __entry->session,
503 __field(unsigned int, session)
512 __entry->session = nfs_session_id_hash(&args->csa_sessionid);
[all …]
Dcallback_proc.c459 struct nfs4_session *session; in referring_call_exists() local
468 session = clp->cl_session; in referring_call_exists()
469 tbl = &session->fc_slot_table; in referring_call_exists()
473 if (memcmp(session->sess_id.data, in referring_call_exists()
Dnfs4proc.c740 struct nfs4_session *session; in nfs41_release_slot() local
747 session = tbl->session; in nfs41_release_slot()
772 nfs41_notify_server(session->clp); in nfs41_release_slot()
806 struct nfs4_session *session; in nfs41_sequence_process() local
818 session = slot->table->session; in nfs41_sequence_process()
819 clp = session->clp; in nfs41_sequence_process()
821 trace_nfs4_sequence_done(session, res); in nfs41_sequence_process()
920 set_bit(NFS4_SLOT_TBL_DRAINING, &session->fc_slot_table.slot_tbl_state); in nfs41_sequence_process()
921 nfs4_schedule_session_recovery(session, status); in nfs41_sequence_process()
956 if (res->sr_slot->table->session != NULL) in nfs4_sequence_process()
[all …]
Dnfs4client.c368 struct nfs4_session *session = NULL; in nfs41_init_client() local
375 session = nfs4_alloc_session(clp); in nfs41_init_client()
376 if (!session) in nfs41_init_client()
379 clp->cl_session = session; in nfs41_init_client()
Dnfs4xdr.c1887 const struct nfs4_session *session, in encode_destroy_session() argument
1891 encode_opaque_fixed(xdr, session->sess_id.data, NFS4_MAX_SESSIONID_LEN); in encode_destroy_session()
1916 struct nfs4_session *session; in encode_sequence() local
1922 session = tp->session; in encode_sequence()
1923 if (!session) in encode_sequence()
1934 ((u32 *)session->sess_id.data)[0], in encode_sequence()
1935 ((u32 *)session->sess_id.data)[1], in encode_sequence()
1936 ((u32 *)session->sess_id.data)[2], in encode_sequence()
1937 ((u32 *)session->sess_id.data)[3], in encode_sequence()
1941 p = xdr_encode_opaque_fixed(p, session->sess_id.data, NFS4_MAX_SESSIONID_LEN); in encode_sequence()
[all …]
/fs/hfsplus/
Doptions.c60 opts->session = -1; in hfsplus_fill_defaults()
167 if (match_int(&args[0], &sbi->session)) { in hfsplus_parse_options()
234 if (sbi->session >= 0) in hfsplus_show_options()
235 seq_printf(seq, ",session=%u", sbi->session); in hfsplus_show_options()
Dwrapper.c138 if (HFSPLUS_SB(sb)->session >= 0) { in hfsplus_get_last_session()
139 te.cdte_track = HFSPLUS_SB(sb)->session; in hfsplus_get_last_session()
/fs/nfsd/
Dnfs4callback.c149 const struct nfsd4_session *session) in encode_sessionid4() argument
154 xdr_encode_opaque_fixed(p, session->se_sessionid.data, in encode_sessionid4()
346 struct nfsd4_session *session = cb->cb_clp->cl_cb_session; in encode_cb_sequence4args() local
353 encode_sessionid4(xdr, session); in encode_cb_sequence4args()
356 *p++ = cpu_to_be32(session->se_cb_seq_nr); /* csa_sequenceid */ in encode_cb_sequence4args()
389 struct nfsd4_session *session = cb->cb_clp->cl_cb_session; in decode_cb_sequence4resok() local
402 if (memcmp(p, session->se_sessionid.data, NFS4_MAX_SESSIONID_LEN)) { in decode_cb_sequence4resok()
409 if (dummy != session->se_cb_seq_nr) { in decode_cb_sequence4resok()
1021 struct nfsd4_session *session = clp->cl_cb_session; in nfsd4_cb_sequence_done() local
1052 ++session->se_cb_seq_nr; in nfsd4_cb_sequence_done()
[all …]
Dnfs4state.c1863 struct nfsd4_session *session; in find_in_sessionid_hashtbl() local
1866 session = __find_in_sessionid_hashtbl(sessionid, net); in find_in_sessionid_hashtbl()
1867 if (!session) in find_in_sessionid_hashtbl()
1869 status = nfsd4_get_session_locked(session); in find_in_sessionid_hashtbl()
1871 session = NULL; in find_in_sessionid_hashtbl()
1874 return session; in find_in_sessionid_hashtbl()
3434 struct nfsd4_session *session = cstate->session; in nfsd4_backchannel_ctl() local
3442 session->se_cb_prog = bc->bc_cb_program; in nfsd4_backchannel_ctl()
3443 session->se_cb_sec = bc->bc_cb_sec; in nfsd4_backchannel_ctl()
3446 nfsd4_probe_callback(session->se_client); in nfsd4_backchannel_ctl()
[all …]
/fs/hfs/
Dsuper.c151 if (sbi->session >= 0) in hfs_show_options()
152 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options()
238 hsb->session = -1; in parse_options()
300 if (match_int(&args[0], &hsb->session)) { in parse_options()
Dmdb.c43 if (HFS_SB(sb)->session >= 0) { in hfs_get_last_session()
44 te.cdte_track = HFS_SB(sb)->session; in hfs_get_last_session()
Dhfs_fs.h157 int session, part; member
/fs/isofs/
Dinode.c167 s32 session; member
358 popt->session=-1; in parse_options()
422 popt->session = n + 1; in parse_options()
546 static unsigned int isofs_get_last_session(struct super_block *sb, s32 session) in isofs_get_last_session() argument
555 if (session > 0) { in isofs_get_last_session()
557 Te.cdte_track=session; in isofs_get_last_session()
562 session, Te.cdte_addr.lba, in isofs_get_last_session()
571 if (session > 0) in isofs_get_last_session()
665 sbi->s_session = opt.session; in isofs_fill_super()
669 opt.sbsector : isofs_get_last_session(s,opt.session); in isofs_fill_super()
/fs/cifs/
DKconfig42 session establishment via Kerberos or NTLM or NTLMv2, RDMA
113 bool "Kerberos/SPNEGO advanced session setup"

12