Lines Matching defs:log
127 struct b43legacy_txstatus_log *log = &dev->dfsentry->txstatlog;
133 spin_lock_irqsave(&log->lock, flags);
134 if (log->end < 0) {
142 i = log->end + 1;
147 stat = &(log->log[i]);
162 if (i == log->end)
167 spin_unlock_irqrestore(&log->lock, flags);
371 struct b43legacy_txstatus_log *log;
381 log = &e->txstatlog;
382 log->log = kcalloc(B43legacy_NR_LOGGED_TXSTATUS,
384 if (!log->log) {
389 log->end = -1;
390 spin_lock_init(&log->lock);
436 kfree(e->txstatlog.log);
444 struct b43legacy_txstatus_log *log;
450 log = &e->txstatlog;
452 spin_lock(&log->lock);
453 i = log->end + 1;
456 log->end = i;
457 cur = &(log->log[i]);
459 spin_unlock(&log->lock);