Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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-v5.4/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 …]
/Linux-v5.4/tools/vm/
Dpage_owner_sort.c109 fstat(fileno(fin), &st); in main()
/Linux-v5.4/tools/perf/util/
Dcolor.c48 if (isatty(fileno(fp)) || pager_in_use()) in __color_vfprintf()
/Linux-v5.4/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.c301 fstat(fileno(es->fp), &st); in perf_evsel_script__fprintf()
/Linux-v5.4/tools/testing/selftests/net/
Dnettest.c946 nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1; in msg_loop()
951 FD_SET(fileno(stdin), &rfds); in msg_loop()
979 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop()
/Linux-v5.4/scripts/
Dspdxcheck.py260 stdin = os.fdopen(sys.stdin.fileno(), 'rb')
Dunifdef.c332 fstat(fileno(input), &ist) == 0) in main()
/Linux-v5.4/drivers/scsi/aic7xxx/aicasm/
Daicasm.c589 if (isatty(fileno(stdin)) == 0) in output_listing()
/Linux-v5.4/Documentation/kbuild/
Dkconfig-macro-language.rst100 zero argument for built-in functions, such as $(fileno), $(lineno). You could
/Linux-v5.4/scripts/mod/
Dmodpost.c2402 if (fstat(fileno(file), &st) < 0) in write_if_changed()