*dev_root = create_proc_entry(name, S_IFDIR, root); 
*dev_root = proc_mkdir(name, root); 
int drm_proc_init(drm_device_t *dev, int minor,		    struct proc_dir_entry *root,		    struct proc_dir_entry **dev_root){	struct proc_dir_entry *ent;	int		      i, j;	char                  name[64];	sprintf(name, "%d", minor);	*dev_root = create_proc_entry(name, S_IFDIR, root);	if (!*dev_root) {		DRM_ERROR("Cannot create /proc/dri/%s\n", name);		return -1;	}	for (i = 0; i < DRM_PROC_ENTRIES; i++) {		ent = create_proc_entry(drm_proc_list[i].name,					S_IFREG|S_IRUGO, *dev_root);		if (!ent) {			DRM_ERROR("Cannot create /proc/dri/%s/%s\n",				  name, drm_proc_list[i].name);			for (j = 0; j < i; j++)				remove_proc_entry(drm_proc_list[i].name,						  *dev_root);			remove_proc_entry(name, root);			return -1;		}		ent->read_proc = drm_proc_list[i].f;		ent->data      = dev;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/666002218d59db271e5c1ede1d80227170c51987/drm_proc.c/clean/drivers/char/drm/drm_proc.c