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];
202 k_buffer = kzalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL); in orangefs_kernel_debug_init()
206 if (strlen(kernel_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_kernel_debug_init()
308 c_buffer = kzalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL); in orangefs_client_debug_init()
312 if (strlen(client_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_client_debug_init()
370 buf = kmalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL); in orangefs_debug_read()
414 if (count > ORANGEFS_MAX_DEBUG_STRING_LEN + 1) { in orangefs_debug_write()
416 count = ORANGEFS_MAX_DEBUG_STRING_LEN + 1; in orangefs_debug_write()
419 buf = kzalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL); in orangefs_debug_write()
471 ORANGEFS_MAX_DEBUG_STRING_LEN); in orangefs_debug_write()
493 memset(s, 0, ORANGEFS_MAX_DEBUG_STRING_LEN); in orangefs_debug_write()
703 memset(debug_string, 0, ORANGEFS_MAX_DEBUG_STRING_LEN); in debug_mask_to_string()
749 < ORANGEFS_MAX_DEBUG_STRING_LEN - 1) { in do_k_string()
776 < ORANGEFS_MAX_DEBUG_STRING_LEN - 2) { in do_c_string()
935 ORANGEFS_MAX_DEBUG_STRING_LEN); in orangefs_debugfs_new_client_string()
953 client_debug_array_string[ORANGEFS_MAX_DEBUG_STRING_LEN - 1] = in orangefs_debugfs_new_client_string()