The form of acute pancreatitis caused by gallstones or biliary sludge is known as biliary pancreatitis.