Lines Matching refs:shmid
57 ZEND_ARG_INFO(0, shmid)
63 ZEND_ARG_INFO(0, shmid)
67 ZEND_ARG_INFO(0, shmid)
71 ZEND_ARG_INFO(0, shmid)
77 ZEND_ARG_INFO(0, shmid)
115 shmop = zend_list_find(shmid, &type); \ in ZEND_GET_MODULE()
117 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "no shared memory segment with an id of [%lu]", shmid)…
210 shmop->shmid = shmget(shmop->key, shmop->size, shmop->shmflg); in PHP_FUNCTION()
211 if (shmop->shmid == -1) { in PHP_FUNCTION()
216 if (shmctl(shmop->shmid, IPC_STAT, &shm)) { in PHP_FUNCTION()
221 shmop->addr = shmat(shmop->shmid, 0, shmop->shmatflg); in PHP_FUNCTION()
241 long shmid, start, count; in PHP_FUNCTION() local
248 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &shmid, &start, &count) == FAILURE) { in PHP_FUNCTION()
279 long shmid; in PHP_FUNCTION() local
283 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &shmid) == FAILURE) { in PHP_FUNCTION()
289 zend_list_delete(shmid); in PHP_FUNCTION()
297 long shmid; in PHP_FUNCTION() local
301 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &shmid) == FAILURE) { in PHP_FUNCTION()
318 long shmid, offset; in PHP_FUNCTION() local
322 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsl", &shmid, &data, &data_len, &offset) == … in PHP_FUNCTION()
349 long shmid; in PHP_FUNCTION() local
353 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &shmid) == FAILURE) { in PHP_FUNCTION()
359 if (shmctl(shmop->shmid, IPC_RMID, NULL)) { in PHP_FUNCTION()