File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,12 @@ struct kprobe_insn_cache kprobe_insn_slots = {
135135static int collect_garbage_slots (struct kprobe_insn_cache * c );
136136
137137/**
138- * __get_insn_slot() - Find a slot on an executable page for an instruction.
139- * We allocate an executable page if there's no room on existing ones.
138+ * __get_insn_slot - Find a slot on an executable page for an instruction.
139+ * @c: Pointer to kprobe instruction cache
140+ *
141+ * Description: Locates available slot on existing executable pages,
142+ * allocates an executable page if there's no room on existing ones.
143+ * Return: Pointer to instruction slot on success, NULL on failure.
140144 */
141145kprobe_opcode_t * __get_insn_slot (struct kprobe_insn_cache * c )
142146{
You can’t perform that action at this time.
0 commit comments