| /netbsd-src/sys/kern/ |
| H A D | sys_memfd.c | 98 struct memfd *mfd; in sys_memfd_create() local 105 mfd = kmem_zalloc(sizeof(*mfd), KM_SLEEP); in sys_memfd_create() 106 mfd->mfd_size = 0; in sys_memfd_create() 107 mfd->mfd_uobj = uao_create(INT64_MAX - PAGE_SIZE, 0); /* same as tmpfs */ in sys_memfd_create() 110 strcpy(mfd->mfd_name, memfd_prefix); in sys_memfd_create() 112 &mfd->mfd_name[sizeof(memfd_prefix) - 1], in sys_memfd_create() 113 sizeof(mfd->mfd_name) - sizeof(memfd_prefix), NULL); in sys_memfd_create() 117 getnanotime(&mfd->mfd_btime); in sys_memfd_create() 120 mfd->mfd_seals |= F_SEAL_SEAL; in sys_memfd_create() 129 fp->f_memfd = mfd; in sys_memfd_create() [all …]
|
| /netbsd-src/usr.sbin/moused/ |
| H A D | moused.c | 350 int mfd; /* mouse file descriptor */ member 370 .mfd = -1, 776 if ((rodent.mfd = open(rodent.portname, O_RDWR | O_NONBLOCK, 0)) in main() 781 close(rodent.mfd); in main() 782 rodent.mfd = -1; in main() 806 if (rodent.mfd == -1) { in main() 821 if (rodent.mfd != -1) in main() 822 close(rodent.mfd); in main() 825 rodent.mfd = rodent.cfd = -1; in main() 896 set[0].fd = rodent.mfd; in moused() [all …]
|
| /netbsd-src/usr.bin/fstat/ |
| H A D | misc.c | 282 struct memfd mfd; in p_memfd() local 284 if (!KVM_READ(f->f_data, &mfd, sizeof(mfd))) { in p_memfd() 288 (void)printf("* %s, seals=", mfd.mfd_name); in p_memfd() 289 if (mfd.mfd_seals == 0) in p_memfd() 292 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_SEAL, "F_SEAL_SEAL"); in p_memfd() 293 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_SHRINK, "F_SEAL_SHRINK"); in p_memfd() 294 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_GROW, "F_SEAL_GROW"); in p_memfd() 295 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_WRITE, "F_SEAL_WRITE"); in p_memfd() 296 seal_yet = p_memfd_seal(seal_yet, mfd.mfd_seals, F_SEAL_FUTURE_WRITE, "F_SEAL_FUTURE_WRITE"); in p_memfd()
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/sprd/ |
| H A D | sharkl3.dtsi | 21 "simple-mfd"; 36 "simple-mfd"; 53 "simple-mfd"; 68 "simple-mfd"; 85 "simple-mfd"; 100 "simple-mfd"; 117 "simple-mfd"; 132 "simple-mfd"; 147 "simple-mfd";
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/realtek/ |
| H A D | rtd139x.dtsi | 65 compatible = "syscon", "simple-mfd"; 74 compatible = "syscon", "simple-mfd"; 83 compatible = "syscon", "simple-mfd"; 92 compatible = "syscon", "simple-mfd"; 101 compatible = "syscon", "simple-mfd";
|
| H A D | rtd129x.dtsi | 67 compatible = "syscon", "simple-mfd"; 76 compatible = "syscon", "simple-mfd"; 85 compatible = "syscon", "simple-mfd"; 94 compatible = "syscon", "simple-mfd"; 103 compatible = "syscon", "simple-mfd";
|
| H A D | rtd16xx.dtsi | 141 compatible = "syscon", "simple-mfd"; 150 compatible = "syscon", "simple-mfd"; 159 compatible = "syscon", "simple-mfd"; 168 compatible = "syscon", "simple-mfd"; 177 compatible = "syscon", "simple-mfd";
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | rtd1195.dtsi | 105 compatible = "syscon", "simple-mfd"; 114 compatible = "syscon", "simple-mfd"; 123 compatible = "syscon", "simple-mfd"; 132 compatible = "syscon", "simple-mfd"; 141 compatible = "syscon", "simple-mfd";
|
| H A D | uniphier-pro4.dtsi | 244 "simple-mfd", "syscon"; 260 "simple-mfd", "syscon"; 372 "simple-mfd", "syscon"; 410 "simple-mfd"; 470 "simple-mfd", "syscon"; 523 "simple-mfd"; 576 "simple-mfd";
|
| H A D | uniphier-sld8.dtsi | 214 "simple-mfd", "syscon"; 230 "simple-mfd", "syscon"; 336 "simple-mfd", "syscon"; 346 "simple-mfd"; 393 "simple-mfd", "syscon";
|
| H A D | uniphier-ld4.dtsi | 210 "simple-mfd", "syscon"; 226 "simple-mfd", "syscon"; 332 "simple-mfd", "syscon"; 342 "simple-mfd"; 389 "simple-mfd", "syscon";
|
| H A D | uniphier-pro5.dtsi | 342 "simple-mfd", "syscon"; 358 "simple-mfd", "syscon"; 374 "simple-mfd", "syscon"; 384 "simple-mfd"; 454 "simple-mfd", "syscon"; 485 "simple-mfd"; 549 "simple-mfd";
|
| H A D | uniphier-pxs2.dtsi | 423 "simple-mfd", "syscon"; 439 "simple-mfd", "syscon"; 489 "simple-mfd", "syscon"; 499 "simple-mfd"; 554 "simple-mfd", "syscon"; 614 "simple-mfd"; 709 "simple-mfd";
|
| H A D | integrator.dtsi | 16 compatible = "arm,core-module-integrator", "syscon", "simple-mfd"; 109 compatible = "syscon", "simple-mfd";
|
| H A D | versatile-ab-ib2.dts | 14 compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd";
|
| H A D | sama5d3_tcb1.dtsi | 21 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
|
| H A D | bcm2835-rpi.dtsi | 16 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
|
| /netbsd-src/external/bsd/ipf/dist/l4check/ |
| H A D | l4check.c | 276 int fd, opt, res, mfd, i; in runconfig() local 282 mfd = 0; in runconfig() 349 if (l4->l4_fd > mfd) in runconfig() 350 mfd = l4->l4_fd; in runconfig() 366 if (l4->l4_fd > mfd) in runconfig() 367 mfd = l4->l4_fd; in runconfig() 371 fprintf(stderr, "Select: max fd %d wait %d\n", mfd + 1, in runconfig() 373 i = select(mfd + 1, &rfd, &wfd, NULL, &tv); in runconfig()
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/socionext/ |
| H A D | uniphier-ld11.dtsi | 311 "simple-mfd", "syscon"; 415 "simple-mfd", "syscon"; 426 "simple-mfd", "syscon"; 509 "simple-mfd", "syscon"; 526 "simple-mfd", "syscon"; 557 "simple-mfd"; 599 "simple-mfd", "syscon";
|
| H A D | uniphier-pxs3.dtsi | 366 "simple-mfd", "syscon"; 382 "simple-mfd", "syscon"; 435 "simple-mfd", "syscon"; 445 "simple-mfd"; 531 "simple-mfd", "syscon"; 616 "simple-mfd"; 718 "simple-mfd";
|
| H A D | uniphier-ld20.dtsi | 436 "simple-mfd", "syscon"; 540 "simple-mfd", "syscon"; 556 "simple-mfd", "syscon"; 605 "simple-mfd", "syscon"; 615 "simple-mfd"; 701 "simple-mfd", "syscon"; 767 "simple-mfd";
|
| /netbsd-src/sys/arch/arm/imx/ |
| H A D | imx51_ccm.c | 494 uint32_t mfd; in imx51_get_pll_freq() local 518 mfd = dp_mfd; in imx51_get_pll_freq() 551 freq /= (mfd + 1); in imx51_get_pll_freq() 556 freq = (int64_t)ref * mfi + (int64_t)ref * mfn / (mfd + 1); in imx51_get_pll_freq() 567 printf("mfd: %3d ", mfd); in imx51_get_pll_freq()
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/mti/ |
| H A D | sead3.dts | 94 compatible = "mti,sead3-fpga", "syscon", "simple-mfd"; 110 compatible = "mti,sead3-cpld", "syscon", "simple-mfd";
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/ti/ |
| H A D | k3-j7200-mcu-wakeup.dtsi | 38 compatible = "syscon", "simple-mfd"; 140 compatible = "simple-mfd"; 277 compatible = "syscon", "simple-mfd";
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/ingenic/ |
| H A D | jz4780.dtsi | 64 compatible = "ingenic,jz4780-cgu", "simple-mfd"; 97 "simple-mfd"; 428 compatible = "ingenic,jz4780-nemc", "simple-mfd";
|