srv 62 drivers/gpu/drm/vmwgfx/vmwgfx_so.h struct SVGA3dCmdDXDestroyShaderResourceView srv; srv 327 drivers/hv/hv_fcopy.c int hv_fcopy_init(struct hv_util_service *srv) srv 329 drivers/hv/hv_fcopy.c recv_buffer = srv->recv_buffer; srv 330 drivers/hv/hv_fcopy.c fcopy_transaction.recv_channel = srv->channel; srv 739 drivers/hv/hv_kvp.c hv_kvp_init(struct hv_util_service *srv) srv 741 drivers/hv/hv_kvp.c recv_buffer = srv->recv_buffer; srv 742 drivers/hv/hv_kvp.c kvp_transaction.recv_channel = srv->channel; srv 353 drivers/hv/hv_snapshot.c hv_vss_init(struct hv_util_service *srv) srv 360 drivers/hv/hv_snapshot.c recv_buffer = srv->recv_buffer; srv 361 drivers/hv/hv_snapshot.c vss_transaction.recv_channel = srv->channel; srv 83 drivers/hv/hv_util.c static int hv_timesync_init(struct hv_util_service *srv); srv 389 drivers/hv/hv_util.c struct hv_util_service *srv = srv 393 drivers/hv/hv_util.c srv->recv_buffer = kmalloc(PAGE_SIZE * 4, GFP_KERNEL); srv 394 drivers/hv/hv_util.c if (!srv->recv_buffer) srv 396 drivers/hv/hv_util.c srv->channel = dev->channel; srv 397 drivers/hv/hv_util.c if (srv->util_init) { srv 398 drivers/hv/hv_util.c ret = srv->util_init(srv); srv 414 drivers/hv/hv_util.c hv_set_drvdata(dev, srv); srv 417 drivers/hv/hv_util.c srv->util_cb, dev->channel); srv 424 drivers/hv/hv_util.c if (srv->util_deinit) srv 425 drivers/hv/hv_util.c srv->util_deinit(); srv 427 drivers/hv/hv_util.c kfree(srv->recv_buffer); srv 433 drivers/hv/hv_util.c struct hv_util_service *srv = hv_get_drvdata(dev); srv 435 drivers/hv/hv_util.c if (srv->util_deinit) srv 436 drivers/hv/hv_util.c srv->util_deinit(); srv 438 drivers/hv/hv_util.c kfree(srv->recv_buffer); srv 523 drivers/hv/hv_util.c static int hv_timesync_init(struct hv_util_service *srv) srv 353 drivers/hv/hyperv_vmbus.h int hv_kvp_init(struct hv_util_service *srv); srv 357 drivers/hv/hyperv_vmbus.h int hv_vss_init(struct hv_util_service *srv); srv 361 drivers/hv/hyperv_vmbus.h int hv_fcopy_init(struct hv_util_service *srv); srv 51 drivers/pci/pcie/bw_notification.c struct pcie_device *srv = context; srv 52 drivers/pci/pcie/bw_notification.c struct pci_dev *port = srv->port; srv 69 drivers/pci/pcie/bw_notification.c struct pcie_device *srv = context; srv 70 drivers/pci/pcie/bw_notification.c struct pci_dev *port = srv->port; srv 85 drivers/pci/pcie/bw_notification.c static int pcie_bandwidth_notification_probe(struct pcie_device *srv) srv 90 drivers/pci/pcie/bw_notification.c if (!pcie_link_bandwidth_notification_supported(srv->port)) srv 93 drivers/pci/pcie/bw_notification.c ret = request_threaded_irq(srv->irq, pcie_bw_notification_irq, srv 95 drivers/pci/pcie/bw_notification.c IRQF_SHARED, "PCIe BW notif", srv); srv 99 drivers/pci/pcie/bw_notification.c pcie_enable_link_bandwidth_notification(srv->port); srv 104 drivers/pci/pcie/bw_notification.c static void pcie_bandwidth_notification_remove(struct pcie_device *srv) srv 106 drivers/pci/pcie/bw_notification.c pcie_disable_link_bandwidth_notification(srv->port); srv 107 drivers/pci/pcie/bw_notification.c free_irq(srv->irq, srv); srv 110 drivers/pci/pcie/bw_notification.c static int pcie_bandwidth_notification_suspend(struct pcie_device *srv) srv 112 drivers/pci/pcie/bw_notification.c pcie_disable_link_bandwidth_notification(srv->port); srv 116 drivers/pci/pcie/bw_notification.c static int pcie_bandwidth_notification_resume(struct pcie_device *srv) srv 118 drivers/pci/pcie/bw_notification.c pcie_enable_link_bandwidth_notification(srv->port); srv 43 drivers/pci/pcie/pme.c struct pcie_device *srv; srv 217 drivers/pci/pcie/pme.c struct pci_dev *port = data->srv->port; srv 321 drivers/pci/pcie/pme.c static int pcie_pme_probe(struct pcie_device *srv) srv 333 drivers/pci/pcie/pme.c data->srv = srv; srv 334 drivers/pci/pcie/pme.c set_service_data(srv, data); srv 336 drivers/pci/pcie/pme.c port = srv->port; srv 340 drivers/pci/pcie/pme.c ret = request_irq(srv->irq, pcie_pme_irq, IRQF_SHARED, "PCIe PME", srv); srv 346 drivers/pci/pcie/pme.c pci_info(port, "Signaling with IRQ %d\n", srv->irq); srv 382 drivers/pci/pcie/pme.c static int pcie_pme_suspend(struct pcie_device *srv) srv 384 drivers/pci/pcie/pme.c struct pcie_pme_service_data *data = get_service_data(srv); srv 385 drivers/pci/pcie/pme.c struct pci_dev *port = srv->port; srv 397 drivers/pci/pcie/pme.c ret = enable_irq_wake(srv->irq); srv 404 drivers/pci/pcie/pme.c synchronize_irq(srv->irq); srv 413 drivers/pci/pcie/pme.c static int pcie_pme_resume(struct pcie_device *srv) srv 415 drivers/pci/pcie/pme.c struct pcie_pme_service_data *data = get_service_data(srv); srv 419 drivers/pci/pcie/pme.c struct pci_dev *port = srv->port; srv 425 drivers/pci/pcie/pme.c disable_irq_wake(srv->irq); srv 436 drivers/pci/pcie/pme.c static void pcie_pme_remove(struct pcie_device *srv) srv 438 drivers/pci/pcie/pme.c struct pcie_pme_service_data *data = get_service_data(srv); srv 440 drivers/pci/pcie/pme.c pcie_pme_disable_interrupt(srv->port, data); srv 441 drivers/pci/pcie/pme.c free_irq(srv->irq, srv); srv 22 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c #define SRVTRACE_LEVEL(srv) \ srv 23 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c (((srv) && (srv)->trace) ? VCHIQ_LOG_TRACE : vchiq_core_msg_log_level) srv 24 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c #define SRVTRACE_ENABLED(srv, lev) \ srv 25 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c (((srv) && (srv)->trace) || (vchiq_core_msg_log_level >= (lev))) srv 238 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c struct vchiq_service *srv = state->services[idx++]; srv 240 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c if (srv && (srv->srvstate != VCHIQ_SRVSTATE_FREE) && srv 241 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c (srv->instance == instance)) { srv 242 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c service = srv; srv 2346 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c struct vchiq_service *srv = state->services[i]; srv 2348 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c if (!srv) { srv 2355 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c struct vchiq_service *srv = state->services[i]; srv 2357 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c if (!srv) srv 2359 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c else if ((srv->public_fourcc == params->fourcc) srv 2360 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c && ((srv->instance != instance) || srv 2361 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c (srv->base.callback != srv 926 fs/cifs/cifsglob.h static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) srv 928 fs/cifs/cifsglob.h return srv->net; srv 931 fs/cifs/cifsglob.h static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) srv 933 fs/cifs/cifsglob.h srv->net = net; srv 938 fs/cifs/cifsglob.h static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) srv 943 fs/cifs/cifsglob.h static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) srv 399 fs/cifs/misc.c is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) srv 416 fs/cifs/misc.c size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); srv 470 fs/cifs/misc.c list_for_each(tmp, &srv->smb_ses_list) { srv 63 fs/cifs/smb2proto.h struct TCP_Server_Info *srv); srv 2240 fs/nfs/pnfs.c struct nfs_server *srv = NFS_SERVER(ino); srv 2264 fs/nfs/pnfs.c srv->caps &= ~NFS_CAP_LGOPEN; srv 250 net/tipc/topsrv.c struct tipc_topsrv *srv = con->server; srv 284 net/tipc/topsrv.c tipc_topsrv_kern_evt(srv->net, evt); srv 315 net/tipc/topsrv.c struct tipc_topsrv *srv = tipc_topsrv(net); srv 319 net/tipc/topsrv.c con = tipc_conn_lookup(srv, conid); srv 335 net/tipc/topsrv.c if (queue_work(srv->send_wq, &con->swork)) srv 359 net/tipc/topsrv.c static int tipc_conn_rcv_sub(struct tipc_topsrv *srv, srv 363 net/tipc/topsrv.c struct tipc_net *tn = tipc_net(srv->net); srv 375 net/tipc/topsrv.c sub = tipc_sub_subscribe(srv->net, s, con->conid); srv 387 net/tipc/topsrv.c struct tipc_topsrv *srv = con->server; srv 403 net/tipc/topsrv.c ret = tipc_conn_rcv_sub(srv, con, &s); srv 450 net/tipc/topsrv.c struct tipc_topsrv *srv = container_of(work, struct tipc_topsrv, awork); srv 451 net/tipc/topsrv.c struct socket *lsock = srv->listener; srv 461 net/tipc/topsrv.c con = tipc_conn_alloc(srv); srv 486 net/tipc/topsrv.c struct tipc_topsrv *srv; srv 489 net/tipc/topsrv.c srv = sk->sk_user_data; srv 490 net/tipc/topsrv.c if (srv->listener) srv 491 net/tipc/topsrv.c queue_work(srv->rcv_wq, &srv->awork); srv 495 net/tipc/topsrv.c static int tipc_topsrv_create_listener(struct tipc_topsrv *srv) srv 503 net/tipc/topsrv.c rc = sock_create_kern(srv->net, AF_TIPC, SOCK_SEQPACKET, 0, &lsock); srv 507 net/tipc/topsrv.c srv->listener = lsock; srv 511 net/tipc/topsrv.c sk->sk_user_data = srv; srv 645 net/tipc/topsrv.c struct tipc_topsrv *srv; srv 648 net/tipc/topsrv.c srv = kzalloc(sizeof(*srv), GFP_ATOMIC); srv 649 net/tipc/topsrv.c if (!srv) srv 652 net/tipc/topsrv.c srv->net = net; srv 653 net/tipc/topsrv.c INIT_WORK(&srv->awork, tipc_topsrv_accept); srv 655 net/tipc/topsrv.c strscpy(srv->name, name, sizeof(srv->name)); srv 656 net/tipc/topsrv.c tn->topsrv = srv; srv 659 net/tipc/topsrv.c spin_lock_init(&srv->idr_lock); srv 660 net/tipc/topsrv.c idr_init(&srv->conn_idr); srv 661 net/tipc/topsrv.c srv->idr_in_use = 0; srv 663 net/tipc/topsrv.c ret = tipc_topsrv_work_start(srv); srv 667 net/tipc/topsrv.c ret = tipc_topsrv_create_listener(srv); srv 669 net/tipc/topsrv.c tipc_topsrv_work_stop(srv); srv 676 net/tipc/topsrv.c struct tipc_topsrv *srv = tipc_topsrv(net); srv 677 net/tipc/topsrv.c struct socket *lsock = srv->listener; srv 681 net/tipc/topsrv.c spin_lock_bh(&srv->idr_lock); srv 682 net/tipc/topsrv.c for (id = 0; srv->idr_in_use; id++) { srv 683 net/tipc/topsrv.c con = idr_find(&srv->conn_idr, id); srv 685 net/tipc/topsrv.c spin_unlock_bh(&srv->idr_lock); srv 687 net/tipc/topsrv.c spin_lock_bh(&srv->idr_lock); srv 692 net/tipc/topsrv.c srv->listener = NULL; srv 693 net/tipc/topsrv.c spin_unlock_bh(&srv->idr_lock); srv 695 net/tipc/topsrv.c tipc_topsrv_work_stop(srv); srv 696 net/tipc/topsrv.c idr_destroy(&srv->conn_idr); srv 697 net/tipc/topsrv.c kfree(srv);