doc: standardize @param (not @parma, @parmam, @params)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
Nathan Cutler 2016-02-19 15:32:14 +01:00
parent 49a7ef5001
commit 882066d6b7
3 changed files with 11 additions and 11 deletions

View File

@ -188,7 +188,7 @@ function test_teardown() {
# @param dir path name of the environment
# @param signal name of the first signal (defaults to TERM)
# @param name_prefix only kill match daemons (defaults to all)
# @params delays sequence of sleep times before failure
# @param delays sequence of sleep times before failure
# @return 0 on success, 1 on error
#
function kill_daemons() {
@ -729,7 +729,7 @@ function test_get_config() {
# of the admin socket of **daemon**.**id**
#
# @param daemon mon or osd
# @parma id mon or osd ID
# @param id mon or osd ID
# @param config the configuration variable name as found in config_opts.h
# @param value the config value
# @return 0 on success, 1 on error

View File

@ -356,8 +356,8 @@ int get_features(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
* set the image features
*
* Input:
* @params features image features
* @params mask image feature mask
* @param features image features
* @param mask image feature mask
*
* Output:
* none
@ -845,9 +845,9 @@ int get_flags(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
* set the image flags
*
* Input:
* @params flags image flags
* @params mask image flag mask
* @params snap_id which snapshot to update, or CEPH_NOSNAP (uint64_t)
* @param flags image flags
* @param mask image flag mask
* @param snap_id which snapshot to update, or CEPH_NOSNAP (uint64_t)
*
* Output:
* none

View File

@ -226,7 +226,7 @@ public:
/* I/O */
ssize_t read(uint64_t ofs, size_t len, ceph::bufferlist& bl);
/* @parmam op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
/* @param op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
ssize_t read2(uint64_t ofs, size_t len, ceph::bufferlist& bl, int op_flags);
int64_t read_iterate(uint64_t ofs, size_t len,
int (*cb)(uint64_t, size_t, const char *, void *), void *arg);
@ -262,12 +262,12 @@ public:
int (*cb)(uint64_t, size_t, int, void *), void *arg);
ssize_t write(uint64_t ofs, size_t len, ceph::bufferlist& bl);
/* @parmam op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
/* @param op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
ssize_t write2(uint64_t ofs, size_t len, ceph::bufferlist& bl, int op_flags);
int discard(uint64_t ofs, uint64_t len);
int aio_write(uint64_t off, size_t len, ceph::bufferlist& bl, RBD::AioCompletion *c);
/* @parmam op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
/* @param op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
int aio_write2(uint64_t off, size_t len, ceph::bufferlist& bl,
RBD::AioCompletion *c, int op_flags);
/**
@ -288,7 +288,7 @@ public:
* @param c aio completion to notify when read is complete
*/
int aio_read(uint64_t off, size_t len, ceph::bufferlist& bl, RBD::AioCompletion *c);
/* @parmam op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
/* @param op_flags see librados.h constants beginning with LIBRADOS_OP_FLAG */
int aio_read2(uint64_t off, size_t len, ceph::bufferlist& bl,
RBD::AioCompletion *c, int op_flags);
int aio_discard(uint64_t off, uint64_t len, RBD::AioCompletion *c);