Home
last modified time | relevance | path

Searched refs:shmemfd (Results 1 – 19 of 19) sorted by relevance

/dports/net/openmpi3/openmpi-3.1.6/orte/mca/rtc/hwloc/
H A Drtc_hwloc.c70 static int shmemfd = -1; variable
161 if (-1 == (shmemfd = open(shmemfile, O_CREAT | O_RDWR, 0600))) { in init()
173 opal_fd_set_cloexec(shmemfd); in init()
175 if (0 != (rc = hwloc_shmem_topology_write(opal_hwloc_topology, shmemfd, 0, in init()
183 close(shmemfd); in init()
184 shmemfd = -1; in init()
199 if (0 <= shmemfd) { in finalize()
200 close(shmemfd); in finalize()
/dports/net/openmpi/openmpi-4.1.1/opal/mca/pmix/pmix3x/pmix/src/hwloc/
H A Dhwloc.c53 static int shmemfd = -1; variable
422 if (-1 == (shmemfd = open(shmemfile, O_CREAT | O_RDWR, 0600))) { in pmix_hwloc_get_topology()
433 pmix_fd_set_cloexec(shmemfd); in pmix_hwloc_get_topology()
435 if (0 != (rc = hwloc_shmem_topology_write(pmix_hwloc_topology, shmemfd, 0, in pmix_hwloc_get_topology()
440 close(shmemfd); in pmix_hwloc_get_topology()
441 shmemfd = -1; in pmix_hwloc_get_topology()
508 if (0 <= shmemfd) { in pmix_hwloc_cleanup()
509 close(shmemfd); in pmix_hwloc_cleanup()
/dports/net/openmpi/openmpi-4.1.1/orte/mca/rtc/hwloc/
H A Drtc_hwloc.c72 static int shmemfd = -1; variable
163 if (-1 == (shmemfd = open(shmemfile, O_CREAT | O_RDWR, 0600))) { in init()
175 opal_fd_set_cloexec(shmemfd); in init()
177 if (0 != (rc = hwloc_shmem_topology_write(opal_hwloc_topology, shmemfd, 0, in init()
185 close(shmemfd); in init()
186 shmemfd = -1; in init()
201 if (0 <= shmemfd) { in finalize()
202 close(shmemfd); in finalize()
/dports/net/dante/dante-1.4.3/sockd/
H A Dsockd_io_misc.c190 monitor_unuse(rule->mstats, &cinfo, sockscf.shmemfd);
235 sockscf.shmemfd);
283 sockscf.shmemfd);
H A Dsockd.c522 sockscf.shmemfd);
547 sockscf.shmemfd,
611 sockscf.shmemfd);
624 sockscf.shmemfd);
651 sockscf.shmemfd,
775 sockscf.shmemfd);
801 sockscf.shmemfd,
934 sockscf.shmemfd);
947 sockscf.shmemfd);
972 SHMEM_UNUSE(&io.srule, &cinfo, sockscf.shmemfd, SHMEM_ALL);
[all …]
H A Dshmem.c133 SASSERTX(sockscf.shmemfd == -1); in shmem_setup()
142 if ((sockscf.shmemfd = socks_mklock(sockscf.shmem_fnamebase, in shmem_setup()
163 sockscf.shmemfd, in shmem_setup()
335 sockscf.shmemfd,
350 bw_use(rule->bw, cinfo, sockscf.shmemfd);
357 monitor_use(rule->mstats, cinfo, sockscf.shmemfd);
H A Dmonitor.c540 socks_lock(sockscf.shmemfd, (off_t)monitor->mstats_shmid, 1, 1, 1); in monitor_postconfigload()
573 socks_unlock(sockscf.shmemfd, (off_t)monitor->mstats_shmid, 1); in monitor_postconfigload()
622 alarm_add_connect(to, sidesconnected, cinfo_to, sockscf.shmemfd);
645 sockscf.shmemfd);
650 alarm_add_connect(to, sidesconnected, cinfo_to, sockscf.shmemfd);
1114 socks_lock(sockscf.shmemfd, (off_t)monitor->mstats_shmid, 1, 1, 1); in checkmonitors()
1326 socks_unlock(sockscf.shmemfd, (off_t)monitor->mstats_shmid, 1); in checkmonitors()
H A Dsockd_negotiate.c657 sockscf.shmemfd); in run_negotiate()
771 sockscf.shmemfd); in negotiate_postconfigload()
818 SHMEM_UNUSE(CRULE_OR_HRULE(neg), &cinfo, sockscf.shmemfd, unuse);
1456 sockscf.shmemfd); in recv_negotiate()
1540 sockscf.shmemfd,
H A Dsockd_udp.c296 sockscf.shmemfd);
400 sockscf.shmemfd);
H A Dsockd_request.c423 sockscf.shmemfd); in run_request()
425 SHMEM_UNUSE(rule, &cinfo, sockscf.shmemfd, SHMEM_ALL); in run_request()
1603 sockscf.shmemfd);
1853 sockscf.shmemfd);
2448 sockscf.shmemfd);
2535 sockscf.shmemfd,
2589 sockscf.shmemfd,
2720 sockscf.shmemfd);
2848 sockscf.shmemfd);
H A Dsockd_tcp.c268 sockscf.shmemfd); \
474 sockscf.shmemfd);
H A Drule.c2009 session_unuse(from->ss, cinfo_from, sockscf.shmemfd);
2016 if (!session_use(to->ss, cinfo_to, sockscf.shmemfd, emsg, emsglen)) {
2048 bw_unuse(from->bw, cinfo_from, sockscf.shmemfd);
2055 bw_use(to->bw, cinfo_to, sockscf.shmemfd);
2091 monitor_unuse(from->mstats, cinfo_from, sockscf.shmemfd);
2098 monitor_use(to->mstats, cinfo_to, sockscf.shmemfd);
H A Dsockd_io.c945 sockscf.shmemfd); in run_io()
3311 sockscf.shmemfd);
3397 sockscf.shmemfd);
3490 socks_lock(sockscf.shmemfd, (off_t)packetrule->mstats_shmid, 1, 1, 1);
3524 socks_unlock(sockscf.shmemfd, (off_t)packetrule->mstats_shmid, 1);
4177 SHMEM_UNUSE(SHMEMRULE(io), &cinfo, sockscf.shmemfd, SHMEM_ALL);
4182 SHMEM_UNUSE(SHMEMRULE(io), &cinfo, sockscf.shmemfd, SHMEM_ALL);
H A Dsockd_util.c194 || d == sockscf.shmemfd
H A Dserverconfig.c820 socks_lock(config->shmemfd, 0, 0, 1, 1);
/dports/net/ntp/ntp-4.2.8p15/ntpd/
H A Drefclock_oncore.c275 int shmemfd; /* Status shm descriptor */ member
798 if (instance->shmemfd) in oncore_shutdown()
799 close(instance->shmemfd); in oncore_shutdown()
965 if ((instance->shmemfd = open(instance->shmem_fname, O_RDWR|O_CREAT|O_TRUNC, 0644)) < 0) { in oncore_init_shmem()
1050 i = write(instance->shmemfd, buf, shmem_length); in oncore_init_shmem()
1055 close(instance->shmemfd); in oncore_init_shmem()
1064 MAP_SHARED, instance->shmemfd, (off_t)0); in oncore_init_shmem()
1068 close(instance->shmemfd); in oncore_init_shmem()
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntpd/
H A Drefclock_oncore.c265 int shmemfd; /* Status shm descriptor */ member
785 if (instance->shmemfd) { in oncore_shutdown()
786 close(instance->shmemfd); in oncore_shutdown()
955 if ((instance->shmemfd = open(instance->shmem_fname, O_RDWR|O_CREAT|O_TRUNC, 0644)) < 0) { in oncore_init_shmem()
1039 i = write(instance->shmemfd, buf, shmem_length); in oncore_init_shmem()
1044 close(instance->shmemfd); in oncore_init_shmem()
1055 MAP_SHARED, instance->shmemfd, (off_t)0); in oncore_init_shmem()
1059 close(instance->shmemfd); in oncore_init_shmem()
/dports/net/dante/dante-1.4.3/lib/
H A Dshowconfig.c459 sockscf->shmemfd);
/dports/net/dante/dante-1.4.3/include/
H A Dsockd.h1965 int shmemfd; /* member