Searched refs:dbf (Results 1 - 28 of 28) sorted by relevance

/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_dbf.c39 void zfcp_dbf_pl_write(struct zfcp_dbf *dbf, void *data, u16 length, char *area, zfcp_dbf_pl_write() argument
42 struct zfcp_dbf_pay *pl = &dbf->pay_buf; zfcp_dbf_pl_write()
45 spin_lock(&dbf->pay_lock); zfcp_dbf_pl_write()
54 debug_event(dbf->pay, 1, pl, zfcp_dbf_plen(rec_length)); zfcp_dbf_pl_write()
60 spin_unlock(&dbf->pay_lock); zfcp_dbf_pl_write()
70 struct zfcp_dbf *dbf = req->adapter->dbf; zfcp_dbf_hba_fsf_res() local
73 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_res()
76 spin_lock_irqsave(&dbf->hba_lock, flags); zfcp_dbf_hba_fsf_res()
96 zfcp_dbf_pl_write(dbf, (char *)q_pref + q_head->log_start, zfcp_dbf_hba_fsf_res()
100 debug_event(dbf->hba, 1, rec, sizeof(*rec)); zfcp_dbf_hba_fsf_res()
101 spin_unlock_irqrestore(&dbf->hba_lock, flags); zfcp_dbf_hba_fsf_res()
111 struct zfcp_dbf *dbf = req->adapter->dbf; zfcp_dbf_hba_fsf_uss() local
113 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_fsf_uss()
116 spin_lock_irqsave(&dbf->hba_lock, flags); zfcp_dbf_hba_fsf_uss()
140 zfcp_dbf_pl_write(dbf, srb->payload.data, rec->pl_len, zfcp_dbf_hba_fsf_uss()
143 debug_event(dbf->hba, 2, rec, sizeof(*rec)); zfcp_dbf_hba_fsf_uss()
144 spin_unlock_irqrestore(&dbf->hba_lock, flags); zfcp_dbf_hba_fsf_uss()
154 struct zfcp_dbf *dbf = req->adapter->dbf; zfcp_dbf_hba_bit_err() local
155 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_bit_err()
159 spin_lock_irqsave(&dbf->hba_lock, flags); zfcp_dbf_hba_bit_err()
170 debug_event(dbf->hba, 1, rec, sizeof(*rec)); zfcp_dbf_hba_bit_err()
171 spin_unlock_irqrestore(&dbf->hba_lock, flags); zfcp_dbf_hba_bit_err()
184 struct zfcp_dbf *dbf = adapter->dbf; zfcp_dbf_hba_def_err() local
185 struct zfcp_dbf_pay *payload = &dbf->pay_buf; zfcp_dbf_hba_def_err()
192 spin_lock_irqsave(&dbf->pay_lock, flags); zfcp_dbf_hba_def_err()
203 debug_event(dbf->pay, 1, payload, zfcp_dbf_plen(length)); zfcp_dbf_hba_def_err()
207 spin_unlock_irqrestore(&dbf->pay_lock, flags); zfcp_dbf_hba_def_err()
216 struct zfcp_dbf *dbf = adapter->dbf; zfcp_dbf_hba_basic() local
217 struct zfcp_dbf_hba *rec = &dbf->hba_buf; zfcp_dbf_hba_basic()
220 spin_lock_irqsave(&dbf->hba_lock, flags); zfcp_dbf_hba_basic()
226 debug_event(dbf->hba, 1, rec, sizeof(*rec)); zfcp_dbf_hba_basic()
227 spin_unlock_irqrestore(&dbf->hba_lock, flags); zfcp_dbf_hba_basic()
262 struct zfcp_dbf *dbf = adapter->dbf; zfcp_dbf_rec_trig() local
263 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_trig()
267 spin_lock_irqsave(&dbf->rec_lock, flags); zfcp_dbf_rec_trig()
283 debug_event(dbf->rec, 1, rec, sizeof(*rec)); zfcp_dbf_rec_trig()
284 spin_unlock_irqrestore(&dbf->rec_lock, flags); zfcp_dbf_rec_trig()
295 struct zfcp_dbf *dbf = erp->adapter->dbf; zfcp_dbf_rec_run() local
296 struct zfcp_dbf_rec *rec = &dbf->rec_buf; zfcp_dbf_rec_run()
299 spin_lock_irqsave(&dbf->rec_lock, flags); zfcp_dbf_rec_run()
319 debug_event(dbf->rec, 1, rec, sizeof(*rec)); zfcp_dbf_rec_run()
320 spin_unlock_irqrestore(&dbf->rec_lock, flags); zfcp_dbf_rec_run()
324 void zfcp_dbf_san(char *tag, struct zfcp_dbf *dbf, void *data, u8 id, u16 len, zfcp_dbf_san() argument
327 struct zfcp_dbf_san *rec = &dbf->san_buf; zfcp_dbf_san()
331 spin_lock_irqsave(&dbf->san_lock, flags); zfcp_dbf_san()
341 debug_event(dbf->san, 1, rec, sizeof(*rec)); zfcp_dbf_san()
342 spin_unlock_irqrestore(&dbf->san_lock, flags); zfcp_dbf_san()
353 struct zfcp_dbf *dbf = fsf->adapter->dbf; zfcp_dbf_san_req() local
358 zfcp_dbf_san(tag, dbf, sg_virt(ct_els->req), ZFCP_DBF_SAN_REQ, length, zfcp_dbf_san_req()
369 struct zfcp_dbf *dbf = fsf->adapter->dbf; zfcp_dbf_san_res() local
374 zfcp_dbf_san(tag, dbf, sg_virt(ct_els->resp), ZFCP_DBF_SAN_RES, length, zfcp_dbf_san_res()
385 struct zfcp_dbf *dbf = fsf->adapter->dbf; zfcp_dbf_san_in_els() local
392 zfcp_dbf_san(tag, dbf, srb->payload.data, ZFCP_DBF_SAN_ELS, length, zfcp_dbf_san_in_els()
406 struct zfcp_dbf *dbf = adapter->dbf; zfcp_dbf_scsi() local
407 struct zfcp_dbf_scsi *rec = &dbf->scsi_buf; zfcp_dbf_scsi()
412 spin_lock_irqsave(&dbf->scsi_lock, flags); zfcp_dbf_scsi()
440 zfcp_dbf_pl_write(dbf, sc->sense_buffer, rec->pl_len, zfcp_dbf_scsi()
445 debug_event(dbf->scsi, 1, rec, sizeof(*rec)); zfcp_dbf_scsi()
446 spin_unlock_irqrestore(&dbf->scsi_lock, flags); zfcp_dbf_scsi()
463 static void zfcp_dbf_unregister(struct zfcp_dbf *dbf) zfcp_dbf_unregister() argument
465 if (!dbf) zfcp_dbf_unregister()
468 debug_unregister(dbf->scsi); zfcp_dbf_unregister()
469 debug_unregister(dbf->san); zfcp_dbf_unregister()
470 debug_unregister(dbf->hba); zfcp_dbf_unregister()
471 debug_unregister(dbf->pay); zfcp_dbf_unregister()
472 debug_unregister(dbf->rec); zfcp_dbf_unregister()
473 kfree(dbf); zfcp_dbf_unregister()
484 struct zfcp_dbf *dbf; zfcp_dbf_adapter_register() local
486 dbf = kzalloc(sizeof(struct zfcp_dbf), GFP_KERNEL); zfcp_dbf_adapter_register()
487 if (!dbf) zfcp_dbf_adapter_register()
490 spin_lock_init(&dbf->pay_lock); zfcp_dbf_adapter_register()
491 spin_lock_init(&dbf->hba_lock); zfcp_dbf_adapter_register()
492 spin_lock_init(&dbf->san_lock); zfcp_dbf_adapter_register()
493 spin_lock_init(&dbf->scsi_lock); zfcp_dbf_adapter_register()
494 spin_lock_init(&dbf->rec_lock); zfcp_dbf_adapter_register()
498 dbf->rec = zfcp_dbf_reg(name, dbfsize, sizeof(struct zfcp_dbf_rec)); zfcp_dbf_adapter_register()
499 if (!dbf->rec) zfcp_dbf_adapter_register()
504 dbf->hba = zfcp_dbf_reg(name, dbfsize, sizeof(struct zfcp_dbf_hba)); zfcp_dbf_adapter_register()
505 if (!dbf->hba) zfcp_dbf_adapter_register()
510 dbf->pay = zfcp_dbf_reg(name, dbfsize * 2, sizeof(struct zfcp_dbf_pay)); zfcp_dbf_adapter_register()
511 if (!dbf->pay) zfcp_dbf_adapter_register()
516 dbf->san = zfcp_dbf_reg(name, dbfsize, sizeof(struct zfcp_dbf_san)); zfcp_dbf_adapter_register()
517 if (!dbf->san) zfcp_dbf_adapter_register()
522 dbf->scsi = zfcp_dbf_reg(name, dbfsize, sizeof(struct zfcp_dbf_scsi)); zfcp_dbf_adapter_register()
523 if (!dbf->scsi) zfcp_dbf_adapter_register()
526 adapter->dbf = dbf; zfcp_dbf_adapter_register()
530 zfcp_dbf_unregister(dbf); zfcp_dbf_adapter_register()
540 struct zfcp_dbf *dbf = adapter->dbf; zfcp_dbf_adapter_unregister() local
542 adapter->dbf = NULL; zfcp_dbf_adapter_unregister()
543 zfcp_dbf_unregister(dbf); zfcp_dbf_adapter_unregister()
H A Dzfcp_dbf.h243 * struct zfcp_dbf - main dbf trace structure
281 if (debug_level_enabled(req->adapter->dbf->hba, level)) zfcp_dbf_hba_fsf_resp()
320 if (debug_level_enabled(adapter->dbf->scsi, level)) _zfcp_dbf_scsi()
H A Dzfcp_def.h184 struct zfcp_dbf *dbf; /* debug traces */ member in struct:zfcp_adapter
/linux-4.1.27/drivers/s390/cio/
H A Dchsc_sch.c249 char dbf[10]; chsc_async() local
264 snprintf(dbf, sizeof(dbf), "cc:%d", cc); chsc_async()
265 CHSC_LOG(2, dbf); chsc_async()
295 char dbf[10]; chsc_log_command() local
297 snprintf(dbf, sizeof(dbf), "CHSC:%x", ((uint16_t *)chsc_area)[1]); chsc_log_command()
298 CHSC_LOG(0, dbf); chsc_log_command()
330 char dbf[10]; chsc_ioctl_start() local
361 snprintf(dbf, sizeof(dbf), "ret:%d", ret); chsc_ioctl_start()
362 CHSC_LOG(0, dbf); chsc_ioctl_start()
370 char dbf[13]; chsc_ioctl_on_close_set() local
403 snprintf(dbf, sizeof(dbf), "ocsret:%d", ret); chsc_ioctl_on_close_set()
404 CHSC_LOG(0, dbf); chsc_ioctl_on_close_set()
410 char dbf[13]; chsc_ioctl_on_close_remove() local
425 snprintf(dbf, sizeof(dbf), "ocrret:%d", ret); chsc_ioctl_on_close_remove()
426 CHSC_LOG(0, dbf); chsc_ioctl_on_close_remove()
932 char dbf[13]; chsc_release() local
948 snprintf(dbf, sizeof(dbf), "relret:%d", ret); chsc_release()
949 CHSC_LOG(0, dbf); chsc_release()
H A Dqdio_debug.c86 DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf reused"); qdio_allocate_dbf()
97 DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf created"); qdio_allocate_dbf()
356 DBF_EVENT("dbf created\n"); qdio_debug_init()
361 DBF_ERROR("dbf created\n"); qdio_debug_init()
H A Dqdio_main.c1236 DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf abandoned"); qdio_free()
/linux-4.1.27/drivers/scsi/
H A Dmac_scsi.c183 " 2: dbf %%d0,1b\n" \
195 " 4: dbf %%d0,3b\n" \
201 " 6: dbf %%d0,5b\n" \
205 " 8: dbf %2,7b\n" \
277 " 2: dbf %%d0,1b\n" \
289 " 4: dbf %%d0,3b\n" \
295 " 6: dbf %%d0,5b\n" \
299 " 8: dbf %2,7b\n" \
/linux-4.1.27/drivers/input/misc/
H A Dab8500-ponkey.c90 "ab8500-ponkey-dbf", ponkey); ab8500_ponkey_probe()
92 dev_err(ab8500->dev, "Failed to request dbf IRQ#%d: %d\n", ab8500_ponkey_probe()
H A Daxp20x-pek.c245 "axp20x-pek-dbf", idev); axp20x_pek_probe()
247 dev_err(axp20x->dev, "Failed to request dbf IRQ#%d: %d\n", axp20x_pek_probe()
/linux-4.1.27/drivers/s390/net/
H A Dctcm_dbug.h33 /* define dbf debug levels similar to kernel msg levels */
H A Dqeth_core_main.c34 /* define dbf - Name, Pages, Areas, Maxlen, Level, View, Handle */
/linux-4.1.27/arch/m68k/kernel/
H A Drelocate_kernel.S115 dbf %d0, 3b
/linux-4.1.27/arch/m68k/fpsp040/
H A Dbinstr.S79 subql #1,%d0 |for dbf d0 would have LEN+1 passes
122 dbf %d0,loop |do loop some more!
129 dbf %d0,loop |do loop some more!
H A Ddecbin.S157 dbf %d2,e_gd |if we have used all 3 digits, exit loop
221 dbf %d2,md2b |check for last digit in this lw
310 dbf %d2,ap_p_gd |get next digit
358 dbf %d2,ap_n_gd |get next digit
H A Dskeleton.S484 dbf %d0,moreout
499 dbf %d0,morein
H A Dbugfix.S312 dbf %d0,op0_loop
438 dbf %d0,op2_loop
H A Dbindec.S500 dbf %d3,A9_loop
766 dbf %d0,m_loop |given in d0
856 dbf %d0,x_loop |given in d0
/linux-4.1.27/arch/s390/kvm/
H A Dkvm-s390.h32 debug_sprintf_event(d_kvm->arch.dbf, d_loglevel, d_string "\n", \
38 debug_sprintf_event(d_vcpu->kvm->arch.dbf, d_loglevel, \
H A Dkvm-s390.c1046 kvm->arch.dbf = debug_register(debug_name, 8, 2, 8 * sizeof(long)); kvm_arch_init_vm()
1047 if (!kvm->arch.dbf) kvm_arch_init_vm()
1088 debug_register_view(kvm->arch.dbf, &debug_sprintf_view); kvm_arch_init_vm()
1111 debug_unregister(kvm->arch.dbf); kvm_arch_init_vm()
1163 debug_unregister(kvm->arch.dbf); kvm_arch_destroy_vm()
/linux-4.1.27/drivers/s390/char/
H A Dtape.h40 * macros s390 debug feature (dbf)
H A Dtape_core.c911 * Write sense data to dbf
/linux-4.1.27/drivers/s390/block/
H A Ddasd_int.h86 * SECTION: MACROs for klogd and s390 debug feature (dbf)
133 /* definition of dbf debug levels */
143 /* messages to be written via klogd and dbf */
/linux-4.1.27/arch/s390/include/asm/
H A Dkvm_host.h582 debug_info_t *dbf; member in struct:kvm_arch
/linux-4.1.27/drivers/net/wan/
H A Dwanxlfw.S154 subl #1, \len // for dbf
/linux-4.1.27/arch/m68k/ifpsp060/src/
H A Dilsp.S441 dbf %d7, lddnlp
H A Dpfpsp.S13071 dbf.w %d2,e_gd # if we have used all 3 digits, exit loop
13135 dbf.w %d2,md2b # check for last digit in this lw
13222 dbf.w %d2,ap_p_gd # get next digit
13270 dbf.w %d2,ap_n_gd # get next digit
14212 dbf.w %d0,m_loop # given in d0
14302 dbf.w %d0,x_loop # given in d0
14481 subq.l &1,%d0 # for dbf d0 would have LEN+1 passes
14524 dbf.w %d0,loop # do loop some more!
14531 dbf.w %d0,loop # do loop some more!
H A Dfpsp.S23111 dbf.w %d2,e_gd # if we have used all 3 digits, exit loop
23175 dbf.w %d2,md2b # check for last digit in this lw
23262 dbf.w %d2,ap_p_gd # get next digit
23310 dbf.w %d2,ap_n_gd # get next digit
24252 dbf.w %d0,m_loop # given in d0
24342 dbf.w %d0,x_loop # given in d0
24521 subq.l &1,%d0 # for dbf d0 would have LEN+1 passes
24564 dbf.w %d0,loop # do loop some more!
24571 dbf.w %d0,loop # do loop some more!
H A Disp.S2391 dbf %d7, ddnlp

Completed in 785 milliseconds