| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| prof_mdump.c | 155 int mfd = prof_dump_open_maps(); local 156 if (mfd == -1) { 160 close(mfd);
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| prof_mdump.c | 156 int mfd = prof_dump_open_maps(); local 157 if (mfd == -1) { 161 close(mfd);
|
| /src/sys/kern/ |
| sys_memfd.c | 98 struct memfd *mfd; local 105 mfd = kmem_zalloc(sizeof(*mfd), KM_SLEEP); 106 mfd->mfd_size = 0; 107 mfd->mfd_uobj = uao_create(INT64_MAX - PAGE_SIZE, 0); /* same as tmpfs */ 110 strcpy(mfd->mfd_name, memfd_prefix); 112 &mfd->mfd_name[sizeof(memfd_prefix) - 1], 113 sizeof(mfd->mfd_name) - sizeof(memfd_prefix), NULL); 117 getnanotime(&mfd->mfd_btime); 120 mfd->mfd_seals |= F_SEAL_SEAL 149 struct memfd *mfd = fp->f_memfd; local 186 struct memfd *mfd = fp->f_memfd; local 242 struct memfd *mfd = fp->f_memfd; local 298 struct memfd *mfd = fp->f_memfd; local 324 struct memfd *mfd = fp->f_memfd; local 338 struct memfd *mfd = fp->f_memfd; local 416 struct memfd *mfd = fp->f_memfd; local [all...] |
| /src/sys/arch/arm/imx/ |
| imx51_ccm.c | 494 uint32_t mfd; local 518 mfd = dp_mfd; 551 freq /= (mfd + 1); 556 freq = (int64_t)ref * mfi + (int64_t)ref * mfn / (mfd + 1); 567 printf("mfd: %3d ", mfd);
|
| /src/usr.bin/fstat/ |
| misc.c | 282 struct memfd mfd; local 284 if (!KVM_READ(f->f_data, &mfd, sizeof(mfd))) { 288 (void)printf("* %s, seals=", mfd.mfd_name); 289 if (mfd.mfd_seals == 0) 292 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_SEAL, "F_SEAL_SEAL"); 293 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_SHRINK, "F_SEAL_SHRINK"); 294 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_GROW, "F_SEAL_GROW"); 295 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_WRITE, "F_SEAL_WRITE"); 296 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_FUTURE_WRITE, "F_SEAL_FUTURE_WRITE") [all...] |
| /src/external/bsd/ipf/dist/l4check/ |
| l4check.c | 276 int fd, opt, res, mfd, i; local 282 mfd = 0; 349 if (l4->l4_fd > mfd) 350 mfd = l4->l4_fd; 366 if (l4->l4_fd > mfd) 367 mfd = l4->l4_fd; 371 fprintf(stderr, "Select: max fd %d wait %d\n", mfd + 1, 373 i = select(mfd + 1, &rfd, &wfd, NULL, &tv);
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| prof_sys.c | 428 int mfd; local 437 mfd = open(filename, O_RDONLY | O_CLOEXEC); 439 mfd = open(filename, O_RDONLY); 440 if (mfd != -1) { 441 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC); 445 return mfd; 451 int mfd; local 455 mfd = prof_open_maps_internal("/proc/curproc/map"); 457 mfd = -1; // Not implemente 473 int mfd = *(int *)read_cbopaque; local 480 int mfd = prof_dump_open_maps(); local [all...] |
| /src/sbin/restore/ |
| dirs.c | 149 int i, dfd, mfd; local 174 if ((mfd = mkstemp(modefile)) == -1) 177 mf = fdopen(mfd, "w");
|
| /src/external/bsd/jemalloc/dist/src/ |
| prof_sys.c | 787 int mfd; local 796 mfd = open(filename, O_RDONLY | O_CLOEXEC); 798 mfd = open(filename, O_RDONLY); 799 if (mfd != -1) { 800 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC); 804 return mfd; 810 int mfd; local 814 mfd = prof_open_maps_internal("/proc/curproc/map"); 816 mfd = -1; // Not implemente 832 int mfd = *(int *)read_cbopaque; local 839 int mfd = prof_dump_open_maps(); local [all...] |
| /src/usr.sbin/moused/ |
| moused.c | 350 int mfd; /* mouse file descriptor */ member in struct:rodentparam 370 .mfd = -1, 776 if ((rodent.mfd = open(rodent.portname, O_RDWR | O_NONBLOCK, 0)) 781 close(rodent.mfd); 782 rodent.mfd = -1; 806 if (rodent.mfd == -1) { 821 if (rodent.mfd != -1) 822 close(rodent.mfd); 825 rodent.mfd = rodent.cfd = -1; 896 set[0].fd = rodent.mfd; [all...] |
| /src/external/bsd/openldap/dist/libraries/liblmdb/ |
| mdb.c | 3897 HANDLE mfd; local 3961 mfd = (flags & (MDB_NOSYNC|MDB_NOMETASYNC)) ? env->me_fd : env->me_mfd; 3966 if (!WriteFile(mfd, ptr, len, (DWORD *)&rc, &ov)) 3971 rc = pwrite(mfd, ptr, len, off);
|