Home
last modified time | relevance | path

Searched refs:u_conf (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/net/wanrouter/
Dwanmain.c157 static int device_setup(wan_device_t *wandev, wandev_conf_t *u_conf);
160 static int device_new_if(wan_device_t *wandev, wanif_conf_t *u_conf);
557 static int device_setup (wan_device_t *wandev, wandev_conf_t *u_conf) in device_setup() argument
570 err = verify_area (VERIFY_READ, u_conf, sizeof(wandev_conf_t)); in device_setup()
584 if(copy_from_user(conf, u_conf, sizeof(wandev_conf_t))) { in device_setup()
591 memcpy_fromfs ((void *)conf, (void *)u_conf, sizeof(wandev_conf_t)); in device_setup()
752 static int device_new_if (wan_device_t *wandev, wanif_conf_t *u_conf) in device_new_if() argument
765 if(copy_from_user(&conf, u_conf, sizeof(wanif_conf_t))) in device_new_if()
768 err = verify_area(VERIFY_READ, u_conf, sizeof(wanif_conf_t)); in device_new_if()
771 memcpy_fromfs((void*)&conf, (void*)u_conf, sizeof(wanif_conf_t)); in device_new_if()