Searched refs:cttype (Results 1 – 2 of 2) sorted by relevance
31 void codetag_lock_module_list(struct codetag_type *cttype, bool lock) in codetag_lock_module_list() argument34 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() argument41 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() argument47 .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() local76 lockdep_assert_held(&cttype->mod_lock); in codetag_next_ct()[all …]
152 static bool alloc_tag_module_unload(struct codetag_type *cttype, in alloc_tag_module_unload() argument155 struct codetag_iterator iter = codetag_get_ct_iter(cttype); in alloc_tag_module_unload()