Home
last modified time | relevance | path

Searched refs:fd (Results 1926 – 1950 of 2080) sorted by relevance

1...<<71727374757677787980>>...84

/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_am.c51 dbp->fd = __db_fd;
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c461 if (svc_pollfd[i].fd >= 0)
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c2957 caddr_t fd; in fdformat() local
3021 DDI_DMA_DONTWAIT, 0, &fd, &real_length, in fdformat()
3030 if (fdstart_dma(fdc, fd, csb->csb_len) != 0) { in fdformat()
3040 fd = kmem_zalloc(csb->csb_len, KM_SLEEP); in fdformat()
3041 fmthdrs = (uchar_t *)fd; in fdformat()
3044 csb->csb_addr = (caddr_t)fd; in fdformat()
3047 *fd++ = (uchar_t)cyl; /* cylinder */ in fdformat()
3048 *fd++ = (uchar_t)hd; /* head */ in fdformat()
3049 *fd++ = (uchar_t)i; /* sector number */ in fdformat()
3050 *fd++ = ch->fdc_medium ? 3 : 2; /* sec_size code */ in fdformat()
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.S232 #define fd(x) [[f8(x)] ^ [f4(x)] ^ [x]] macro
238 #define v8(x) [fe(x)], [f9(x)], [fd(x)], [fb(x)], [fe(x)], [f9(x)], [fd(x)], [x]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A DRELEASE35 10-04-01 stty.c: add --fd=fd option
53 09-09-09 fds.c: add --unit=fd
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt.c674 adt_load_termid(int fd, adt_termid_t **termid) in adt_load_termid() argument
684 if (getpeername(fd, (struct sockaddr *)&peer, (socklen_t *)&peerlen) in adt_load_termid()
697 if (getsockname(fd, (struct sockaddr *)&sock, in adt_load_termid()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c4616 int fd = -1; in OpenSSL_CreateSymKey() local
4661 fd = open(fullpath, O_CREAT|O_TRUNC|O_RDWR, 0400); in OpenSSL_CreateSymKey()
4662 if (fd == -1) { in OpenSSL_CreateSymKey()
4729 (void) write(fd, (const void *) rkey->keydata.val, rkey->keydata.len); in OpenSSL_CreateSymKey()
4738 if (fd != -1) in OpenSSL_CreateSymKey()
4739 (void) close(fd); in OpenSSL_CreateSymKey()
4857 int fd; in test_for_file() local
4863 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode); in test_for_file()
4864 if (fd == -1 && errno == EEXIST) in test_for_file()
4866 else if (fd == -1) /* some other error */ in test_for_file()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c6787 int fd; local
6789 fd = keyf->f_file;
6790 if (fd >= 0 && fchown(fd, RunAsUid, -1) < 0)
8484 int fd; local
8523 fd = open(tempqf, flags, QueueFileMode);
8528 if (fd < 0)
8538 if (!lockfile(fd, tempqf, NULL, LOCK_EX|LOCK_NB))
8543 (void) close(fd);
8548 tempqfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT, (void *) &fd,
8555 (void) close(fd);
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c276 int fd = -1; in elfexec() local
766 if ((error = execopen(&vp, &fd)) != 0) { in elfexec()
771 ADDAUX(aux, AT_EXECFD, fd) in elfexec()
1043 if (fd != -1) /* did we open the a.out yet */ in elfexec()
1044 (void) execclose(fd); in elfexec()
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c2143 open_ffb_device(picl_nodehdl_t ffbh, int *fd) in open_ffb_device() argument
2194 *fd = tmpfd; in open_ffb_device()
2215 int fd; in add_ffb_config_info() local
2234 err = open_ffb_device(nodeh, &fd); in add_ffb_config_info()
2236 (ioctl(fd, FFB_SYS_INFO, &fsi) >= 0)) { in add_ffb_config_info()
2266 (void) close(fd); in add_ffb_config_info()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c421 int fd; in check_nscd_proc() local
424 if ((fd = open(fname, O_RDONLY)) >= 0) { in check_nscd_proc()
425 ret = read(fd, &pinfo, sizeof (psinfo_t)); in check_nscd_proc()
426 (void) close(fd); in check_nscd_proc()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c147 Close(int *fd) in Close() argument
149 if (*fd != -1) { in Close()
150 (void) close(*fd); in Close()
151 *fd = -1; in Close()
/illumos-gate/usr/src/cmd/ps/
H A Dps.c1760 int fd; in print_field() local
1764 (fd = open(path, O_RDONLY)) != -1) { in print_field()
1765 (void) read(fd, lwpname, sizeof (lwpname)); in print_field()
1767 (void) close(fd); in print_field()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c320 lockfile(int fd, int op) in lockfile() argument
323 return (fcntl(fd, F_SETLKW, &fl)); in lockfile()
/illumos-gate/usr/src/cmd/smbsrv/smbstat/
H A Dsmbstat.c1143 smbstat_usage(FILE *fd, int exit_code) in smbstat_usage() argument
1145 (void) fprintf(fd, gettext(SMBSTAT_HELP)); in smbstat_usage()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddns_sd.h2755 int fd,
/illumos-gate/usr/src/boot/libsa/
H A Dstand.h292 extern int fgetstr(char *buf, int size, int fd);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.c872 find_file_section(FILE *fd, char *start) in find_file_section() argument
879 (void) fseek(fd, 0, SEEK_SET); in find_file_section()
880 while ((ret = fgets(buf, BUFSZ, fd)) != NULL) { in find_file_section()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dtrans.test789 set fd [open test.tcl w]
790 puts $fd {
800 close $fd
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c8004 is_tape(int fd) in is_tape() argument
8012 if (ioctl(fd, MTIOCGET, &stuff) != -1) { in is_tape()
8024 is_floppy(int fd) in is_floppy() argument
8032 if (ioctl(fd, FDIOGCHAR, &stuff) != -1) { in is_floppy()
8918 int fd = -1; in open_dir() local
8929 fd = open(dir, O_RDONLY); in open_dir()
8930 if (fd != -1) { in open_dir()
8932 return (fd); in open_dir()
9703 openat64(int fd, char *name, int oflag, mode_t cmode) in openat64() argument
9709 openat(int fd, char *name, int oflag, mode_t cmode) in openat() argument
[all …]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c275 int fd; in lpsched_printer_configuration_to_attributes() local
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfsetbuf.c56 #define sysfstatf(fd,st) (-1) argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_time.c536 pfd.fd = rtime_fd; in __rpc_get_time_offset()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c266 if (fcntl((*pvt->dbh->fd)(pvt->dbh), F_SETFD, 1) < 0) { in sv_rewind()
/illumos-gate/usr/src/uts/intel/
H A DMakefile.files139 FD_OBJS += fd.o

1...<<71727374757677787980>>...84