Lines Matching refs:bl
71 static bool is_valid_conf_and_notnull_size(paddr_t b, paddr_size_t bl, in is_valid_conf_and_notnull_size() argument
75 if ((b - 1 + bl < b) || (a - 1 + al < a)) in is_valid_conf_and_notnull_size()
78 if (!bl || !al) in is_valid_conf_and_notnull_size()
84 bool core_is_buffer_inside(paddr_t b, paddr_size_t bl, in core_is_buffer_inside() argument
88 if (!is_valid_conf_and_notnull_size(b, bl, a, al)) in core_is_buffer_inside()
91 if ((b >= a) && (b - 1 + bl <= a - 1 + al)) in core_is_buffer_inside()
97 bool core_is_buffer_outside(paddr_t b, paddr_size_t bl, in core_is_buffer_outside() argument
101 if (!is_valid_conf_and_notnull_size(b, bl, a, al)) in core_is_buffer_outside()
104 if ((b + bl - 1 < a) || (b > a + al - 1)) in core_is_buffer_outside()
110 bool core_is_buffer_intersect(paddr_t b, paddr_size_t bl, in core_is_buffer_intersect() argument
114 if (!is_valid_conf_and_notnull_size(b, bl, a, al)) in core_is_buffer_intersect()
117 if ((b + bl - 1 < a) || (b > a + al - 1)) in core_is_buffer_intersect()