Lines Matching refs:ORANGEFS_MAX_DEBUG_STRING_LEN
97 static char kernel_debug_string[ORANGEFS_MAX_DEBUG_STRING_LEN] = "none";
99 static char client_debug_string[ORANGEFS_MAX_DEBUG_STRING_LEN];
100 static char client_debug_array_string[ORANGEFS_MAX_DEBUG_STRING_LEN];
197 static char k_buffer[ORANGEFS_MAX_DEBUG_STRING_LEN] = { }; in orangefs_kernel_debug_init()
201 if (strlen(kernel_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_kernel_debug_init()
297 static char c_buffer[ORANGEFS_MAX_DEBUG_STRING_LEN] = { }; in orangefs_client_debug_init()
301 if (strlen(client_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_client_debug_init()
352 buf = kmalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL); in orangefs_debug_read()
396 if (count > ORANGEFS_MAX_DEBUG_STRING_LEN + 1) { in orangefs_debug_write()
398 count = ORANGEFS_MAX_DEBUG_STRING_LEN + 1; in orangefs_debug_write()
401 buf = kzalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL); in orangefs_debug_write()
453 ORANGEFS_MAX_DEBUG_STRING_LEN); in orangefs_debug_write()
475 memset(s, 0, ORANGEFS_MAX_DEBUG_STRING_LEN); in orangefs_debug_write()
686 memset(debug_string, 0, ORANGEFS_MAX_DEBUG_STRING_LEN); in debug_mask_to_string()
732 < ORANGEFS_MAX_DEBUG_STRING_LEN - 1) { in do_k_string()
759 < ORANGEFS_MAX_DEBUG_STRING_LEN - 2) { in do_c_string()
918 ORANGEFS_MAX_DEBUG_STRING_LEN); in orangefs_debugfs_new_client_string()
936 client_debug_array_string[ORANGEFS_MAX_DEBUG_STRING_LEN - 1] = in orangefs_debugfs_new_client_string()