mappass           449 drivers/xen/pvcalls-back.c 					struct sockpass_mapping *mappass)
mappass           451 drivers/xen/pvcalls-back.c 	if (mappass->sock->sk != NULL) {
mappass           452 drivers/xen/pvcalls-back.c 		write_lock_bh(&mappass->sock->sk->sk_callback_lock);
mappass           453 drivers/xen/pvcalls-back.c 		mappass->sock->sk->sk_user_data = NULL;
mappass           454 drivers/xen/pvcalls-back.c 		mappass->sock->sk->sk_data_ready = mappass->saved_data_ready;
mappass           455 drivers/xen/pvcalls-back.c 		write_unlock_bh(&mappass->sock->sk->sk_callback_lock);
mappass           457 drivers/xen/pvcalls-back.c 	sock_release(mappass->sock);
mappass           458 drivers/xen/pvcalls-back.c 	flush_workqueue(mappass->wq);
mappass           459 drivers/xen/pvcalls-back.c 	destroy_workqueue(mappass->wq);
mappass           460 drivers/xen/pvcalls-back.c 	kfree(mappass);
mappass           470 drivers/xen/pvcalls-back.c 	struct sockpass_mapping *mappass;
mappass           485 drivers/xen/pvcalls-back.c 	mappass = radix_tree_lookup(&fedata->socketpass_mappings,
mappass           487 drivers/xen/pvcalls-back.c 	if (mappass != NULL) {
mappass           488 drivers/xen/pvcalls-back.c 		radix_tree_delete(&fedata->socketpass_mappings, mappass->id);
mappass           490 drivers/xen/pvcalls-back.c 		ret = pvcalls_back_release_passive(dev, fedata, mappass);
mappass           505 drivers/xen/pvcalls-back.c 	struct sockpass_mapping *mappass = container_of(
mappass           517 drivers/xen/pvcalls-back.c 	fedata = mappass->fedata;
mappass           524 drivers/xen/pvcalls-back.c 	spin_lock_irqsave(&mappass->copy_lock, flags);
mappass           525 drivers/xen/pvcalls-back.c 	req = &mappass->reqcopy;
mappass           527 drivers/xen/pvcalls-back.c 		spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           530 drivers/xen/pvcalls-back.c 	spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           535 drivers/xen/pvcalls-back.c 	sock->type = mappass->sock->type;
mappass           536 drivers/xen/pvcalls-back.c 	sock->ops = mappass->sock->ops;
mappass           538 drivers/xen/pvcalls-back.c 	ret = inet_accept(mappass->sock, sock, O_NONBLOCK, true);
mappass           555 drivers/xen/pvcalls-back.c 	map->sockpass = mappass;
mappass           571 drivers/xen/pvcalls-back.c 	mappass->reqcopy.cmd = 0;
mappass           576 drivers/xen/pvcalls-back.c 	struct sockpass_mapping *mappass = sock->sk_user_data;
mappass           582 drivers/xen/pvcalls-back.c 	if (mappass == NULL)
mappass           585 drivers/xen/pvcalls-back.c 	fedata = mappass->fedata;
mappass           586 drivers/xen/pvcalls-back.c 	spin_lock_irqsave(&mappass->copy_lock, flags);
mappass           587 drivers/xen/pvcalls-back.c 	if (mappass->reqcopy.cmd == PVCALLS_POLL) {
mappass           590 drivers/xen/pvcalls-back.c 		rsp->req_id = mappass->reqcopy.req_id;
mappass           591 drivers/xen/pvcalls-back.c 		rsp->u.poll.id = mappass->reqcopy.u.poll.id;
mappass           592 drivers/xen/pvcalls-back.c 		rsp->cmd = mappass->reqcopy.cmd;
mappass           595 drivers/xen/pvcalls-back.c 		mappass->reqcopy.cmd = 0;
mappass           596 drivers/xen/pvcalls-back.c 		spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           600 drivers/xen/pvcalls-back.c 			notify_remote_via_irq(mappass->fedata->irq);
mappass           602 drivers/xen/pvcalls-back.c 		spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           603 drivers/xen/pvcalls-back.c 		queue_work(mappass->wq, &mappass->register_work);
mappass           703 drivers/xen/pvcalls-back.c 	struct sockpass_mapping *mappass;
mappass           711 drivers/xen/pvcalls-back.c 	mappass = radix_tree_lookup(&fedata->socketpass_mappings,
mappass           714 drivers/xen/pvcalls-back.c 	if (mappass == NULL)
mappass           721 drivers/xen/pvcalls-back.c 	spin_lock_irqsave(&mappass->copy_lock, flags);
mappass           722 drivers/xen/pvcalls-back.c 	if (mappass->reqcopy.cmd != 0) {
mappass           723 drivers/xen/pvcalls-back.c 		spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           728 drivers/xen/pvcalls-back.c 	mappass->reqcopy = *req;
mappass           729 drivers/xen/pvcalls-back.c 	spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           730 drivers/xen/pvcalls-back.c 	queue_work(mappass->wq, &mappass->register_work);
mappass           748 drivers/xen/pvcalls-back.c 	struct sockpass_mapping *mappass;
mappass           759 drivers/xen/pvcalls-back.c 	mappass = radix_tree_lookup(&fedata->socketpass_mappings,
mappass           762 drivers/xen/pvcalls-back.c 	if (mappass == NULL)
mappass           769 drivers/xen/pvcalls-back.c 	spin_lock_irqsave(&mappass->copy_lock, flags);
mappass           770 drivers/xen/pvcalls-back.c 	if (mappass->reqcopy.cmd != 0) {
mappass           775 drivers/xen/pvcalls-back.c 	mappass->reqcopy = *req;
mappass           776 drivers/xen/pvcalls-back.c 	icsk = inet_csk(mappass->sock->sk);
mappass           780 drivers/xen/pvcalls-back.c 		mappass->reqcopy.cmd = 0;
mappass           784 drivers/xen/pvcalls-back.c 	spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           790 drivers/xen/pvcalls-back.c 	spin_unlock_irqrestore(&mappass->copy_lock, flags);
mappass           976 drivers/xen/pvcalls-back.c 	struct sockpass_mapping *mappass;
mappass           990 drivers/xen/pvcalls-back.c 		mappass = radix_tree_deref_slot(slot);
mappass           991 drivers/xen/pvcalls-back.c 		if (!mappass)
mappass           993 drivers/xen/pvcalls-back.c 		if (radix_tree_exception(mappass)) {
mappass           994 drivers/xen/pvcalls-back.c 			if (radix_tree_deref_retry(mappass))
mappass           998 drivers/xen/pvcalls-back.c 					  mappass->id);
mappass           999 drivers/xen/pvcalls-back.c 			pvcalls_back_release_passive(dev, fedata, mappass);