Home
last modified time | relevance | path

Searched refs:ioperm (Results 1 - 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ioperm/
H A Dioperm01.c8 * This is a basic test for ioperm(2) system call.
30 TEST(ioperm(io_addr, NUM_BYTES, 1)); in verify_ioperm()
33 tst_res(TFAIL | TTERRNO, "ioperm() failed for port address " in verify_ioperm()
37 tst_res(TPASS, "ioperm() passed for port " in verify_ioperm()
53 if ((ioperm(io_addr, NUM_BYTES, 0)) == -1) in cleanup()
54 tst_brk(TBROK | TERRNO, "ioperm() cleanup failed"); in cleanup()
60 /* ioperm() is restricted under kernel lockdown. */
67 TST_TEST_TCONF("LSB v1.3 does not specify ioperm() for this architecture. (only for i386 or x86_64)");
H A Dioperm02.c8 * This is an error test for ioperm(2) system call.
11 * 1) ioperm(2) returns -1 and sets errno to EINVAL for I/O port
13 * 2) ioperm(2) returns -1 and sets errno to EPERM if the current
63 TEST(ioperm(tcases[i].from, tcases[i].num, tcases[i].turn_on)); in verify_ioperm()
80 /* ioperm() is restricted under kernel lockdown. */
87 TST_TEST_TCONF("LSB v1.3 does not specify ioperm() for this architecture. (only for i386 or x86_64)");
/third_party/backends/sanei/
H A Dsanei_directio.c139 return ioperm (start, length, enable); in sanei_ioperm()
141 /* linux without ioperm ? hum ... */ in sanei_ioperm()
195 return ioperm (start, length, enable); in sanei_ioperm()
197 /* linux without ioperm ? hum ... */ in sanei_ioperm()
262 return ioperm (start, length, enable); in sanei_ioperm()
264 /* ICC without ioperm() ... */ in sanei_ioperm()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dio.h12 int ioperm(unsigned long, unsigned long, int);
/third_party/musl/src/linux/
H A Dioperm.c6 int ioperm(unsigned long from, unsigned long num, int turn_on) in ioperm() function
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dio.h12 int ioperm(unsigned long, unsigned long, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dio.h12 int ioperm(unsigned long, unsigned long, int);
/third_party/musl/include/sys/
H A Dio.h12 int ioperm(unsigned long, unsigned long, int);
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/
H A Dmod.rs815 pub fn ioperm(from: ::c_ulong, num: ::c_ulong, turn_on: ::c_int) -> ::c_int; in ioperm() functions

Completed in 4 milliseconds