listener 156 arch/m68k/mac/iop.c static struct listener iop_listeners[NUM_IOPS][NUM_IOP_CHAN]; listener 1841 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_cm_listener *listener, listener 1862 drivers/infiniband/hw/i40iw/i40iw_cm.c if ((cm_node->listener == listener) && listener 1910 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!atomic_dec_return(&listener->ref_count)) { listener 1912 drivers/infiniband/hw/i40iw/i40iw_cm.c list_del(&listener->list); listener 1915 drivers/infiniband/hw/i40iw/i40iw_cm.c if (listener->iwdev) { listener 1917 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_manage_apbvt(listener->iwdev, listener 1918 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->loc_port, listener 1921 drivers/infiniband/hw/i40iw/i40iw_cm.c memcpy(nfo.loc_addr, listener->loc_addr, sizeof(nfo.loc_addr)); listener 1922 drivers/infiniband/hw/i40iw/i40iw_cm.c nfo.loc_port = listener->loc_port; listener 1923 drivers/infiniband/hw/i40iw/i40iw_cm.c nfo.ipv4 = listener->ipv4; listener 1924 drivers/infiniband/hw/i40iw/i40iw_cm.c nfo.vlan_id = listener->vlan_id; listener 1925 drivers/infiniband/hw/i40iw/i40iw_cm.c nfo.user_pri = listener->user_pri; listener 1927 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!list_empty(&listener->child_listen_list)) { listener 1928 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_del_multiple_qhash(listener->iwdev, &nfo, listener); listener 1930 drivers/infiniband/hw/i40iw/i40iw_cm.c if (listener->qhash_set) listener 1931 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_manage_qhash(listener->iwdev, listener 1941 drivers/infiniband/hw/i40iw/i40iw_cm.c kfree(listener); listener 1943 drivers/infiniband/hw/i40iw/i40iw_cm.c listener = NULL; listener 1947 drivers/infiniband/hw/i40iw/i40iw_cm.c if (listener) { listener 1948 drivers/infiniband/hw/i40iw/i40iw_cm.c if (atomic_read(&listener->pend_accepts_cnt) > 0) listener 1953 drivers/infiniband/hw/i40iw/i40iw_cm.c listener, listener 1954 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_read(&listener->pend_accepts_cnt)); listener 1967 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_cm_listener *listener, listener 1970 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->listener_state = I40IW_CM_LISTENER_PASSIVE_STATE; listener 1971 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->cm_id = NULL; /* going to be destroyed pretty soon */ listener 1972 drivers/infiniband/hw/i40iw/i40iw_cm.c return i40iw_dec_refcnt_listen(cm_core, listener, 1, apbvt_del); listener 2160 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_cm_listener *listener) listener 2179 drivers/infiniband/hw/i40iw/i40iw_cm.c if (listener) { listener 2180 drivers/infiniband/hw/i40iw/i40iw_cm.c if (listener->tos != cm_info->tos) listener 2183 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->tos, cm_info->tos); listener 2184 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tos = max(listener->tos, cm_info->tos); listener 2199 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->listener = listener; listener 2297 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&cm_node->listener->pend_accepts_cnt); listener 2301 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->listener) { listener 2302 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_dec_refcnt_listen(cm_core, cm_node->listener, 0, true); listener 2598 drivers/infiniband/hw/i40iw/i40iw_cm.c if (atomic_read(&cm_node->listener->pend_accepts_cnt) > listener 2599 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->listener->backlog) { listener 2612 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_inc(&cm_node->listener->pend_accepts_cnt); listener 2859 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_cm_listener *listener; listener 2863 drivers/infiniband/hw/i40iw/i40iw_cm.c listener = i40iw_find_listener(cm_core, cm_info->loc_addr, listener 2867 drivers/infiniband/hw/i40iw/i40iw_cm.c if (listener && listener 2868 drivers/infiniband/hw/i40iw/i40iw_cm.c (listener->listener_state == I40IW_CM_LISTENER_ACTIVE_STATE)) { listener 2869 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&listener->ref_count); listener 2876 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!listener) { listener 2878 drivers/infiniband/hw/i40iw/i40iw_cm.c listener = kzalloc(sizeof(*listener), GFP_KERNEL); listener 2879 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!listener) listener 2882 drivers/infiniband/hw/i40iw/i40iw_cm.c memcpy(listener->loc_addr, cm_info->loc_addr, sizeof(listener->loc_addr)); listener 2883 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->loc_port = cm_info->loc_port; listener 2885 drivers/infiniband/hw/i40iw/i40iw_cm.c INIT_LIST_HEAD(&listener->child_listen_list); listener 2887 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_set(&listener->ref_count, 1); listener 2889 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->reused_node = 1; listener 2892 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->cm_id = cm_info->cm_id; listener 2893 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->ipv4 = cm_info->ipv4; listener 2894 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->vlan_id = cm_info->vlan_id; listener 2895 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_set(&listener->pend_accepts_cnt, 0); listener 2896 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->cm_core = cm_core; listener 2897 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->iwdev = iwdev; listener 2899 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->backlog = cm_info->backlog; listener 2900 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->listener_state = I40IW_CM_LISTENER_ACTIVE_STATE; listener 2902 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!listener->reused_node) { listener 2904 drivers/infiniband/hw/i40iw/i40iw_cm.c list_add(&listener->list, &cm_core->listen_nodes); listener 2908 drivers/infiniband/hw/i40iw/i40iw_cm.c return listener; listener 3126 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_cm_listener *listener; listener 3191 drivers/infiniband/hw/i40iw/i40iw_cm.c listener = listener 3197 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!listener) { listener 3205 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.cm_id = listener->cm_id; listener 3206 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node = i40iw_make_cm_node(cm_core, iwdev, &cm_info, listener); listener 3212 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&listener->ref_count); listener 3775 drivers/infiniband/hw/i40iw/i40iw_cm.c atomic_dec(&cm_node->listener->pend_accepts_cnt); listener 339 drivers/infiniband/hw/i40iw/i40iw_cm.h struct i40iw_cm_listener *listener; listener 106 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_iw_listener *listener = (struct qedr_iw_listener *)context; listener 107 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_dev *dev = listener->dev; listener 135 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener->cm_id->event_handler(listener->cm_id, &event); listener 649 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_iw_listener *listener; listener 663 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener = kzalloc(sizeof(*listener), GFP_KERNEL); listener 664 drivers/infiniband/hw/qedr/qedr_iw_cm.c if (!listener) listener 667 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener->dev = dev; listener 669 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener->cm_id = cm_id; listener 670 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener->backlog = backlog; listener 672 drivers/infiniband/hw/qedr/qedr_iw_cm.c iparams.cb_context = listener; listener 700 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener->qed_handle = oparams.handle; listener 701 drivers/infiniband/hw/qedr/qedr_iw_cm.c cm_id->provider_data = listener; listener 706 drivers/infiniband/hw/qedr/qedr_iw_cm.c kfree(listener); listener 712 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_iw_listener *listener = cm_id->provider_data; listener 716 drivers/infiniband/hw/qedr/qedr_iw_cm.c if (listener->qed_handle) listener 718 drivers/infiniband/hw/qedr/qedr_iw_cm.c listener->qed_handle); listener 1475 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_listener *listener, listener 1478 drivers/net/ethernet/mellanox/mlxsw/core.c if (listener->is_event) listener 1480 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.event_listener, listener 1484 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.rx_listener, listener 1489 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_listener *listener, listener 1492 drivers/net/ethernet/mellanox/mlxsw/core.c if (listener->is_event) listener 1494 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.event_listener, listener 1498 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.rx_listener, listener 1503 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_listener *listener, void *priv) listener 1508 drivers/net/ethernet/mellanox/mlxsw/core.c err = mlxsw_core_listener_register(mlxsw_core, listener, priv); listener 1512 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_reg_hpkt_pack(hpkt_pl, listener->action, listener->trap_id, listener 1513 drivers/net/ethernet/mellanox/mlxsw/core.c listener->trap_group, listener->is_ctrl); listener 1521 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_listener_unregister(mlxsw_core, listener, priv); listener 1527 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_listener *listener, listener 1532 drivers/net/ethernet/mellanox/mlxsw/core.c if (!listener->is_event) { listener 1533 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_reg_hpkt_pack(hpkt_pl, listener->unreg_action, listener 1534 drivers/net/ethernet/mellanox/mlxsw/core.c listener->trap_id, listener->trap_group, listener 1535 drivers/net/ethernet/mellanox/mlxsw/core.c listener->is_ctrl); listener 1539 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_listener_unregister(mlxsw_core, listener, priv); listener 1544 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_listener *listener, listener 1549 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_reg_hpkt_pack(hpkt_pl, action, listener->trap_id, listener 1550 drivers/net/ethernet/mellanox/mlxsw/core.c listener->trap_group, listener->is_ctrl); listener 126 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_listener *listener, listener 129 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_listener *listener, listener 132 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_listener *listener, listener 134 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c struct mlxsw_listener *listener; listener 139 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c listener = &mlxsw_sp_listeners_arr[i]; listener 141 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c err = mlxsw_core_trap_register(mlxsw_core, listener, trap_ctx); listener 155 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c struct mlxsw_listener *listener; listener 159 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c listener = &mlxsw_sp_listeners_arr[i]; listener 161 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c mlxsw_core_trap_unregister(mlxsw_core, listener, trap_ctx); listener 173 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c struct mlxsw_listener *listener; listener 178 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c listener = &mlxsw_sp_listeners_arr[i]; listener 191 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c err = mlxsw_core_trap_action_set(mlxsw_core, listener, listener 1633 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_listener *listener = NULL; listener 1639 drivers/net/ethernet/qlogic/qed/qed_iwarp.c list_for_each_entry(listener, listener 1642 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (listener->port == cm_info->local_port) { listener 1643 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!memcmp(listener->ip_addr, listener 1649 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!memcmp(listener->ip_addr, listener 1652 drivers/net/ethernet/qlogic/qed/qed_iwarp.c (listener->vlan == cm_info->vlan)) { listener 1661 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener); listener 1662 drivers/net/ethernet/qlogic/qed/qed_iwarp.c return listener; listener 2344 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_listener *listener; listener 2382 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener = qed_iwarp_get_listener(p_hwfn, &cm_info); listener 2383 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!listener) { listener 2433 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ep->event_cb = listener->event_cb; listener 2434 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ep->cb_context = listener->cb_context; listener 3145 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_listener *listener; listener 3147 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener = kzalloc(sizeof(*listener), GFP_KERNEL); listener 3148 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!listener) listener 3151 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->ip_version = iparams->ip_version; listener 3152 drivers/net/ethernet/qlogic/qed/qed_iwarp.c memcpy(listener->ip_addr, iparams->ip_addr, sizeof(listener->ip_addr)); listener 3153 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->port = iparams->port; listener 3154 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->vlan = iparams->vlan; listener 3156 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->event_cb = iparams->event_cb; listener 3157 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->cb_context = iparams->cb_context; listener 3158 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->max_backlog = iparams->max_backlog; listener 3159 drivers/net/ethernet/qlogic/qed/qed_iwarp.c oparams->handle = listener; listener 3162 drivers/net/ethernet/qlogic/qed/qed_iwarp.c list_add_tail(&listener->list_entry, listener 3169 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->event_cb, listener 3170 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener, listener 3171 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->ip_addr[0], listener 3172 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->ip_addr[1], listener 3173 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->ip_addr[2], listener 3174 drivers/net/ethernet/qlogic/qed/qed_iwarp.c listener->ip_addr[3], listener->port, listener->vlan); listener 3181 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_iwarp_listener *listener = handle; listener 3187 drivers/net/ethernet/qlogic/qed/qed_iwarp.c list_del(&listener->list_entry); listener 3190 drivers/net/ethernet/qlogic/qed/qed_iwarp.c kfree(listener); listener 105 drivers/s390/char/sclp_sd.c static void sclp_sd_listener_add(struct sclp_sd_listener *listener) listener 108 drivers/s390/char/sclp_sd.c list_add_tail(&listener->list, &sclp_sd_queue); listener 116 drivers/s390/char/sclp_sd.c static void sclp_sd_listener_remove(struct sclp_sd_listener *listener) listener 119 drivers/s390/char/sclp_sd.c list_del(&listener->list); listener 131 drivers/s390/char/sclp_sd.c static void sclp_sd_listener_init(struct sclp_sd_listener *listener, u32 id) listener 133 drivers/s390/char/sclp_sd.c memset(listener, 0, sizeof(*listener)); listener 134 drivers/s390/char/sclp_sd.c listener->id = id; listener 135 drivers/s390/char/sclp_sd.c init_completion(&listener->completion); listener 147 drivers/s390/char/sclp_sd.c struct sclp_sd_listener *listener; listener 152 drivers/s390/char/sclp_sd.c list_for_each_entry(listener, &sclp_sd_queue, list) { listener 153 drivers/s390/char/sclp_sd.c if (listener->id != evbuf->id) listener 156 drivers/s390/char/sclp_sd.c listener->evbuf = *evbuf; listener 157 drivers/s390/char/sclp_sd.c complete(&listener->completion); listener 192 drivers/s390/char/sclp_sd.c struct sclp_sd_listener listener; listener 196 drivers/s390/char/sclp_sd.c sclp_sd_listener_init(&listener, (u32) (addr_t) sccb); listener 197 drivers/s390/char/sclp_sd.c sclp_sd_listener_add(&listener); listener 207 drivers/s390/char/sclp_sd.c evbuf->id = listener.id; listener 215 drivers/s390/char/sclp_sd.c pr_debug("request (eq=%d, di=%d, id=0x%08x)\n", eq, di, listener.id); listener 232 drivers/s390/char/sclp_sd.c rc = wait_for_completion_interruptible(&listener.completion); listener 235 drivers/s390/char/sclp_sd.c evbuf = &listener.evbuf; listener 265 drivers/s390/char/sclp_sd.c sclp_sd_listener_remove(&listener); listener 462 drivers/uio/uio.c struct uio_listener *listener; listener 480 drivers/uio/uio.c listener = kmalloc(sizeof(*listener), GFP_KERNEL); listener 481 drivers/uio/uio.c if (!listener) { listener 486 drivers/uio/uio.c listener->dev = idev; listener 487 drivers/uio/uio.c listener->event_count = atomic_read(&idev->event); listener 488 drivers/uio/uio.c filep->private_data = listener; listener 506 drivers/uio/uio.c kfree(listener); listener 520 drivers/uio/uio.c struct uio_listener *listener = filep->private_data; listener 521 drivers/uio/uio.c struct uio_device *idev = listener->dev; listener 529 drivers/uio/uio.c struct uio_listener *listener = filep->private_data; listener 530 drivers/uio/uio.c struct uio_device *idev = listener->dev; listener 538 drivers/uio/uio.c kfree(listener); listener 545 drivers/uio/uio.c struct uio_listener *listener = filep->private_data; listener 546 drivers/uio/uio.c struct uio_device *idev = listener->dev; listener 558 drivers/uio/uio.c if (listener->event_count != atomic_read(&idev->event)) listener 566 drivers/uio/uio.c struct uio_listener *listener = filep->private_data; listener 567 drivers/uio/uio.c struct uio_device *idev = listener->dev; listener 589 drivers/uio/uio.c if (event_count != listener->event_count) { listener 594 drivers/uio/uio.c listener->event_count = event_count; listener 621 drivers/uio/uio.c struct uio_listener *listener = filep->private_data; listener 622 drivers/uio/uio.c struct uio_device *idev = listener->dev; listener 762 drivers/uio/uio.c struct uio_listener *listener = filep->private_data; listener 763 drivers/uio/uio.c struct uio_device *idev = listener->dev; listener 47 include/net/af_vsock.h struct sock *listener; listener 185 include/net/af_vsock.h void vsock_add_pending(struct sock *listener, struct sock *pending); listener 186 include/net/af_vsock.h void vsock_remove_pending(struct sock *listener, struct sock *pending); listener 187 include/net/af_vsock.h void vsock_enqueue_accept(struct sock *listener, struct sock *connected); listener 21 include/net/phonet/pep.h struct sock *listener; listener 1265 kernel/seccomp.c int listener = -1; listener 1288 kernel/seccomp.c listener = get_unused_fd_flags(O_CLOEXEC); listener 1289 kernel/seccomp.c if (listener < 0) { listener 1290 kernel/seccomp.c ret = listener; listener 1296 kernel/seccomp.c put_unused_fd(listener); listener 1331 kernel/seccomp.c put_unused_fd(listener); listener 1333 kernel/seccomp.c fd_install(listener, listener_f); listener 1334 kernel/seccomp.c ret = listener; listener 117 kernel/taskstats.c struct listener *s, *tmp; listener 281 kernel/taskstats.c struct listener *s, *tmp, *s2; listener 296 kernel/taskstats.c s = kmalloc_node(sizeof(struct listener), listener 858 net/phonet/pep.c newpn->listener = sk; listener 964 net/phonet/pep.c pn->listener = NULL; listener 1301 net/phonet/pep.c if (pn->listener != NULL) { listener 1302 net/phonet/pep.c skparent = pn->listener; listener 1303 net/phonet/pep.c pn->listener = NULL; listener 75 net/tipc/topsrv.c struct socket *listener; listener 451 net/tipc/topsrv.c struct socket *lsock = srv->listener; listener 490 net/tipc/topsrv.c if (srv->listener) listener 507 net/tipc/topsrv.c srv->listener = lsock; listener 677 net/tipc/topsrv.c struct socket *lsock = srv->listener; listener 692 net/tipc/topsrv.c srv->listener = NULL; listener 347 net/vmw_vsock/af_vsock.c void vsock_add_pending(struct sock *listener, struct sock *pending) listener 352 net/vmw_vsock/af_vsock.c vlistener = vsock_sk(listener); listener 356 net/vmw_vsock/af_vsock.c sock_hold(listener); listener 361 net/vmw_vsock/af_vsock.c void vsock_remove_pending(struct sock *listener, struct sock *pending) listener 366 net/vmw_vsock/af_vsock.c sock_put(listener); listener 371 net/vmw_vsock/af_vsock.c void vsock_enqueue_accept(struct sock *listener, struct sock *connected) listener 376 net/vmw_vsock/af_vsock.c vlistener = vsock_sk(listener); listener 380 net/vmw_vsock/af_vsock.c sock_hold(listener); listener 385 net/vmw_vsock/af_vsock.c static struct sock *vsock_dequeue_accept(struct sock *listener) listener 390 net/vmw_vsock/af_vsock.c vlistener = vsock_sk(listener); listener 399 net/vmw_vsock/af_vsock.c sock_put(listener); listener 427 net/vmw_vsock/af_vsock.c struct sock *listener; listener 433 net/vmw_vsock/af_vsock.c listener = vsk->listener; listener 436 net/vmw_vsock/af_vsock.c lock_sock(listener); listener 440 net/vmw_vsock/af_vsock.c vsock_remove_pending(listener, sk); listener 442 net/vmw_vsock/af_vsock.c listener->sk_ack_backlog--; listener 463 net/vmw_vsock/af_vsock.c release_sock(listener); listener 468 net/vmw_vsock/af_vsock.c sock_put(listener); listener 608 net/vmw_vsock/af_vsock.c vsk->listener = NULL; listener 1253 net/vmw_vsock/af_vsock.c struct sock *listener; listener 1261 net/vmw_vsock/af_vsock.c listener = sock->sk; listener 1263 net/vmw_vsock/af_vsock.c lock_sock(listener); listener 1270 net/vmw_vsock/af_vsock.c if (listener->sk_state != TCP_LISTEN) { listener 1278 net/vmw_vsock/af_vsock.c timeout = sock_rcvtimeo(listener, flags & O_NONBLOCK); listener 1279 net/vmw_vsock/af_vsock.c prepare_to_wait(sk_sleep(listener), &wait, TASK_INTERRUPTIBLE); listener 1281 net/vmw_vsock/af_vsock.c while ((connected = vsock_dequeue_accept(listener)) == NULL && listener 1282 net/vmw_vsock/af_vsock.c listener->sk_err == 0) { listener 1283 net/vmw_vsock/af_vsock.c release_sock(listener); listener 1285 net/vmw_vsock/af_vsock.c finish_wait(sk_sleep(listener), &wait); listener 1286 net/vmw_vsock/af_vsock.c lock_sock(listener); listener 1296 net/vmw_vsock/af_vsock.c prepare_to_wait(sk_sleep(listener), &wait, TASK_INTERRUPTIBLE); listener 1298 net/vmw_vsock/af_vsock.c finish_wait(sk_sleep(listener), &wait); listener 1300 net/vmw_vsock/af_vsock.c if (listener->sk_err) listener 1301 net/vmw_vsock/af_vsock.c err = -listener->sk_err; listener 1304 net/vmw_vsock/af_vsock.c listener->sk_ack_backlog--; listener 1328 net/vmw_vsock/af_vsock.c release_sock(listener); listener 485 net/vmw_vsock/vmci_transport.c struct sock *listener, listener 495 net/vmw_vsock/vmci_transport.c vlistener = vsock_sk(listener); listener 1119 net/vmw_vsock/vmci_transport.c vpending->listener = sk; listener 1129 net/vmw_vsock/vmci_transport.c vmci_transport_recv_connecting_server(struct sock *listener, listener 1250 net/vmw_vsock/vmci_transport.c vsock_remove_pending(listener, pending); listener 1251 net/vmw_vsock/vmci_transport.c vsock_enqueue_accept(listener, pending); listener 1256 net/vmw_vsock/vmci_transport.c listener->sk_data_ready(listener); listener 105 samples/seccomp/user-trap.c struct seccomp_notif_resp *resp, int listener) listener 145 samples/seccomp/user-trap.c if (ioctl(listener, SECCOMP_IOCTL_NOTIF_ID_VALID, &req->id) < 0) { listener 203 samples/seccomp/user-trap.c int sk_pair[2], ret = 1, status, listener; listener 218 samples/seccomp/user-trap.c listener = user_trap_syscall(__NR_mount, listener 220 samples/seccomp/user-trap.c if (listener < 0) { listener 237 samples/seccomp/user-trap.c if (send_fd(sk_pair[1], listener) < 0) listener 239 samples/seccomp/user-trap.c close(listener); listener 273 samples/seccomp/user-trap.c listener = recv_fd(sk_pair[0]); listener 274 samples/seccomp/user-trap.c if (listener < 0) listener 309 samples/seccomp/user-trap.c if (ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, req)) { listener 314 samples/seccomp/user-trap.c if (handle_req(req, resp, listener) < 0) listener 326 samples/seccomp/user-trap.c if (ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, resp) < 0 && listener 337 samples/seccomp/user-trap.c close(listener); listener 341 samples/seccomp/user-trap.c close(listener); listener 3086 tools/testing/selftests/seccomp/seccomp_bpf.c int status, listener; listener 3126 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_getppid, listener 3128 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3144 tools/testing/selftests/seccomp/seccomp_bpf.c pollfd.fd = listener; listener 3154 tools/testing/selftests/seccomp/seccomp_bpf.c ret = ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req); listener 3160 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3163 tools/testing/selftests/seccomp/seccomp_bpf.c pollfd.fd = listener; listener 3177 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), -1); listener 3181 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); listener 3192 tools/testing/selftests/seccomp/seccomp_bpf.c int listener; listener 3201 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_getppid, listener 3203 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3217 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3218 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_ID_VALID, &req.id), 0); listener 3223 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_ID_VALID, &req.id), -1); listener 3226 tools/testing/selftests/seccomp/seccomp_bpf.c ret = ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp); listener 3243 tools/testing/selftests/seccomp/seccomp_bpf.c int status, listener, sk_pair[2]; listener 3255 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_gettid, listener 3257 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3282 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3297 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), -1); listener 3301 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3307 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); listener 3318 tools/testing/selftests/seccomp/seccomp_bpf.c int status, listener; listener 3325 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_getppid, listener 3327 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3335 tools/testing/selftests/seccomp/seccomp_bpf.c close(listener); listener 3340 tools/testing/selftests/seccomp/seccomp_bpf.c close(listener); listener 3353 tools/testing/selftests/seccomp/seccomp_bpf.c int status, listener; listener 3359 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_getppid, listener 3361 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3369 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3376 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); listener 3381 tools/testing/selftests/seccomp/seccomp_bpf.c close(listener); listener 3391 tools/testing/selftests/seccomp/seccomp_bpf.c int status, listener; listener 3399 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_getppid, listener 3401 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3429 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3440 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); listener 3444 tools/testing/selftests/seccomp/seccomp_bpf.c close(listener); listener 3458 tools/testing/selftests/seccomp/seccomp_bpf.c int status, listener; listener 3464 tools/testing/selftests/seccomp/seccomp_bpf.c listener = user_trap_syscall(__NR_getppid, listener 3466 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_GE(listener, 0); listener 3475 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, NULL), -1); listener 3479 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); listener 3486 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0);