Home
last modified time | relevance | path

Searched refs:sess_list (Results 1 – 12 of 12) sorted by relevance

/drivers/tee/amdtee/
Dcore.c43 INIT_LIST_HEAD(&ctxdata->sess_list); in amdtee_open()
78 sess = list_first_entry_or_null(&ctxdata->sess_list, in amdtee_release()
116 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in alloc_session()
128 list_add(&sess->list_node, &ctxdata->sess_list); in alloc_session()
145 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in find_session()
Damdtee_private.h72 struct list_head sess_list; member
/drivers/tee/optee/
Dcore.c123 INIT_LIST_HEAD(&ctxdata->sess_list); in optee_open()
141 list_for_each_entry_safe(sess, sess_tmp, &ctxdata->sess_list, in optee_release_helper()
Dcall.c128 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in find_session()
340 list_add(&sess->list_node, &ctxdata->sess_list); in optee_open_session()
Doptee_private.h188 struct list_head sess_list; member
/drivers/block/rnbd/
Drnbd-clt.c27 static LIST_HEAD(sess_list);
861 list_for_each_entry_safe(sess, sn, &sess_list, list) { in __find_and_get_sess()
916 list_add(&sess->list, &sess_list); in find_or_create_sess()
1486 list_for_each_entry(sess, &sess_list, list) { in __exists_dev()
1784 list_for_each_entry_safe(sess, sn, &sess_list, list) { in rnbd_destroy_sessions()
1802 WARN_ON(!list_empty(&sess_list)); in rnbd_destroy_sessions()
Drnbd-srv.c66 static LIST_HEAD(sess_list);
283 list_add(&srv_sess->list, &sess_list); in create_sess()
844 WARN_ON(!list_empty(&sess_list)); in rnbd_srv_cleanup_module()
/drivers/target/
Dtarget_core_transport.c279 INIT_LIST_HEAD(&se_sess->sess_list); in transport_init_session()
436 list_add_tail(&se_sess->sess_list, &se_tpg->tpg_sess_list); in __transport_register_session()
522 list_for_each_entry(se_sess, &se_tpg->tpg_sess_list, sess_list) { in target_show_dynamic_sessions()
663 list_del(&se_sess->sess_list); in transport_deregister_session()
/drivers/target/iscsi/
Discsi_target_login.c154 sess_list) { in iscsi_check_for_session_reinstatement()
498 sess_list) { in iscsi_login_non_zero_tsih_s2()
Discsi_target.c4803 sess_list) { in iscsit_release_sessions_for_tpg()
4820 list_move_tail(&se_sess->sess_list, &free_list); in iscsit_release_sessions_for_tpg()
4824 list_for_each_entry_safe(se_sess, se_sess_tmp, &free_list, sess_list) { in iscsit_release_sessions_for_tpg()
4827 list_del_init(&se_sess->sess_list); in iscsit_release_sessions_for_tpg()
/drivers/scsi/
Dscsi_transport_iscsi.c1624 list_for_each_entry(sess, &sesslist, sess_list) { in iscsi_session_lookup()
2037 INIT_LIST_HEAD(&session->sess_list); in iscsi_alloc_session()
2105 list_add(&session->sess_list, &sesslist); in iscsi_add_session()
2182 if (!list_empty(&session->sess_list)) in iscsi_remove_session()
2183 list_del(&session->sess_list); in iscsi_remove_session()
2400 if (list_empty(&session->sess_list)) { in iscsi_force_destroy_session()
3982 list_del_init(&session->sess_list); in iscsi_if_recv_msg()
/drivers/target/sbp/
Dsbp_target.c84 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { in sbp_session_find_by_guid()
120 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { in sbp_login_count_all_by_lun()
146 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { in sbp_login_find_by_id()