Lines Matching refs:p
223 struct tape_med_state_work_data *p = in tape_med_state_work_handler() local
225 struct tape_device *device = p->device; in tape_med_state_work_handler()
228 switch (p->state) { in tape_med_state_work_handler()
245 kfree(p); in tape_med_state_work_handler()
251 struct tape_med_state_work_data *p; in tape_med_state_work() local
253 p = kzalloc(sizeof(*p), GFP_ATOMIC); in tape_med_state_work()
254 if (p) { in tape_med_state_work()
255 INIT_WORK(&p->work, tape_med_state_work_handler); in tape_med_state_work()
256 p->device = tape_get_device(device); in tape_med_state_work()
257 p->state = state; in tape_med_state_work()
258 schedule_work(&p->work); in tape_med_state_work()