Home
last modified time | relevance | path

Searched refs:get_limit (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/net/ynl/
Dynl-gen-c.py79 def get_limit(self, limit, default=None): member in Type
314 if self.get_limit('min') > self.get_limit('max'):
318 low = min(self.get_limit('min', 0), self.get_limit('max', 0))
319 high = max(self.get_limit('min', 0), self.get_limit('max', 0))
416 mem = 'NLA_POLICY_EXACT_LEN(' + str(self.get_limit('exact-len')) + ')'
420 mem += ', .len = ' + str(self.get_limit('max-len'))
468 mem = 'NLA_POLICY_EXACT_LEN(' + str(self.get_limit('exact-len')) + ')'
472 mem += '.len = ' + str(self.get_limit('min-len'))
2164 members.append(('min', str(attr.get_limit('min')) + suffix))
2166 members.append(('max', str(attr.get_limit('max')) + suffix))
/linux-6.12.1/block/
Dblk-wbt.c533 static inline unsigned int get_limit(struct rq_wb *rwb, blk_opf_t opf) in get_limit() function
571 return rq_wait_inc_below(rqw, get_limit(data->rwb, data->opf)); in wbt_inflight_cb()