Home
last modified time | relevance | path

Searched refs:sess (Results 1 – 25 of 93) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec.c40 u32 amvdec_get_output_size(struct amvdec_session *sess) in amvdec_get_output_size() argument
42 return get_output_size(sess->width, sess->height); in amvdec_get_output_size()
46 static int vdec_codec_needs_recycle(struct amvdec_session *sess) in vdec_codec_needs_recycle() argument
48 struct amvdec_codec_ops *codec_ops = sess->fmt_out->codec_ops; in vdec_codec_needs_recycle()
55 struct amvdec_session *sess = data; in vdec_recycle_thread() local
56 struct amvdec_core *core = sess->core; in vdec_recycle_thread()
57 struct amvdec_codec_ops *codec_ops = sess->fmt_out->codec_ops; in vdec_recycle_thread()
61 mutex_lock(&sess->bufs_recycle_lock); in vdec_recycle_thread()
62 list_for_each_entry_safe(tmp, n, &sess->bufs_recycle, list) { in vdec_recycle_thread()
70 mutex_unlock(&sess->bufs_recycle_lock); in vdec_recycle_thread()
[all …]
Dvdec_helpers.c80 static int canvas_alloc(struct amvdec_session *sess, u8 *canvas_id) in canvas_alloc() argument
84 if (sess->canvas_num >= MAX_CANVAS) { in canvas_alloc()
85 dev_err(sess->core->dev, "Reached max number of canvas\n"); in canvas_alloc()
89 ret = meson_canvas_alloc(sess->core->canvas, canvas_id); in canvas_alloc()
93 sess->canvas_alloc[sess->canvas_num++] = *canvas_id; in canvas_alloc()
97 static int set_canvas_yuv420m(struct amvdec_session *sess, in set_canvas_yuv420m() argument
101 struct amvdec_core *core = sess->core; in set_canvas_yuv420m()
107 ret = canvas_alloc(sess, &canvas_id[i]); in set_canvas_yuv420m()
141 static int set_canvas_nv12m(struct amvdec_session *sess, in set_canvas_nv12m() argument
145 struct amvdec_core *core = sess->core; in set_canvas_nv12m()
[all …]
Dcodec_hevc_common.c30 void codec_hevc_setup_decode_head(struct amvdec_session *sess, int is_10bit) in codec_hevc_setup_decode_head() argument
32 struct amvdec_core *core = sess->core; in codec_hevc_setup_decode_head()
33 u32 body_size = amvdec_am21c_body_size(sess->width, sess->height); in codec_hevc_setup_decode_head()
34 u32 head_size = amvdec_am21c_head_size(sess->width, sess->height); in codec_hevc_setup_decode_head()
36 if (!codec_hevc_use_fbc(sess->pixfmt_cap, is_10bit)) { in codec_hevc_setup_decode_head()
43 sess->pixfmt_cap, is_10bit)) in codec_hevc_setup_decode_head()
56 static void codec_hevc_setup_buffers_gxbb(struct amvdec_session *sess, in codec_hevc_setup_buffers_gxbb() argument
60 struct amvdec_core *core = sess->core; in codec_hevc_setup_buffers_gxbb()
62 u32 buf_num = v4l2_m2m_num_dst_bufs_ready(sess->m2m_ctx); in codec_hevc_setup_buffers_gxbb()
71 v4l2_m2m_for_each_dst_buf(sess->m2m_ctx, buf) { in codec_hevc_setup_buffers_gxbb()
[all …]
Desparser.c236 static u32 esparser_vififo_get_free_space(struct amvdec_session *sess) in esparser_vififo_get_free_space() argument
239 struct amvdec_ops *vdec_ops = sess->fmt_out->vdec_ops; in esparser_vififo_get_free_space()
240 struct amvdec_core *core = sess->core; in esparser_vififo_get_free_space()
242 vififo_usage = vdec_ops->vififo_level(sess); in esparser_vififo_get_free_space()
246 if (vififo_usage > sess->vififo_size) { in esparser_vififo_get_free_space()
247 dev_warn(sess->core->dev, in esparser_vififo_get_free_space()
249 vififo_usage, sess->vififo_size); in esparser_vififo_get_free_space()
253 return sess->vififo_size - vififo_usage; in esparser_vififo_get_free_space()
276 static u32 esparser_get_offset(struct amvdec_session *sess) in esparser_get_offset() argument
278 struct amvdec_core *core = sess->core; in esparser_get_offset()
[all …]
Dvdec_1.c26 vdec_1_load_firmware(struct amvdec_session *sess, const char *fwname) in vdec_1_load_firmware() argument
29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware()
31 struct amvdec_codec_ops *codec_ops = sess->fmt_out->codec_ops; in vdec_1_load_firmware()
75 ret = codec_ops->load_extended_firmware(sess, in vdec_1_load_firmware()
86 static int vdec_1_stbuf_power_up(struct amvdec_session *sess) in vdec_1_stbuf_power_up() argument
88 struct amvdec_core *core = sess->core; in vdec_1_stbuf_power_up()
94 amvdec_write_dos(core, VLD_MEM_VIFIFO_START_PTR, sess->vififo_paddr); in vdec_1_stbuf_power_up()
95 amvdec_write_dos(core, VLD_MEM_VIFIFO_CURR_PTR, sess->vififo_paddr); in vdec_1_stbuf_power_up()
97 sess->vififo_paddr + sess->vififo_size - 8); in vdec_1_stbuf_power_up()
103 amvdec_write_dos(core, VLD_MEM_VIFIFO_WP, sess->vififo_paddr); in vdec_1_stbuf_power_up()
[all …]
Dvdec_hevc.c26 static int vdec_hevc_load_firmware(struct amvdec_session *sess, in vdec_hevc_load_firmware() argument
29 struct amvdec_core *core = sess->core; in vdec_hevc_load_firmware()
80 static void vdec_hevc_stbuf_init(struct amvdec_session *sess) in vdec_hevc_stbuf_init() argument
82 struct amvdec_core *core = sess->core; in vdec_hevc_stbuf_init()
86 amvdec_write_dos(core, HEVC_STREAM_START_ADDR, sess->vififo_paddr); in vdec_hevc_stbuf_init()
88 sess->vififo_paddr + sess->vififo_size); in vdec_hevc_stbuf_init()
89 amvdec_write_dos(core, HEVC_STREAM_RD_PTR, sess->vififo_paddr); in vdec_hevc_stbuf_init()
90 amvdec_write_dos(core, HEVC_STREAM_WR_PTR, sess->vififo_paddr); in vdec_hevc_stbuf_init()
94 static void vdec_hevc_conf_esparser(struct amvdec_session *sess) in vdec_hevc_conf_esparser() argument
96 struct amvdec_core *core = sess->core; in vdec_hevc_conf_esparser()
[all …]
Dcodec_mpeg12.c63 static int codec_mpeg12_start(struct amvdec_session *sess) in codec_mpeg12_start() argument
65 struct amvdec_core *core = sess->core; in codec_mpeg12_start()
83 ret = amvdec_set_canvases(sess, (u32[]){ AV_SCRATCH_0, 0 }, in codec_mpeg12_start()
98 amvdec_write_dos(core, MREG_CMD, (sess->width << 16) | sess->height); in codec_mpeg12_start()
103 sess->keyframe_found = 1; in codec_mpeg12_start()
104 sess->priv = mpeg12; in codec_mpeg12_start()
117 static int codec_mpeg12_stop(struct amvdec_session *sess) in codec_mpeg12_stop() argument
119 struct codec_mpeg12 *mpeg12 = sess->priv; in codec_mpeg12_stop()
120 struct amvdec_core *core = sess->core; in codec_mpeg12_stop()
130 static void codec_mpeg12_update_dar(struct amvdec_session *sess) in codec_mpeg12_update_dar() argument
[all …]
Dcodec_h264.c166 static int codec_h264_start(struct amvdec_session *sess) in codec_h264_start() argument
169 struct amvdec_core *core = sess->core; in codec_h264_start()
170 struct codec_h264 *h264 = sess->priv; in codec_h264_start()
203 static int codec_h264_stop(struct amvdec_session *sess) in codec_h264_stop() argument
205 struct codec_h264 *h264 = sess->priv; in codec_h264_stop()
206 struct amvdec_core *core = sess->core; in codec_h264_stop()
227 static int codec_h264_load_extended_firmware(struct amvdec_session *sess, in codec_h264_load_extended_firmware() argument
231 struct amvdec_core *core = sess->core; in codec_h264_load_extended_firmware()
249 sess->priv = h264; in codec_h264_load_extended_firmware()
262 static void codec_h264_set_par(struct amvdec_session *sess) in codec_h264_set_par() argument
[all …]
Dvdec.h105 int (*start)(struct amvdec_session *sess);
106 int (*stop)(struct amvdec_session *sess);
107 void (*conf_esparser)(struct amvdec_session *sess);
108 u32 (*vififo_level)(struct amvdec_session *sess);
129 int (*start)(struct amvdec_session *sess);
130 int (*stop)(struct amvdec_session *sess);
131 int (*load_extended_firmware)(struct amvdec_session *sess,
133 u32 (*num_pending_bufs)(struct amvdec_session *sess);
136 void (*drain)(struct amvdec_session *sess);
137 void (*resume)(struct amvdec_session *sess);
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c49 struct rtrs_clt_sess *sess; in rtrs_clt_is_connected() local
53 list_for_each_entry_rcu(sess, &clt->paths_list, s.entry) in rtrs_clt_is_connected()
54 connected |= READ_ONCE(sess->state) == RTRS_CLT_CONNECTED; in rtrs_clt_is_connected()
177 struct rtrs_clt_con *rtrs_permit_to_clt_con(struct rtrs_clt_sess *sess, in rtrs_permit_to_clt_con() argument
183 id = (permit->cpu_id % (sess->s.con_num - 1)) + 1; in rtrs_permit_to_clt_con()
185 return to_clt_con(sess->s.con[id]); in rtrs_permit_to_clt_con()
200 static bool __rtrs_clt_change_state(struct rtrs_clt_sess *sess, in __rtrs_clt_change_state() argument
206 lockdep_assert_held(&sess->state_wq.lock); in __rtrs_clt_change_state()
208 old_state = sess->state; in __rtrs_clt_change_state()
282 sess->state = new_state; in __rtrs_clt_change_state()
[all …]
Drtrs-srv.c70 static bool __rtrs_srv_change_state(struct rtrs_srv_sess *sess, in __rtrs_srv_change_state() argument
76 lockdep_assert_held(&sess->state_lock); in __rtrs_srv_change_state()
77 old_state = sess->state; in __rtrs_srv_change_state()
111 sess->state = new_state; in __rtrs_srv_change_state()
116 static bool rtrs_srv_change_state_get_old(struct rtrs_srv_sess *sess, in rtrs_srv_change_state_get_old() argument
122 spin_lock_irq(&sess->state_lock); in rtrs_srv_change_state_get_old()
123 *old_state = sess->state; in rtrs_srv_change_state_get_old()
124 changed = __rtrs_srv_change_state(sess, new_state); in rtrs_srv_change_state_get_old()
125 spin_unlock_irq(&sess->state_lock); in rtrs_srv_change_state_get_old()
130 static bool rtrs_srv_change_state(struct rtrs_srv_sess *sess, in rtrs_srv_change_state() argument
[all …]
Drtrs-srv-sysfs.c18 struct rtrs_srv_sess *sess; in rtrs_srv_release() local
20 sess = container_of(kobj, struct rtrs_srv_sess, kobj); in rtrs_srv_release()
21 kfree(sess); in rtrs_srv_release()
41 struct rtrs_srv_sess *sess; in rtrs_srv_disconnect_store() local
45 sess = container_of(kobj, struct rtrs_srv_sess, kobj); in rtrs_srv_disconnect_store()
46 s = &sess->s; in rtrs_srv_disconnect_store()
53 sockaddr_to_str((struct sockaddr *)&sess->s.dst_addr, str, sizeof(str)); in rtrs_srv_disconnect_store()
57 sysfs_remove_file_self(&sess->kobj, &attr->attr); in rtrs_srv_disconnect_store()
58 close_sess(sess); in rtrs_srv_disconnect_store()
71 struct rtrs_srv_sess *sess; in rtrs_srv_hca_port_show() local
[all …]
Drtrs-clt-sysfs.c21 struct rtrs_clt_sess *sess; in rtrs_clt_sess_release() local
23 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_sess_release()
25 free_sess(sess); in rtrs_clt_sess_release()
183 struct rtrs_clt_sess *sess; in rtrs_clt_state_show() local
185 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_state_show()
186 if (sess->state == RTRS_CLT_CONNECTED) in rtrs_clt_state_show()
207 struct rtrs_clt_sess *sess; in rtrs_clt_reconnect_store() local
210 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_reconnect_store()
212 rtrs_err(sess->clt, "%s: unknown value: '%s'\n", in rtrs_clt_reconnect_store()
216 ret = rtrs_clt_reconnect_from_sysfs(sess); in rtrs_clt_reconnect_store()
[all …]
Drtrs.c72 struct rtrs_sess *sess = con->sess; in rtrs_iu_post_recv() local
78 list.lkey = sess->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_recv()
81 rtrs_wrn(con->sess, in rtrs_iu_post_recv()
126 struct rtrs_sess *sess = con->sess; in rtrs_iu_post_send() local
135 list.lkey = sess->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_send()
204 rtrs_info(con->sess, "QP event %s (%d) received\n", in qp_event_handler()
209 rtrs_info(con->sess, "Unhandled QP event %s (%d) received\n", in qp_event_handler()
224 rtrs_err(con->sess, "Creating completion queue failed, errno: %ld\n", in create_cq()
254 rtrs_err(con->sess, "Creating QP failed, err: %d\n", ret); in create_qp()
262 int rtrs_cq_qp_create(struct rtrs_sess *sess, struct rtrs_con *con, in rtrs_cq_qp_create() argument
[all …]
Drtrs.h64 void rtrs_clt_close(struct rtrs_clt *sess);
89 struct rtrs_permit *rtrs_clt_get_permit(struct rtrs_clt *sess,
93 void rtrs_clt_put_permit(struct rtrs_clt *sess, struct rtrs_permit *permit);
110 struct rtrs_clt *sess, struct rtrs_permit *permit,
124 int rtrs_clt_query(struct rtrs_clt *sess, struct rtrs_attrs *attr);
162 int (*rdma_ev)(struct rtrs_srv *sess, void *priv,
176 int (*link_ev)(struct rtrs_srv *sess, enum rtrs_srv_link_ev ev,
186 void rtrs_srv_set_sess_priv(struct rtrs_srv *sess, void *priv);
188 int rtrs_srv_get_sess_name(struct rtrs_srv *sess, char *sessname, size_t len);
190 int rtrs_srv_get_queue_depth(struct rtrs_srv *sess);
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_sess.c162 struct ft_sess *sess; in ft_sess_get() local
173 hlist_for_each_entry_rcu(sess, head, hash) { in ft_sess_get()
174 if (sess->port_id == port_id) { in ft_sess_get()
175 kref_get(&sess->kref); in ft_sess_get()
178 port_id, sess); in ft_sess_get()
179 return sess; in ft_sess_get()
192 struct ft_sess *sess = p; in ft_sess_alloc_cb() local
193 struct ft_tport *tport = sess->tport; in ft_sess_alloc_cb()
194 struct hlist_head *head = &tport->hash[ft_sess_hash(sess->port_id)]; in ft_sess_alloc_cb()
196 TFC_SESS_DBG(tport->lport, "port_id %x sess %p\n", sess->port_id, sess); in ft_sess_alloc_cb()
[all …]
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-clt.c36 static inline bool rnbd_clt_get_sess(struct rnbd_clt_session *sess) in rnbd_clt_get_sess() argument
38 return refcount_inc_not_zero(&sess->refcount); in rnbd_clt_get_sess()
41 static void free_sess(struct rnbd_clt_session *sess);
43 static void rnbd_clt_put_sess(struct rnbd_clt_session *sess) in rnbd_clt_put_sess() argument
47 if (refcount_dec_and_test(&sess->refcount)) in rnbd_clt_put_sess()
48 free_sess(sess); in rnbd_clt_put_sess()
63 rnbd_clt_put_sess(dev->sess); in rnbd_clt_put_dev()
76 struct rnbd_clt_session *sess = dev->sess; in rnbd_clt_set_dev_attr() local
92 dev->max_hw_sectors = sess->max_io_size / SECTOR_SIZE; in rnbd_clt_set_dev_attr()
185 rnbd_get_cpu_qlist(struct rnbd_clt_session *sess, int cpu) in rnbd_get_cpu_qlist() argument
[all …]
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_erl2.c41 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_conn_recovery_datain_values()
48 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_conn_recovery_datain_values()
66 if ((write_data_done + conn->sess->sess_ops->MaxBurstLength) <= in iscsit_create_conn_recovery_dataout_values()
68 write_data_done += conn->sess->sess_ops->MaxBurstLength; in iscsit_create_conn_recovery_dataout_values()
77 struct iscsi_session *sess, in iscsit_attach_active_connection_recovery_entry() argument
80 spin_lock(&sess->cr_a_lock); in iscsit_attach_active_connection_recovery_entry()
81 list_add_tail(&cr->cr_list, &sess->cr_active_list); in iscsit_attach_active_connection_recovery_entry()
82 spin_unlock(&sess->cr_a_lock); in iscsit_attach_active_connection_recovery_entry()
88 struct iscsi_session *sess, in iscsit_attach_inactive_connection_recovery_entry() argument
91 spin_lock(&sess->cr_i_lock); in iscsit_attach_inactive_connection_recovery_entry()
[all …]
Discsi_target_login.c136 struct iscsi_session *sess = NULL, *sess_p = NULL; in iscsi_check_for_session_reinstatement() local
165 if (!memcmp(sess_p->isid, conn->sess->isid, 6) && in iscsi_check_for_session_reinstatement()
175 sess = sess_p; in iscsi_check_for_session_reinstatement()
184 if (!sess) in iscsi_check_for_session_reinstatement()
189 "Discovery" : "Normal", sess->sid, in iscsi_check_for_session_reinstatement()
190 sess->sess_ops->InitiatorName); in iscsi_check_for_session_reinstatement()
192 spin_lock_bh(&sess->conn_lock); in iscsi_check_for_session_reinstatement()
193 if (sess->session_state == TARG_SESS_STATE_FAILED) { in iscsi_check_for_session_reinstatement()
194 spin_unlock_bh(&sess->conn_lock); in iscsi_check_for_session_reinstatement()
195 iscsit_dec_session_usage_count(sess); in iscsi_check_for_session_reinstatement()
[all …]
Discsi_target_erl0.c42 conn->sess->sess_ops->FirstBurstLength); in iscsit_set_dataout_sequence_values()
46 if (!conn->sess->sess_ops->DataSequenceInOrder) in iscsit_set_dataout_sequence_values()
52 conn->sess->sess_ops->MaxBurstLength) ? in iscsit_set_dataout_sequence_values()
54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values()
58 conn->sess->sess_ops->MaxBurstLength) >= in iscsit_set_dataout_sequence_values()
61 conn->sess->sess_ops->MaxBurstLength); in iscsit_set_dataout_sequence_values()
85 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_within_command_recovery_check()
103 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_dataout_within_command_recovery_check()
153 if (first_burst_len > conn->sess->sess_ops->FirstBurstLength) { in iscsit_dataout_check_unsolicited_sequence()
156 first_burst_len, conn->sess->sess_ops->FirstBurstLength); in iscsit_dataout_check_unsolicited_sequence()
[all …]
Discsi_target_util.c175 struct se_session *se_sess = conn->sess->se_sess; in iscsit_allocate_cmd()
258 static inline int iscsit_check_received_cmdsn(struct iscsi_session *sess, u32 cmdsn) in iscsit_check_received_cmdsn() argument
269 max_cmdsn = atomic_read(&sess->max_cmd_sn); in iscsit_check_received_cmdsn()
275 } else if (cmdsn == sess->exp_cmd_sn) { in iscsit_check_received_cmdsn()
276 sess->exp_cmd_sn++; in iscsit_check_received_cmdsn()
279 sess->exp_cmd_sn); in iscsit_check_received_cmdsn()
282 } else if (iscsi_sna_gt(cmdsn, sess->exp_cmd_sn)) { in iscsit_check_received_cmdsn()
285 cmdsn, sess->exp_cmd_sn); in iscsit_check_received_cmdsn()
291 sess->exp_cmd_sn); in iscsit_check_received_cmdsn()
309 mutex_lock(&conn->sess->cmdsn_mutex); in iscsit_sequence_cmd()
[all …]
Discsi_target_erl1.c48 if (conn->sess->sess_ops->RDMAExtensions) in iscsit_dump_data_payload()
182 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
189 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
198 if (!conn->sess->sess_ops->DataPDUInOrder) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
299 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_create_recovery_datain_values_datasequenceinorder_no()
362 (conn->sess->sess_ops->DataPDUInOrder) ? "Yes" : "No"); in iscsit_create_recovery_datain_values_datasequenceinorder_no()
594 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_datapduinorder_no_fbit()
668 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_recalculate_dataout_values()
671 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_recalculate_dataout_values()
718 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_recalculate_dataout_values()
[all …]
Discsi_target_device.c20 void iscsit_determine_maxcmdsn(struct iscsi_session *sess) in iscsit_determine_maxcmdsn() argument
30 if (sess->sess_ops->SessionType) in iscsit_determine_maxcmdsn()
33 se_nacl = sess->se_sess->se_node_acl; in iscsit_determine_maxcmdsn()
41 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
42 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
45 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) in iscsit_increment_maxcmdsn() argument
54 max_cmd_sn = atomic_inc_return(&sess->max_cmd_sn); in iscsit_increment_maxcmdsn()
/kernel/linux/linux-5.10/drivers/tee/amdtee/
Dcore.c51 static void release_session(struct amdtee_session *sess) in release_session() argument
58 if (!test_bit(i, sess->sess_mask)) in release_session()
61 handle_close_session(sess->ta_handle, sess->session_info[i]); in release_session()
62 handle_unload_ta(sess->ta_handle); in release_session()
65 kfree(sess); in release_session()
76 struct amdtee_session *sess; in amdtee_release() local
78 sess = list_first_entry_or_null(&ctxdata->sess_list, in amdtee_release()
82 if (!sess) in amdtee_release()
85 list_del(&sess->list_node); in amdtee_release()
86 release_session(sess); in amdtee_release()
[all …]
/kernel/linux/linux-5.10/drivers/target/sbp/
Dsbp_target.c81 struct sbp_session *sess, *found = NULL; in sbp_session_find_by_guid() local
85 sess = se_sess->fabric_sess_ptr; in sbp_session_find_by_guid()
86 if (sess->guid == guid) in sbp_session_find_by_guid()
87 found = sess; in sbp_session_find_by_guid()
115 struct sbp_session *sess; in sbp_login_count_all_by_lun() local
121 sess = se_sess->fabric_sess_ptr; in sbp_login_count_all_by_lun()
123 spin_lock_bh(&sess->lock); in sbp_login_count_all_by_lun()
124 list_for_each_entry(login, &sess->login_list, link) { in sbp_login_count_all_by_lun()
131 spin_unlock_bh(&sess->lock); in sbp_login_count_all_by_lun()
142 struct sbp_session *sess; in sbp_login_find_by_id() local
[all …]

1234