Searched refs:cttype (Results 1 – 2 of 2) sorted by relevance
40 void codetag_lock_module_list(struct codetag_type *cttype) in codetag_lock_module_list() argument42 down_read(&cttype->mod_lock); in codetag_lock_module_list()45 bool codetag_trylock_module_list(struct codetag_type *cttype) in codetag_trylock_module_list() argument47 return down_read_trylock(&cttype->mod_lock) != 0; in codetag_trylock_module_list()50 void codetag_unlock_module_list(struct codetag_type *cttype) in codetag_unlock_module_list() argument52 up_read(&cttype->mod_lock); in codetag_unlock_module_list()55 unsigned long codetag_get_content_id(struct codetag_type *cttype) in codetag_get_content_id() argument57 lockdep_assert_held(&cttype->mod_lock); in codetag_get_content_id()59 return cttype->content_id; in codetag_get_content_id()62 unsigned int codetag_get_count(struct codetag_type *cttype) in codetag_get_count() argument[all …]
56 struct codetag_type *cttype; member77 void codetag_lock_module_list(struct codetag_type *cttype);78 bool codetag_trylock_module_list(struct codetag_type *cttype);79 void codetag_unlock_module_list(struct codetag_type *cttype);80 unsigned long codetag_get_content_id(struct codetag_type *cttype);81 unsigned int codetag_get_count(struct codetag_type *cttype);82 struct codetag_iterator codetag_get_ct_iter(struct codetag_type *cttype);