Lines Matching defs:ta
237 TAG_ALLOC *ta;
244 ta = &TagAlloc[target][lun];
245 memset( &ta->allocated, 0, MAX_TAGS/8 );
246 ta->nr_allocated = 0;
251 ta->queue_size = MAX_TAGS;
303 TAG_ALLOC *ta = &TagAlloc[cmd->device->id][cmd->device->lun];
305 cmd->tag = find_first_zero_bit( &ta->allocated, MAX_TAGS );
306 set_bit( cmd->tag, &ta->allocated );
307 ta->nr_allocated++;
311 ta->nr_allocated );
334 TAG_ALLOC *ta = &TagAlloc[cmd->device->id][cmd->device->lun];
335 clear_bit( cmd->tag, &ta->allocated );
336 ta->nr_allocated--;
346 TAG_ALLOC *ta;
353 ta = &TagAlloc[target][lun];
354 memset( &ta->allocated, 0, MAX_TAGS/8 );
355 ta->nr_allocated = 0;
2031 TAG_ALLOC *ta = &TagAlloc[cmd->device->id][cmd->device->lun];
2035 ta->nr_allocated);
2036 if (ta->queue_size > ta->nr_allocated)
2037 ta->nr_allocated = ta->queue_size;