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
This commit is contained in:
Spencer Kinny 2020-09-02 22:12:12 +05:30 committed by GitHub
parent 0db1b84a6d
commit 6fffc88bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View File

@ -96,6 +96,9 @@
* which each have their own compilation environments and subsequent * which each have their own compilation environments and subsequent
* requirements. Each of these environments must be considered when adding * requirements. Each of these environments must be considered when adding
* dependencies from avl.c. * dependencies from avl.c.
*
* Link to Illumos.org for more information on avl function:
* [1] https://illumos.org/man/9f/avl
*/ */
#include <sys/types.h> #include <sys/types.h>

View File

@ -25,6 +25,15 @@
* Copyright 2018 RackTop Systems. * Copyright 2018 RackTop Systems.
*/ */
/*
* Links to Illumos.org for more information on Interface Libraries:
* [1] https://illumos.org/man/3lib/libnvpair
* [2] https://illumos.org/man/3nvpair/nvlist_alloc
* [3] https://illumos.org/man/9f/nvlist_alloc
* [4] https://illumos.org/man/9f/nvlist_next_nvpair
* [5] https://illumos.org/man/9f/nvpair_value_byte
*/
#include <sys/debug.h> #include <sys/debug.h>
#include <sys/isa_defs.h> #include <sys/isa_defs.h>
#include <sys/nvpair.h> #include <sys/nvpair.h>

View File

@ -22,6 +22,10 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
*
* Links to Illumos.org for more information on kstat function:
* [1] https://illumos.org/man/1M/kstat
* [2] https://illumos.org/man/9f/kstat_create
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>

View File

@ -22,6 +22,10 @@
* with the SPL. If not, see <http://www.gnu.org/licenses/>. * with the SPL. If not, see <http://www.gnu.org/licenses/>.
* *
* Solaris Porting Layer (SPL) Kstat Implementation. * Solaris Porting Layer (SPL) Kstat Implementation.
*
* Links to Illumos.org for more information on kstat function:
* [1] https://illumos.org/man/1M/kstat
* [2] https://illumos.org/man/9f/kstat_create
*/ */
#include <linux/seq_file.h> #include <linux/seq_file.h>