Home
last modified time | relevance | path

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

/linux/lib/
H A Dcodetag.c31 void codetag_lock_module_list(struct codetag_type *cttype, bool lock) in codetag_lock_module_list() argument
34 down_read(&cttype->mod_lock); in codetag_lock_module_list()
36 up_read(&cttype->mod_lock); in codetag_lock_module_list()
39 bool codetag_trylock_module_list(struct codetag_type *cttype) in codetag_trylock_module_list() argument
41 return down_read_trylock(&cttype->mod_lock) != 0; in codetag_trylock_module_list()
44 struct codetag_iterator codetag_get_ct_iter(struct codetag_type *cttype) in codetag_get_ct_iter() argument
47 .cttype = cttype, in codetag_get_ct_iter()
65 ((char *)iter->ct + iter->cttype->desc.tag_size); in get_next_module_ct()
72 struct codetag_type *cttype = iter->cttype; in codetag_next_ct() local
76 lockdep_assert_held(&cttype->mod_lock); in codetag_next_ct()
[all …]
H 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()