Lines Matching refs:set_data

220 	struct set_schib_struct *set_data;  in cmf_set_schib_release()  local
222 set_data = container_of(kref, struct set_schib_struct, kref); in cmf_set_schib_release()
223 kfree(set_data); in cmf_set_schib_release()
231 struct set_schib_struct *set_data; in set_schib_wait() local
239 set_data = kzalloc(sizeof(struct set_schib_struct), GFP_ATOMIC); in set_schib_wait()
240 if (!set_data) { in set_schib_wait()
244 init_waitqueue_head(&set_data->wait); in set_schib_wait()
245 kref_init(&set_data->kref); in set_schib_wait()
246 set_data->mme = mme; in set_schib_wait()
247 set_data->mbfc = mbfc; in set_schib_wait()
248 set_data->address = address; in set_schib_wait()
261 set_data->ret = CMF_PENDING; in set_schib_wait()
262 cdev->private->cmb_wait = set_data; in set_schib_wait()
265 if (wait_event_interruptible(set_data->wait, in set_schib_wait()
266 set_data->ret != CMF_PENDING)) { in set_schib_wait()
268 if (set_data->ret == CMF_PENDING) { in set_schib_wait()
269 set_data->ret = -ERESTARTSYS; in set_schib_wait()
277 ret = set_data->ret; in set_schib_wait()
279 kref_put(&set_data->kref, cmf_set_schib_release); in set_schib_wait()
287 struct set_schib_struct *set_data; in retry_set_schib() local
289 set_data = cdev->private->cmb_wait; in retry_set_schib()
290 if (!set_data) { in retry_set_schib()
294 kref_get(&set_data->kref); in retry_set_schib()
295 set_data->ret = set_schib(cdev, set_data->mme, set_data->mbfc, in retry_set_schib()
296 set_data->address); in retry_set_schib()
297 wake_up(&set_data->wait); in retry_set_schib()
298 kref_put(&set_data->kref, cmf_set_schib_release); in retry_set_schib()