Lines Matching refs:p
627 struct work_handler_data *p = in tape_3590_work_handler() local
630 switch (p->op) { in tape_3590_work_handler()
632 tape_3590_sense_medium_async(p->device); in tape_3590_work_handler()
635 tape_3590_read_attmsg_async(p->device); in tape_3590_work_handler()
638 tape_3592_enable_crypt_async(p->device); in tape_3590_work_handler()
641 tape_3592_disable_crypt_async(p->device); in tape_3590_work_handler()
645 "operation 0x%02x\n", p->op); in tape_3590_work_handler()
647 tape_put_device(p->device); in tape_3590_work_handler()
648 kfree(p); in tape_3590_work_handler()
654 struct work_handler_data *p; in tape_3590_schedule_work() local
656 if ((p = kzalloc(sizeof(*p), GFP_ATOMIC)) == NULL) in tape_3590_schedule_work()
659 INIT_WORK(&p->work, tape_3590_work_handler); in tape_3590_schedule_work()
661 p->device = tape_get_device(device); in tape_3590_schedule_work()
662 p->op = op; in tape_3590_schedule_work()
664 queue_work(tape_3590_wq, &p->work); in tape_3590_schedule_work()