Skip to content

Commit bb13c18

Browse files
committed
ioctl02: docparse: Use links to man
Signed-off-by: Petr Vorel <[email protected]>
1 parent bfdcca2 commit bb13c18

27 files changed

+45
-42
lines changed

testcases/kernel/syscalls/ioctl/ioctl01.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
/*\
11-
* Testcase to check the errnos set by the ioctl(2) system call.
11+
* Testcase to check the errnos set by the :man2:`ioctl` system call.
1212
*
1313
* - EBADF: Pass an invalid fd to ioctl(fd, ...) and expect EBADF
1414
* - EFAULT: Pass an invalid address of arg in ioctl(fd, ..., arg)

testcases/kernel/syscalls/ioctl/ioctl04.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/*\
7-
* Basic test for the BLKROSET and BLKROGET ioctls.
7+
* Basic test for :man2:`ioctl` with BLKROSET and BLKROGET .
88
*
99
* - Set the device read only, read the value back.
1010
* - Try to mount the device read write, expect failure.

testcases/kernel/syscalls/ioctl/ioctl05.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/*\
7-
* Basic test for the BLKGETSIZE and BLKGETSIZE64 ioctls.
7+
* Basic test for :man2:`ioctl` with BLKGETSIZE and BLKGETSIZE64.
88
*
99
* - BLKGETSIZE returns size in 512 byte blocks BLKGETSIZE64 in bytes
1010
* compare that they return the same value.

testcases/kernel/syscalls/ioctl/ioctl06.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/*\
7-
* Basic test for the BLKRASET and BLKRAGET ioctls.
7+
* Basic test for :man2:`ioctl` with BLKRASET and BLKRAGET.
88
*
99
* Sets device read-ahead, reads it back and compares the values.
1010
*

testcases/kernel/syscalls/ioctl/ioctl07.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/*\
7-
* Very basic test for the RND* ioctls.
7+
* Very basic test for the RND* :man2:`ioctl`.
88
*
99
* Reads the entropy available from both /proc and the ioctl and compares
1010
* they are similar enough (within a configured fuzz factor).

testcases/kernel/syscalls/ioctl/ioctl08.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/*\
8-
* Tests the ioctl functionality to deduplicate fileranges using
8+
* Tests :man2:`ioctl` functionality to deduplicate fileranges using
99
* btrfs filesystem.
1010
*
1111
* 1. Sets the same contents for two files and deduplicates it.

testcases/kernel/syscalls/ioctl/ioctl09.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/*\
8-
* Basic test for the BLKRRPART ioctl, it is the same as blockdev
8+
* Basic test for :man2:`ioctl` with BLKRRPART, it is the same as blockdev
99
* --rereadpt command.
1010
*/
1111

testcases/kernel/syscalls/ioctl/ioctl10.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/*\
7-
* Test PROCMAP_QUERY ioctl() for /proc/$PID/maps.
7+
* Test PROCMAP_QUERY :man2:`ioctl` for /proc/$PID/maps.
88
*
99
* Test based on :kselftest:`proc/proc-pid-vm.c`.
1010
*

testcases/kernel/syscalls/ioctl/ioctl_ficlone01.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55

66
/*\
7-
* This test verifies that ioctl() FICLONE feature clones file content from
8-
* one file to an another.
7+
* This test verifies that :man2:`ioctl` FICLONE feature clones file content
8+
* from one file to an another.
99
*
1010
* [Algorithm]
1111
*

testcases/kernel/syscalls/ioctl/ioctl_ficlone02.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
*/
55

66
/*\
7-
* This test verifies that ioctl() FICLONE/FICLONERANGE feature correctly raises
8-
* EOPNOTSUPP when an unsupported filesystem is used. In particular, filesystems
9-
* which don't support copy-on-write.
7+
* This test verifies that :man2:`ioctl` FICLONE/FICLONERANGE feature correctly
8+
* raises EOPNOTSUPP when an unsupported filesystem is used. In particular,
9+
* filesystems which don't support copy-on-write.
1010
*/
1111

1212
#include "tst_test.h"

0 commit comments

Comments
 (0)