Lines Matching refs:cdm_array

136 static struct client_debug_mask *cdm_array;  variable
578 cdm_array = kcalloc(cdm_element_count, sizeof(*cdm_array), GFP_KERNEL); in orangefs_prepare_cdm_array()
579 if (!cdm_array) { in orangefs_prepare_cdm_array()
592 cdm_array[i].keyword = kzalloc(keyword_len + 1, GFP_KERNEL); in orangefs_prepare_cdm_array()
593 if (!cdm_array[i].keyword) { in orangefs_prepare_cdm_array()
600 cdm_array[i].keyword, in orangefs_prepare_cdm_array()
601 (unsigned long long *)&(cdm_array[i].mask1), in orangefs_prepare_cdm_array()
602 (unsigned long long *)&(cdm_array[i].mask2)); in orangefs_prepare_cdm_array()
604 if (!strcmp(cdm_array[i].keyword, ORANGEFS_VERBOSE)) in orangefs_prepare_cdm_array()
607 if (!strcmp(cdm_array[i].keyword, ORANGEFS_ALL)) in orangefs_prepare_cdm_array()
687 strlcat(new, cdm_array[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
810 if (keyword_is_amalgam(cdm_array[index].keyword)) in do_c_string()
813 if ((mask->mask1 & cdm_array[index].mask1) || in do_c_string()
814 (mask->mask2 & cdm_array[index].mask2)) { in do_c_string()
816 strlen(cdm_array[index].keyword) + 1) in do_c_string()
819 cdm_array[index].keyword); in do_c_string()
857 if ((c_mask->mask1 == cdm_array[client_all_index].mask1) && in check_amalgam_keyword()
858 (c_mask->mask2 == cdm_array[client_all_index].mask2)) { in check_amalgam_keyword()
864 if ((c_mask->mask1 == cdm_array[client_verbose_index].mask1) && in check_amalgam_keyword()
865 (c_mask->mask2 == cdm_array[client_verbose_index].mask2)) { in check_amalgam_keyword()
932 if (!strcmp(cdm_array[i].keyword, unchecked_keyword)) { in do_c_mask()
933 (**sane_mask).mask1 = (**sane_mask).mask1 | cdm_array[i].mask1; in do_c_mask()
934 (**sane_mask).mask2 = (**sane_mask).mask2 | cdm_array[i].mask2; in do_c_mask()