| /linux/tools/testing/selftests/drivers/net/ |
| H A D | psp.py | 24 outq = fcntl.ioctl(s.fileno(), termios.TIOCOUTQ, one) 197 "sock-fd": s.fileno()}) 205 "sock-fd": s.fileno()}) 218 "sock-fd": s.fileno()}) 226 "sock-fd": s.fileno()}) 239 "sock-fd": s.fileno()}) 249 "sock-fd": s.fileno()}) 253 "sock-fd": s.fileno()}) 265 "sock-fd": s.fileno()}) 279 "sock-fd": s.fileno()}) [all …]
|
| /linux/tools/testing/selftests/net/rds/ |
| H A D | test.py | 49 setns(f.fileno(), 0) 58 socket.send_fds(u0, [], [sock.fileno()]) 158 s.fileno(): s for s in sockets 192 send_hashes.setdefault((sender.fileno(), receiver.fileno()), 205 for fileno, eventmask in ep.poll(): 206 receiver = fileno_to_socket[fileno] 213 recv_hashes.setdefault((sender.fileno(), 214 receiver.fileno()), hashlib.sha256()).update(
|
| /linux/scripts/gdb/linux/ |
| H A D | bpf.py | 195 fileno = self.filenos.get(file_name_off) 196 if fileno is not None: 197 return fileno, None 199 fileno = len(self.filenos) + 1 200 self.filenos[file_name_off] = fileno 201 return fileno, file_name 232 fileno, file_name = linfo_iter.get_fileno() 235 fileno, json.dumps(file_name))) 237 src.write(".loc {} {} {}\n".format(fileno, line, col))
|
| /linux/tools/crypto/ccp/ |
| H A D | dbc.py | 37 ret = lib.get_nonce(device.fileno(), ctypes.byref(buf), signature) 48 ret = lib.set_uid(device.fileno(), new_uid, signature) 61 ret = lib.process_param(device.fileno(), message[0], ctypes.pointer(sig), ctypes.pointer(arg))
|
| /linux/tools/testing/selftests/mm/ |
| H A D | map_populate.c | 91 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main() 98 MAP_SHARED, fileno(ftmp), 0); in main() 124 return child_f(sock[0], smap, fileno(ftmp)); in main()
|
| H A D | gup_longterm.c | 331 fd = fileno(file); in run_with_tmpfile()
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | netns.py | 44 libc.setns(ns_file.fileno(), 0) 48 libc.setns(self.saved.fileno(), 0)
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_cs.h | 42 u16 fileno; member 46 u16 fileno; 104 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data); 107 __bfa_trc32(struct bfa_trc_mod_s *trcm, int fileno, int line, u32 data);
|
| /linux/tools/testing/selftests/turbostat/ |
| H A D | smi_aperf_mperf.py | 58 if len(pread(file_msr.fileno(), 8, MSR_IA32_MPERF)) != 8: 61 if len(pread(file_msr.fileno(), 8, MSR_IA32_APERF)) != 8:
|
| /linux/tools/include/nolibc/ |
| H A D | stdio.h | 87 int fileno(FILE *stream) in fileno() function 140 if (read(fileno(stream), &ch, 1) <= 0) in fgetc() 161 if (write(fileno(stream), &ch, 1) <= 0) in fputc() 182 int fd = fileno(stream); in _fwrite() 213 int fd = fileno(stream); 279 int fd = fileno(stream); in __nolibc_printf()
|
| /linux/tools/testing/selftests/devices/error_logs/ |
| H A D | test_device_error_logs.py | 42 os.set_blocking(f.fileno(), False)
|
| /linux/drivers/scsi/ |
| H A D | st.c | 2734 int fileno, blkno, at_sm, undone; in st_int_ioctl() local 2746 fileno = STps->drv_file; in st_int_ioctl() 2762 if (fileno >= 0) in st_int_ioctl() 2763 fileno += arg; in st_int_ioctl() 2778 if (fileno >= 0) in st_int_ioctl() 2779 fileno -= arg; in st_int_ioctl() 2814 blkno = fileno = (-1); in st_int_ioctl() 2827 blkno = fileno = (-1); in st_int_ioctl() 2860 if (fileno >= 0) in st_int_ioctl() 2861 fileno += arg; in st_int_ioctl() [all …]
|
| /linux/tools/perf/util/ |
| H A D | data.h | 76 return file->use_stdio ? fileno(file->fptr) : file->fd; in perf_data__fd()
|
| H A D | debug.c | 329 backtrace_symbols_fd(stackdump, stackdump_size, fileno(file)); in __dump_stack()
|
| /linux/scripts/clang-tools/ |
| H A D | run-clang-tools.py | 95 os.dup2(devnull, sys.stdout.fileno())
|
| /linux/scripts/ |
| H A D | diffconfig | 139 os.dup2(devnull, sys.stdout.fileno())
|
| /linux/samples/check-exec/ |
| H A D | inc.c | 88 err = sys_execveat(fileno(script), "", script_argv, envp, in interpret_stream()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | rss_input_xfrm.py | 20 fd_read_timeout(sock.fileno(), 5)
|
| H A D | tso.py | 22 outq = fcntl.ioctl(sock.fileno(), termios.TIOCOUTQ, one)
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | trace_helpers.c | 316 err = procmap_query(fileno(f), addr, PROCMAP_QUERY_VMA_EXECUTABLE, &start, &base, &flags); in get_uprobe_offset() 382 err = procmap_query(fileno(f), (const void *)addr, 0, &start, &offset, &flags); in get_rel_offset() 496 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in read_trace_pipe_iter()
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | base_device.py | 152 cls._pyudev_monitor.fileno(), cls._cls_udev_event_callback 267 fd = self.libevdev.fd.fileno()
|
| /linux/tools/testing/selftests/wireguard/qemu/ |
| H A D | init.c | 137 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arg_parsing.c | 147 if (!ASSERT_OK(fsync(fileno(fp)), "fsync tmp")) in test_parse_test_list_file()
|
| /linux/tools/perf/scripts/python/ |
| H A D | flamegraph.py | 225 with io.open(sys.stdout.fileno(), "w", encoding="utf-8", closefd=False) as out:
|
| /linux/tools/perf/ |
| H A D | perf.c | 356 if (fstat(fileno(stdout), &st)) in run_builtin()
|