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)
199 shmop->shmid = shmget(shmop->key, shmop->size, shmop->shmflg); in PHP_FUNCTION()
200 if (shmop->shmid == -1) { in PHP_FUNCTION()
205 if (shmctl(shmop->shmid, IPC_STAT, &shm)) { in PHP_FUNCTION()
211 shmop->addr = shmat(shmop->shmid, 0, shmop->shmatflg); in PHP_FUNCTION()
230 zval *shmid; in PHP_FUNCTION() local
237 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &shmid, &start, &count) == FAILURE) { in PHP_FUNCTION()
241 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
268 zval *shmid; in PHP_FUNCTION() local
271 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &shmid) == FAILURE) { in PHP_FUNCTION()
276 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
280 zend_list_close(Z_RES_P(shmid)); in PHP_FUNCTION()
288 zval *shmid; in PHP_FUNCTION() local
291 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &shmid) == FAILURE) { in PHP_FUNCTION()
295 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
311 zval *shmid; in PHP_FUNCTION() local
313 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rSl", &shmid, &data, &offset) == FAILURE) { in PHP_FUNCTION()
317 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
342 zval *shmid; in PHP_FUNCTION() local
345 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &shmid) == FAILURE) { in PHP_FUNCTION()
349 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
353 if (shmctl(shmop->shmid, IPC_RMID, NULL)) { in PHP_FUNCTION()