Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/tools/testing/selftests/vm/
Dmap_populate.c84 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main()
88 MAP_SHARED, fileno(ftmp), 0); in main()
112 return child_f(sock[0], smap, fileno(ftmp)); in main()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_cs.h42 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);
Dbfa_core.c71 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data) in __bfa_trc() argument
79 trc->fileno = (u16) fileno; in __bfa_trc()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtrace_vprintk.c35 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_vprintk()
Dtrace_printk.c42 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_printk()
/linux-6.1.9/tools/perf/util/
Ddata.h74 return fileno(data->file.fptr); in perf_data__fd()
Dcolor.c48 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf()
/linux-6.1.9/drivers/scsi/
Dst.c2705 int fileno, blkno, at_sm, undone; in st_int_ioctl() local
2717 fileno = STps->drv_file; in st_int_ioctl()
2733 if (fileno >= 0) in st_int_ioctl()
2734 fileno += arg; in st_int_ioctl()
2749 if (fileno >= 0) in st_int_ioctl()
2750 fileno -= arg; in st_int_ioctl()
2785 blkno = fileno = (-1); in st_int_ioctl()
2798 blkno = fileno = (-1); in st_int_ioctl()
2831 if (fileno >= 0) in st_int_ioctl()
2832 fileno += arg; in st_int_ioctl()
[all …]
/linux-6.1.9/tools/perf/scripts/python/
Dflamegraph.py147 with io.open(sys.stdout.fileno(), "w", encoding="utf-8", closefd=False) as out:
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dkvm_clock_test.c153 if (fstat(fileno(fp), &st)) { in check_clocksource()
/linux-6.1.9/tools/testing/selftests/wireguard/qemu/
Dinit.c137 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests()
/linux-6.1.9/tools/perf/
Dperf.c332 if (fstat(fileno(stdout), &st)) in run_builtin()
Dbuiltin-kvm.c975 nr_stdin = evlist__add_pollfd(kvm->evlist, fileno(stdin)); in kvm_events_live_report()
979 if (fd_set_nonblock(fileno(stdin)) != 0) in kvm_events_live_report()
Dbuiltin-script.c363 fstat(fileno(es->fp), &st); in evsel_script__fprintf()
/linux-6.1.9/tools/testing/selftests/net/
Dnettest.c1230 nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1; in msg_loop()
1235 FD_SET(fileno(stdin), &rfds); in msg_loop()
1263 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop()
/linux-6.1.9/tools/perf/tests/shell/
Dtest_intel_pt.sh340 m = mmap(0, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, fileno(f), 0);
/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/
Daicasm.c589 if (isatty(fileno(stdin)) == 0) in output_listing()
/linux-6.1.9/scripts/
Dspdxcheck.py378 stdin = os.fdopen(sys.stdin.fileno(), 'rb')
Dunifdef.c332 fstat(fileno(input), &ist) == 0) in main()
/linux-6.1.9/tools/vm/
Dpage_owner_sort.c799 fstat(fileno(fin), &st); in main()
/linux-6.1.9/tools/tracing/latency/
Dlatency-collector.c315 fd_stdout = fileno(stdout); in open_stdout()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sockmap.c433 fp = fileno(file); in msg_loop_sendpage()
/linux-6.1.9/scripts/mod/
Dmodpost.c2143 if (fstat(fileno(file), &st) < 0) in write_if_changed()