debug_log         302 drivers/ide/ide-atapi.c 	debug_log("%s: scsi_req(rq)->cmd[0]: 0x%x\n", __func__, scsi_req(rq)->cmd[0]);
debug_log         375 drivers/ide/ide-atapi.c 	debug_log("ireason: 0x%x, rw: 0x%x\n", ireason, rw);
debug_log         428 drivers/ide/ide-atapi.c 	debug_log("Enter %s - interrupt handler\n", __func__);
debug_log         451 drivers/ide/ide-atapi.c 		debug_log("%s: DMA finished\n", drive->name);
debug_log         459 drivers/ide/ide-atapi.c 		debug_log("Packet command completed, %d bytes transferred\n",
debug_log         472 drivers/ide/ide-atapi.c 			debug_log("%s: I/O error\n", drive->name);
debug_log         483 drivers/ide/ide-atapi.c 			debug_log("[cmd %x]: check condition\n", scsi_req(rq)->cmd[0]);
debug_log         550 drivers/ide/ide-atapi.c 	debug_log("[cmd %x] transferred %d bytes, padded %d bytes, resid: %u\n",
debug_log          40 net/batman-adv/log.c static char *batadv_log_char_addr(struct batadv_priv_debug_log *debug_log,
debug_log          43 net/batman-adv/log.c 	return &debug_log->log_buff[idx & BATADV_LOG_BUFF_MASK];
debug_log          46 net/batman-adv/log.c static void batadv_emit_log_char(struct batadv_priv_debug_log *debug_log,
debug_log          51 net/batman-adv/log.c 	char_addr = batadv_log_char_addr(debug_log, debug_log->log_end);
debug_log          53 net/batman-adv/log.c 	debug_log->log_end++;
debug_log          55 net/batman-adv/log.c 	if (debug_log->log_end - debug_log->log_start > batadv_log_buff_len)
debug_log          56 net/batman-adv/log.c 		debug_log->log_start = debug_log->log_end - batadv_log_buff_len;
debug_log          60 net/batman-adv/log.c static int batadv_fdebug_log(struct batadv_priv_debug_log *debug_log,
debug_log          67 net/batman-adv/log.c 	if (!debug_log)
debug_log          70 net/batman-adv/log.c 	spin_lock_bh(&debug_log->lock);
debug_log          76 net/batman-adv/log.c 		batadv_emit_log_char(debug_log, *p);
debug_log          78 net/batman-adv/log.c 	spin_unlock_bh(&debug_log->lock);
debug_log          80 net/batman-adv/log.c 	wake_up(&debug_log->queue_wait);
debug_log         104 net/batman-adv/log.c static bool batadv_log_empty(struct batadv_priv_debug_log *debug_log)
debug_log         106 net/batman-adv/log.c 	return !(debug_log->log_start - debug_log->log_end);
debug_log         113 net/batman-adv/log.c 	struct batadv_priv_debug_log *debug_log = bat_priv->debug_log;
debug_log         118 net/batman-adv/log.c 	if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log))
debug_log         130 net/batman-adv/log.c 	error = wait_event_interruptible(debug_log->queue_wait,
debug_log         131 net/batman-adv/log.c 					 (!batadv_log_empty(debug_log)));
debug_log         136 net/batman-adv/log.c 	spin_lock_bh(&debug_log->lock);
debug_log         139 net/batman-adv/log.c 	       (debug_log->log_start != debug_log->log_end)) {
debug_log         140 net/batman-adv/log.c 		char_addr = batadv_log_char_addr(debug_log,
debug_log         141 net/batman-adv/log.c 						 debug_log->log_start);
debug_log         144 net/batman-adv/log.c 		debug_log->log_start++;
debug_log         146 net/batman-adv/log.c 		spin_unlock_bh(&debug_log->lock);
debug_log         150 net/batman-adv/log.c 		spin_lock_bh(&debug_log->lock);
debug_log         156 net/batman-adv/log.c 	spin_unlock_bh(&debug_log->lock);
debug_log         167 net/batman-adv/log.c 	struct batadv_priv_debug_log *debug_log = bat_priv->debug_log;
debug_log         169 net/batman-adv/log.c 	poll_wait(file, &debug_log->queue_wait, wait);
debug_log         171 net/batman-adv/log.c 	if (!batadv_log_empty(debug_log))
debug_log         193 net/batman-adv/log.c 	bat_priv->debug_log = kzalloc(sizeof(*bat_priv->debug_log), GFP_ATOMIC);
debug_log         194 net/batman-adv/log.c 	if (!bat_priv->debug_log)
debug_log         197 net/batman-adv/log.c 	spin_lock_init(&bat_priv->debug_log->lock);
debug_log         198 net/batman-adv/log.c 	init_waitqueue_head(&bat_priv->debug_log->queue_wait);
debug_log         211 net/batman-adv/log.c 	kfree(bat_priv->debug_log);
debug_log         212 net/batman-adv/log.c 	bat_priv->debug_log = NULL;
debug_log         235 net/batman-adv/log.c 	batadv_fdebug_log(bat_priv->debug_log, "[%10u] %pV",
debug_log        1730 net/batman-adv/types.h 	struct batadv_priv_debug_log *debug_log;