Lines Matching full:priority
2 * lib/parman.c - Manager for linear priority array areas
236 * with the same priority. Consider following example:
247 * In this example, there are 3 priority chunks. The order of the priorities
248 * matters, however the order of items within a single priority chunk does not
260 * The goal of parman is to maintain the priority ordering. The caller
297 * parman_prio_init - initializes a parman priority chunk
300 * @priority: desired priority of the chunk
304 * Before caller could add an item with certain priority, he has to
305 * initialize a priority chunk for it using this function.
308 unsigned long priority) in parman_prio_init() argument
314 prio->priority = priority; in parman_prio_init()
316 /* Position inside the list according to priority */ in parman_prio_init()
319 if (prio2->priority > prio->priority) in parman_prio_init()
327 * parman_prio_fini - finalizes use of parman priority chunk
340 * parman_item_add - adds a parman item under defined priority
347 * Adds item to a array managed by parman instance under the specified priority.
375 MODULE_DESCRIPTION("Priority-based array manager");