Home
last modified time | relevance | path

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

123

/linux-4.19.296/drivers/s390/char/
Dvmcp.c58 static void vmcp_response_alloc(struct vmcp_session *session) in vmcp_response_alloc() argument
63 order = get_order(session->bufsize); in vmcp_response_alloc()
64 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; in vmcp_response_alloc()
73 session->response = (char *)page_to_phys(page); in vmcp_response_alloc()
74 session->cma_alloc = 1; in vmcp_response_alloc()
77 session->response = (char *)__get_free_pages(GFP_KERNEL | __GFP_RETRY_MAYFAIL, order); in vmcp_response_alloc()
80 static void vmcp_response_free(struct vmcp_session *session) in vmcp_response_free() argument
85 if (!session->response) in vmcp_response_free()
87 order = get_order(session->bufsize); in vmcp_response_free()
88 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; in vmcp_response_free()
[all …]
/linux-4.19.296/fs/ceph/
Dmds_client.c429 struct ceph_mds_session *session; in __ceph_lookup_mds_session() local
433 session = mdsc->sessions[mds]; in __ceph_lookup_mds_session()
434 dout("lookup_mds_session %p %d\n", session, in __ceph_lookup_mds_session()
435 refcount_read(&session->s_ref)); in __ceph_lookup_mds_session()
436 get_session(session); in __ceph_lookup_mds_session()
437 return session; in __ceph_lookup_mds_session()
868 mds = cap->session->s_mds; in __choose_mds()
1014 struct ceph_mds_session *session) in __open_session() argument
1018 int mds = session->s_mds; in __open_session()
1024 session->s_state = CEPH_MDS_SESSION_OPENING; in __open_session()
[all …]
Dcaps.c46 struct ceph_mds_session *session,
616 struct ceph_mds_session *session, u64 cap_id, in ceph_add_cap() argument
624 int mds = session->s_mds; in ceph_add_cap()
628 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap()
652 cap->session = session; in ceph_add_cap()
653 spin_lock(&session->s_cap_lock); in ceph_add_cap()
654 list_add_tail(&cap->session_caps, &session->s_caps); in ceph_add_cap()
655 session->s_nr_caps++; in ceph_add_cap()
656 spin_unlock(&session->s_cap_lock); in ceph_add_cap()
749 cap->cap_gen = session->s_cap_gen; in ceph_add_cap()
[all …]
Dquota.c42 struct ceph_mds_session *session, in ceph_handle_quota() argument
53 session->s_mds, (int)msg->front.iov_len); in ceph_handle_quota()
59 mutex_lock(&session->s_mutex); in ceph_handle_quota()
60 session->s_seq++; in ceph_handle_quota()
61 mutex_unlock(&session->s_mutex); in ceph_handle_quota()
Ddebugfs.c177 struct ceph_mds_session *session = in mds_sessions_show() local
179 if (!session) { in mds_sessions_show()
184 session->s_mds, in mds_sessions_show()
185 ceph_session_state_name(session->s_state)); in mds_sessions_show()
187 ceph_put_mds_session(session); in mds_sessions_show()
Dsnap.c809 struct ceph_mds_session *session = NULL; in flush_snaps() local
819 ceph_flush_snaps(ci, &session); in flush_snaps()
825 if (session) { in flush_snaps()
826 mutex_unlock(&session->s_mutex); in flush_snaps()
827 ceph_put_mds_session(session); in flush_snaps()
845 struct ceph_mds_session *session, in ceph_handle_snap() argument
849 int mds = session->s_mds; in ceph_handle_snap()
877 mutex_lock(&session->s_mutex); in ceph_handle_snap()
878 session->s_seq++; in ceph_handle_snap()
879 mutex_unlock(&session->s_mutex); in ceph_handle_snap()
Dmds_client.h440 struct ceph_mds_session *session);
448 extern void ceph_mdsc_lease_send_msg(struct ceph_mds_session *session,
461 struct ceph_mds_session *session);
464 struct ceph_mds_session *session,
Dsuper.h139 struct ceph_mds_session *session; member
835 struct ceph_mds_session *session,
873 struct ceph_mds_session *session);
971 extern void ceph_handle_caps(struct ceph_mds_session *session,
976 struct ceph_mds_session *session, u64 cap_id,
990 struct ceph_mds_session *session);
992 struct ceph_mds_session *session);
1004 struct ceph_mds_session *session);
1107 struct ceph_mds_session *session,
Dinode.c741 struct ceph_mds_session *session, in fill_inode() argument
965 ceph_add_cap(inode, session, in fill_inode()
1046 struct ceph_mds_session *session, in update_dentry_lease() argument
1088 if (di->lease_gen == session->s_cap_gen && in update_dentry_lease()
1092 if (di->lease_session && di->lease_session != session) { in update_dentry_lease()
1100 di->lease_session = ceph_get_mds_session(session); in update_dentry_lease()
1101 di->lease_gen = session->s_cap_gen; in update_dentry_lease()
1187 struct ceph_mds_session *session = req->r_session; in ceph_fill_trace() local
1210 session, req->r_request_started, -1, in ceph_fill_trace()
1276 session, req->r_request_started, in ceph_fill_trace()
[all …]
/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_core.c562 struct vbg_session *session, in vbg_set_session_event_filter() argument
581 previous = session->event_filter; in vbg_set_session_event_filter()
582 session->event_filter |= or_mask; in vbg_set_session_event_filter()
583 session->event_filter &= ~not_mask; in vbg_set_session_event_filter()
586 changed = previous ^ session->event_filter; in vbg_set_session_event_filter()
609 session->event_filter); in vbg_set_session_event_filter()
610 session->event_filter = previous; in vbg_set_session_event_filter()
657 struct vbg_session *session, in vbg_set_session_capabilities() argument
676 previous = session->guest_caps; in vbg_set_session_capabilities()
677 session->guest_caps |= or_mask; in vbg_set_session_capabilities()
[all …]
Dvboxguest_linux.c33 struct vbg_session *session; in vbg_misc_device_open() local
39 session = vbg_core_open_session(gdev, false); in vbg_misc_device_open()
40 if (IS_ERR(session)) in vbg_misc_device_open()
41 return PTR_ERR(session); in vbg_misc_device_open()
43 filp->private_data = session; in vbg_misc_device_open()
49 struct vbg_session *session; in vbg_misc_device_user_open() local
56 session = vbg_core_open_session(gdev, false); in vbg_misc_device_user_open()
57 if (IS_ERR(session)) in vbg_misc_device_user_open()
58 return PTR_ERR(session); in vbg_misc_device_user_open()
60 filp->private_data = session; in vbg_misc_device_user_open()
[all …]
Dvboxguest_core.h181 void vbg_core_close_session(struct vbg_session *session);
182 int vbg_core_ioctl(struct vbg_session *session, unsigned int req, void *data);
/linux-4.19.296/fs/nfs/
Dnfs4session.c519 static void nfs4_release_session_slot_tables(struct nfs4_session *session) in nfs4_release_session_slot_tables() argument
521 nfs4_release_slot_table(&session->fc_slot_table); in nfs4_release_session_slot_tables()
522 nfs4_release_slot_table(&session->bc_slot_table); in nfs4_release_session_slot_tables()
536 tbl->session = ses; in nfs4_setup_session_slot_tables()
542 tbl->session = ses; in nfs4_setup_session_slot_tables()
553 struct nfs4_session *session; in nfs4_alloc_session() local
555 session = kzalloc(sizeof(struct nfs4_session), GFP_NOFS); in nfs4_alloc_session()
556 if (!session) in nfs4_alloc_session()
559 nfs4_init_slot_table(&session->fc_slot_table, "ForeChannel Slot table"); in nfs4_alloc_session()
560 nfs4_init_slot_table(&session->bc_slot_table, "BackChannel Slot table"); in nfs4_alloc_session()
[all …]
Dnfs4session.h38 struct nfs4_session *session; /* Parent session */ member
122 extern void nfs4_destroy_session(struct nfs4_session *session);
157 #define nfs_session_id_hash(session) (0) argument
179 #define nfs_session_id_hash(session) (0) argument
Dnfs4trace.h266 const struct nfs4_session *session,
269 TP_ARGS(session, res),
272 __field(unsigned int, session)
283 __entry->session = nfs_session_id_hash(&session->sess_id);
298 __entry->session,
320 __field(unsigned int, session)
329 __entry->session = nfs_session_id_hash(&args->csa_sessionid);
342 __entry->session,
352 const struct nfs4_session *session,
355 TP_ARGS(session, args),
[all …]
/linux-4.19.296/drivers/misc/
Dibmvmc.c491 struct ibmvmc_file_session *session = hmc->file_session; in ibmvmc_return_hmc() local
493 session->valid = 0; in ibmvmc_return_hmc()
579 crq_msg.hmc_session = hmc->session; in ibmvmc_send_open()
623 crq_msg.hmc_session = hmc->session; in ibmvmc_send_close()
801 crq_msg.hmc_session = hmc->session; in ibmvmc_send_msg()
827 struct ibmvmc_file_session *session; in ibmvmc_open() local
833 session = kzalloc(sizeof(*session), GFP_KERNEL); in ibmvmc_open()
834 if (!session) in ibmvmc_open()
837 session->file = file; in ibmvmc_open()
838 file->private_data = session; in ibmvmc_open()
[all …]
/linux-4.19.296/include/scsi/
Dscsi_transport_iscsi.h95 void (*destroy_session) (struct iscsi_cls_session *session);
98 int (*bind_conn) (struct iscsi_cls_session *session,
110 int (*get_session_param) (struct iscsi_cls_session *session,
133 void (*session_recovery_timedout) (struct iscsi_cls_session *session);
423 extern int iscsi_session_chkready(struct iscsi_cls_session *session);
424 extern int iscsi_is_session_online(struct iscsi_cls_session *session);
427 extern int iscsi_add_session(struct iscsi_cls_session *session,
429 extern int iscsi_session_event(struct iscsi_cls_session *session,
435 extern void iscsi_remove_session(struct iscsi_cls_session *session);
436 extern void iscsi_free_session(struct iscsi_cls_session *session);
[all …]
Dlibiscsi_tcp.h132 extern int iscsi_tcp_r2tpool_alloc(struct iscsi_session *session);
133 extern void iscsi_tcp_r2tpool_free(struct iscsi_session *session);
/linux-4.19.296/include/uapi/linux/
Dtee.h219 __u32 session; member
249 __u32 session; member
274 __u32 session; member
288 __u32 session; member
Dsed-opal.h77 struct opal_session_info session; member
81 struct opal_session_info session; member
87 struct opal_session_info session; member
Datmsvc.h37 unsigned int session; /* for p2pm */ member
/linux-4.19.296/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()
/linux-4.19.296/block/
Dsed-opal.c1205 lr = setup->session.opal_key.lr; in setup_locking_range()
1351 struct opal_session_info *session = data; in start_auth_opal_session() local
1353 size_t keylen = session->opal_key.key_len; in start_auth_opal_session()
1356 u8 *key = session->opal_key.key; in start_auth_opal_session()
1362 if (session->sum) { in start_auth_opal_session()
1364 session->opal_key.lr); in start_auth_opal_session()
1368 } else if (session->who != OPAL_ADMIN1 && !session->sum) { in start_auth_opal_session()
1370 session->who - 1); in start_auth_opal_session()
1429 struct opal_session_info *session = data; in internal_activate_user() local
1437 uid[7] = session->who; in internal_activate_user()
[all …]
/linux-4.19.296/fs/nfsd/
Dnfs4callback.c157 const struct nfsd4_session *session) in encode_sessionid4() argument
162 xdr_encode_opaque_fixed(p, session->se_sessionid.data, in encode_sessionid4()
356 struct nfsd4_session *session = cb->cb_clp->cl_cb_session; in encode_cb_sequence4args() local
363 encode_sessionid4(xdr, session); in encode_cb_sequence4args()
366 *p++ = cpu_to_be32(session->se_cb_seq_nr); /* csa_sequenceid */ in encode_cb_sequence4args()
399 struct nfsd4_session *session = cb->cb_clp->cl_cb_session; in decode_cb_sequence4resok() local
412 if (memcmp(p, session->se_sessionid.data, NFS4_MAX_SESSIONID_LEN)) { in decode_cb_sequence4resok()
419 if (dummy != session->se_cb_seq_nr) { in decode_cb_sequence4resok()
941 struct nfsd4_session *session = clp->cl_cb_session; in nfsd4_cb_sequence_done() local
972 ++session->se_cb_seq_nr; in nfsd4_cb_sequence_done()
[all …]
/linux-4.19.296/fs/hfs/
Dsuper.c151 if (sbi->session >= 0) in hfs_show_options()
152 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options()
244 hsb->session = -1; in parse_options()
306 if (match_int(&args[0], &hsb->session)) { in parse_options()

123