Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dtrace_printk.c40 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in test_trace_printk()
/kernel/linux/linux-5.10/drivers/scsi/
Dst.c2706 int fileno, blkno, at_sm, undone; in st_int_ioctl() local
2718 fileno = STps->drv_file; in st_int_ioctl()
2734 if (fileno >= 0) in st_int_ioctl()
2735 fileno += arg; in st_int_ioctl()
2750 if (fileno >= 0) in st_int_ioctl()
2751 fileno -= arg; in st_int_ioctl()
2786 blkno = fileno = (-1); in st_int_ioctl()
2799 blkno = fileno = (-1); in st_int_ioctl()
2832 if (fileno >= 0) in st_int_ioctl()
2833 fileno += arg; in st_int_ioctl()
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dflamegraph.py97 with io.open(sys.stdout.fileno(), "w", encoding="utf-8", closefd=False) as out:
/kernel/linux/linux-5.10/tools/vm/
Dpage_owner_sort.c110 fstat(fileno(fin), &st); in main()
/kernel/linux/build/
Dkernel_build.py188 if fd == proc.stdout.fileno():
193 elif fd == proc.stderr.fileno():
/kernel/linux/linux-5.10/tools/perf/util/
Dcolor.c48 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf()
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/
Dinit.c142 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests()
/kernel/linux/linux-5.10/tools/perf/
Dperf.c322 if (fstat(fileno(stdout), &st)) in run_builtin()
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()
Dbuiltin-script.c331 fstat(fileno(es->fp), &st); in perf_evsel_script__fprintf()
/kernel/linux/linux-5.10/scripts/
Dspdxcheck.py263 stdin = os.fdopen(sys.stdin.fileno(), 'rb')
Dunifdef.c332 fstat(fileno(input), &ist) == 0) in main()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dnettest.c966 nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1; in msg_loop()
971 FD_SET(fileno(stdin), &rfds); in msg_loop()
999 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm.c589 if (isatty(fileno(stdin)) == 0) in output_listing()
/kernel/linux/linux-5.10/Documentation/kbuild/
Dkconfig-macro-language.rst100 zero argument for built-in functions, such as $(fileno), $(lineno). You could
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_sockmap.c433 fp = fileno(file); in msg_loop_sendpage()
/kernel/linux/linux-5.10/scripts/mod/
Dmodpost.c2406 if (fstat(fileno(file), &st) < 0) in write_if_changed()