Lines Matching defs:common
32 * Externally, both are represented via the same common sub-structure, though there's actually not
45 struct vdo_work_queue common;
68 struct vdo_work_queue common;
76 NULL : container_of(queue, struct simple_work_queue, common));
83 container_of(queue, struct round_robin_work_queue, common));
100 for (i = queue->common.type->max_priority; i >= 0; i--) {
117 completion->priority = queue->common.type->default_priority;
119 if (VDO_ASSERT(completion->priority <= queue->common.type->max_priority,
123 completion->my_queue = &queue->common;
155 if (queue->common.type->start != NULL)
156 queue->common.type->start(queue->private);
161 if (queue->common.type->finish != NULL)
162 queue->common.type->finish(queue->private);
225 if (VDO_ASSERT(completion->my_queue == &queue->common,
279 vdo_free(queue->common.name);
294 vdo_free(queue->common.name);
332 queue->common.type = type;
333 queue->common.owner = owner;
336 result = vdo_duplicate_string(name, "queue name", &queue->common.name);
351 queue->common.name);
398 *queue_ptr = &simple_queue->common;
415 queue->common.round_robin_mode = true;
416 queue->common.owner = owner;
418 result = vdo_duplicate_string(name, "queue name", &queue->common.name);
425 *queue_ptr = &queue->common;
488 vdo_log_info("workQ %px (%s) %s (%c)", &queue->common, queue->common.name,
495 * Write to the buffer some info about the completion, for logging. Since the common use case is
614 return (queue == NULL) ? NULL : &queue->common;