Home
last modified time | relevance | path

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

12345

/linux-6.1.9/fs/ksmbd/mgmt/
Duser_session.c31 static void free_channel_list(struct ksmbd_session *sess) in free_channel_list() argument
35 write_lock(&sess->chann_lock); in free_channel_list()
36 list_for_each_entry_safe(chann, tmp, &sess->ksmbd_chann_list, in free_channel_list()
41 write_unlock(&sess->chann_lock); in free_channel_list()
44 static void __session_rpc_close(struct ksmbd_session *sess, in __session_rpc_close() argument
49 resp = ksmbd_rpc_close(sess, entry->id); in __session_rpc_close()
58 static void ksmbd_session_rpc_clear_list(struct ksmbd_session *sess) in ksmbd_session_rpc_clear_list() argument
62 while (!list_empty(&sess->rpc_handle_list)) { in ksmbd_session_rpc_clear_list()
63 entry = list_entry(sess->rpc_handle_list.next, in ksmbd_session_rpc_clear_list()
68 __session_rpc_close(sess, entry); in ksmbd_session_rpc_clear_list()
[all …]
Dtree_connect.c19 ksmbd_tree_conn_connect(struct ksmbd_conn *conn, struct ksmbd_session *sess, in ksmbd_tree_conn_connect() argument
39 tree_conn->id = ksmbd_acquire_tree_conn_id(sess); in ksmbd_tree_conn_connect()
46 resp = ksmbd_ipc_tree_connect_request(sess, in ksmbd_tree_conn_connect()
74 tree_conn->user = sess->user; in ksmbd_tree_conn_connect()
78 ret = xa_err(xa_store(&sess->tree_conns, tree_conn->id, tree_conn, in ksmbd_tree_conn_connect()
89 ksmbd_release_tree_conn_id(sess, tree_conn->id); in ksmbd_tree_conn_connect()
96 int ksmbd_tree_conn_disconnect(struct ksmbd_session *sess, in ksmbd_tree_conn_disconnect() argument
101 ret = ksmbd_ipc_tree_disconnect_request(sess->id, tree_conn->id); in ksmbd_tree_conn_disconnect()
102 ksmbd_release_tree_conn_id(sess, tree_conn->id); in ksmbd_tree_conn_disconnect()
103 xa_erase(&sess->tree_conns, tree_conn->id); in ksmbd_tree_conn_disconnect()
[all …]
Duser_session.h66 static inline int test_session_flag(struct ksmbd_session *sess, int bit) in test_session_flag() argument
68 return sess->flags & bit; in test_session_flag()
71 static inline void set_session_flag(struct ksmbd_session *sess, int bit) in set_session_flag() argument
73 sess->flags |= bit; in set_session_flag()
76 static inline void clear_session_flag(struct ksmbd_session *sess, int bit) in clear_session_flag() argument
78 sess->flags &= ~bit; in clear_session_flag()
83 void ksmbd_session_destroy(struct ksmbd_session *sess);
89 struct ksmbd_session *sess);
98 int ksmbd_acquire_tree_conn_id(struct ksmbd_session *sess);
99 void ksmbd_release_tree_conn_id(struct ksmbd_session *sess, int id);
[all …]
/linux-6.1.9/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.h107 int (*start)(struct amvdec_session *sess);
108 int (*stop)(struct amvdec_session *sess);
109 void (*conf_esparser)(struct amvdec_session *sess);
110 u32 (*vififo_level)(struct amvdec_session *sess);
132 int (*start)(struct amvdec_session *sess);
133 int (*stop)(struct amvdec_session *sess);
134 int (*load_extended_firmware)(struct amvdec_session *sess,
136 u32 (*num_pending_bufs)(struct amvdec_session *sess);
139 void (*drain)(struct amvdec_session *sess);
140 void (*resume)(struct amvdec_session *sess);
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
61 rnbd_clt_put_sess(dev->sess); in rnbd_clt_put_dev()
161 rnbd_get_cpu_qlist(struct rnbd_clt_session *sess, int cpu) in rnbd_get_cpu_qlist() argument
166 bit = find_next_bit(sess->cpu_queues_bm, nr_cpu_ids, cpu); in rnbd_get_cpu_qlist()
168 return per_cpu_ptr(sess->cpu_queues, bit); in rnbd_get_cpu_qlist()
[all …]
/linux-6.1.9/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 iscsit_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 iscsit_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 iscsit_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.c158 struct se_session *se_sess = conn->sess->se_sess; in iscsit_allocate_cmd()
241 static inline int iscsit_check_received_cmdsn(struct iscsit_session *sess, u32 cmdsn) in iscsit_check_received_cmdsn() argument
252 max_cmdsn = atomic_read(&sess->max_cmd_sn); in iscsit_check_received_cmdsn()
258 } else if (cmdsn == sess->exp_cmd_sn) { in iscsit_check_received_cmdsn()
259 sess->exp_cmd_sn++; in iscsit_check_received_cmdsn()
262 sess->exp_cmd_sn); in iscsit_check_received_cmdsn()
265 } else if (iscsi_sna_gt(cmdsn, sess->exp_cmd_sn)) { in iscsit_check_received_cmdsn()
268 cmdsn, sess->exp_cmd_sn); in iscsit_check_received_cmdsn()
274 sess->exp_cmd_sn); in iscsit_check_received_cmdsn()
292 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 iscsit_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 iscsit_cmd *cmd, struct iscsit_session *sess) in iscsit_increment_maxcmdsn() argument
54 max_cmd_sn = atomic_inc_return(&sess->max_cmd_sn); in iscsit_increment_maxcmdsn()
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_target.c105 static int qlt_issue_task_mgmt(struct fc_port *sess, u64 lun,
121 void qlt_unreg_sess(struct fc_port *sess);
723 struct fc_port *sess = fcport; in qlt_fc_port_added() local
740 if (!sess->se_sess) { in qlt_fc_port_added()
744 sess = qlt_create_sess(vha, fcport, false); in qlt_fc_port_added()
754 if (!kref_get_unless_zero(&sess->sess_kref)) { in qlt_fc_port_added()
757 __func__, sess->port_name); in qlt_fc_port_added()
765 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added()
768 "Reappeared sess %p\n", sess); in qlt_fc_port_added()
770 ha->tgt.tgt_ops->update_sess(sess, fcport->d_id, in qlt_fc_port_added()
[all …]
Dtcm_qla2xxx.c269 spin_lock_irqsave(&cmd->sess->sess_cmd_lock, flags); in tcm_qla2xxx_complete_free()
271 spin_unlock_irqrestore(&cmd->sess->sess_cmd_lock, flags); in tcm_qla2xxx_complete_free()
276 static struct qla_tgt_cmd *tcm_qla2xxx_get_cmd(struct fc_port *sess) in tcm_qla2xxx_get_cmd() argument
278 struct se_session *se_sess = sess->se_sess; in tcm_qla2xxx_get_cmd()
296 target_free_tag(cmd->sess->se_sess, &cmd->se_cmd); in tcm_qla2xxx_rel_cmd()
354 struct fc_port *sess = container_of(kref, in tcm_qla2xxx_release_session() local
357 qlt_unreg_sess(sess); in tcm_qla2xxx_release_session()
360 static void tcm_qla2xxx_put_sess(struct fc_port *sess) in tcm_qla2xxx_put_sess() argument
362 if (!sess) in tcm_qla2xxx_put_sess()
365 kref_put(&sess->sess_kref, tcm_qla2xxx_release_session); in tcm_qla2xxx_put_sess()
[all …]
/linux-6.1.9/fs/ksmbd/
Dauth.c79 static int ksmbd_gen_sess_key(struct ksmbd_session *sess, char *hash, in ksmbd_gen_sess_key() argument
113 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), sess->sess_key); in ksmbd_gen_sess_key()
124 static int calc_ntlmv2_hash(struct ksmbd_conn *conn, struct ksmbd_session *sess, in calc_ntlmv2_hash() argument
139 user_passkey(sess->user), in calc_ntlmv2_hash()
153 len = strlen(user_name(sess->user)); in calc_ntlmv2_hash()
160 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()
218 int ksmbd_auth_ntlmv2(struct ksmbd_conn *conn, struct ksmbd_session *sess, in ksmbd_auth_ntlmv2() argument
234 rc = calc_ntlmv2_hash(conn, sess, ntlmv2_hash, domain_name); in ksmbd_auth_ntlmv2()
276 rc = ksmbd_gen_sess_key(sess, ntlmv2_hash, ntlmv2_rsp); in ksmbd_auth_ntlmv2()
301 struct ksmbd_session *sess) in ksmbd_decode_ntlmssp_auth_blob() argument
[all …]

12345