Home
last modified time | relevance | path

Searched refs:shmId (Results 1 – 25 of 149) sorted by relevance

123456

/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/embedded/
H A Dqwssharedmemory.cpp90 if (shmId != -1) in create()
105 shmId = -1; in create()
107 shmId = -1; in create()
110 if (shmId == -1) { in create()
120 shmBase = shmat(shmId, 0, 0); in create()
124 shmctl(shmId, IPC_RMID, 0); in create()
148 if (shmId == id) in attach()
156 shmId = id; in attach()
158 shmBase = shmat(shmId, 0, 0); in attach()
210 shmId = -1; in detach()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp49 shmKey, shmSize, shmId); in make_error_info()
61 if (shmId == -1) in ndb_shm_create()
68 shmId, in ndb_shm_create()
84 if (shmId == -1) in ndb_shm_get()
91 shmId, in ndb_shm_get()
119 shmId, in ndb_shm_attach()
123 shmctl(shmId, IPC_RMID, 0); in ndb_shm_attach()
150 shmId, in ndb_shm_destroy()
170 shmId, in checkConnected()
232 shmId, in detach_shm()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/mysql56-client/mysql-5.6.51/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp41 shmKey, shmSize, shmId); in make_error_info()
47 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
48 if(shmId == -1) { in ndb_shm_create()
58 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
59 if(shmId == -1) { in ndb_shm_get()
69 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
80 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
84 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
125 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/databases/mysql55-client/mysql-5.5.62/storage/ndb/src/common/transporter/
H A DSHM_Transporter.unix.cpp32 shmKey, shmSize, shmId); in make_error_info()
38 shmId = shmget(shmKey, shmSize, IPC_CREAT | 960); in ndb_shm_create()
39 if(shmId == -1) { in ndb_shm_create()
49 shmId = shmget(shmKey, shmSize, 0); in ndb_shm_get()
50 if(shmId == -1) { in ndb_shm_get()
60 shmBuf = (char *)shmat(shmId, 0, 0); in ndb_shm_attach()
71 const int res = shmctl(shmId, IPC_STAT, &info); in checkConnected()
75 "shmctl(%d, IPC_STAT) errno: %d(%s). ", shmId, in checkConnected()
116 const int res = shmctl(shmId, IPC_RMID, 0); in disconnectImpl()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/
H A DShortCircuitRegistry.java94 super(shmId, stream); in RegisteredShm()
266 public final ShmId shmId; field in ShortCircuitRegistry.NewShmInfo
270 this.shmId = shmId; in NewShmInfo()
297 ShmId shmId = null; in createNewMemorySegment() local
309 shmId = ShmId.createRandom(); in createNewMemorySegment()
318 info = new NewShmInfo(shmId, fis); in createNewMemorySegment()
319 segments.put(shmId, shm); in createNewMemorySegment()
339 ShmId shmId = slotId.getShmId(); in registerSlot() local
340 RegisteredShm shm = segments.get(shmId); in registerSlot()
343 "registered with shmId " + shmId); in registerSlot()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/shortcircuit/
H A DShortCircuitShm.java154 private final ShmId shmId; field in ShortCircuitShm.SlotId
157 public SlotId(ShmId shmId, int slotIdx) { in SlotId() argument
158 this.shmId = shmId; in SlotId()
163 return shmId; in getShmId()
177 append(shmId, other.shmId). in equals()
185 append(this.shmId). in hashCode()
428 private final ShmId shmId; field in ShortCircuitShm
466 public ShortCircuitShm(ShmId shmId, FileInputStream stream) in ShortCircuitShm() argument
480 this.shmId = shmId; in ShortCircuitShm()
488 "(shmId=" + shmId + in ShortCircuitShm()
[all …]
H A DDfsClientShmManager.java129 ShmId shmId = shm.getShmId(); in allocSlotFromExistingShm() local
136 DfsClientShm removedShm = notFull.remove(shmId); in allocSlotFromExistingShm()
138 full.put(shmId, shm); in allocSlotFromExistingShm()
314 ShmId shmId = shm.getShmId(); in freeSlot() local
315 full.remove(shmId); // The shm can't be full if we just freed a slot. in freeSlot()
317 notFull.remove(shmId); in freeSlot()
341 notFull.put(shmId, shm); in freeSlot()
357 void unregisterShm(ShmId shmId) { in unregisterShm() argument
360 full.remove(shmId); in unregisterShm()
361 notFull.remove(shmId); in unregisterShm()
/dports/devel/ptlib/ptlib-2.10.11/src/ptlib/unix/
H A Dshmvideo.cxx53 shmId = shmget(shmKey, SHMVIDEO_BUFSIZE, 0666); in shmInit()
54 if (shmId >= 0) { in shmInit()
55 shmPtr = shmat(shmId, NULL, 0); in shmInit()
61 shmctl(shmId, IPC_RMID, NULL); in shmInit()
81 shmId = -1; in shmInit()
95 shmId = -1; in PVideoOutputDevice_Shm()
254 if (shmId >= 0) { in shmInit()
255 shmPtr = shmat(shmId, NULL, 0); in shmInit()
261 shmctl(shmId, IPC_RMID, NULL); in shmInit()
281 shmId = -1; in shmInit()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/tools/qvfb/
H A Dqvfbshmem.cpp179 shmId = shmget(key, dataSize, IPC_CREAT | 0600); in QShMemViewProtocol()
180 if (shmId != -1) in QShMemViewProtocol()
181 data = (unsigned char *)shmat(shmId, 0, 0); in QShMemViewProtocol()
184 shmctl(shmId, IPC_RMID, &shm); in QShMemViewProtocol()
185 shmId = shmget(key, dataSize, IPC_CREAT | 0600); in QShMemViewProtocol()
186 if (shmId == -1) { in QShMemViewProtocol()
190 data = (unsigned char *)shmat(shmId, 0, 0); in QShMemViewProtocol()
197 qFatal("Cannot attach to shared memory %d",shmId); in QShMemViewProtocol()
227 shmctl( shmId, IPC_RMID, &shm ); in ~QShMemViewProtocol()
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/utils/
H A Dpool_shmem.c39 static void IpcMemoryDelete(int status, Datum shmId);
97 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
104 if (shmctl(shmId, IPC_STAT, &shmStat) < 0 in IpcMemoryDelete()
112 if (shmctl(shmId, IPC_RMID, NULL) < 0) in IpcMemoryDelete()
116 shmId, IPC_RMID))); in IpcMemoryDelete()
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/utils/
H A Dpool_shmem.c39 static void IpcMemoryDelete(int status, Datum shmId);
97 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
104 if (shmctl(shmId, IPC_STAT, &shmStat) < 0 in IpcMemoryDelete()
112 if (shmctl(shmId, IPC_RMID, NULL) < 0) in IpcMemoryDelete()
116 shmId, IPC_RMID))); in IpcMemoryDelete()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/utils/
H A Dpool_shmem.c39 static void IpcMemoryDelete(int status, Datum shmId);
97 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
104 if (shmctl(shmId, IPC_STAT, &shmStat) < 0 in IpcMemoryDelete()
112 if (shmctl(shmId, IPC_RMID, NULL) < 0) in IpcMemoryDelete()
116 shmId, IPC_RMID, strerror(errno)))); in IpcMemoryDelete()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/utils/
H A Dpool_shmem.c39 static void IpcMemoryDelete(int status, Datum shmId);
97 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
104 if (shmctl(shmId, IPC_STAT, &shmStat) < 0 in IpcMemoryDelete()
112 if (shmctl(shmId, IPC_RMID, NULL) < 0) in IpcMemoryDelete()
116 shmId, IPC_RMID, strerror(errno)))); in IpcMemoryDelete()
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/utils/
H A Dpool_shmem.c44 static void IpcMemoryDelete(int status, Datum shmId);
152 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
159 if (shmctl(shmId, IPC_STAT, &shmStat) < 0 in IpcMemoryDelete()
167 if (shmctl(shmId, IPC_RMID, NULL) < 0) in IpcMemoryDelete()
171 shmId, IPC_RMID))); in IpcMemoryDelete()
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/utils/
H A Dpool_shmem.c44 static void IpcMemoryDelete(int status, Datum shmId);
152 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
159 if (shmctl(shmId, IPC_STAT, &shmStat) < 0 in IpcMemoryDelete()
167 if (shmctl(shmId, IPC_RMID, NULL) < 0) in IpcMemoryDelete()
171 shmId, IPC_RMID))); in IpcMemoryDelete()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/port/
H A Dsysv_shmem.c104 static void IpcMemoryDelete(int status, Datum shmId);
105 static IpcMemoryState PGSharedMemoryAttach(IpcMemoryId shmId,
300 IpcMemoryDelete(int status, Datum shmId) in IpcMemoryDelete() argument
302 if (shmctl(DatumGetInt32(shmId), IPC_RMID, NULL) < 0) in IpcMemoryDelete()
304 DatumGetInt32(shmId), IPC_RMID); in IpcMemoryDelete()
349 PGSharedMemoryAttach(IpcMemoryId shmId, in PGSharedMemoryAttach() argument
362 if (shmctl(shmId, IPC_STAT, &shmStat) < 0) in PGSharedMemoryAttach()
412 hdr = (PGShmemHeader *) shmat(shmId, attachAt, PG_SHMAT_FLAGS); in PGSharedMemoryAttach()

123456