Home
last modified time | relevance | path

Searched refs:fd1 (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/tools/testing/selftests/kcmp/
Dkcmp_test.c22 static long sys_kcmp(int pid1, int pid2, int type, int fd1, int fd2) in sys_kcmp() argument
24 return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2); in sys_kcmp()
31 int fd1, fd2; in main() local
34 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
37 if (fd1 < 0) { in main()
63 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2), in main()
75 ret = sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd1); in main()
/linux-4.4.14/tools/perf/tests/
Dbp_signal.c30 static int fd1; variable
55 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler()
155 fd1 = bp_event(test_function, 1); in test__bp_signal()
158 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
167 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal()
170 count1 = bp_count(fd1); in test__bp_signal()
173 close(fd1); in test__bp_signal()
/linux-4.4.14/include/linux/
Daudit.h247 extern void __audit_fd_pair(int fd1, int fd2);
263 static inline void audit_fd_pair(int fd1, int fd2) in audit_fd_pair() argument
266 __audit_fd_pair(fd1, fd2); in audit_fd_pair()
410 static inline void audit_fd_pair(int fd1, int fd2) in audit_fd_pair() argument
/linux-4.4.14/net/
Dsocket.c1258 int fd1, fd2, err; in SYSCALL_DEFINE4() local
1287 fd1 = get_unused_fd_flags(flags); in SYSCALL_DEFINE4()
1288 if (unlikely(fd1 < 0)) { in SYSCALL_DEFINE4()
1289 err = fd1; in SYSCALL_DEFINE4()
1311 err = put_user(fd1, &usockvec[0]); in SYSCALL_DEFINE4()
1319 audit_fd_pair(fd1, fd2); in SYSCALL_DEFINE4()
1321 fd_install(fd1, newfile1); in SYSCALL_DEFINE4()
1333 put_unused_fd(fd1); in SYSCALL_DEFINE4()
1339 put_unused_fd(fd1); in SYSCALL_DEFINE4()
1346 put_unused_fd(fd1); in SYSCALL_DEFINE4()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dphy.c970 u32 d0, d1, td0, td1, fd0, fd1; in carl9170_init_rf_bank4_pwr() local
1019 fd1 = td1 << 5 | td0; in carl9170_init_rf_bank4_pwr()
1024 carl9170_regwrite(0x1c58e8, fd1); in carl9170_init_rf_bank4_pwr()
/linux-4.4.14/kernel/
Dauditsc.c2185 void __audit_fd_pair(int fd1, int fd2) in __audit_fd_pair() argument
2188 context->fds[0] = fd1; in __audit_fd_pair()
/linux-4.4.14/Documentation/powerpc/
Dcxlflash.txt140 (herein referred to as fd1) that should be used for issuing the
/linux-4.4.14/Documentation/m68k/
Dkernel-options.txt94 /dev/fd0 stands for the first drive, /dev/fd1 for the second, and so
/linux-4.4.14/Documentation/
Ddevices.txt136 1 = /dev/fd1 Controller 0, drive 1, autodetect