Home
last modified time | relevance | path

Searched refs:snic_glob (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/scsi/snic/
H A Dsnic_main.c768 flush_workqueue(snic_glob->event_q); in snic_remove()
808 struct snic_global *snic_glob; variable
822 snic_glob = kzalloc(sizeof(*snic_glob), GFP_KERNEL); in snic_global_data_init()
824 if (!snic_glob) { in snic_global_data_init()
846 INIT_LIST_HEAD(&snic_glob->snic_list); in snic_global_data_init()
888 if (!snic_glob->event_q) { in snic_global_data_init()
911 kfree(snic_glob); in snic_global_data_init()
912 snic_glob = NULL; in snic_global_data_init()
924 SNIC_BUG_ON(snic_glob == NULL); in snic_global_data_cleanup()
938 kfree(snic_glob); in snic_global_data_cleanup()
[all …]
H A Dsnic_debugfs.c21 snic_glob->trc_root = debugfs_create_dir("snic", NULL); in snic_debugfs_init()
23 snic_glob->stats_root = debugfs_create_dir("statistics", in snic_debugfs_init()
24 snic_glob->trc_root); in snic_debugfs_init()
37 debugfs_remove(snic_glob->stats_root); in snic_debugfs_term()
38 snic_glob->stats_root = NULL; in snic_debugfs_term()
40 debugfs_remove(snic_glob->trc_root); in snic_debugfs_term()
41 snic_glob->trc_root = NULL; in snic_debugfs_term()
384 return &snic_glob->trc; in snic_trc_seq_start()
428 snic_glob->trc_root, &snic_glob->trc.enable); in snic_trc_debugfs_init()
431 snic_glob->trc_root, NULL, &snic_trc_fops); in snic_trc_debugfs_init()
[all …]
H A Dsnic_trc.c18 struct snic_trc *trc = &snic_glob->trc; in snic_get_trc_buf()
78 struct snic_trc *trc = &snic_glob->trc; in snic_get_trc_data()
110 struct snic_trc *trc = &snic_glob->trc; in snic_trc_init()
145 struct snic_trc *trc = &snic_glob->trc; in snic_trc_free()
H A Dsnic_trc.h68 if (unlikely(snic_glob->trc.enable)) \
H A Dsnic_disc.c422 queue_work(snic_glob->event_q, &snic->tgt_work); in snic_report_tgt_cmpl_handler()
547 queue_work(snic_glob->event_q, &tgt->del_work); in snic_tgt_del_all()
553 flush_workqueue(snic_glob->event_q); in snic_tgt_del_all()
H A Dsnic.h357 extern struct snic_global *snic_glob;
H A Dsnic_scsi.c1094 queue_work(snic_glob->event_q, &snic->disc_work); in snic_hba_reset_cmpl_handler()