fileno
if (isatty(fileno(stdin)) == 0)
__bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data)
trc->fileno = (u16) fileno;
__bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data);
__bfa_trc32(struct bfa_trc_mod_s *trcm, int fileno, int line, u32 data);
u16 fileno;
u16 fileno;
int fileno, blkno, at_sm, undone;
fileno = STps->drv_file;
if (fileno >= 0)
fileno += arg;
if (fileno >= 0)
fileno -= arg;
blkno = fileno = (-1);
blkno = fileno = (-1);
if (fileno >= 0)
fileno += arg;
fileno = blkno = at_sm = 0;
fileno = blkno = at_sm = 0;
fileno = STps->drv_file;
fileno = (-1);
STps->drv_file = fileno;
if (fileno >= 0)
fileno -= undone;
STps->drv_file = fileno;
if (fileno >= 0)
STps->drv_file = fileno - undone;
STps->drv_file = fileno;
STps->drv_file = fileno + undone;
err = sys_execveat(fileno(script), "", script_argv, envp,
if (fstat(fileno(file), &st) < 0)
fstat(fileno(input), &ist) == 0)
if (read(fileno(stream), &ch, 1) <= 0)
if (write(fileno(stream), &ch, 1) <= 0)
int fd = fileno(stream);
int fd = fileno(stream);
int fd = fileno(stream);
fstat(fileno(fin), &st);
nr_stdin = evlist__add_pollfd(kvm->evlist, fileno(stdin));
if (fd_set_nonblock(fileno(stdin)) != 0)
fstat(fileno(es->fp), &st);
if (stat_config.interval_clear && !isatty(fileno(output))) {
if (fstat(fileno(stdout), &st))
if (isatty(fileno(fp)) || pager_in_use())
return fileno(data->file.fptr);
backtrace_symbols_fd(stackdump, stackdump_size, fileno(file));
fp = fileno(file);
if (!ASSERT_OK(fsync(fileno(fp)), "fsync tmp"))
fp = fileno(file);
err = procmap_query(fileno(f), addr, PROCMAP_QUERY_VMA_EXECUTABLE, &start, &base, &flags);
err = procmap_query(fileno(f), (const void *)addr, 0, &start, &offset, &flags);
fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
TEST_ASSERT(!fstat(fileno(fp), &st), "failed to stat clocksource file, errno: %d",
fd = fileno(file);
fd = fileno(file);
fd = fileno(file);
return child_f(sock[0], smap, fileno(ftmp));
ret = ftruncate(fileno(ftmp), MMAP_SZ);
MAP_SHARED, fileno(ftmp), 0);
nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1;
FD_SET(fileno(stdin), &rfds);
if (FD_ISSET(fileno(stdin), &rfds)) {
if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0)
fd_stdout = fileno(stdout);