/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | cachefs_log.h | 182 ino64_t fileno; /* fileno */ member 194 ino64_t fileno; /* fileno */ member 206 ino64_t fileno; /* fileno */ member 218 ino64_t fileno; /* fileno */ member 228 ino64_t fileno; /* fileno */ member 238 ino64_t fileno; /* fileno */ member 249 ino64_t fileno; /* fileno */ member 261 ino64_t fileno; /* fileno */ member 271 ino64_t fileno; /* fileno */ member 281 ino64_t fileno; /* fileno */ member [all …]
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 477 if (lockfile(fileno(fp), F_RDLCK)) { in load_token_data() 482 set_perm(fileno(fp)); in load_token_data() 518 (void) lockfile(fileno(fp), F_UNLCK); in load_token_data() 566 if (lockfile(fileno(fp), F_WRLCK)) { in save_token_data() 571 set_perm(fileno(fp)); in save_token_data() 607 (void) lockfile(fileno(fp), F_UNLCK); in save_token_data() 643 if (lockfile(fileno(fp), F_RDLCK)) { in save_token_object() 647 set_perm(fileno(fp)); in save_token_object() 654 (void) lockfile(fileno(fp), F_UNLCK); in save_token_object() 660 (void) lockfile(fileno(fp), F_UNLCK); in save_token_object() [all …]
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_log.c | 832 fid_t *fidp, ino64_t fileno, uid_t uid, u_offset_t offset, size_t len) in cachefs_log_getpage() argument 852 record->fileno = fileno; in cachefs_log_getpage() 869 (! xdr_ino64(xdrs, &rec->fileno)) || in cachefs_xdr_getpage() 880 fid_t *fidp, ino64_t fileno, uid_t uid, u_offset_t offset, int eof) in cachefs_log_readdir() argument 900 record->fileno = fileno; in cachefs_log_readdir() 917 (! xdr_ino64(xdrs, &rec->fileno)) || in cachefs_xdr_readdir() 928 fid_t *fidp, ino64_t fileno, uid_t uid, size_t length) in cachefs_log_readlink() argument 948 record->fileno = fileno; in cachefs_log_readlink() 964 (! xdr_ino64(xdrs, &rec->fileno)) || in cachefs_xdr_readlink() 974 fid_t *fidp, ino64_t fileno, uid_t uid) in cachefs_log_remove() argument [all …]
|
/titanic_44/usr/src/cmd/ssh/ssh/ |
H A D | clientloop.c | 147 (void) fcntl(fileno(stdin), F_SETFL, 0); in leave_non_blocking() 159 (void) fcntl(fileno(stdin), F_SETFL, O_NONBLOCK); in enter_non_blocking() 344 len = read(fileno(stdin), buf, 1); in client_check_initial_eof_on_stdin() 434 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) in client_check_window_change() 502 FD_SET(fileno(stdin), *readsetp); in client_wait_until_can_do_something() 506 FD_SET(fileno(stdout), *writesetp); in client_wait_until_can_do_something() 508 FD_SET(fileno(stderr), *writesetp); in client_wait_until_can_do_something() 568 atomicio(write, fileno(stdout), buffer_ptr(bout), buffer_len(bout)); in client_suspend_self() 570 atomicio(write, fileno(stderr), buffer_ptr(berr), buffer_len(berr)); in client_suspend_self() 583 ioctl(fileno(stdin), TIOCGWINSZ, &oldws); in client_suspend_self() [all …]
|
H A D | sshtty.c | 65 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) in leave_raw_mode() 78 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode() 92 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) in enter_raw_mode()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/common/ |
H A D | stats_log.c | 412 (u_longlong_t *)&getpage.fileno)) || in stats_log_logfile_read() 439 (u_longlong_t *)&readdir.fileno)) || in stats_log_logfile_read() 466 (u_longlong_t *)&readlink.fileno)) || in stats_log_logfile_read() 492 (u_longlong_t *)&remove.fileno)) || in stats_log_logfile_read() 515 (! xdr_u_longlong_t(xdrs, (u_longlong_t *)&rmdir.fileno)) || in stats_log_logfile_read() 539 (u_longlong_t *)&truncate.fileno)) || in stats_log_logfile_read() 565 (u_longlong_t *)&putpage.fileno)) || in stats_log_logfile_read() 592 (u_longlong_t *)&create.fileno)) || in stats_log_logfile_read() 616 (! xdr_u_longlong_t(xdrs, (u_longlong_t *)&mkdir.fileno)) || in stats_log_logfile_read() 665 (u_longlong_t *)&symlink.fileno)) || in stats_log_logfile_read() [all …]
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 141 emlxs_msg_log(emlxs_port_t *port, const uint32_t fileno, const uint32_t line, in emlxs_msg_log() argument 173 (entry->fileno == fileno) && in emlxs_msg_log() 217 entry2->fileno = entry->fileno; in emlxs_msg_log() 247 entry->fileno = fileno; in emlxs_msg_log() 374 emlxs_msg_printf(emlxs_port_t *port, const uint32_t fileno, in emlxs_msg_printf() argument 408 if (emlxs_msg_log(port, fileno, line, msg, va_str)) { in emlxs_msg_printf() 456 "[%2X.%04X]%s:%7s:%4d: %s (%s)\n", fileno, in emlxs_msg_printf() 462 fileno, line, driver, level, msg->id, in emlxs_msg_printf() 468 "[%2X.%04X]%s:%7s:%4d: (%s)\n", fileno, in emlxs_msg_printf() 473 fileno, line, driver, level, msg->id); in emlxs_msg_printf() [all …]
|
/titanic_44/usr/src/cmd/fs.d/cachefs/fsck/ |
H A D | dlog_ck.c | 58 ino64_t fileno, maxlocalfileno; in dlog_ck() local 162 fileno = 0LL; in dlog_ck() 165 fileno = buf.dl_u.dl_create.dl_new_cid.cid_fileno; in dlog_ck() 174 fileno = buf.dl_u.dl_mkdir.dl_child_cid.cid_fileno; in dlog_ck() 179 fileno = buf.dl_u.dl_symlink.dl_child_cid.cid_fileno; in dlog_ck() 194 if (maxlocalfileno < fileno) in dlog_ck() 195 maxlocalfileno = fileno; in dlog_ck()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | getpass.c | 53 (void) tcsetattr(fileno(fi), TCSADRAIN, &termios_b); in intfix() 71 if (tcgetattr(fileno(fi), &termios_b) < 0) in mygetpass() 78 (void) tcsetattr(fileno(fi), TCSADRAIN, &termios_b); in mygetpass() 90 (void) tcsetattr(fileno(fi), TCSADRAIN, &termios_b); in mygetpass()
|
H A D | ftp.c | 806 if (fstat(fileno(fin), &st) < 0 || in sendrequest() 885 while ((c = read(fileno(fin), buf, FTPBUFSIZ)) > 0) { in sendrequest() 886 if ((d = WRITE(fileno(dout), buf, c)) < 0) in sendrequest() 907 d = secure_flush(fileno(dout)); in sendrequest() 951 d = secure_flush(fileno(dout)); in sendrequest() 964 int dfn = fileno(dout); in sendrequest() 965 int nfds = fileno(ctrl_in); in sendrequest() 1227 lseek(fileno(fout), restart_point, SEEK_SET) < 0) { in recvrequest() 1232 infd = fileno(din); in recvrequest() 1235 d = write(fileno(fout), &buf[n], c - n); in recvrequest() [all …]
|
/titanic_44/usr/src/lib/libast/common/stdio/ |
H A D | fileno.c | 28 NoN(fileno) 32 #undef fileno 35 fileno(Sfio_t* f)
|
/titanic_44/usr/src/cmd/oamuser/group/ |
H A D | add_group.c | 57 if (fstat(fileno(etcgrp), &sb) < 0) { 71 if (fchmod(fileno(etctmp), sb.st_mode) != 0 || 72 fchown(fileno(etctmp), sb.st_uid, sb.st_gid) != 0 || 73 lockf(fileno(etctmp), F_LOCK, 0) != 0) {
|
/titanic_44/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 102 if (isatty(fileno(stdin))) { in open_input_file() 110 ifp = new AudioRawPipe(fileno(stdin), in open_input_file() 114 ifp = new AudioPipe(fileno(stdin), (FileAccess)ReadOnly, in open_input_file() 231 if (isatty(fileno(stdout))) { in create_output_file() 239 if (!(ofp = new AudioRawPipe(fileno(stdout), in create_output_file() 247 if (!(ofp = new AudioPipe(fileno(stdout), in create_output_file()
|
/titanic_44/usr/src/lib/efcode/engine/ |
H A D | signal.c | 60 ioctl(fileno(stdin), TCSETA, &saved_termio); in process_signal() 65 ioctl(fileno(stdin), TCSETA, &saved_termio); in process_signal() 78 ioctl(fileno(stdin), TCGETA, &saved_termio); in install_handlers()
|
/titanic_44/usr/src/cmd/tail/ |
H A D | forward.c | 200 map.fd = fileno(fp); in rlines() 279 fileno(file->fp), POLLIN, file); in associate() 282 fileno(file->fp)); in associate() 310 sizeof (buf), "/proc/self/fd/%d", fileno(file->fp)); in associate() 375 (void) fstat(fileno(file->fp), &file->st); in set_events() 408 if (Fflag && fileno(file->fp) != STDIN_FILENO) in follow() 431 fstat(fileno(file->fp), &file->st) in follow() 440 if (fileno(file->fp) == STDIN_FILENO) in follow()
|
H A D | tail.c | 170 fstat(fileno(file->fp), &file->st)) { in main() 187 fstat(fileno(fp), &sb)) { in main() 206 if (fstat(fileno(stdin), &sb)) { in main() 215 if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 && in main()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | getpass.c | 74 (void) ioctl(fileno(fi), TCGETS, &ttyb); in getpass() 77 (void) ioctl(fileno(fi), TCSETSF, &ttyb); in getpass() 87 (void) ioctl(fileno(fi), TCSETSW, &ttyb); in getpass()
|
/titanic_44/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fseek.c | 56 long curpos = lseek(fileno(iop), 0L, 1); 78 p = lseek(fileno(iop), offset-resync, ptrname); 90 return(lseek(fileno(iop), offset, ptrname) == -1 || p == EOF ?
|
/titanic_44/usr/src/cmd/mailx/ |
H A D | tty.c | 315 if (ioctl(fileno(stdout), TCGETA, &savtty) < 0) in savetty() 325 Out = fileno(stdout); in savetty() 483 if (gtty(fileno(stdin), &ttybuf) < 0) { in grabh() 499 ttyset++, stty(fileno(stdin), &ttybuf); in grabh() 508 ttyset++, stty(fileno(stdin), &ttybuf); in grabh() 517 ttyset++, stty(fileno(stdin), &ttybuf); in grabh() 526 ttyset++, stty(fileno(stdin), &ttybuf); in grabh() 535 ttyset++, stty(fileno(stdin), &ttybuf); in grabh() 548 stty(fileno(stdin), &ttybuf); in grabh()
|
/titanic_44/usr/src/lib/libc/port/stdio/ |
H A D | fileno.c | 32 #pragma weak _fileno = fileno 44 fileno(FILE *iop) in fileno() function
|
H A D | getpass.c | 92 (void) ioctl(fileno(fi), TCGETA, &ttyb); in __getpass() 95 (void) ioctl(fileno(fi), TCSETAF, &ttyb); in __getpass() 108 (void) ioctl(fileno(fi), TCSETAW, &ttyb); in __getpass()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_maptbl.c | 232 ino64_t fileno; in maptbl_cidhashaddr() local 252 fileno = *pa; in maptbl_cidhashaddr() 255 if (fileno == cid.cid_fileno) { in maptbl_cidhashaddr() 262 if (fileno == 0) { in maptbl_cidhashaddr() 282 fileno = *pa; in maptbl_cidhashaddr() 285 if (fileno == cid.cid_fileno) { in maptbl_cidhashaddr() 292 if (fileno == 0) { in maptbl_cidhashaddr()
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | newscreen.c | 96 fileno(outfptr), infptr, fileno(infptr), isatty(2), in newscreen() 103 if (setupterm(type, fileno(outfptr), &retcode) != 0) in newscreen() 142 (void) typeahead(fileno(infptr)); in newscreen() 143 (void) tinputfd(fileno(infptr)); in newscreen()
|
/titanic_44/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | flsbuf.c | 78 if(close(fileno(iop)) < 0) in fclose() 141 if (write(fileno(iop), (char *) &c1, 1) == 1) in _flsbuf() 188 if (n > 0 && n != write(fileno(iop),(char*)base,(unsigned)n) ) { in _xflsbuf() 229 int fno = fileno(iop); /* file number */ in _findbuf()
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | eio.c | 152 fd1 = fileno(fp1); 238 fd2 = fileno( fp2 ); 242 if (write(fileno(fp2), erdptr, Erdlen) != Erdlen) 381 fstat(fileno(fp1), &statbuf); 383 while ((len = read(fileno(fp1), bufr.t_data, TBUFSIZE)) > 0) { 439 if (write(fileno(fp2), bufr, len) != len)
|