Lines Matching refs:this
74 struct cfcnfg *this;
79 /* Initiate this layer */
80 this = kzalloc(sizeof(struct cfcnfg), GFP_ATOMIC);
81 if (!this)
83 this->mux = cfmuxl_create();
84 if (!this->mux)
86 this->ctrl = cfctrl_create();
87 if (!this->ctrl)
90 resp = cfctrl_get_respfuncs(this->ctrl);
100 INIT_LIST_HEAD(&this->phys);
102 cfmuxl_set_uplayer(this->mux, this->ctrl, 0);
103 layer_set_dn(this->ctrl, this->mux);
104 layer_set_up(this->ctrl, this);
105 mutex_init(&this->lock);
107 return this;
111 kfree(this->mux);
112 kfree(this->ctrl);
113 kfree(this);