Lines Matching defs:ta
236 TAG_ALLOC *ta;
243 ta = &TagAlloc[target][lun];
244 bitmap_zero(ta->allocated, MAX_TAGS);
245 ta->nr_allocated = 0;
250 ta->queue_size = MAX_TAGS;
301 TAG_ALLOC *ta = &TagAlloc[cmd->device->id][cmd->device->lun];
303 cmd->tag = find_first_zero_bit(ta->allocated, MAX_TAGS);
304 set_bit(cmd->tag, ta->allocated);
305 ta->nr_allocated++;
309 cmd->device->lun, ta->nr_allocated);
330 TAG_ALLOC *ta = &TagAlloc[cmd->device->id][cmd->device->lun];
331 clear_bit(cmd->tag, ta->allocated);
332 ta->nr_allocated--;
342 TAG_ALLOC *ta;
349 ta = &TagAlloc[target][lun];
350 bitmap_zero(ta->allocated, MAX_TAGS);
351 ta->nr_allocated = 0;
2020 TAG_ALLOC *ta = &TagAlloc[cmd->device->id][cmd->device->lun];
2024 ta->nr_allocated);
2025 if (ta->queue_size > ta->nr_allocated)
2026 ta->nr_allocated = ta->queue_size;