Searched refs:permit_size (Results 1 – 2 of 2) sorted by relevance
195 static inline int permit_size(struct rtrs_clt_sess *clt) in permit_size() function203 return (struct rtrs_permit *)(clt->permits + permit_size(clt) * idx); in get_permit()
1417 clt->permits = kcalloc(clt->queue_depth, permit_size(clt), GFP_KERNEL); in alloc_permits()