Respiratory function in anesthesia