/netbsd-current/sys/kern/ |
H A D | 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 148 struct memfd *mfd = fp->f_memfd; local 185 struct memfd *mfd = fp->f_memfd; local 241 struct memfd *mfd = fp->f_memfd; local 297 struct memfd *mfd = fp->f_memfd; local 323 struct memfd *mfd = fp->f_memfd; local 337 struct memfd *mfd = fp->f_memfd; local 415 struct memfd *mfd = fp->f_memfd; local [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_acp.h | 31 #include <linux/mfd/core.h>
|
/netbsd-current/usr.bin/fstat/ |
H A D | 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 [all...] |
/netbsd-current/usr.sbin/moused/ |
H A D | 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...] |
/netbsd-current/external/bsd/ipf/dist/l4check/ |
H A D | 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);
|
/netbsd-current/sys/arch/arm/imx/ |
H A D | 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);
|
/netbsd-current/external/bsd/jemalloc/dist/src/ |
H A D | prof.c | 1424 int mfd; local 1433 mfd = open(filename, O_RDONLY | O_CLOEXEC); 1435 mfd = open(filename, O_RDONLY); 1436 if (mfd != -1) { 1437 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC); 1441 return mfd; 1457 int mfd; local 1461 mfd = prof_open_maps("/proc/curproc/map"); 1463 mfd [all...] |
/netbsd-current/sbin/restore/ |
H A D | dirs.c | 149 int i, dfd, mfd; local 174 if ((mfd = mkstemp(modefile)) == -1) 177 mf = fdopen(mfd, "w");
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | intel_dsi_vbt.c | 34 #include <linux/mfd/intel_soc_pmic.h>
|
/netbsd-current/external/bsd/openldap/dist/libraries/liblmdb/ |
H A D | mdb.c | 3822 HANDLE mfd; local 3886 mfd = (flags & (MDB_NOSYNC|MDB_NOMETASYNC)) ? env->me_fd : env->me_mfd; 3891 if (!WriteFile(mfd, ptr, len, (DWORD *)&rc, &ov)) 3896 rc = pwrite(mfd, ptr, len, off);
|