Lines Matching refs:callback_context
493 struct mlx4_alias_guid_work_context *callback_context; in set_guid_rec() local
516 callback_context = kmalloc(sizeof *callback_context, GFP_KERNEL); in set_guid_rec()
517 if (!callback_context) { in set_guid_rec()
522 callback_context->port = port; in set_guid_rec()
523 callback_context->dev = dev; in set_guid_rec()
524 callback_context->block_num = index; in set_guid_rec()
525 callback_context->guid_indexes = rec_det->guid_indexes; in set_guid_rec()
526 callback_context->method = rec->method; in set_guid_rec()
538 init_completion(&callback_context->done); in set_guid_rec()
540 list_add_tail(&callback_context->list, head); in set_guid_rec()
543 callback_context->query_id = in set_guid_rec()
548 callback_context, in set_guid_rec()
549 &callback_context->sa_query); in set_guid_rec()
550 if (callback_context->query_id < 0) { in set_guid_rec()
553 callback_context->query_id); in set_guid_rec()
555 list_del(&callback_context->list); in set_guid_rec()
556 kfree(callback_context); in set_guid_rec()