Searched refs:cttype (Results 1 – 2 of 2) sorted by relevance
38 void codetag_lock_module_list(struct codetag_type *cttype, bool lock) in codetag_lock_module_list() argument41 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() argument48 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() argument54 .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() local84 lockdep_assert_held(&cttype->mod_lock); in codetag_next_ct()[all …]
56 struct codetag_type *cttype; member77 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);