/fs/ceph/ |
D | mds_client.c | 383 struct ceph_mds_session *session; in __ceph_lookup_mds_session() local 387 session = mdsc->sessions[mds]; in __ceph_lookup_mds_session() 388 dout("lookup_mds_session %p %d\n", session, in __ceph_lookup_mds_session() 389 atomic_read(&session->s_ref)); in __ceph_lookup_mds_session() 390 get_session(session); in __ceph_lookup_mds_session() 391 return session; in __ceph_lookup_mds_session() 787 mds = cap->session->s_mds; in __choose_mds() 895 struct ceph_mds_session *session) in __open_session() argument 899 int mds = session->s_mds; in __open_session() 905 session->s_state = CEPH_MDS_SESSION_OPENING; in __open_session() [all …]
|
D | caps.c | 512 struct ceph_mds_session *session, u64 cap_id, in ceph_add_cap() argument 520 int mds = session->s_mds; in ceph_add_cap() 524 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap() 548 cap->session = session; in ceph_add_cap() 549 spin_lock(&session->s_cap_lock); in ceph_add_cap() 550 list_add_tail(&cap->session_caps, &session->s_caps); in ceph_add_cap() 551 session->s_nr_caps++; in ceph_add_cap() 552 spin_unlock(&session->s_cap_lock); in ceph_add_cap() 632 cap->cap_gen = session->s_cap_gen; in ceph_add_cap() 648 spin_lock(&cap->session->s_gen_ttl_lock); in __cap_is_valid() [all …]
|
D | snap.c | 733 struct ceph_mds_session *session = NULL; in flush_snaps() local 744 __ceph_flush_snaps(ci, &session, 0); in flush_snaps() 751 if (session) { in flush_snaps() 752 mutex_unlock(&session->s_mutex); in flush_snaps() 753 ceph_put_mds_session(session); in flush_snaps() 771 struct ceph_mds_session *session, in ceph_handle_snap() argument 775 int mds = session->s_mds; in ceph_handle_snap() 803 mutex_lock(&session->s_mutex); in ceph_handle_snap() 804 session->s_seq++; in ceph_handle_snap() 805 mutex_unlock(&session->s_mutex); in ceph_handle_snap()
|
D | super.h | 121 struct ceph_mds_session *session; member 670 struct ceph_mds_session *session, 705 struct ceph_mds_session *session); 707 struct ceph_mds_session *session); 790 extern void ceph_handle_caps(struct ceph_mds_session *session, 795 struct ceph_mds_session *session, u64 cap_id, 804 extern void __queue_cap_release(struct ceph_mds_session *session, u64 ino, 811 struct ceph_mds_session *session); 823 struct ceph_mds_session *session);
|
D | debugfs.c | 179 struct ceph_mds_session *session = in mds_sessions_show() local 181 if (!session) { in mds_sessions_show() 186 session->s_mds, in mds_sessions_show() 187 ceph_session_state_name(session->s_state)); in mds_sessions_show() 189 ceph_put_mds_session(session); in mds_sessions_show()
|
D | mds_client.h | 371 struct ceph_mds_session *session); 373 struct ceph_mds_session *session); 381 extern void ceph_mdsc_lease_send_msg(struct ceph_mds_session *session, 392 struct ceph_mds_session *session);
|
D | inode.c | 663 struct ceph_mds_session *session, in fill_inode() argument 854 ceph_add_cap(inode, session, in fill_inode() 907 struct ceph_mds_session *session, in update_dentry_lease() argument 931 if (di->lease_gen == session->s_cap_gen && in update_dentry_lease() 935 if (di->lease_session && di->lease_session != session) in update_dentry_lease() 941 di->lease_session = ceph_get_mds_session(session); in update_dentry_lease() 942 di->lease_gen = session->s_cap_gen; in update_dentry_lease() 1009 struct ceph_mds_session *session) in ceph_fill_trace() argument 1038 session, req->r_request_started, -1); in ceph_fill_trace() 1047 session, req->r_request_started, in ceph_fill_trace() [all …]
|
D | dir.c | 997 struct ceph_mds_session *session = NULL; in dentry_lease_is_valid() local 1018 session = ceph_get_mds_session(s); in dentry_lease_is_valid() 1027 if (session) { in dentry_lease_is_valid() 1028 ceph_mdsc_lease_send_msg(session, dir, dentry, in dentry_lease_is_valid() 1030 ceph_put_mds_session(session); in dentry_lease_is_valid()
|
/fs/nfs/ |
D | nfs4session.c | 434 static void nfs4_release_session_slot_tables(struct nfs4_session *session) in nfs4_release_session_slot_tables() argument 436 nfs4_release_slot_table(&session->fc_slot_table); in nfs4_release_session_slot_tables() 437 nfs4_release_slot_table(&session->bc_slot_table); in nfs4_release_session_slot_tables() 451 tbl->session = ses; in nfs4_setup_session_slot_tables() 457 tbl->session = ses; in nfs4_setup_session_slot_tables() 468 struct nfs4_session *session; in nfs4_alloc_session() local 470 session = kzalloc(sizeof(struct nfs4_session), GFP_NOFS); in nfs4_alloc_session() 471 if (!session) in nfs4_alloc_session() 474 nfs4_init_slot_table(&session->fc_slot_table, "ForeChannel Slot table"); in nfs4_alloc_session() 475 nfs4_init_slot_table(&session->bc_slot_table, "BackChannel Slot table"); in nfs4_alloc_session() [all …]
|
D | nfs4trace.h | 246 const struct nfs4_session *session, 249 TP_ARGS(session, args), 252 __field(unsigned int, session) 260 __entry->session = nfs_session_id_hash(&session->sess_id); 269 __entry->session, 301 const struct nfs4_session *session, 304 TP_ARGS(session, res), 307 __field(unsigned int, session) 318 __entry->session = nfs_session_id_hash(&session->sess_id); 332 __entry->session, [all …]
|
D | nfs4session.h | 34 struct nfs4_session *session; /* Parent session */ member 100 extern void nfs4_destroy_session(struct nfs4_session *session); 129 #define nfs_session_id_hash(session) (0) argument
|
D | callback_proc.c | 372 struct nfs4_session *session; in referring_call_exists() local 381 session = clp->cl_session; in referring_call_exists() 382 tbl = &session->fc_slot_table; in referring_call_exists() 386 if (memcmp(session->sess_id.data, in referring_call_exists()
|
D | nfs4proc.c | 563 struct nfs4_session *session; in nfs41_sequence_free_slot() local 569 session = tbl->session; in nfs41_sequence_free_slot() 590 nfs41_server_notify_highest_slotid_update(session->clp); in nfs41_sequence_free_slot() 595 struct nfs4_session *session; in nfs41_sequence_done() local 607 session = slot->table->session; in nfs41_sequence_done() 614 trace_nfs4_sequence_done(session, res); in nfs41_sequence_done() 620 clp = session->clp; in nfs41_sequence_done() 702 if (!res->sr_slot->table->session) in nfs4_sequence_done() 707 int nfs41_setup_sequence(struct nfs4_session *session, in nfs41_setup_sequence() argument 720 tbl = &session->fc_slot_table; in nfs41_setup_sequence() [all …]
|
D | nfs4xdr.c | 1725 struct nfs4_session *session, in encode_bind_conn_to_session() argument 1732 encode_opaque_fixed(xdr, session->sess_id.data, NFS4_MAX_SESSIONID_LEN); in encode_bind_conn_to_session() 1855 struct nfs4_session *session, in encode_destroy_session() argument 1859 encode_opaque_fixed(xdr, session->sess_id.data, NFS4_MAX_SESSIONID_LEN); in encode_destroy_session() 1884 struct nfs4_session *session; in encode_sequence() local 1890 session = tp->session; in encode_sequence() 1891 if (!session) in encode_sequence() 1902 ((u32 *)session->sess_id.data)[0], in encode_sequence() 1903 ((u32 *)session->sess_id.data)[1], in encode_sequence() 1904 ((u32 *)session->sess_id.data)[2], in encode_sequence() [all …]
|
D | nfs4client.c | 305 struct nfs4_session *session = NULL; in nfs41_init_client() local 312 session = nfs4_alloc_session(clp); in nfs41_init_client() 313 if (!session) in nfs41_init_client() 316 clp->cl_session = session; in nfs41_init_client()
|
D | nfs4_fs.h | 262 extern int nfs41_setup_sequence(struct nfs4_session *session, 407 static inline void nfs4_schedule_session_recovery(struct nfs4_session *session, int err) in nfs4_schedule_session_recovery() argument
|
/fs/hfsplus/ |
D | options.c | 59 opts->session = -1; in hfsplus_fill_defaults() 162 if (match_int(&args[0], &sbi->session)) { in hfsplus_parse_options() 229 if (sbi->session >= 0) in hfsplus_show_options() 230 seq_printf(seq, ",session=%u", sbi->session); in hfsplus_show_options()
|
D | wrapper.c | 135 if (HFSPLUS_SB(sb)->session >= 0) { in hfsplus_get_last_session() 136 te.cdte_track = HFSPLUS_SB(sb)->session; in hfsplus_get_last_session()
|
/fs/nfsd/ |
D | nfs4callback.c | 157 const struct nfsd4_session *session) in encode_sessionid4() argument 162 xdr_encode_opaque_fixed(p, session->se_sessionid.data, in encode_sessionid4() 355 struct nfsd4_session *session = cb->cb_clp->cl_cb_session; in encode_cb_sequence4args() local 362 encode_sessionid4(xdr, session); in encode_cb_sequence4args() 365 *p++ = cpu_to_be32(session->se_cb_seq_nr); /* csa_sequenceid */ in encode_cb_sequence4args() 398 struct nfsd4_session *session = cb->cb_clp->cl_cb_session; in decode_cb_sequence4resok() local 414 if (memcmp(id.data, session->se_sessionid.data, in decode_cb_sequence4resok() 422 if (dummy != session->se_cb_seq_nr) { in decode_cb_sequence4resok()
|
D | nfs4state.c | 1489 struct nfsd4_session *session; in find_in_sessionid_hashtbl() local 1492 session = __find_in_sessionid_hashtbl(sessionid, net); in find_in_sessionid_hashtbl() 1493 if (!session) in find_in_sessionid_hashtbl() 1495 status = nfsd4_get_session_locked(session); in find_in_sessionid_hashtbl() 1497 session = NULL; in find_in_sessionid_hashtbl() 1500 return session; in find_in_sessionid_hashtbl() 2563 struct nfsd4_session *session = cstate->session; in nfsd4_backchannel_ctl() local 2571 session->se_cb_prog = bc->bc_cb_program; in nfsd4_backchannel_ctl() 2572 session->se_cb_sec = bc->bc_cb_sec; in nfsd4_backchannel_ctl() 2575 nfsd4_probe_callback(session->se_client); in nfsd4_backchannel_ctl() [all …]
|
/fs/isofs/ |
D | inode.c | 169 s32 session; member 361 popt->session=-1; in parse_options() 415 popt->session = n + 1; in parse_options() 495 static unsigned int isofs_get_last_session(struct super_block *sb, s32 session) in isofs_get_last_session() argument 504 if(session >= 0 && session <= 99) { in isofs_get_last_session() 506 Te.cdte_track=session; in isofs_get_last_session() 511 session, Te.cdte_addr.lba, in isofs_get_last_session() 520 if (session > 0) in isofs_get_last_session() 612 opt.sbsector : isofs_get_last_session(s,opt.session); in isofs_fill_super()
|
/fs/hfs/ |
D | super.c | 150 if (sbi->session >= 0) in hfs_show_options() 151 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options() 243 hsb->session = -1; in parse_options() 305 if (match_int(&args[0], &hsb->session)) { in parse_options()
|
D | mdb.c | 43 if (HFS_SB(sb)->session >= 0) { in hfs_get_last_session() 44 te.cdte_track = HFS_SB(sb)->session; in hfs_get_last_session()
|
D | hfs_fs.h | 156 int session, part; member
|
/fs/cifs/ |
D | Kconfig | 33 session establishment via Kerberos or NTLM or NTLMv2, 87 bool "Kerberos/SPNEGO advanced session setup"
|