Searched refs:fileno (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/tools/crypto/ccp/
H A Ddbc.py37 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-master/tools/testing/selftests/mm/
H A Dmap_populate.c89 ret = ftruncate(fileno(ftmp), MMAP_SZ);
93 MAP_SHARED, fileno(ftmp), 0);
119 return child_f(sock[0], smap, fileno(ftmp));
H A Dgup_longterm.c265 fd = fileno(file);
267 ksft_test_result_fail("fileno() failed\n");
H A Dcow.c404 fd = fileno(file);
1582 fd = fileno(file);
1584 ksft_test_result_skip("fileno() failed\n");
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_printk.c46 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
H A Dtrace_vprintk.c39 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
/linux-master/tools/include/nolibc/
H A Dstdio.h54 int fileno(FILE *stream) function
107 if (read(fileno(stream), &ch, 1) <= 0)
128 if (write(fileno(stream), &ch, 1) <= 0)
149 int fd = fileno(stream);
/linux-master/drivers/scsi/bfa/
H A Dbfa_cs.h42 u16 fileno; member in struct:bfa_trc_s
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);
H A Dbfa_core.c71 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data) argument
79 trc->fileno = (u16) fileno;
/linux-master/scripts/clang-tools/
H A Drun-clang-tools.py95 os.dup2(devnull, sys.stdout.fileno())
/linux-master/tools/perf/util/
H A Ddata.h74 return fileno(data->file.fptr);
H A Dcolor.c48 if (isatty(fileno(fp)) || pager_in_use())
/linux-master/scripts/
H A Ddiffconfig139 os.dup2(devnull, sys.stdout.fileno())
H A Dcheckkconfigsymbols.py477 os.dup2(devnull, sys.stdout.fileno())
H A Dspdxcheck.py378 stdin = os.fdopen(sys.stdin.fileno(), 'rb')
H A Dunifdef.c332 fstat(fileno(input), &ist) == 0)
/linux-master/drivers/scsi/
H A Dst.c2718 int fileno, blkno, at_sm, undone;
2730 fileno = STps->drv_file;
2746 if (fileno >= 0)
2747 fileno += arg;
2762 if (fileno >= 0)
2763 fileno -= arg;
2798 blkno = fileno = (-1);
2811 blkno = fileno = (-1);
2844 if (fileno >= 0)
2845 fileno
2707 int fileno, blkno, at_sm, undone; local
[all...]
/linux-master/tools/testing/selftests/wireguard/qemu/
H A Dinit.c137 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0)
/linux-master/tools/perf/scripts/python/
H A Dflamegraph.py206 with io.open(sys.stdout.fileno(), "w", encoding="utf-8", closefd=False) as out:
/linux-master/tools/perf/
H A Dperf.c358 if (fstat(fileno(stdout), &st))
H A Dbuiltin-kvm.c1495 nr_stdin = evlist__add_pollfd(kvm->evlist, fileno(stdin));
1499 if (fd_set_nonblock(fileno(stdin)) != 0)
/linux-master/tools/testing/selftests/kvm/lib/
H A Dtest_util.c407 TEST_ASSERT(!fstat(fileno(fp), &st), "failed to stat clocksource file, errno: %d",
/linux-master/tools/testing/selftests/net/
H A Dnettest.c1275 nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1;
1280 FD_SET(fileno(stdin), &rfds);
1308 if (FD_ISSET(fileno(stdin), &rfds)) {
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c589 if (isatty(fileno(stdin)) == 0)
/linux-master/tools/perf/tests/shell/
H A Dtest_intel_pt.sh341 m = mmap(0, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, fileno(f), 0);

Completed in 295 milliseconds

12