Lines Matching refs:shm_varpos
125 static int php_remove_shm_data(sysvshm_chunk_head *ptr, zend_long shm_varpos);
292 zend_long shm_varpos; in PHP_FUNCTION() local
303 shm_varpos = php_check_shm_data((shm_list_ptr->ptr), shm_key); in PHP_FUNCTION()
305 if (shm_varpos < 0) { in PHP_FUNCTION()
309 shm_var = (sysvshm_chunk*) ((char *)shm_list_ptr->ptr + shm_varpos); in PHP_FUNCTION()
342 zend_long shm_key, shm_varpos; in PHP_FUNCTION() local
350 shm_varpos = php_check_shm_data((shm_list_ptr->ptr), shm_key); in PHP_FUNCTION()
352 if (shm_varpos < 0) { in PHP_FUNCTION()
356 php_remove_shm_data((shm_list_ptr->ptr), shm_varpos); in PHP_FUNCTION()
367 zend_long shm_varpos; in php_put_shm_data() local
371 if ((shm_varpos = php_check_shm_data(ptr, key)) > 0) { in php_put_shm_data()
372 php_remove_shm_data(ptr, shm_varpos); in php_put_shm_data()
419 static int php_remove_shm_data(sysvshm_chunk_head *ptr, zend_long shm_varpos) in php_remove_shm_data() argument
424 chunk_ptr = (sysvshm_chunk *) ((char *) ptr + shm_varpos); in php_remove_shm_data()
425 next_chunk_ptr = (sysvshm_chunk *) ((char *) ptr + shm_varpos + chunk_ptr->next); in php_remove_shm_data()
427 memcpy_len = ptr->end-shm_varpos - chunk_ptr->next; in php_remove_shm_data()