Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/vm/
A 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/drivers/scsi/bfa/
A 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);
A 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/drivers/scsi/
A Dst.c2714 fileno = STps->drv_file; in st_int_ioctl()
2730 if (fileno >= 0) in st_int_ioctl()
2731 fileno += arg; in st_int_ioctl()
2746 if (fileno >= 0) in st_int_ioctl()
2747 fileno -= arg; in st_int_ioctl()
2828 if (fileno >= 0) in st_int_ioctl()
2829 fileno += arg; in st_int_ioctl()
2867 fileno = (-1); in st_int_ioctl()
3021 if (fileno >= 0) in st_int_ioctl()
3022 fileno -= undone; in st_int_ioctl()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtrace_vprintk.c35 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_vprintk()
A Dtrace_printk.c42 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_printk()
/linux/tools/perf/util/
A Ddata.h72 return fileno(data->file.fptr); in perf_data__fd()
A Dcolor.c48 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf()
/linux/tools/testing/selftests/kvm/x86_64/
A Dkvm_clock_test.c158 if (fstat(fileno(fp), &st)) { in check_clocksource()
/linux/tools/perf/scripts/python/
A Dflamegraph.py147 with io.open(sys.stdout.fileno(), "w", encoding="utf-8", closefd=False) as out:
/linux/tools/testing/selftests/wireguard/qemu/
A Dinit.c142 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests()
/linux/tools/vm/
A Dpage_owner_sort.c180 fstat(fileno(fin), &st); in main()
/linux/tools/perf/
A Dperf.c323 if (fstat(fileno(stdout), &st)) in run_builtin()
A Dbuiltin-kvm.c974 nr_stdin = evlist__add_pollfd(kvm->evlist, fileno(stdin)); in kvm_events_live_report()
978 if (fd_set_nonblock(fileno(stdin)) != 0) in kvm_events_live_report()
A Dbuiltin-script.c356 fstat(fileno(es->fp), &st); in evsel_script__fprintf()
/linux/scripts/
A Dspdxcheck.py263 stdin = os.fdopen(sys.stdin.fileno(), 'rb')
A Dunifdef.c332 fstat(fileno(input), &ist) == 0) in main()
/linux/tools/testing/selftests/net/
A Dnettest.c1198 nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1; in msg_loop()
1203 FD_SET(fileno(stdin), &rfds); in msg_loop()
1231 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop()
/linux/drivers/scsi/aic7xxx/aicasm/
A Daicasm.c589 if (isatty(fileno(stdin)) == 0) in output_listing()
/linux/scripts/kconfig/
A Dlexer.lex.c2409 while ( (result = (int) read( fileno(yyin), buf, (yy_size_t) max_size )) < 0 ) \
/linux/tools/tracing/latency/
A Dlatency-collector.c315 fd_stdout = fileno(stdout); in open_stdout()
/linux/tools/testing/selftests/bpf/
A Dtest_sockmap.c434 fp = fileno(file); in msg_loop_sendpage()
/linux/scripts/mod/
A Dmodpost.c2364 if (fstat(fileno(file), &st) < 0) in write_if_changed()

Completed in 77 milliseconds