/openbmc/linux/net/can/j1939/ |
H A D | transport.c | 46 * connection managed session was terminated. 56 * close the session. 136 …return "System resources were needed for another task so this connection managed session was termi… in j1939_xtp_abort_to_str() 138 return "A timeout occurred and this is the connection abort to close the session."; in j1939_xtp_abort_to_str() 246 void j1939_session_get(struct j1939_session *session) in j1939_session_get() argument 248 kref_get(&session->kref); in j1939_session_get() 251 /* session completion functions */ 252 static void __j1939_session_drop(struct j1939_session *session) in __j1939_session_drop() argument 254 if (!session->transmission) in __j1939_session_drop() 257 j1939_sock_pending_del(session->sk); in __j1939_session_drop() [all …]
|
/openbmc/linux/net/bluetooth/hidp/ |
H A D | core.c | 72 static void hidp_copy_session(struct hidp_session *session, struct hidp_conninfo *ci) in hidp_copy_session() argument 76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session() 78 ci->flags = session->flags & valid_flags; in hidp_copy_session() 81 if (session->input) { in hidp_copy_session() 82 ci->vendor = session->input->id.vendor; in hidp_copy_session() 83 ci->product = session->input->id.product; in hidp_copy_session() 84 ci->version = session->input->id.version; in hidp_copy_session() 85 if (session->input->name) in hidp_copy_session() 86 strscpy(ci->name, session->input->name, 128); in hidp_copy_session() 89 } else if (session->hid) { in hidp_copy_session() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Session_v1.xml | 4 <!--# Redfish Schema: Session v1.8.0 --> 33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session"> 37 <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 38 <Annotation Term="OData.Description" String="The `Session` resource describes a single connection (session) between a client and a Redfish service instance."/> 39 <Annotation Term="OData.LongDescription" String="This resource shall represent a session for a Redfish implementation."/> 53 <Annotation Term="OData.Description" String="Delete the `Session` resource to remove a session."/> 64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0"> 68 <EntityType Name="Session" BaseTyp [all...] |
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Session_v1.xml | 4 <!--# Redfish Schema: Session v1.8.0 --> 33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session"> 37 <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 38 <Annotation Term="OData.Description" String="The `Session` resource describes a single connection (session) between a client and a Redfish service instance."/> 39 <Annotation Term="OData.LongDescription" String="This resource shall represent a session for a Redfish implementation."/> 53 <Annotation Term="OData.Description" String="Delete the `Session` resource to remove a session."/> 64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0"> 68 <EntityType Name="Session" BaseTyp [all...] |
/openbmc/qemu/crypto/ |
H A D | tlssession.c | 2 * QEMU crypto TLS session support 58 qcrypto_tls_session_free(QCryptoTLSSession *session) in qcrypto_tls_session_free() argument 60 if (!session) { in qcrypto_tls_session_free() 64 error_free(session->rerr); in qcrypto_tls_session_free() 65 error_free(session->werr); in qcrypto_tls_session_free() 67 gnutls_deinit(session->handle); in qcrypto_tls_session_free() 68 g_free(session->hostname); in qcrypto_tls_session_free() 69 g_free(session->peername); in qcrypto_tls_session_free() 70 g_free(session->authzid); in qcrypto_tls_session_free() 71 object_unref(OBJECT(session->creds)); in qcrypto_tls_session_free() [all …]
|
/openbmc/linux/net/bluetooth/cmtp/ |
H A D | core.c | 55 struct cmtp_session *session; in __cmtp_get_session() local 59 list_for_each_entry(session, &cmtp_session_list, list) in __cmtp_get_session() 60 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session() 61 return session; in __cmtp_get_session() 66 static void __cmtp_link_session(struct cmtp_session *session) in __cmtp_link_session() argument 68 list_add(&session->list, &cmtp_session_list); in __cmtp_link_session() 71 static void __cmtp_unlink_session(struct cmtp_session *session) in __cmtp_unlink_session() argument 73 list_del(&session->list); in __cmtp_unlink_session() 76 static void __cmtp_copy_session(struct cmtp_session *session, struct cmtp_conninfo *ci) in __cmtp_copy_session() argument 80 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session() [all …]
|
H A D | capi.c | 73 static struct cmtp_application *cmtp_application_add(struct cmtp_session *session, __u16 appl) in cmtp_application_add() argument 77 BT_DBG("session %p application %p appl %u", session, app, appl); in cmtp_application_add() 85 list_add_tail(&app->list, &session->applications); in cmtp_application_add() 90 static void cmtp_application_del(struct cmtp_session *session, struct cmtp_application *app) in cmtp_application_del() argument 92 BT_DBG("session %p application %p", session, app); in cmtp_application_del() 100 static struct cmtp_application *cmtp_application_get(struct cmtp_session *session, int pattern, __u… in cmtp_application_get() argument 104 list_for_each_entry(app, &session->applications, list) { in cmtp_application_get() 124 static int cmtp_msgnum_get(struct cmtp_session *session) in cmtp_msgnum_get() argument 126 session->msgnum++; in cmtp_msgnum_get() 128 if ((session->msgnum & 0xff) > 200) in cmtp_msgnum_get() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | libiscsi.c | 90 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_xmit() 100 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_recv() 108 static void __iscsi_update_cmdsn(struct iscsi_session *session, in __iscsi_update_cmdsn() argument 118 if (exp_cmdsn != session->exp_cmdsn && in __iscsi_update_cmdsn() 119 !iscsi_sna_lt(exp_cmdsn, session->exp_cmdsn)) in __iscsi_update_cmdsn() 120 session->exp_cmdsn = exp_cmdsn; in __iscsi_update_cmdsn() 122 if (max_cmdsn != session->max_cmdsn && in __iscsi_update_cmdsn() 123 !iscsi_sna_lt(max_cmdsn, session->max_cmdsn)) in __iscsi_update_cmdsn() 124 session->max_cmdsn = max_cmdsn; in __iscsi_update_cmdsn() 127 void iscsi_update_cmdsn(struct iscsi_session *session, struct iscsi_nopin *hdr) in iscsi_update_cmdsn() argument [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | vmcp.c | 60 static void vmcp_response_alloc(struct vmcp_session *session) in vmcp_response_alloc() argument 65 order = get_order(session->bufsize); in vmcp_response_alloc() 66 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; in vmcp_response_alloc() 75 session->response = (char *)page_to_virt(page); in vmcp_response_alloc() 76 session->cma_alloc = 1; in vmcp_response_alloc() 79 session->response = (char *)__get_free_pages(GFP_KERNEL | __GFP_RETRY_MAYFAIL, order); in vmcp_response_alloc() 82 static void vmcp_response_free(struct vmcp_session *session) in vmcp_response_free() argument 87 if (!session->response) in vmcp_response_free() 89 order = get_order(session->bufsize); in vmcp_response_free() 90 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; in vmcp_response_free() [all …]
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_core.c | 133 /* Session hash global list for L2TPv3. 144 /* Session hash list. 163 static void l2tp_session_free(struct l2tp_session *session) in l2tp_session_free() argument 165 trace_free_session(session); in l2tp_session_free() 166 if (session->tunnel) in l2tp_session_free() 167 l2tp_tunnel_dec_refcount(session->tunnel); in l2tp_session_free() 168 kfree(session); in l2tp_session_free() 196 void l2tp_session_inc_refcount(struct l2tp_session *session) in l2tp_session_inc_refcount() argument 198 refcount_inc(&session->ref_count); in l2tp_session_inc_refcount() 202 void l2tp_session_dec_refcount(struct l2tp_session *session) in l2tp_session_dec_refcount() argument [all …]
|
H A D | l2tp_debugfs.c | 38 int session_idx; /* index of session within current tunnel */ 40 struct l2tp_session *session; /* NULL means get next tunnel */ member 56 if (pd->session) in l2tp_dfs_next_session() 57 l2tp_session_dec_refcount(pd->session); in l2tp_dfs_next_session() 59 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session() 62 if (!pd->session) { in l2tp_dfs_next_session() 87 /* NULL tunnel and session indicates end of list */ in l2tp_dfs_seq_start() 88 if (!pd->tunnel && !pd->session) in l2tp_dfs_seq_start() 111 if (pd->session) { in l2tp_dfs_seq_stop() 112 l2tp_session_dec_refcount(pd->session); in l2tp_dfs_seq_stop() [all …]
|
H A D | trace.h | 40 TP_PROTO(struct l2tp_session *session), 41 TP_ARGS(session), 46 memcpy(__entry->name, session->name, L2TP_SESSION_NAME_MAX); 91 TP_PROTO(struct l2tp_session *session), 92 TP_ARGS(session), 102 memcpy(__entry->name, session->name, L2TP_SESSION_NAME_MAX); 103 __entry->tid = session->tunnel ? session->tunnel->tunnel_id : 0; 104 __entry->ptid = session->tunnel ? session->tunnel->peer_tunnel_id : 0; 105 __entry->sid = session->session_id; 106 __entry->psid = session->peer_session_id; [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_stat.c | 31 /* A stat session is the stats output in one file */ 40 /* All of the sessions currently in use. Each stat file embed one session */ 47 static void __reset_stat_session(struct stat_session *session) in __reset_stat_session() argument 51 rbtree_postorder_for_each_entry_safe(snode, n, &session->stat_root, node) { in __reset_stat_session() 52 if (session->ts->stat_release) in __reset_stat_session() 53 session->ts->stat_release(snode->stat); in __reset_stat_session() 57 session->stat_root = RB_ROOT; in __reset_stat_session() 60 static void reset_stat_session(struct stat_session *session) in reset_stat_session() argument 62 mutex_lock(&session->stat_mutex); in reset_stat_session() 63 __reset_stat_session(session); in reset_stat_session() [all …]
|
/openbmc/phosphor-net-ipmid/ |
H A D | sessions_manager.cpp | 4 #include "session.hpp" 15 namespace session namespace 18 static std::array<uint8_t, session::maxNetworkInstanceSupported> 29 index < session::maxNetworkInstanceSupported) in setNetworkInstance() 56 * Session ID is 0000_0000h for messages that are sent outside the session. in managerInit() 57 * The session setup commands are sent on this session, so when the session in managerInit() 58 * manager comes up, is creates the Session ID 0000_0000h. It is active in managerInit() 59 * through the lifetime of the Session Manager. in managerInit() 63 *getSdBus(), session::sessionManagerRootPath); in managerInit() 65 auto objPath = std::string(session::sessionManagerRootPath) + "/" + in managerInit() [all …]
|
H A D | session.hpp | 26 namespace session namespace 47 * @struct SequenceNumbers Session Sequence Numbers 49 * IPMI v2.0 RMCP+ Session Sequence Numbers are used for rejecting packets that 51 * two sets of Session SequenceNumbers for a given session.One set of inbound 55 * The individual Session Sequence Numbers is are initialized to zero whenever 56 * a session is created and incremented by one at the start of outbound 58 * as the sequence number, not 0). Session Sequence numbers are incremented for 84 * @class Session 86 * Encapsulates the data related to an IPMI Session 89 * a session. Once established, a session is identified by a Session ID. The [all …]
|
H A D | message_parsers.hpp | 4 #include "session.hpp" 24 // RMCP Session Header Size 65 // IPMI partial session header 79 * @return A tuple with IPMI message and the session header type to sent the 80 * response packet. In case of success incoming message and session 81 * header type. In case of failure nullptr and session header type 89 * session header 92 * @param[in] authType - Session header type to be added to the IPMI 99 const std::shared_ptr<session::Session>& session); 131 * session header [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Session.v1_7_2.json |
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Session.v1_7_2.json |
|
/openbmc/phosphor-net-ipmid/command/ |
H A D | session_cmds.cpp | 42 auto session = session::Manager::get().getSession(handler->sessionID); in setSessionPrivilegeLevel() local 46 response->newPrivLevel = session->currentPrivilege(); in setSessionPrivilegeLevel() 50 static_cast<uint8_t>(session::Privilege::CALLBACK) || in setSessionPrivilegeLevel() 51 reqPrivilegeLevel > static_cast<uint8_t>(session::Privilege::OEM)) in setSessionPrivilegeLevel() 57 if (reqPrivilegeLevel > (static_cast<uint8_t>(session->reqMaxPrivLevel) & in setSessionPrivilegeLevel() 58 session::reqMaxPrivMask)) in setSessionPrivilegeLevel() 66 if (session->sessionChannelAccess.privLimit < in setSessionPrivilegeLevel() 67 session->sessionUserPrivAccess.privilege) in setSessionPrivilegeLevel() 69 minPriv = session->sessionChannelAccess.privLimit; in setSessionPrivilegeLevel() 73 minPriv = session->sessionUserPrivAccess.privilege; in setSessionPrivilegeLevel() [all …]
|
H A D | rakp34.cpp | 19 auto session = session::Manager::get().getSession(bmcSessionID); in applyIntegrityAlgo() local 21 auto authAlgo = session->getAuthAlgo(); in applyIntegrityAlgo() 27 session->setIntegrityAlgo( in applyIntegrityAlgo() 34 session->setIntegrityAlgo( in applyIntegrityAlgo() 46 auto session = session::Manager::get().getSession(bmcSessionID); in applyCryptAlgo() local 48 auto authAlgo = session->getAuthAlgo(); in applyCryptAlgo() 54 auto intAlgo = session->getIntegrityAlgo(); in applyCryptAlgo() 57 session->setCryptAlgo( in applyCryptAlgo() 82 // Session ID zero is reserved for Session Setup in RAKP34() 84 session::sessionZero) in RAKP34() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 37 * Session states: 39 * OK - session is up and running 40 * RECONFIG - session is pending for reconfiguration, 41 * new values are already loaded in session object 42 * KILL - session is pending to be killed 44 * Session object life and its state is maintained by 48 * - reads config file and setup session objects 52 * RECONFIG - session needs to be changed 54 * KILL - session needs to be killed 55 * (session is no longer in config file) [all …]
|
/openbmc/openbmc-tools/reboot-ping-pong/ |
H A D | rpp | 24 def __init__(self, session, prompt): argument 25 self.session = session 29 self.session.expect([".+".encode(), pexpect.TIMEOUT], timeout=5) 32 self.session.sendline() 34 self.session.sendline("obmcutil -w {}".format(cmd).encode()) 35 self.session.expect(needle, timeout=None) 36 rc = self.session.after.decode() 53 self.session.sendline("obmcutil -w poweron") 54 self.session.expect(self.prompt) 57 self.session.sendline("obmcutil -w chassisoff") [all …]
|
/openbmc/openbmc-test-automation/redfish/service_root/ |
H A D | test_sessions_management.robot | 26 Create Session And Verify Response Code Using Different Credentials 27 [Documentation] Create session and verify response code using different credentials. 29 [Template] Create Session And Verify Response Code 39 Create Session And Verify Response Code Using Operator Credentials 40 [Documentation] Create session and verify response code using operator credentials. 42 [Template] Create Session And Verify Response Code 48 Set Session Timeout And Verify Response Code 49 [Documentation] Set Session Timeout And Verify Response Code. 51 [Template] Set Session Timeout And Verify 52 [Teardown] Set Session Timeout And Verify ${Default_Timeout_Value} ${HTTP_OK} [all …]
|
/openbmc/phosphor-ipmi-blobs/ |
H A D | manager.hpp | 52 uint16_t* session) = 0; 56 virtual bool stat(uint16_t session, BlobMeta* meta) = 0; 58 virtual bool commit(uint16_t session, const std::vector<uint8_t>& data) = 0; 60 virtual bool close(uint16_t session) = 0; 62 virtual std::vector<uint8_t> read(uint16_t session, uint32_t offset, 65 virtual bool write(uint16_t session, uint32_t offset, 70 virtual bool writeMeta(uint16_t session, uint32_t offset, 121 * Attempts to open the file specified and associates with a session. 125 * @param[in,out] session - pointer to store the session on success. 129 uint16_t* session) override; [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_client_identifier.robot | 24 Create A Session With ClientID And Verify 25 [Documentation] Create a session with client id and verify client id is same. 27 [Template] Create And Verify Session ClientID 37 [Documentation] Create a session with client id and verify client id is same after the reboot. 39 [Template] Create And Verify Session ClientID 46 Create A Multiple Session With ClientID And Verify 47 [Documentation] Create a multiple session with client id and verify client id is same. 49 [Template] Create And Verify Session ClientID 57 …[Documentation] Create a multiple session with client id and verify client id is same after the r… 59 [Template] Create And Verify Session ClientID [all …]
|