/dports/net/openmpi3/openmpi-3.1.6/orte/mca/rtc/hwloc/ |
H A D | rtc_hwloc.c | 70 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 D | hwloc.c | 53 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 D | rtc_hwloc.c | 72 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 D | sockd_io_misc.c | 190 monitor_unuse(rule->mstats, &cinfo, sockscf.shmemfd); 235 sockscf.shmemfd); 283 sockscf.shmemfd);
|
H A D | sockd.c | 522 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 D | shmem.c | 133 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 D | monitor.c | 540 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 D | sockd_negotiate.c | 657 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 D | sockd_udp.c | 296 sockscf.shmemfd); 400 sockscf.shmemfd);
|
H A D | sockd_request.c | 423 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 D | sockd_tcp.c | 268 sockscf.shmemfd); \ 474 sockscf.shmemfd);
|
H A D | rule.c | 2009 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 D | sockd_io.c | 945 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 D | sockd_util.c | 194 || d == sockscf.shmemfd
|
H A D | serverconfig.c | 820 socks_lock(config->shmemfd, 0, 0, 1, 1);
|
/dports/net/ntp/ntp-4.2.8p15/ntpd/ |
H A D | refclock_oncore.c | 275 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 D | refclock_oncore.c | 265 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 D | showconfig.c | 459 sockscf->shmemfd);
|
/dports/net/dante/dante-1.4.3/include/ |
H A D | sockd.h | 1965 int shmemfd; /* member
|