/openbmc/linux/drivers/nvmem/ |
H A D | stm32-bsec-optee-ta.c | 104 u32 session_id; in stm32_bsec_optee_ta_open() local 119 rc = stm32_bsec_ta_open_session(tee_ctx, &session_id); in stm32_bsec_optee_ta_open() 125 stm32_bsec_ta_close_session(tee_ctx, session_id); in stm32_bsec_optee_ta_open() 148 u32 session_id; in stm32_bsec_optee_ta_read() local 150 ret = stm32_bsec_ta_open_session(ctx, &session_id); in stm32_bsec_optee_ta_read() 158 arg.session = session_id; in stm32_bsec_optee_ta_read() 199 stm32_bsec_ta_close_session(ctx, session_id); in stm32_bsec_optee_ta_read() 212 u32 session_id; in stm32_bsec_optee_ta_write() local 214 ret = stm32_bsec_ta_open_session(ctx, &session_id); in stm32_bsec_optee_ta_write() 226 arg.session = session_id; in stm32_bsec_optee_ta_write() [all …]
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_ppp.c | 558 u32 session_id; member 782 tunnel, info.session_id, in pppol2tp_connect() 863 u32 session_id, u32 peer_session_id, in pppol2tp_session_create() argument 877 tunnel, session_id, in pppol2tp_session_create() 939 sp.pppol2tp.s_session = session->session_id; in pppol2tp_getname() 1040 if (!stats->session_id) { in pppol2tp_tunnel_copy_stats() 1114 u32 session_id; in pppol2tp_ioctl() local 1121 session_id = stats.session_id; in pppol2tp_ioctl() 1127 stats.session_id = session_id; in pppol2tp_ioctl() 1130 stats.session_id = session->session_id; in pppol2tp_ioctl() [all …]
|
H A D | l2tp_core.c | 249 u32 session_id) in l2tp_tunnel_get_session() argument 258 if (session->session_id == session_id) { in l2tp_tunnel_get_session() 279 if (session->session_id == session_id) { in l2tp_session_get() 360 if (session_walk->session_id == session->session_id) { in l2tp_session_register() 375 if (session_walk->session_id == session->session_id && in l2tp_session_register() 657 session->session_id); in l2tp_recv_common() 804 u32 tunnel_id, session_id; in l2tp_udp_recv_core() local 853 session_id = ntohs(*(__be16 *)ptr); in l2tp_udp_recv_core() 858 session_id = ntohl(*(__be32 *)ptr); in l2tp_udp_recv_core() 948 *bufp++ = htons(session_id); in l2tp_build_l2tpv2_header() [all …]
|
H A D | l2tp_core.h | 75 u32 session_id; member 199 u32 session_id, u32 peer_session_id, 228 u32 session_id); 230 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id); 248 u32 session_id, u32 peer_session_id,
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-optee.c | 50 u32 session_id; member 64 inv_arg.session = priv->session_id; in optee_rtc_readtime() 113 inv_arg.session = priv->session_id; in optee_rtc_settime() 144 inv_arg.session = priv->session_id; in optee_rtc_readoffset() 169 inv_arg.session = priv->session_id; in optee_rtc_setoffset() 200 inv_arg.session = priv->session_id; in optee_rtc_read_info() 275 priv->session_id = sess_arg.session; in optee_rtc_probe() 312 tee_client_close_session(priv->ctx, priv->session_id); in optee_rtc_probe() 323 tee_client_close_session(priv->ctx, priv->session_id); in optee_rtc_remove()
|
/openbmc/linux/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 60 u32 session_id; member 74 arg->session = pvt_data.session_id; in prepare_args() 211 pvt_data.session_id = sess_arg.session; in tee_bnxt_fw_probe() 227 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in tee_bnxt_fw_probe() 237 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in tee_bnxt_fw_remove() 247 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in tee_bnxt_fw_shutdown()
|
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tee.c | 54 u32 session_id; member 81 inv_arg.session = pvt_data.session_id; in trusted_tee_seal() 128 inv_arg.session = pvt_data.session_id; in trusted_tee_unseal() 174 inv_arg.session = pvt_data.session_id; in trusted_tee_get_random() 229 pvt_data.session_id = sess_arg.session; in trusted_key_probe() 240 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in trusted_key_probe() 250 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in trusted_key_remove()
|
/openbmc/qemu/backends/ |
H A D | cryptodev-lkcf.c | 103 uint64_t session_id, 480 if (op_info->session_id >= MAX_SESSIONS || in cryptodev_lkcf_operation() 481 lkcf->sess[op_info->session_id] == NULL) { in cryptodev_lkcf_operation() 483 op_info->session_id); in cryptodev_lkcf_operation() 487 sess = lkcf->sess[op_info->session_id]; in cryptodev_lkcf_operation() 512 uint64_t *session_id) in cryptodev_lkcf_create_asym_session() argument 561 *session_id = index; in cryptodev_lkcf_create_asym_session() 582 lkcf, asym_sess_info, &sess_info->session_id); in cryptodev_lkcf_create_session() 606 assert(session_id < MAX_SESSIONS && lkcf->sess[session_id]); in cryptodev_lkcf_close_session() 607 session = lkcf->sess[session_id]; in cryptodev_lkcf_close_session() [all …]
|
H A D | cryptodev-builtin.c | 411 sess_info->session_id = ret; in cryptodev_builtin_create_session() 422 uint64_t session_id, in cryptodev_builtin_close_session() argument 431 if (session_id >= MAX_NUM_SESSIONS || !builtin->sessions[session_id]) { in cryptodev_builtin_close_session() 435 session = builtin->sessions[session_id]; in cryptodev_builtin_close_session() 443 builtin->sessions[session_id] = NULL; in cryptodev_builtin_close_session() 556 if (op_info->session_id >= MAX_NUM_SESSIONS || in cryptodev_builtin_operation() 557 builtin->sessions[op_info->session_id] == NULL) { in cryptodev_builtin_operation() 559 op_info->session_id); in cryptodev_builtin_operation() 563 sess = builtin->sessions[op_info->session_id]; in cryptodev_builtin_operation()
|
H A D | cryptodev-vhost-user.c | 243 uint64_t session_id = 0; in cryptodev_vhost_user_crypto_create_session() local 251 &session_id); in cryptodev_vhost_user_crypto_create_session() 255 return session_id; in cryptodev_vhost_user_crypto_create_session() 295 sess_info->session_id = ret; in cryptodev_vhost_user_create_session() 306 uint64_t session_id, in cryptodev_vhost_user_close_session() argument 320 session_id); in cryptodev_vhost_user_close_session()
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | optee-rng.c | 64 u32 session_id; member 87 inv_arg.session = pvt_data->session_id; in get_optee_rng_data() 187 inv_arg.session = pvt_data.session_id; in get_optee_rng_info() 240 pvt_data.session_id = sess_arg.session; in optee_rng_probe() 257 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in optee_rng_probe() 266 tee_client_close_session(pvt_data.ctx, pvt_data.session_id); in optee_rng_remove()
|
/openbmc/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_skcipher_algs.c | 181 ctx->enc_sess_info.session_id = le64_to_cpu(input->session_id); in virtio_crypto_alg_skcipher_init_session() 183 ctx->dec_sess_info.session_id = le64_to_cpu(input->session_id); in virtio_crypto_alg_skcipher_init_session() 220 destroy_session->session_id = cpu_to_le64(ctx->enc_sess_info.session_id); in virtio_crypto_alg_skcipher_close_session() 222 destroy_session->session_id = cpu_to_le64(ctx->dec_sess_info.session_id); in virtio_crypto_alg_skcipher_close_session() 237 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_skcipher_close_session() 372 req_data->header.session_id = in __virtio_crypto_skcipher_do_req() 373 cpu_to_le64(ctx->enc_sess_info.session_id); in __virtio_crypto_skcipher_do_req() 377 req_data->header.session_id = in __virtio_crypto_skcipher_do_req() 378 cpu_to_le64(ctx->dec_sess_info.session_id); in __virtio_crypto_skcipher_do_req()
|
H A D | virtio_crypto_akcipher_algs.c | 31 __u64 session_id; member 156 ctx->session_id = le64_to_cpu(input->session_id); in virtio_crypto_alg_akcipher_init_session() 192 destroy_session->session_id = cpu_to_le64(ctx->session_id); in virtio_crypto_alg_akcipher_close_session() 206 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_akcipher_close_session() 309 header->session_id = cpu_to_le64(ctx->session_id); in virtio_crypto_rsa_do_req()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mux_codec.c | 1126 adb->adgh->if_id = session_id; in ipc_mux_ul_adgh_encode() 1187 p_qlt->if_id = session_id; in ipc_mux_ul_adb_update_ql() 1195 p_adb->qlt_updated[session_id] = 1; in ipc_mux_ul_adb_update_ql() 1200 int session_id, in mux_ul_dg_update_tbl_index() argument 1261 dg = adb->dg[session_id] + adb->dg_count[session_id]; in mux_ul_dg_encode() 1274 adb->dg_count[session_id]++; in mux_ul_dg_encode() 1327 if (adb->dg_count[session_id] == 0) { in mux_ul_adb_encode() 1332 dg = adb->dg[session_id] + adb->dg_count[session_id]; in mux_ul_adb_encode() 1352 int session_id; in ipc_mux_ul_data_encode() local 1363 session_id = ipc_mux->rr_next_session; in ipc_mux_ul_data_encode() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp_tee.c | 335 msg_in.session_id = arb_session_id; in intel_pxp_tee_cmd_create_arb_session() 362 void intel_pxp_tee_end_arb_fw_session(struct intel_pxp *pxp, u32 session_id) in intel_pxp_tee_end_arb_fw_session() argument 378 msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_ID, session_id); in intel_pxp_tee_end_arb_fw_session() 391 session_id, ret); in intel_pxp_tee_end_arb_fw_session() 396 session_id, msg_out.header.status, in intel_pxp_tee_end_arb_fw_session() 400 session_id, msg_out.header.status, in intel_pxp_tee_end_arb_fw_session()
|
H A D | intel_pxp_gsccs.c | 246 void intel_pxp_gsccs_end_arb_fw_session(struct intel_pxp *pxp, u32 session_id) in intel_pxp_gsccs_end_arb_fw_session() argument 263 msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_ID, session_id); in intel_pxp_gsccs_end_arb_fw_session() 270 session_id, ret); in intel_pxp_gsccs_end_arb_fw_session() 275 session_id, msg_out.header.status, in intel_pxp_gsccs_end_arb_fw_session() 279 session_id, msg_out.header.status, in intel_pxp_gsccs_end_arb_fw_session()
|
/openbmc/linux/include/net/ |
H A D | erspan.h | 107 __u8 session_id:8; member 116 __u8 session_id:8; 124 ershdr->session_id = id & 0xff; in set_session_id() 130 return (ershdr->session_id_upper << 8) + ershdr->session_id; in get_session_id()
|
/openbmc/qemu/include/sysemu/ |
H A D | cryptodev.h | 112 uint64_t session_id; member 186 uint64_t session_id; member 207 uint64_t session_id, 387 uint64_t session_id,
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | auth.c | 82 MD5_Update(&ctx, (const uint8_t *)&s->session_id, 4); in ipmi_auth_md5() 103 md5_append(&state, (const md5_byte_t *)&s->session_id, 4); in ipmi_auth_md5() 146 MD2_Update(&ctx, (const uint8_t *)&s->session_id, 4); in ipmi_auth_md2()
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6asm.c | 576 int session_id) in q6asm_get_audio_client() argument 582 if ((session_id <= 0) || (session_id > MAX_SESSIONS)) { in q6asm_get_audio_client() 588 if (!a->session[session_id]) in q6asm_get_audio_client() 590 else if (a->session[session_id]->session != session_id) in q6asm_get_audio_client() 593 ac = a->session[session_id]; in q6asm_get_audio_client() 602 int session_id) in q6asm_stream_callback() argument 757 int session_id; in q6asm_srvc_callback() local 760 if (session_id) in q6asm_srvc_callback() 842 void *priv, int session_id, in q6asm_audio_client_alloc() argument 860 a->session[session_id + 1] = ac; in q6asm_audio_client_alloc() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | 39 enum mlxsw_sp_span_session_id session_id; member 59 enum mlxsw_sp_span_session_id session_id; member
|
/openbmc/linux/fs/smb/client/ |
H A D | cifs_ioctl.h | 31 __u64 session_id; member 80 __u64 session_id; member
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_cmds.c | 170 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_init() 181 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_cmd() 193 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_set_buffers() 232 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_unset_buffers() 272 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_etb_decoder() 296 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_etb_encoder() 321 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_ftb() 348 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_parse_seq_header() 363 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_get_seq_hdr() 384 pkt->shdr.session_id = hash32_ptr(cookie); in pkt_session_flush() [all …]
|
H A D | hfi_msgs.c | 155 pkt->shdr.session_id, pkt->event_data1, in event_sys_error() 168 pkt->event_data1, pkt->shdr.session_id); in event_session_error() 184 pkt->shdr.session_id); in event_session_error() 750 static struct venus_inst *to_instance(struct venus_core *core, u32 session_id) in to_instance() argument 756 if (hash32_ptr(inst) == session_id) { in to_instance() 798 inst = to_instance(core, pkt->shdr.session_id); in hfi_process_msg_packet() 802 pkt->shdr.session_id, in hfi_process_msg_packet() 811 pkt->shdr.session_id); in hfi_process_msg_packet()
|
/openbmc/openbmc-test-automation/redfish/service_root/ |
H A D | test_sessions_management.robot | 128 ${session_id}= Evaluate os.path.basename($session_location) modules=os 129 … ${session_properties}= Redfish.Get Properties /redfish/v1/SessionService/Sessions/${session_id} 130 Rprint Vars session_location session_id session_properties 132 …Valid Value session_properties['@odata.id'] ['/redfish/v1/SessionService/Sessions/${session_id}'] 135 Valid Value session_properties['Id'] ['${session_id}'] 252 ${session_id}= Set Variable ${resp.dict['@odata.id']} 260 List Should Not Contain Value ${session_list} ${session_id}
|