/illumos-gate/usr/src/stand/sys/ |
H A D | bootvfs.h | 59 off_t (*fsw_lseek)(int filefd, off_t addr, int whence); 60 int (*fsw_fstat)(int filefd, struct bootstat *buf); 76 extern off_t lseek(int filefd, off_t addr, int whence);
|
/illumos-gate/usr/src/test/os-tests/tests/portfs/ |
H A D | file_assoc.c | 95 fa_run_test(int portfd, int filefd, fa_test_t *test) in fa_run_test() argument 111 if (fstat(filefd, &st) != 0) { in fa_run_test() 147 if (fstat(filefd, &st) != 0) { in fa_run_test() 154 if (write(filefd, &data, sizeof (data)) < 0) { in fa_run_test()
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | bootvfs.h | 56 off_t (*fsw_lseek)(int filefd, off_t addr, int whence); 57 int (*fsw_fstat)(int filefd, struct bootstat *buf); 102 extern off_t lseek(int filefd, off_t addr, int whence);
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | fsswitch.c | 208 lseek(int filefd, off_t addr, int whence) in lseek() argument 211 return ((*dfl_fsw->fsw_lseek)(filefd, addr, whence)); in lseek() 237 kern_lseek(int filefd, off_t hi, off_t lo) in kern_lseek() argument 240 return ((*dfl_fsw->fsw_lseek)(filefd, lo, 0)); in kern_lseek()
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 128 int filefd, bytes, n, total = 0; in send_ocsp_request() local 137 if ((filefd = open(reqfile, O_RDONLY)) == -1) { in send_ocsp_request() 143 if (fstat(filefd, &s) < 0) { in send_ocsp_request() 164 while ((bytes = read(filefd, buf, OCSP_BUFSIZE)) > 0) { in send_ocsp_request() 174 (void) close(filefd); in send_ocsp_request() 214 get_encoded_response(int sock, KMF_RESPONSE_TYPE resptype, int filefd, in get_encoded_response() argument 469 if (looping_write(filefd, buf, offset) != offset) { in get_encoded_response() 574 unsigned int maxsecs, int filefd) in download_file() argument 585 if (uri == NULL || filefd == -1) in download_file() 643 ret = get_encoded_response(sock, KMF_RESPONSE_FILE, filefd, in download_file()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | maps.c | 213 int filefd = -1; in load_map() local 235 filefd = open(procname, O_RDONLY); in load_map() 242 if (filefd == -1) { in load_map() 248 if ((elf = elf_begin(filefd, ELF_C_READ, 0)) == NULL) { in load_map() 261 mp->mi_mapfd = filefd; in load_map()
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | main.c | 51 int filefd, symnum, ansfd; variable
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 8254 int filefd; in xattrs_out() local 8286 int filefd; in xattrs_out() local 8294 if ((filefd = open(filename, O_RDONLY)) == -1) { in xattrs_out() 8306 if (((slist = sysattr_list(myname, filefd, in xattrs_out() 8314 (void) close(filefd); in xattrs_out() 8452 filefd = openat(Gen.g_dirfd, dp->d_name, O_RDONLY); in xattrs_out() 8453 if (filefd == -1) { in xattrs_out() 8460 if (facl_get(filefd, ACL_NO_TRIVIAL, &aclp) != 0) { in xattrs_out() 8465 (void) close(filefd); in xattrs_out() 9334 int filefd; in preview_attrs() local [all …]
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 7875 int filefd; in xattrs_put() local 7880 if ((filefd = open(filename, O_RDONLY)) == -1) { in xattrs_put() 7887 if (((slist = sysattr_list(basename(myname), filefd, in xattrs_put() 7895 (void) close(filefd); in xattrs_put()
|