int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view, char *out_buf, debug_sprintf_entry_t *curr_event) 
debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view, char *out_buf, debug_sprintf_entry_t *curr_event) 
int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view,                            char *out_buf, debug_sprintf_entry_t *curr_event){	int num_longs, num_used_args = 0,i, rc = 0;	int index[DEBUG_SPRINTF_MAX_ARGS];	/* count of longs fit into one entry */	num_longs = id->buf_size /  sizeof(long); 	if(num_longs < 1)		goto out; /* bufsize of entry too small */	if(num_longs == 1) {		/* no args, we use only the string */		strcpy(out_buf, curr_event->string);		rc = strlen(curr_event->string);		goto out;	}	/* number of arguments used for sprintf (without the format string) */	num_used_args   = min(DEBUG_SPRINTF_MAX_ARGS, (num_longs - 1));	memset(index,0, DEBUG_SPRINTF_MAX_ARGS * sizeof(int));	for(i = 0; i < num_used_args; i++)		index[i] = i;	rc =  sprintf(out_buf, curr_event->string, curr_event->args[index[0]],		curr_event->args[index[1]], curr_event->args[index[2]],		curr_event->args[index[3]], curr_event->args[index[4]],		curr_event->args[index[5]], curr_event->args[index[6]],		curr_event->args[index[7]], curr_event->args[index[8]],		curr_event->args[index[9]]);out:	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/66a464dbc8e0345b6f972b92bf1118e043d7c987/debug.c/clean/arch/s390/kernel/debug.c