if (!(de = create_proc_entry(tmp, S_IFDIR, proc_net_eicon))) 
if (!(de = proc_mkdir(tmp, proc_net_eicon))) 
int create_adapter_proc(diva_os_xdi_adapter_t * a){	struct proc_dir_entry *de, *pe;	char tmp[16];	sprintf(tmp, "%s%d", adapter_dir_name, a->controller);	if (!(de = create_proc_entry(tmp, S_IFDIR, proc_net_eicon)))		return (0);	a->proc_adapter_dir = (void *) de;	if (!(pe =	     create_proc_entry(info_proc_name, S_IFREG | S_IRUGO | S_IWUSR, de)))		return (0);	a->proc_info = (void *) pe;	pe->write_proc = info_write;	pe->read_proc = info_read;	pe->data = a;	if ((pe = create_proc_entry(grp_opt_proc_name,			       S_IFREG | S_IRUGO | S_IWUSR, de))) {		a->proc_grp_opt = (void *) pe;		pe->write_proc = write_grp_opt;		pe->read_proc = read_grp_opt;		pe->data = a;	}	if ((pe = create_proc_entry(d_l1_down_proc_name,			       S_IFREG | S_IRUGO | S_IWUSR, de))) {		a->proc_d_l1_down = (void *) pe;		pe->write_proc = write_d_l1_down;		pe->read_proc = read_d_l1_down;		pe->data = a;	}	DBG_TRC(("proc entry %s created", tmp));	return (1);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/666002218d59db271e5c1ede1d80227170c51987/divasproc.c/buggy/drivers/isdn/hardware/eicon/divasproc.c