Lines Matching full:keyword
49 const char *keyword; member
59 * keyword mask_val index
101 * An array of client_debug_mask will be built to hold debug keyword/mask
105 char *keyword; member
454 * Map the keyword string from userspace into a valid debug mask. in orangefs_debug_write()
574 cdm_array[i].keyword = kzalloc(keyword_len + 1, GFP_KERNEL); in orangefs_prepare_cdm_array()
575 if (!cdm_array[i].keyword) { in orangefs_prepare_cdm_array()
582 cdm_array[i].keyword, in orangefs_prepare_cdm_array()
586 if (!strcmp(cdm_array[i].keyword, ORANGEFS_VERBOSE)) in orangefs_prepare_cdm_array()
589 if (!strcmp(cdm_array[i].keyword, ORANGEFS_ALL)) in orangefs_prepare_cdm_array()
657 * fill the client keyword/mask array and remember in orangefs_prepare_debugfs_help_string()
669 strlcat(new, cdm_array[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
679 strlcat(new, s_kmod_keyword_mask_map[i].keyword, string_size); in orangefs_prepare_debugfs_help_string()
766 if (keyword_is_amalgam((char *) s_kmod_keyword_mask_map[index].keyword)) in do_k_string()
771 strlen(s_kmod_keyword_mask_map[index].keyword) + 1) in do_k_string()
774 s_kmod_keyword_mask_map[index].keyword); in do_k_string()
792 if (keyword_is_amalgam(cdm_array[index].keyword)) in do_c_string()
798 strlen(cdm_array[index].keyword) + 1) in do_c_string()
801 cdm_array[index].keyword); in do_c_string()
813 static int keyword_is_amalgam(char *keyword) in keyword_is_amalgam() argument
817 if ((!strcmp(keyword, ORANGEFS_ALL)) || (!strcmp(keyword, ORANGEFS_VERBOSE))) in keyword_is_amalgam()
914 if (!strcmp(cdm_array[i].keyword, unchecked_keyword)) { in do_c_mask()
923 if (!strcmp(s_kmod_keyword_mask_map[i].keyword, unchecked_keyword)) in do_k_mask()