Ultimately from Arabic قَلَم (qalam, “pen”).
qalin m
From Proto-Turkic *kalïŋ (“thick”).
qalin (comparative qalinroq, superlative eng qalin)