Commit cc3b3b1d authored by Martin Waitz's avatar Martin Waitz Committed by Linus Torvalds

[PATCH] docbook: kernel-docify comments

Kernel-docify comments
Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ed309c36
...@@ -44,7 +44,7 @@ extern unsigned int __kfifo_put(struct kfifo *fifo, ...@@ -44,7 +44,7 @@ extern unsigned int __kfifo_put(struct kfifo *fifo,
extern unsigned int __kfifo_get(struct kfifo *fifo, extern unsigned int __kfifo_get(struct kfifo *fifo,
unsigned char *buffer, unsigned int len); unsigned char *buffer, unsigned int len);
/* /**
* __kfifo_reset - removes the entire FIFO contents, no locking version * __kfifo_reset - removes the entire FIFO contents, no locking version
* @fifo: the fifo to be emptied. * @fifo: the fifo to be emptied.
*/ */
...@@ -53,7 +53,7 @@ static inline void __kfifo_reset(struct kfifo *fifo) ...@@ -53,7 +53,7 @@ static inline void __kfifo_reset(struct kfifo *fifo)
fifo->in = fifo->out = 0; fifo->in = fifo->out = 0;
} }
/* /**
* kfifo_reset - removes the entire FIFO contents * kfifo_reset - removes the entire FIFO contents
* @fifo: the fifo to be emptied. * @fifo: the fifo to be emptied.
*/ */
...@@ -68,7 +68,7 @@ static inline void kfifo_reset(struct kfifo *fifo) ...@@ -68,7 +68,7 @@ static inline void kfifo_reset(struct kfifo *fifo)
spin_unlock_irqrestore(fifo->lock, flags); spin_unlock_irqrestore(fifo->lock, flags);
} }
/* /**
* kfifo_put - puts some data into the FIFO * kfifo_put - puts some data into the FIFO
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
* @buffer: the data to be added. * @buffer: the data to be added.
...@@ -93,7 +93,7 @@ static inline unsigned int kfifo_put(struct kfifo *fifo, ...@@ -93,7 +93,7 @@ static inline unsigned int kfifo_put(struct kfifo *fifo,
return ret; return ret;
} }
/* /**
* kfifo_get - gets some data from the FIFO * kfifo_get - gets some data from the FIFO
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
* @buffer: where the data must be copied. * @buffer: where the data must be copied.
...@@ -124,7 +124,7 @@ static inline unsigned int kfifo_get(struct kfifo *fifo, ...@@ -124,7 +124,7 @@ static inline unsigned int kfifo_get(struct kfifo *fifo,
return ret; return ret;
} }
/* /**
* __kfifo_len - returns the number of bytes available in the FIFO, no locking version * __kfifo_len - returns the number of bytes available in the FIFO, no locking version
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
*/ */
...@@ -133,7 +133,7 @@ static inline unsigned int __kfifo_len(struct kfifo *fifo) ...@@ -133,7 +133,7 @@ static inline unsigned int __kfifo_len(struct kfifo *fifo)
return fifo->in - fifo->out; return fifo->in - fifo->out;
} }
/* /**
* kfifo_len - returns the number of bytes available in the FIFO * kfifo_len - returns the number of bytes available in the FIFO
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
*/ */
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/kfifo.h> #include <linux/kfifo.h>
/* /**
* kfifo_init - allocates a new FIFO using a preallocated buffer * kfifo_init - allocates a new FIFO using a preallocated buffer
* @buffer: the preallocated buffer to be used. * @buffer: the preallocated buffer to be used.
* @size: the size of the internal buffer, this have to be a power of 2. * @size: the size of the internal buffer, this have to be a power of 2.
...@@ -56,7 +56,7 @@ struct kfifo *kfifo_init(unsigned char *buffer, unsigned int size, ...@@ -56,7 +56,7 @@ struct kfifo *kfifo_init(unsigned char *buffer, unsigned int size,
} }
EXPORT_SYMBOL(kfifo_init); EXPORT_SYMBOL(kfifo_init);
/* /**
* kfifo_alloc - allocates a new FIFO and its internal buffer * kfifo_alloc - allocates a new FIFO and its internal buffer
* @size: the size of the internal buffer to be allocated. * @size: the size of the internal buffer to be allocated.
* @gfp_mask: get_free_pages mask, passed to kmalloc() * @gfp_mask: get_free_pages mask, passed to kmalloc()
...@@ -91,7 +91,7 @@ struct kfifo *kfifo_alloc(unsigned int size, int gfp_mask, spinlock_t *lock) ...@@ -91,7 +91,7 @@ struct kfifo *kfifo_alloc(unsigned int size, int gfp_mask, spinlock_t *lock)
} }
EXPORT_SYMBOL(kfifo_alloc); EXPORT_SYMBOL(kfifo_alloc);
/* /**
* kfifo_free - frees the FIFO * kfifo_free - frees the FIFO
* @fifo: the fifo to be freed. * @fifo: the fifo to be freed.
*/ */
...@@ -102,7 +102,7 @@ void kfifo_free(struct kfifo *fifo) ...@@ -102,7 +102,7 @@ void kfifo_free(struct kfifo *fifo)
} }
EXPORT_SYMBOL(kfifo_free); EXPORT_SYMBOL(kfifo_free);
/* /**
* __kfifo_put - puts some data into the FIFO, no locking version * __kfifo_put - puts some data into the FIFO, no locking version
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
* @buffer: the data to be added. * @buffer: the data to be added.
...@@ -135,7 +135,7 @@ unsigned int __kfifo_put(struct kfifo *fifo, ...@@ -135,7 +135,7 @@ unsigned int __kfifo_put(struct kfifo *fifo,
} }
EXPORT_SYMBOL(__kfifo_put); EXPORT_SYMBOL(__kfifo_put);
/* /**
* __kfifo_get - gets some data from the FIFO, no locking version * __kfifo_get - gets some data from the FIFO, no locking version
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
* @buffer: where the data must be copied. * @buffer: where the data must be copied.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment