Skip to content

Commit 6fffc88

Browse files
Links in Source Files
Added comments in following files with links to Illumos manual pages: ./module/avl/avl.c ./module/nvpair/nvpair.c ./module/os/linux/spl/spl-kstat.c ./module/os/freebsd/spl/spl_kstat.c Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Spencer Kinny <spencerkinny1995@gmail.com> Closes #5113 Closes #10859
1 parent 0db1b84 commit 6fffc88

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

module/avl/avl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@
9696
* which each have their own compilation environments and subsequent
9797
* requirements. Each of these environments must be considered when adding
9898
* dependencies from avl.c.
99+
*
100+
* Link to Illumos.org for more information on avl function:
101+
* [1] https://illumos.org/man/9f/avl
99102
*/
100103

101104
#include <sys/types.h>

module/nvpair/nvpair.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525
* Copyright 2018 RackTop Systems.
2626
*/
2727

28+
/*
29+
* Links to Illumos.org for more information on Interface Libraries:
30+
* [1] https://illumos.org/man/3lib/libnvpair
31+
* [2] https://illumos.org/man/3nvpair/nvlist_alloc
32+
* [3] https://illumos.org/man/9f/nvlist_alloc
33+
* [4] https://illumos.org/man/9f/nvlist_next_nvpair
34+
* [5] https://illumos.org/man/9f/nvpair_value_byte
35+
*/
36+
2837
#include <sys/debug.h>
2938
#include <sys/isa_defs.h>
3039
#include <sys/nvpair.h>

module/os/freebsd/spl/spl_kstat.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2323
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2424
* SUCH DAMAGE.
25+
*
26+
* Links to Illumos.org for more information on kstat function:
27+
* [1] https://illumos.org/man/1M/kstat
28+
* [2] https://illumos.org/man/9f/kstat_create
2529
*/
2630

2731
#include <sys/cdefs.h>

module/os/linux/spl/spl-kstat.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
2323
*
2424
* Solaris Porting Layer (SPL) Kstat Implementation.
25+
*
26+
* Links to Illumos.org for more information on kstat function:
27+
* [1] https://illumos.org/man/1M/kstat
28+
* [2] https://illumos.org/man/9f/kstat_create
2529
*/
2630

2731
#include <linux/seq_file.h>

0 commit comments

Comments
 (0)