Home
last modified time | relevance | path

Searched refs:filefd (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/stand/sys/
H A Dbootvfs.h59 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);
/titanic_50/usr/src/uts/intel/sys/
H A Dbootvfs.h56 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);
/titanic_50/usr/src/stand/lib/fs/common/
H A Dfsswitch.c208 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()
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c130 int filefd, bytes, n, total = 0; in send_ocsp_request() local
139 if ((filefd = open(reqfile, O_RDONLY)) == -1) { in send_ocsp_request()
145 if (fstat(filefd, &s) < 0) { in send_ocsp_request()
166 while ((bytes = read(filefd, buf, OCSP_BUFSIZE)) > 0) { in send_ocsp_request()
176 (void) close(filefd); in send_ocsp_request()
216 get_encoded_response(int sock, KMF_RESPONSE_TYPE resptype, int filefd, in get_encoded_response() argument
471 if (looping_write(filefd, buf, offset) != offset) { in get_encoded_response()
576 unsigned int maxsecs, int filefd) in download_file() argument
587 if (uri == NULL || filefd == -1) in download_file()
645 ret = get_encoded_response(sock, KMF_RESPONSE_FILE, filefd, in download_file()
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c213 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()
/titanic_50/usr/src/cmd/oawk/
H A Dmain.c53 int filefd, symnum, ansfd; variable
/titanic_50/usr/src/cmd/cpio/
H A Dcpio.c8236 int filefd; in xattrs_out() local
8268 int filefd; in xattrs_out() local
8276 if ((filefd = open(filename, O_RDONLY)) == -1) { in xattrs_out()
8288 if (((slist = sysattr_list(myname, filefd, in xattrs_out()
8296 (void) close(filefd); in xattrs_out()
8434 filefd = openat(Gen.g_dirfd, dp->d_name, O_RDONLY); in xattrs_out()
8435 if (filefd == -1) { in xattrs_out()
8442 if (facl_get(filefd, ACL_NO_TRIVIAL, &aclp) != 0) { in xattrs_out()
8447 (void) close(filefd); in xattrs_out()
9316 int filefd; in preview_attrs() local
[all …]
/titanic_50/usr/src/cmd/tar/
H A Dtar.c7860 int filefd; in xattrs_put() local
7865 if ((filefd = open(filename, O_RDONLY)) == -1) { in xattrs_put()
7872 if (((slist = sysattr_list(basename(myname), filefd, in xattrs_put()
7880 (void) close(filefd); in xattrs_put()