Home
last modified time | relevance | path

Searched refs:cttype (Results 1 – 3 of 3) sorted by relevance

/linux/lib/
A Dcodetag.c47 .cttype = cttype, in codetag_get_ct_iter()
72 struct codetag_type *cttype = iter->cttype; in codetag_next_ct() local
195 cttype->count += range_size(cttype, &range); in codetag_module_init()
197 cttype->desc.module_load(cttype, cmod); in codetag_module_init()
249 if (!cttype->desc.module_unload(cttype, cmod)) in codetag_unload_module()
252 cttype->count -= range_size(cttype, &cmod->range); in codetag_unload_module()
272 cttype = kzalloc(sizeof(*cttype), GFP_KERNEL); in codetag_register_type()
273 if (unlikely(!cttype)) in codetag_register_type()
276 cttype->desc = *desc; in codetag_register_type()
282 kfree(cttype); in codetag_register_type()
[all …]
A Dalloc_tag.c152 static bool alloc_tag_module_unload(struct codetag_type *cttype, in alloc_tag_module_unload() argument
155 struct codetag_iterator iter = codetag_get_ct_iter(cttype); in alloc_tag_module_unload()
/linux/include/linux/
A Dcodetag.h36 void (*module_load)(struct codetag_type *cttype,
38 bool (*module_unload)(struct codetag_type *cttype,
43 struct codetag_type *cttype; member
63 void codetag_lock_module_list(struct codetag_type *cttype, bool lock);
64 bool codetag_trylock_module_list(struct codetag_type *cttype);
65 struct codetag_iterator codetag_get_ct_iter(struct codetag_type *cttype);

Completed in 8 milliseconds