db_info 286 arch/s390/kernel/debug.c static void debug_areas_free(debug_info_t *db_info) db_info 290 arch/s390/kernel/debug.c if (!db_info->areas) db_info 292 arch/s390/kernel/debug.c for (i = 0; i < db_info->nr_areas; i++) { db_info 293 arch/s390/kernel/debug.c for (j = 0; j < db_info->pages_per_area; j++) db_info 294 arch/s390/kernel/debug.c kfree(db_info->areas[i][j]); db_info 295 arch/s390/kernel/debug.c kfree(db_info->areas[i]); db_info 297 arch/s390/kernel/debug.c kfree(db_info->areas); db_info 298 arch/s390/kernel/debug.c db_info->areas = NULL; db_info 305 arch/s390/kernel/debug.c static void debug_info_free(debug_info_t *db_info) db_info 307 arch/s390/kernel/debug.c debug_areas_free(db_info); db_info 308 arch/s390/kernel/debug.c kfree(db_info->active_entries); db_info 309 arch/s390/kernel/debug.c kfree(db_info->active_pages); db_info 310 arch/s390/kernel/debug.c kfree(db_info); db_info 394 arch/s390/kernel/debug.c static void debug_info_get(debug_info_t *db_info) db_info 396 arch/s390/kernel/debug.c if (db_info) db_info 397 arch/s390/kernel/debug.c refcount_inc(&db_info->ref_count); db_info 404 arch/s390/kernel/debug.c static void debug_info_put(debug_info_t *db_info) db_info 408 arch/s390/kernel/debug.c if (!db_info) db_info 410 arch/s390/kernel/debug.c if (refcount_dec_and_test(&db_info->ref_count)) { db_info 412 arch/s390/kernel/debug.c if (!db_info->views[i]) db_info 414 arch/s390/kernel/debug.c debugfs_remove(db_info->debugfs_entries[i]); db_info 416 arch/s390/kernel/debug.c debugfs_remove(db_info->debugfs_root_entry); db_info 417 arch/s390/kernel/debug.c if (db_info == debug_area_first) db_info 418 arch/s390/kernel/debug.c debug_area_first = db_info->next; db_info 419 arch/s390/kernel/debug.c if (db_info == debug_area_last) db_info 420 arch/s390/kernel/debug.c debug_area_last = db_info->prev; db_info 421 arch/s390/kernel/debug.c if (db_info->prev) db_info 422 arch/s390/kernel/debug.c db_info->prev->next = db_info->next; db_info 423 arch/s390/kernel/debug.c if (db_info->next) db_info 424 arch/s390/kernel/debug.c db_info->next->prev = db_info->prev; db_info 425 arch/s390/kernel/debug.c debug_info_free(db_info); db_info 316 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c static void cmdq_fill_db(u32 *db_info, db_info 319 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c *db_info = HINIC_CMDQ_DB_INFO_SET(UPPER_8_BITS(prod_idx), HI_PROD_IDX) | db_info 328 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c u32 db_info; db_info 330 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c cmdq_fill_db(&db_info, cmdq_type, prod_idx); db_info 333 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c db_info = cpu_to_be32(db_info); db_info 337 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c writel(db_info, CMDQ_DB_ADDR(cmdq->db_base, prod_idx));