pde = create_proc_entry(view->name, mode, id->proc_root_entry); 
pde = debugfs_create_file(view->name, mode, id->debugfs_root_entry, NULL, &debug_file_ops); 
int debug_register_view(debug_info_t * id, struct debug_view *view){	int rc = 0;	int i;	unsigned long flags;	mode_t mode = S_IFREG;	struct proc_dir_entry *pde;	if (!id)		goto out;	if (view->prolog_proc || view->format_proc || view->header_proc)		mode |= S_IRUSR;	if (view->input_proc)		mode |= S_IWUSR;	pde = create_proc_entry(view->name, mode, id->proc_root_entry);	if (!pde){		printk(KERN_WARNING "debug: create_proc_entry() failed! Cannot register view %s/%s\n", id->name,view->name);		rc = -1;		goto out;	}	spin_lock_irqsave(&id->lock, flags);	for (i = 0; i < DEBUG_MAX_VIEWS; i++) {		if (id->views[i] == NULL)			break;	}	if (i == DEBUG_MAX_VIEWS) {		printk(KERN_WARNING "debug: cannot register view %s/%s\n",			id->name,view->name);		printk(KERN_WARNING 			"debug: maximum number of views reached (%i)!\n", i);		remove_proc_entry(pde->name, id->proc_root_entry);		rc = -1;	}	else {		id->views[i] = view;		pde->proc_fops = &debug_file_ops;		id->proc_entries[i] = pde;	}	spin_unlock_irqrestore(&id->lock, flags);      out:	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/66a464dbc8e0345b6f972b92bf1118e043d7c987/debug.c/clean/arch/s390/kernel/debug.c