Home
last modified time | relevance | path

Searched refs:fdes (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/tools/test/stress2/misc/
H A Doverlap.sh85 int fdes, count;
89 if ((fdes = open(file, O_RDWR|O_CREAT, 0664)) == -1)
95 while ((nwrite = pwrite(fdes, buf, siz, 0)) != -1) {
107 int fdes, count;
111 if ((fdes = open(file, O_RDWR|O_CREAT, 0664)) == -1)
116 while ((nread = pread(fdes, buf, siz, 0)) == 0)
128 } while ((nread = pread(fdes, buf, siz, 0)) != -1);
/freebsd/include/ssp/
H A Dsocket.h51 (int fdes, struct sockaddr *__restrict name, socklen_t *__restrict namelen))
58 return (__ssp_real(getpeername)(fdes, name, namelen));
62 (int fdes, struct sockaddr *__restrict name,
70 return (__ssp_real(getsockname)(fdes, name, namelen));
/freebsd/libexec/ftpd/
H A Dpopen.c173 int fdes, omask, status; in ftpd_pclose() local
180 if (pids == NULL || pids[fdes = fileno(iop)] == 0) in ftpd_pclose()
184 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR) in ftpd_pclose()
187 pids[fdes] = 0; in ftpd_pclose()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c211 int fdes, status; in ftpd_pclose() local
219 if (pids == 0 || pids[fdes = fileno(iop)] == 0) in ftpd_pclose()
227 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR) in ftpd_pclose()
230 pids[fdes] = 0; in ftpd_pclose()
/freebsd/usr.sbin/cron/cron/
H A Dpopen.c218 int fdes; in cron_pclose() local
227 if (pids == 0 || pids[fdes = fileno(iop)] == 0) in cron_pclose()
231 while ((pid = wait(&stat_loc)) != pids[fdes] && pid != -1) in cron_pclose()
234 pids[fdes] = 0; in cron_pclose()
/freebsd/usr.bin/at/
H A Dat.c214 int fdes, lockdes, fd2; in writefile() local
283 if ((fdes = creat(atfile, O_WRONLY)) == -1) in writefile()
286 if ((fd2 = dup(fdes)) <0) in writefile()
312 if((fp = fdopen(fdes, "w")) == NULL) in writefile()
/freebsd/sys/kern/
H A Duipc_syscalls.c1328 user_getsockname(struct thread *td, int fdes, struct sockaddr *asa, in user_getsockname()
1339 error = kern_getsockname(td, fdes, (struct sockaddr *)&ss); in user_getsockname()
1380 return (user_getsockname(td, uap->fdes, uap->asa, uap->alen, false)); in ogetsockname()
1387 return (user_getsockname(td, uap->fdes, uap->asa, uap->alen, true)); in user_getpeername() argument
1392 user_getpeername(struct thread *td, int fdes, struct sockaddr *asa, in user_getpeername()
1403 error = kern_getpeername(td, fdes, (struct sockaddr *)&ss); in user_getpeername()
1449 return (user_getpeername(td, uap->fdes, uap->asa, uap->alen, false)); in ogetpeername()
1456 return (user_getpeername(td, uap->fdes, uap->asa, uap->alen, true)); in sockargs()
1323 user_getsockname(struct thread * td,int fdes,struct sockaddr * asa,socklen_t * alen,bool compat) user_getsockname() argument
H A Dsystrace_args.c221 iarg[a++] = p->fdes; /* int */ in systrace_args()
230 iarg[a++] = p->fdes; /* int */ in systrace_args()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h196 #define __sanitizer_syscall_pre_getpeername(fdes, asa, alen) \ argument
198 (long long)(fdes), (long long)(asa), (long long)(alen))
199 #define __sanitizer_syscall_post_getpeername(res, fdes, asa, alen) \ argument
201 res, (long long)(fdes), (long long)(asa), (long long)(alen))
202 #define __sanitizer_syscall_pre_getsockname(fdes, asa, alen) \ argument
204 (long long)(fdes), (long long)(asa), (long long)(alen))
205 #define __sanitizer_syscall_post_getsockname(res, fdes, asa, alen) \ argument
207 res, (long long)(fdes), (long long)(asa), (long long)(alen))
743 #define __sanitizer_syscall_pre_compat_43_ogetpeername(fdes, asa, alen) \ argument
745 (long long)(fdes), (long long)(asa), (long long)(alen))
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DUnwindInfoSection.cpp216 FDE &fde = cast<ObjFile>(d->getFile())->fdes[d->unwindEntry()]; in prepare()
374 const FDE &fde = cast<ObjFile>(d->getFile())->fdes[d->unwindEntry()]; in relocateCompactUnwind()
H A DInputFiles.h186 llvm::DenseMap<ConcatInputSection *, FDE> fdes;
179 llvm::DenseMap<ConcatInputSection *, FDE> fdes; global() variable
H A DInputFiles.cpp1510 fdes[isec] = {funcLength, cie.personalitySymbol, lsdaIsec}; in registerEhFrames()
/freebsd/contrib/llvm-project/lld/ELF/
H A DRelocations.cpp423 fdes = eh->fdes; in OffsetGetter()
425 j = fdes.begin(); in OffsetGetter()
436 while (j != fdes.end() && j->inputOff <= off) in get()
439 if (j == fdes.begin() || j[-1].inputOff + j[-1].size <= off) { in get()
454 ArrayRef<EhSectionPiece> cies, fdes; member in __anon400d48340111::OffsetGetter
H A DMapFile.cpp135 for (const EhSectionPiece *fde : rec->fdes) in printEhFrame()
H A DMarkLive.cpp155 for (const EhSectionPiece &fde : eh.fdes) { in scanEhFrameSection()
H A DInputSection.cpp1330 (id == 0 ? cies : fdes).emplace_back(off, this, size, firstRel); in split()
1341 fdes, [=](EhSectionPiece p) { return p.inputOff <= offset; }); in getParentOffset()
1342 if (it == fdes.begin() || it[-1].inputOff + it[-1].size <= offset) { in getParentOffset()
H A DSyntheticSections.cpp441 for (EhSectionPiece &fde : sec->fdes) { in addRecords()
449 rec->fdes.push_back(&fde); in addRecords()
475 for (EhSectionPiece &fde : sec.fdes) { in iterateFDEWithLSDAAux()
537 for (EhSectionPiece *fde : rec->fdes) { in finalizeContents()
562 for (EhSectionPiece *fde : rec->fdes) { in getFdeData()
630 for (EhSectionPiece *fde : rec->fdes) { in writeTo()
3636 SmallVector<FdeData, 0> fdes = getPartition().ehFrame->getFdeData(); in write() local
3644 write32(buf + 8, fdes.size()); in write()
3647 for (FdeData &fde : fdes) { in write()
H A DInputSection.h387 SmallVector<EhSectionPiece, 0> cies, fdes; variable
H A DSyntheticSections.h47 SmallVector<EhSectionPiece *, 0> fdes; member
/freebsd/lib/libsys/
H A D_libsys.h492 int __sys_getpeername(int fdes, struct sockaddr * asa, __socklen_t * alen);
493 int __sys_getsockname(int fdes, struct sockaddr * asa, __socklen_t * alen);
/freebsd/sys/sys/
H A Dsysproto.h143 char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; member
148 char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; member
2405 char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; member
2425 char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; member
/freebsd/sys/compat/linux/
H A Dlinux_file.c316 return (kern_lseek(td, args->fdes, args->off, args->whence)); in linux_lseek()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c224 iarg[a++] = p->fdes; /* int */ in systrace_args()
233 iarg[a++] = p->fdes; /* int */ in systrace_args()
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c480 iarg[a++] = p->fdes; /* l_uint */ in systrace_args()
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c85 iarg[a++] = p->fdes; /* l_uint */ in systrace_args()

12