Lines Matching +full:dir +full:- +full:842

1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2016-17 IBM Corp.
21 case VAS_COP_TYPE_842: return "NX-842 Normal Priority"; in cop_to_str()
22 case VAS_COP_TYPE_842_HIPRI: return "NX-842 High Priority"; in cop_to_str()
23 case VAS_COP_TYPE_GZIP: return "NX-GZIP Normal Priority"; in cop_to_str()
24 case VAS_COP_TYPE_GZIP_HIPRI: return "NX-GZIP High Priority"; in cop_to_str()
25 case VAS_COP_TYPE_FTW: return "Fast Thread-wakeup"; in cop_to_str()
32 struct pnv_vas_window *window = s->private; in info_show()
37 if (!window->hvwc_map) in info_show()
40 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->vas_win.cop), in info_show()
41 window->tx_win ? "Send" : "Receive"); in info_show()
42 seq_printf(s, "Pid : %d\n", vas_window_pid(&window->vas_win)); in info_show()
59 struct pnv_vas_window *window = s->private; in hvwc_show()
64 if (!window->hvwc_map) in hvwc_show()
109 struct vas_window *window = &pnv_win->vas_win; in vas_window_free_dbgdir()
111 if (window->dbgdir) { in vas_window_free_dbgdir()
112 debugfs_remove_recursive(window->dbgdir); in vas_window_free_dbgdir()
113 kfree(window->dbgname); in vas_window_free_dbgdir()
114 window->dbgdir = NULL; in vas_window_free_dbgdir()
115 window->dbgname = NULL; in vas_window_free_dbgdir()
123 if (!window->vinst->dbgdir) in vas_window_init_dbgdir()
126 window->vas_win.dbgname = kzalloc(16, GFP_KERNEL); in vas_window_init_dbgdir()
127 if (!window->vas_win.dbgname) in vas_window_init_dbgdir()
130 snprintf(window->vas_win.dbgname, 16, "w%d", window->vas_win.winid); in vas_window_init_dbgdir()
132 d = debugfs_create_dir(window->vas_win.dbgname, window->vinst->dbgdir); in vas_window_init_dbgdir()
133 window->vas_win.dbgdir = d; in vas_window_init_dbgdir()
145 vinst->dbgname = kzalloc(16, GFP_KERNEL); in vas_instance_init_dbgdir()
146 if (!vinst->dbgname) in vas_instance_init_dbgdir()
149 snprintf(vinst->dbgname, 16, "v%d", vinst->vas_id); in vas_instance_init_dbgdir()
151 d = debugfs_create_dir(vinst->dbgname, vas_debugfs); in vas_instance_init_dbgdir()
152 vinst->dbgdir = d; in vas_instance_init_dbgdir()
156 * Set up the "root" VAS debugfs dir. Return if we already set it up