How does the gNB determine the grant size after a UE sends a Scheduling Request (SR)?

This is the actual source of my query :point_up: