Lines Matching +full:low +full:- +full:to +full:- +full:high
34 .Fa "id_t low"
35 .Fa "id_t high"
43 .Fa "id_t low"
44 .Fa "id_t high"
75 .Bl -tag -width Fa
77 A pointer to an
83 An identifier, a signed 32-bit integer.
85 An ASCII character string to call the identifier space.
86 .It Fa low
89 .It Fa high
96 suite of functions is used to create and manage identifier spaces.
97 An identifier space allows the system to manage a range of identifiers.
101 Identifier spaces are often used by device drivers to manage ranges of
103 A common use case for identifier spaces is to manage the set of allocated minor
119 .Fa low
121 .Fa high
123 The range is inclusive on the low end and exclusive on the high end.
125 .Pf [ Fa low ,
126 .Fa high Ns ).
131 be used to allocate and manage identifiers.
135 This process allows for disjoint ranges of values to be added to a single
139 function is used to do this, and it adds the range
140 .Fa low
142 .Fa high
148 .Fa low
150 .Fa high .
155 function to destroy the id space
164 They should only be called from a context where it's safe for it to block.
165 This is equivalent to performing a blocking memory allocation.
171 .Bl -enum
173 Allocating an identifier using the standard algorithm that attempts to
180 Using this will tend to keep the allocated id space more compressed.
186 non-blocking fashion.
189 prefix are used, they are non-blocking.
212 function attempts to allocate the specific identifier
219 Every allocated identifier must eventually be freed and returned to the
227 It is a programmer error to call the
247 function returns a pointer to an identifier space.
250 is returned to indicate that the identifier space could not be created.
267 .Sy -1
268 is returned to indicate that no identifier was available, or in the case