scst: Document scst_register_session_mq() arguments

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-02-04 23:05:58 +00:00
parent 56a8b3ba57
commit 39139632db

View File

@@ -8363,6 +8363,22 @@ EXPORT_SYMBOL_GPL(scst_register_session);
/**
* scst_register_session_mq() - register multi-queue session
* @tgt: target
* @atomic: True if called from atomic context. If false,
* this function will block until the session registration is
* completed.
* @initiator_name: Remote initiator name, NULL-terminated, e.g. the iSCSI
* initiator name. Used as key when looking up access control
* group information. If NULL then the default target's LUNs are
* used.
* @tgt_priv: Pointer to the private data of the target driver.
* @result_fn_data: Any target driver supplied data.
* @result_fn: Pointer to a function that will be asynchronously when session
* initialization has finished. Can be NULL. Parameters:
* - sess - session.
* - data - @result_fn_data.
* - result - session initialization result, 0 on success or
* appropriate error code otherwise.
*
* Description:
* Registers new MQ session. Returns new session on success or NULL otherwise.