| .. | .. |
|---|
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2012-2016, 2020-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2012-2016, 2020-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 20 | 20 | */ |
|---|
| 21 | 21 | |
|---|
| 22 | 22 | /** |
|---|
| 23 | | - * Header file for mem profiles entries in debugfs |
|---|
| 23 | + * DOC: Header file for mem profiles entries in debugfs |
|---|
| 24 | 24 | * |
|---|
| 25 | 25 | */ |
|---|
| 26 | 26 | |
|---|
| .. | .. |
|---|
| 31 | 31 | #include <linux/seq_file.h> |
|---|
| 32 | 32 | |
|---|
| 33 | 33 | /** |
|---|
| 34 | | - * Remove entry from Mali memory profile debugfs |
|---|
| 34 | + * kbasep_mem_profile_debugfs_remove - Remove entry from Mali memory profile debugfs |
|---|
| 35 | + * |
|---|
| 35 | 36 | * @kctx: The context whose debugfs file @p data should be removed from |
|---|
| 36 | 37 | */ |
|---|
| 37 | 38 | void kbasep_mem_profile_debugfs_remove(struct kbase_context *kctx); |
|---|
| 38 | 39 | |
|---|
| 39 | 40 | /** |
|---|
| 40 | | - * Insert @p data to the debugfs file so it can be read by userspace |
|---|
| 41 | + * kbasep_mem_profile_debugfs_insert - Insert @p data to the debugfs file |
|---|
| 42 | + * so it can be read by userspace |
|---|
| 43 | + * |
|---|
| 41 | 44 | * @kctx: The context whose debugfs file @p data should be inserted to |
|---|
| 42 | 45 | * @data: A NULL-terminated string to be inserted to the debugfs file, |
|---|
| 43 | 46 | * without the trailing new line character |
|---|
| .. | .. |
|---|
| 49 | 52 | * If the debugfs entry corresponding to the @p kctx doesn't exist, |
|---|
| 50 | 53 | * an attempt will be made to create it. |
|---|
| 51 | 54 | * |
|---|
| 52 | | - * @return 0 if @p data inserted correctly |
|---|
| 53 | | - * -EAGAIN in case of error |
|---|
| 55 | + * Return: 0 if @p data inserted correctly, -EAGAIN in case of error |
|---|
| 56 | + * |
|---|
| 54 | 57 | * @post @ref mem_profile_initialized will be set to @c true |
|---|
| 55 | 58 | * the first time this function succeeds. |
|---|
| 56 | 59 | */ |
|---|