Lines Matching refs:shmid

56 	ZEND_ARG_INFO(0, shmid)
62 ZEND_ARG_INFO(0, shmid)
66 ZEND_ARG_INFO(0, shmid)
70 ZEND_ARG_INFO(0, shmid)
76 ZEND_ARG_INFO(0, shmid)
198 shmop->shmid = shmget(shmop->key, shmop->size, shmop->shmflg); in PHP_FUNCTION()
199 if (shmop->shmid == -1) { in PHP_FUNCTION()
204 if (shmctl(shmop->shmid, IPC_STAT, &shm)) { in PHP_FUNCTION()
215 shmop->addr = shmat(shmop->shmid, 0, shmop->shmatflg); in PHP_FUNCTION()
234 zval *shmid; in PHP_FUNCTION() local
241 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &shmid, &start, &count) == FAILURE) { in PHP_FUNCTION()
245 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
272 zval *shmid; in PHP_FUNCTION() local
275 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &shmid) == FAILURE) { in PHP_FUNCTION()
280 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
284 zend_list_close(Z_RES_P(shmid)); in PHP_FUNCTION()
292 zval *shmid; in PHP_FUNCTION() local
295 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &shmid) == FAILURE) { in PHP_FUNCTION()
299 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
315 zval *shmid; in PHP_FUNCTION() local
317 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rSl", &shmid, &data, &offset) == FAILURE) { in PHP_FUNCTION()
321 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
346 zval *shmid; in PHP_FUNCTION() local
349 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &shmid) == FAILURE) { in PHP_FUNCTION()
353 if ((shmop = (struct php_shmop *)zend_fetch_resource(Z_RES_P(shmid), "shmop", shm_type)) == NULL) { in PHP_FUNCTION()
357 if (shmctl(shmop->shmid, IPC_RMID, NULL)) { in PHP_FUNCTION()