Searched refs:listener (Results 1 – 3 of 3) sorted by relevance
/drivers/uio/ |
D | uio.c | 434 struct uio_listener *listener; in uio_open() local 450 listener = kmalloc(sizeof(*listener), GFP_KERNEL); in uio_open() 451 if (!listener) { in uio_open() 456 listener->dev = idev; in uio_open() 457 listener->event_count = atomic_read(&idev->event); in uio_open() 458 filep->private_data = listener; in uio_open() 468 kfree(listener); in uio_open() 479 struct uio_listener *listener = filep->private_data; in uio_fasync() local 480 struct uio_device *idev = listener->dev; in uio_fasync() 488 struct uio_listener *listener = filep->private_data; in uio_release() local [all …]
|
/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 876 struct nes_cm_listener *listener, int free_hanging_nodes) in mini_cm_dec_refcnt_listen() argument 886 "refcnt=%d\n", listener, free_hanging_nodes, in mini_cm_dec_refcnt_listen() 887 atomic_read(&listener->ref_count)); in mini_cm_dec_refcnt_listen() 896 if ((cm_node->listener == listener) && in mini_cm_dec_refcnt_listen() 914 if (!atomic_dec_return(&listener->ref_count)) { in mini_cm_dec_refcnt_listen() 915 list_del(&listener->list); in mini_cm_dec_refcnt_listen() 922 if (listener->nesvnic) { in mini_cm_dec_refcnt_listen() 923 nes_manage_apbvt(listener->nesvnic, listener->loc_port, in mini_cm_dec_refcnt_listen() 924 PCI_FUNC(listener->nesvnic->nesdev->pcidev->devfn), NES_MANAGE_APBVT_DEL); in mini_cm_dec_refcnt_listen() 927 nes_debug(NES_DBG_CM, "destroying listener (%p)\n", listener); in mini_cm_dec_refcnt_listen() [all …]
|
D | nes_cm.h | 293 struct nes_cm_listener *listener; member
|