Home
last modified time | relevance | path

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

/linux/lib/
H A Dcodetag.c38 void codetag_lock_module_list(struct codetag_type *cttype, bool lock) in codetag_lock_module_list() argument
41 down_read(&cttype->mod_lock); in codetag_lock_module_list()
43 up_read(&cttype->mod_lock); in codetag_lock_module_list()
46 bool codetag_trylock_module_list(struct codetag_type *cttype) in codetag_trylock_module_list() argument
48 return down_read_trylock(&cttype->mod_lock) != 0; in codetag_trylock_module_list()
51 struct codetag_iterator codetag_get_ct_iter(struct codetag_type *cttype) in codetag_get_ct_iter() argument
54 .cttype = cttype, in codetag_get_ct_iter()
73 ((char *)iter->ct + iter->cttype->desc.tag_size); in get_next_module_ct()
80 struct codetag_type *cttype = iter->cttype; in codetag_next_ct() local
84 lockdep_assert_held(&cttype->mod_lock); in codetag_next_ct()
[all …]
/linux/include/linux/
H A Dcodetag.h56 struct codetag_type *cttype; member
77 void codetag_lock_module_list(struct codetag_type *cttype, bool lock);
78 bool codetag_trylock_module_list(struct codetag_type *cttype);
79 struct codetag_iterator codetag_get_ct_iter(struct codetag_type *cttype);