Lines Matching refs:shm_varpos
124 static int php_remove_shm_data(sysvshm_chunk_head *ptr, zend_long shm_varpos);
301 zend_long shm_varpos; in PHP_FUNCTION() local
312 shm_varpos = php_check_shm_data((shm_list_ptr->ptr), shm_key); in PHP_FUNCTION()
314 if (shm_varpos < 0) { in PHP_FUNCTION()
318 shm_var = (sysvshm_chunk*) ((char *)shm_list_ptr->ptr + shm_varpos); in PHP_FUNCTION()
351 zend_long shm_key, shm_varpos; in PHP_FUNCTION() local
359 shm_varpos = php_check_shm_data((shm_list_ptr->ptr), shm_key); in PHP_FUNCTION()
361 if (shm_varpos < 0) { in PHP_FUNCTION()
365 php_remove_shm_data((shm_list_ptr->ptr), shm_varpos); in PHP_FUNCTION()
376 zend_long shm_varpos; in php_put_shm_data() local
380 if ((shm_varpos = php_check_shm_data(ptr, key)) > 0) { in php_put_shm_data()
381 php_remove_shm_data(ptr, shm_varpos); in php_put_shm_data()
428 static int php_remove_shm_data(sysvshm_chunk_head *ptr, zend_long shm_varpos) in php_remove_shm_data() argument
433 chunk_ptr = (sysvshm_chunk *) ((char *) ptr + shm_varpos); in php_remove_shm_data()
434 next_chunk_ptr = (sysvshm_chunk *) ((char *) ptr + shm_varpos + chunk_ptr->next); in php_remove_shm_data()
436 memcpy_len = ptr->end-shm_varpos - chunk_ptr->next; in php_remove_shm_data()