dport 154 arch/powerpc/sysdev/fsl_rmu.c u32 dport; dport 684 arch/powerpc/sysdev/fsl_rmu.c desc->dport = (rdev->destid << 16) | (mbox & 0x3); dport 2744 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *dport = dp_to_dig_port(intel_dp); dport 2745 drivers/gpu/drm/i915/display/intel_ddi.c struct drm_i915_private *dev_priv = to_i915(dport->base.base.dev); dport 2746 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_encoder *encoder = &dport->base; dport 2762 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *dport = dp_to_dig_port(intel_dp); dport 2763 drivers/gpu/drm/i915/display/intel_ddi.c struct drm_i915_private *dev_priv = to_i915(dport->base.base.dev); dport 2764 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_encoder *encoder = &dport->base; dport 4215 drivers/gpu/drm/i915/display/intel_ddi.c static bool intel_ddi_a_force_4_lanes(struct intel_digital_port *dport) dport 4217 drivers/gpu/drm/i915/display/intel_ddi.c struct drm_i915_private *dev_priv = to_i915(dport->base.base.dev); dport 4219 drivers/gpu/drm/i915/display/intel_ddi.c if (dport->base.port != PORT_A) dport 4222 drivers/gpu/drm/i915/display/intel_ddi.c if (dport->saved_port_bits & DDI_A_4_LANES) dport 1589 drivers/gpu/drm/i915/display/intel_display.c struct intel_digital_port *dport, dport 1595 drivers/gpu/drm/i915/display/intel_display.c switch (dport->base.port) { dport 1616 drivers/gpu/drm/i915/display/intel_display.c port_name(dport->base.port), dport 464 drivers/gpu/drm/i915/display/intel_display.h struct intel_digital_port *dport, dport 1298 drivers/gpu/drm/i915/display/intel_display_types.h vlv_dport_to_channel(struct intel_digital_port *dport) dport 1300 drivers/gpu/drm/i915/display/intel_display_types.h switch (dport->base.port) { dport 1312 drivers/gpu/drm/i915/display/intel_display_types.h vlv_dport_to_phy(struct intel_digital_port *dport) dport 1314 drivers/gpu/drm/i915/display/intel_display_types.h switch (dport->base.port) { dport 645 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 647 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel ch = vlv_dport_to_channel(dport); dport 784 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 787 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel ch = vlv_dport_to_channel(dport); dport 798 drivers/gpu/drm/i915/display/intel_dpio_phy.c dport->release_cl2_override = dport 865 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = dp_to_dig_port(intel_dp); dport 868 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel ch = vlv_dport_to_channel(dport); dport 943 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 946 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (dport->release_cl2_override) { dport 948 drivers/gpu/drm/i915/display/intel_dpio_phy.c dport->release_cl2_override = false; dport 992 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 993 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel port = vlv_dport_to_channel(dport); dport 1017 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 1020 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel port = vlv_dport_to_channel(dport); dport 1047 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = dp_to_dig_port(intel_dp); dport 1050 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel port = vlv_dport_to_channel(dport); dport 1076 drivers/gpu/drm/i915/display/intel_dpio_phy.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 1079 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum dpio_channel port = vlv_dport_to_channel(dport); dport 2620 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 2629 drivers/gpu/drm/i915/display/intel_hdmi.c dport->set_infoframes(encoder, dport 2635 drivers/gpu/drm/i915/display/intel_hdmi.c vlv_wait_port_ready(dev_priv, dport, 0x0); dport 2690 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *dport = enc_to_dig_port(&encoder->base); dport 2700 drivers/gpu/drm/i915/display/intel_hdmi.c dport->set_infoframes(encoder, dport 2706 drivers/gpu/drm/i915/display/intel_hdmi.c vlv_wait_port_ready(dev_priv, dport, 0x0); dport 3300 drivers/infiniband/core/cma.c __be16 dport = cma_port(daddr); dport 3313 drivers/infiniband/core/cma.c (dport != cur_dport)) dport 172 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(udp, dport), dport 1931 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.udp.dport = htons(ROCE_V2_UDP_DPORT); dport 3150 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.udp.dport = htons(ROCE_V2_UDP_DPORT); dport 485 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->udp.dport = htons(ROCE_V2_UDP_DPORT); dport 112 drivers/infiniband/hw/usnic/usnic_fwd.h uint32_t daddr, uint16_t dport) dport 123 drivers/infiniband/hw/usnic/usnic_fwd.h if (dport) { dport 125 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_port = dport; dport 252 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.ports.dport = match.key->dst; dport 253 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.dport = match.mask->dst; dport 459 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_dst_port = flow->l4_key.ports.dport; dport 460 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_dst_port_mask = flow->l4_mask.ports.dport; dport 49 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h __be16 dport; dport 416 drivers/net/ethernet/chelsio/cxgb3/common.h u16 dport; dport 160 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ioctl.h uint16_t dport; dport 3002 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c key[1] = (tp->sip >> 16) | (tp->dport << 16); dport 438 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_vcap_udp_tcp *sport, *dport; dport 454 drivers/net/ethernet/mscc/ocelot_ace.c dport = &ipv4->dport; dport 484 drivers/net/ethernet/mscc/ocelot_ace.c dport = &ipv6->dport; dport 518 drivers/net/ethernet/mscc/ocelot_ace.c dport); dport 145 drivers/net/ethernet/mscc/ocelot_ace.h struct ocelot_vcap_udp_tcp dport; /* UDP/TCP: Destination port */ dport 164 drivers/net/ethernet/mscc/ocelot_ace.h struct ocelot_vcap_udp_tcp dport; dport 149 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.dport.value = ntohs(match.key->dst); dport 150 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.dport.mask = ntohs(match.mask->dst); dport 43 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int dport; dport 149 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c thdr->dest = htons(attr->dport); dport 154 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c uhdr->dest = htons(attr->dport); dport 286 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (thdr->dest != htons(tpriv->packet->dport)) dport 295 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (uhdr->dest != htons(tpriv->packet->dport)) dport 826 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c attr.dport = 0x123; dport 875 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (uhdr->dest != htons(tpriv->packet->dport)) dport 930 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c attr.dport = 9; dport 1006 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c attr.dport = 9; dport 1484 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c attr.dport = dst; dport 7349 drivers/net/ethernet/sun/niu.c u16 sport, dport, spm, dpm; dport 7377 drivers/net/ethernet/sun/niu.c dport = be16_to_cpu(fsp->h_u.tcp_ip4_spec.pdst); dport 7380 drivers/net/ethernet/sun/niu.c tp->key[2] |= (((u64)sport << 16) | dport); dport 2221 drivers/net/vxlan.c __be32 daddr, __be32 *saddr, __be16 dport, __be16 sport, dport 2247 drivers/net/vxlan.c fl4.fl4_dport = dport; dport 2276 drivers/net/vxlan.c __be16 dport, __be16 sport, dport 2302 drivers/net/vxlan.c fl6.fl6_dport = dport; dport 2923 drivers/net/vxlan.c __be16 sport, dport; dport 2927 drivers/net/vxlan.c dport = info->key.tp_dst ? : vxlan->cfg.dst_port; dport 2935 drivers/net/vxlan.c &info->key.u.ipv4.src, dport, sport, dport 2947 drivers/net/vxlan.c &info->key.u.ipv6.src, dport, sport, dport 2957 drivers/net/vxlan.c info->key.tp_dst = dport; dport 5667 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_disabled(struct bfa_dport_s *dport, dport 5669 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_enabling_qwait(struct bfa_dport_s *dport, dport 5671 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_enabling(struct bfa_dport_s *dport, dport 5673 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_enabled(struct bfa_dport_s *dport, dport 5675 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_disabling_qwait(struct bfa_dport_s *dport, dport 5677 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_disabling(struct bfa_dport_s *dport, dport 5679 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_starting_qwait(struct bfa_dport_s *dport, dport 5681 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_starting(struct bfa_dport_s *dport, dport 5683 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_dynamic_disabling(struct bfa_dport_s *dport, dport 5685 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_sm_dynamic_disabling_qwait(struct bfa_dport_s *dport, dport 5688 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_req_comp(struct bfa_dport_s *dport, dport 5690 drivers/scsi/bfa/bfa_svc.c static void bfa_dport_scn(struct bfa_dport_s *dport, dport 5717 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = &fcdiag->dport; dport 5722 drivers/scsi/bfa/bfa_svc.c dport->bfa = bfa; dport 5723 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 5724 drivers/scsi/bfa/bfa_svc.c bfa_reqq_winit(&dport->reqq_wait, bfa_dport_qresume, dport); dport 5725 drivers/scsi/bfa/bfa_svc.c dport->cbfn = NULL; dport 5726 drivers/scsi/bfa/bfa_svc.c dport->cbarg = NULL; dport 5727 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_DISABLED; dport 5728 drivers/scsi/bfa/bfa_svc.c memset(&dport->result, 0, sizeof(struct bfa_diag_dport_result_s)); dport 5735 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = &fcdiag->dport; dport 5745 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_HWFAIL); dport 5916 drivers/scsi/bfa/bfa_svc.c bfa_dport_req_comp(&fcdiag->dport, dport 5920 drivers/scsi/bfa/bfa_svc.c bfa_dport_scn(&fcdiag->dport, dport 6133 drivers/scsi/bfa/bfa_svc.c static bfa_boolean_t bfa_dport_send_req(struct bfa_dport_s *dport, dport 6136 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(struct bfa_dport_s *dport, bfa_status_t bfa_status) dport 6138 drivers/scsi/bfa/bfa_svc.c if (dport->cbfn != NULL) { dport 6139 drivers/scsi/bfa/bfa_svc.c dport->cbfn(dport->cbarg, bfa_status); dport 6140 drivers/scsi/bfa/bfa_svc.c dport->cbfn = NULL; dport 6141 drivers/scsi/bfa/bfa_svc.c dport->cbarg = NULL; dport 6146 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_disabled(struct bfa_dport_s *dport, enum bfa_dport_sm_event event) dport 6148 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6152 drivers/scsi/bfa/bfa_svc.c bfa_fcport_dportenable(dport->bfa); dport 6153 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_send_req(dport, BFI_DPORT_ENABLE)) dport 6154 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_enabling); dport 6156 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_enabling_qwait); dport 6168 drivers/scsi/bfa/bfa_svc.c if (dport->i2hmsg.scn.state == BFI_DPORT_SCN_DDPORT_ENABLE) { dport 6169 drivers/scsi/bfa/bfa_svc.c bfa_fcport_ddportenable(dport->bfa); dport 6170 drivers/scsi/bfa/bfa_svc.c dport->dynamic = BFA_TRUE; dport 6171 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_NOTSTART; dport 6172 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_enabled); dport 6174 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->i2hmsg.scn.state); dport 6180 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6185 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_enabling_qwait(struct bfa_dport_s *dport, dport 6188 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6192 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_enabling); dport 6193 drivers/scsi/bfa/bfa_svc.c bfa_dport_send_req(dport, BFI_DPORT_ENABLE); dport 6197 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&dport->reqq_wait); dport 6198 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6199 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_FAILED); dport 6203 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6208 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_enabling(struct bfa_dport_s *dport, enum bfa_dport_sm_event event) dport 6210 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6214 drivers/scsi/bfa/bfa_svc.c memset(&dport->result, 0, dport 6216 drivers/scsi/bfa/bfa_svc.c if (dport->i2hmsg.rsp.status == BFA_STATUS_DPORT_INV_SFP) { dport 6217 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_NO_SFP; dport 6219 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_INP; dport 6220 drivers/scsi/bfa/bfa_svc.c bfa_dport_result_start(dport, BFA_DPORT_OPMODE_AUTO); dport 6222 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_enabled); dport 6226 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_DISABLED; dport 6227 drivers/scsi/bfa/bfa_svc.c bfa_fcport_dportdisable(dport->bfa); dport 6228 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6232 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6233 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_FAILED); dport 6237 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6242 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_enabled(struct bfa_dport_s *dport, enum bfa_dport_sm_event event) dport 6244 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6248 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_send_req(dport, BFI_DPORT_START)) dport 6249 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_starting); dport 6251 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_starting_qwait); dport 6255 drivers/scsi/bfa/bfa_svc.c bfa_fcport_dportdisable(dport->bfa); dport 6256 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_send_req(dport, BFI_DPORT_DISABLE)) dport 6257 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabling); dport 6259 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabling_qwait); dport 6263 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6267 drivers/scsi/bfa/bfa_svc.c switch (dport->i2hmsg.scn.state) { dport 6269 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_COMP; dport 6273 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_INP; dport 6282 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_NO_SFP; dport 6286 drivers/scsi/bfa/bfa_svc.c bfa_fcport_ddportdisable(dport->bfa); dport 6288 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_send_req(dport, BFI_DPORT_DYN_DISABLE)) dport 6289 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, dport 6292 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, dport 6297 drivers/scsi/bfa/bfa_svc.c bfa_fcport_ddportdisable(dport->bfa); dport 6299 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6300 drivers/scsi/bfa/bfa_svc.c dport->dynamic = BFA_FALSE; dport 6304 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->i2hmsg.scn.state); dport 6305 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6309 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6314 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_disabling_qwait(struct bfa_dport_s *dport, dport 6317 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6321 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabling); dport 6322 drivers/scsi/bfa/bfa_svc.c bfa_dport_send_req(dport, BFI_DPORT_DISABLE); dport 6326 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6327 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&dport->reqq_wait); dport 6328 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_OK); dport 6336 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6341 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_disabling(struct bfa_dport_s *dport, enum bfa_dport_sm_event event) dport 6343 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6347 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_DISABLED; dport 6348 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6352 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6353 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_OK); dport 6361 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6366 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_starting_qwait(struct bfa_dport_s *dport, dport 6369 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6373 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_starting); dport 6374 drivers/scsi/bfa/bfa_svc.c bfa_dport_send_req(dport, BFI_DPORT_START); dport 6378 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&dport->reqq_wait); dport 6379 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6380 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_FAILED); dport 6384 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6389 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_starting(struct bfa_dport_s *dport, enum bfa_dport_sm_event event) dport 6391 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6395 drivers/scsi/bfa/bfa_svc.c memset(&dport->result, 0, dport 6397 drivers/scsi/bfa/bfa_svc.c if (dport->i2hmsg.rsp.status == BFA_STATUS_DPORT_INV_SFP) { dport 6398 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_NO_SFP; dport 6400 drivers/scsi/bfa/bfa_svc.c dport->test_state = BFA_DPORT_ST_INP; dport 6401 drivers/scsi/bfa/bfa_svc.c bfa_dport_result_start(dport, BFA_DPORT_OPMODE_MANU); dport 6406 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_enabled); dport 6410 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6411 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_FAILED); dport 6415 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6420 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_dynamic_disabling(struct bfa_dport_s *dport, dport 6423 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6427 drivers/scsi/bfa/bfa_svc.c switch (dport->i2hmsg.scn.state) { dport 6429 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6430 drivers/scsi/bfa/bfa_svc.c dport->dynamic = BFA_FALSE; dport 6431 drivers/scsi/bfa/bfa_svc.c bfa_fcport_enable(dport->bfa); dport 6435 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->i2hmsg.scn.state); dport 6436 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6442 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6443 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_OK); dport 6447 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6452 drivers/scsi/bfa/bfa_svc.c bfa_dport_sm_dynamic_disabling_qwait(struct bfa_dport_s *dport, dport 6455 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, event); dport 6459 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_dynamic_disabling); dport 6460 drivers/scsi/bfa/bfa_svc.c bfa_dport_send_req(dport, BFI_DPORT_DYN_DISABLE); dport 6464 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(dport, bfa_dport_sm_disabled); dport 6465 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&dport->reqq_wait); dport 6466 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, BFA_STATUS_OK); dport 6474 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, event); dport 6479 drivers/scsi/bfa/bfa_svc.c bfa_dport_send_req(struct bfa_dport_s *dport, enum bfi_dport_req req) dport 6486 drivers/scsi/bfa/bfa_svc.c m = bfa_reqq_next(dport->bfa, BFA_REQQ_DIAG); dport 6488 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wait(dport->bfa, BFA_REQQ_PORT, &dport->reqq_wait); dport 6493 drivers/scsi/bfa/bfa_svc.c bfa_fn_lpu(dport->bfa)); dport 6496 drivers/scsi/bfa/bfa_svc.c m->lpcnt = cpu_to_be32(dport->lpcnt); dport 6497 drivers/scsi/bfa/bfa_svc.c m->payload = cpu_to_be32(dport->payload); dport 6503 drivers/scsi/bfa/bfa_svc.c bfa_reqq_produce(dport->bfa, BFA_REQQ_DIAG, m->mh); dport 6511 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = cbarg; dport 6513 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_QRESUME); dport 6517 drivers/scsi/bfa/bfa_svc.c bfa_dport_req_comp(struct bfa_dport_s *dport, struct bfi_diag_dport_rsp_s *msg) dport 6520 drivers/scsi/bfa/bfa_svc.c dport->i2hmsg.rsp.status = msg->status; dport 6521 drivers/scsi/bfa/bfa_svc.c dport->rp_pwwn = msg->pwwn; dport 6522 drivers/scsi/bfa/bfa_svc.c dport->rp_nwwn = msg->nwwn; dport 6526 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, msg->status); dport 6527 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->rp_pwwn); dport 6528 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->rp_nwwn); dport 6529 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_FWRSP); dport 6532 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, msg->status); dport 6533 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_REQFAIL); dport 6535 drivers/scsi/bfa/bfa_svc.c bfa_cb_fcdiag_dport(dport, msg->status); dport 6539 drivers/scsi/bfa/bfa_svc.c bfa_dport_is_sending_req(struct bfa_dport_s *dport) dport 6541 drivers/scsi/bfa/bfa_svc.c if (bfa_sm_cmp_state(dport, bfa_dport_sm_enabling) || dport 6542 drivers/scsi/bfa/bfa_svc.c bfa_sm_cmp_state(dport, bfa_dport_sm_enabling_qwait) || dport 6543 drivers/scsi/bfa/bfa_svc.c bfa_sm_cmp_state(dport, bfa_dport_sm_disabling) || dport 6544 drivers/scsi/bfa/bfa_svc.c bfa_sm_cmp_state(dport, bfa_dport_sm_disabling_qwait) || dport 6545 drivers/scsi/bfa/bfa_svc.c bfa_sm_cmp_state(dport, bfa_dport_sm_starting) || dport 6546 drivers/scsi/bfa/bfa_svc.c bfa_sm_cmp_state(dport, bfa_dport_sm_starting_qwait)) { dport 6554 drivers/scsi/bfa/bfa_svc.c bfa_dport_scn(struct bfa_dport_s *dport, struct bfi_diag_dport_scn_s *msg) dport 6559 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, msg->state); dport 6560 drivers/scsi/bfa/bfa_svc.c dport->i2hmsg.scn.state = msg->state; dport 6562 drivers/scsi/bfa/bfa_svc.c switch (dport->i2hmsg.scn.state) { dport 6564 drivers/scsi/bfa/bfa_svc.c dport->result.end_time = ktime_get_real_seconds(); dport 6565 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.end_time); dport 6567 drivers/scsi/bfa/bfa_svc.c dport->result.status = msg->info.testcomp.status; dport 6568 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.status); dport 6570 drivers/scsi/bfa/bfa_svc.c dport->result.roundtrip_latency = dport 6572 drivers/scsi/bfa/bfa_svc.c dport->result.est_cable_distance = dport 6574 drivers/scsi/bfa/bfa_svc.c dport->result.buffer_required = dport 6577 drivers/scsi/bfa/bfa_svc.c dport->result.frmsz = be16_to_cpu(msg->info.testcomp.frm_sz); dport 6578 drivers/scsi/bfa/bfa_svc.c dport->result.speed = msg->info.testcomp.speed; dport 6580 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.roundtrip_latency); dport 6581 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.est_cable_distance); dport 6582 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.buffer_required); dport 6583 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.frmsz); dport 6584 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.speed); dport 6587 drivers/scsi/bfa/bfa_svc.c dport->result.subtest[i].status = dport 6589 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->result.subtest[i].status); dport 6595 drivers/scsi/bfa/bfa_svc.c memset(&dport->result, 0, dport 6600 drivers/scsi/bfa/bfa_svc.c memset(&dport->result, 0, dport 6602 drivers/scsi/bfa/bfa_svc.c dport->rp_pwwn = msg->info.teststart.pwwn; dport 6603 drivers/scsi/bfa/bfa_svc.c dport->rp_nwwn = msg->info.teststart.nwwn; dport 6604 drivers/scsi/bfa/bfa_svc.c dport->lpcnt = cpu_to_be32(msg->info.teststart.numfrm); dport 6605 drivers/scsi/bfa/bfa_svc.c bfa_dport_result_start(dport, msg->info.teststart.mode); dport 6610 drivers/scsi/bfa/bfa_svc.c dport->result.subtest[subtesttype].start_time = dport 6612 drivers/scsi/bfa/bfa_svc.c dport->result.subtest[subtesttype].status = dport 6615 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, subtesttype); dport 6616 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport 6617 drivers/scsi/bfa/bfa_svc.c dport->result.subtest[subtesttype].start_time); dport 6624 drivers/scsi/bfa/bfa_svc.c dport->result.status = DPORT_TEST_ST_IDLE; dport 6628 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(dport->bfa, msg->state); dport 6631 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_SCN); dport 6644 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = &fcdiag->dport; dport 6649 drivers/scsi/bfa/bfa_svc.c if (bfa_mfg_is_mezz(dport->bfa->ioc.attr->card_type)) { dport 6650 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, BFA_STATUS_PBC); dport 6657 drivers/scsi/bfa/bfa_svc.c if (!(bfa_asic_id_ct2(dport->bfa->ioc.pcidev.device_id))) { dport 6658 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->bfa->ioc.pcidev.device_id); dport 6670 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, BFA_STATUS_PBC); dport 6678 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, bfa_ioc_get_type(&bfa->ioc)); dport 6687 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6695 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6703 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6712 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6719 drivers/scsi/bfa/bfa_svc.c if (dport->dynamic) dport 6725 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_is_sending_req(dport)) dport 6731 drivers/scsi/bfa/bfa_svc.c if (bfa_sm_cmp_state(dport, bfa_dport_sm_enabled)) { dport 6732 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6736 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, lpcnt); dport 6737 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, pat); dport 6738 drivers/scsi/bfa/bfa_svc.c dport->lpcnt = (lpcnt) ? lpcnt : DPORT_ENABLE_LOOPCNT_DEFAULT; dport 6739 drivers/scsi/bfa/bfa_svc.c dport->payload = (pat) ? pat : LB_PATTERN_DEFAULT; dport 6740 drivers/scsi/bfa/bfa_svc.c dport->cbfn = cbfn; dport 6741 drivers/scsi/bfa/bfa_svc.c dport->cbarg = cbarg; dport 6743 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_ENABLE); dport 6756 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = &fcdiag->dport; dport 6763 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, BFA_STATUS_PBC); dport 6770 drivers/scsi/bfa/bfa_svc.c if (dport->dynamic) { dport 6779 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6786 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_is_sending_req(dport)) dport 6792 drivers/scsi/bfa/bfa_svc.c if (bfa_sm_cmp_state(dport, bfa_dport_sm_disabled)) { dport 6793 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6797 drivers/scsi/bfa/bfa_svc.c dport->cbfn = cbfn; dport 6798 drivers/scsi/bfa/bfa_svc.c dport->cbarg = cbarg; dport 6800 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_DISABLE); dport 6814 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = &fcdiag->dport; dport 6825 drivers/scsi/bfa/bfa_svc.c if (dport->dynamic) dport 6831 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_is_sending_req(dport)) dport 6838 drivers/scsi/bfa/bfa_svc.c if (!bfa_sm_cmp_state(dport, bfa_dport_sm_enabled)) { dport 6839 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6843 drivers/scsi/bfa/bfa_svc.c if (dport->test_state == BFA_DPORT_ST_NO_SFP) dport 6846 drivers/scsi/bfa/bfa_svc.c if (dport->test_state == BFA_DPORT_ST_INP) dport 6849 drivers/scsi/bfa/bfa_svc.c WARN_ON(dport->test_state != BFA_DPORT_ST_COMP); dport 6852 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, lpcnt); dport 6853 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, pat); dport 6855 drivers/scsi/bfa/bfa_svc.c dport->lpcnt = (lpcnt) ? lpcnt : DPORT_ENABLE_LOOPCNT_DEFAULT; dport 6856 drivers/scsi/bfa/bfa_svc.c dport->payload = (pat) ? pat : LB_PATTERN_DEFAULT; dport 6858 drivers/scsi/bfa/bfa_svc.c dport->cbfn = cbfn; dport 6859 drivers/scsi/bfa/bfa_svc.c dport->cbarg = cbarg; dport 6861 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(dport, BFA_DPORT_SM_START); dport 6874 drivers/scsi/bfa/bfa_svc.c struct bfa_dport_s *dport = &fcdiag->dport; dport 6885 drivers/scsi/bfa/bfa_svc.c if (bfa_dport_is_sending_req(dport)) dport 6891 drivers/scsi/bfa/bfa_svc.c if (!bfa_sm_cmp_state(dport, bfa_dport_sm_enabled)) { dport 6892 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, 0); dport 6900 drivers/scsi/bfa/bfa_svc.c if (dport->test_state == BFA_DPORT_ST_NO_SFP) dport 6903 drivers/scsi/bfa/bfa_svc.c memcpy(result, &dport->result, sizeof(struct bfa_diag_dport_result_s)); dport 731 drivers/scsi/bfa/bfa_svc.h struct bfa_dport_s dport; dport 588 drivers/scsi/cxgbi/libcxgbi.c __be16 sport, __be16 dport, u8 tos, dport 594 drivers/scsi/cxgbi/libcxgbi.c dport, sport, IPPROTO_TCP, tos, ifindex); dport 417 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport; dport 424 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[chan]; dport 425 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 426 drivers/tty/mips_ejtag_fdc.c if (dport->xmit_cnt) { dport 427 drivers/tty/mips_ejtag_fdc.c ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; dport 429 drivers/tty/mips_ejtag_fdc.c priv->xmit_size - dport->xmit_tail, dport 430 drivers/tty/mips_ejtag_fdc.c dport->xmit_cnt); dport 431 drivers/tty/mips_ejtag_fdc.c ptrs[1] = dport->port.xmit_buf; dport 432 drivers/tty/mips_ejtag_fdc.c sizes[1] = dport->xmit_cnt - sizes[0]; dport 448 drivers/tty/mips_ejtag_fdc.c dport->xmit_cnt -= word.bytes; dport 449 drivers/tty/mips_ejtag_fdc.c if (!dport->xmit_cnt) { dport 451 drivers/tty/mips_ejtag_fdc.c dport->xmit_head = 0; dport 452 drivers/tty/mips_ejtag_fdc.c dport->xmit_tail = 0; dport 453 drivers/tty/mips_ejtag_fdc.c complete(&dport->xmit_empty); dport 455 drivers/tty/mips_ejtag_fdc.c dport->xmit_tail += word.bytes; dport 456 drivers/tty/mips_ejtag_fdc.c if (dport->xmit_tail >= priv->xmit_size) dport 457 drivers/tty/mips_ejtag_fdc.c dport->xmit_tail -= priv->xmit_size; dport 461 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 465 drivers/tty/mips_ejtag_fdc.c tty = tty_port_tty_get(&dport->port); dport 485 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport; dport 520 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[priv->xmit_next]; dport 521 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 522 drivers/tty/mips_ejtag_fdc.c ret = dport->xmit_cnt; dport 523 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 559 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport; dport 570 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[channel]; dport 573 drivers/tty/mips_ejtag_fdc.c raw_spin_lock(&dport->rx_lock); dport 608 drivers/tty/mips_ejtag_fdc.c if (!dport->rx_buf) dport 611 drivers/tty/mips_ejtag_fdc.c flipped += tty_insert_flip_char(&dport->port, buf[i], dport 615 drivers/tty/mips_ejtag_fdc.c tty_flip_buffer_push(&dport->port); dport 617 drivers/tty/mips_ejtag_fdc.c raw_spin_unlock(&dport->rx_lock); dport 697 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport = dport 710 drivers/tty/mips_ejtag_fdc.c raw_spin_lock_irq(&dport->rx_lock); dport 711 drivers/tty/mips_ejtag_fdc.c dport->rx_buf = rx_buf; dport 712 drivers/tty/mips_ejtag_fdc.c raw_spin_unlock_irq(&dport->rx_lock); dport 723 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport = dport 725 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty *priv = dport->driver; dport 729 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 730 drivers/tty/mips_ejtag_fdc.c count = dport->xmit_cnt; dport 731 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 738 drivers/tty/mips_ejtag_fdc.c wait_for_completion(&dport->xmit_empty); dport 742 drivers/tty/mips_ejtag_fdc.c raw_spin_lock_irq(&dport->rx_lock); dport 743 drivers/tty/mips_ejtag_fdc.c rx_buf = dport->rx_buf; dport 744 drivers/tty/mips_ejtag_fdc.c dport->rx_buf = NULL; dport 745 drivers/tty/mips_ejtag_fdc.c raw_spin_unlock_irq(&dport->rx_lock); dport 781 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport = tty->driver_data; dport 782 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty *priv = dport->driver; dport 785 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 786 drivers/tty/mips_ejtag_fdc.c if (dport->xmit_cnt) { dport 787 drivers/tty/mips_ejtag_fdc.c atomic_sub(dport->xmit_cnt, &priv->xmit_total); dport 788 drivers/tty/mips_ejtag_fdc.c dport->xmit_cnt = 0; dport 789 drivers/tty/mips_ejtag_fdc.c dport->xmit_head = 0; dport 790 drivers/tty/mips_ejtag_fdc.c dport->xmit_tail = 0; dport 791 drivers/tty/mips_ejtag_fdc.c complete(&dport->xmit_empty); dport 793 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 802 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport = tty->driver_data; dport 803 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty *priv = dport->driver; dport 816 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 818 drivers/tty/mips_ejtag_fdc.c total = min(total, (int)(priv->xmit_size - dport->xmit_cnt)); dport 820 drivers/tty/mips_ejtag_fdc.c dport->xmit_cnt += total; dport 823 drivers/tty/mips_ejtag_fdc.c block = min(count, (int)(priv->xmit_size - dport->xmit_head)); dport 824 drivers/tty/mips_ejtag_fdc.c memcpy(dport->port.xmit_buf + dport->xmit_head, buf, block); dport 825 drivers/tty/mips_ejtag_fdc.c dport->xmit_head += block; dport 826 drivers/tty/mips_ejtag_fdc.c if (dport->xmit_head >= priv->xmit_size) dport 827 drivers/tty/mips_ejtag_fdc.c dport->xmit_head -= priv->xmit_size; dport 830 drivers/tty/mips_ejtag_fdc.c count = dport->xmit_cnt; dport 833 drivers/tty/mips_ejtag_fdc.c reinit_completion(&dport->xmit_empty); dport 834 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 844 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport = tty->driver_data; dport 845 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty *priv = dport->driver; dport 849 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 850 drivers/tty/mips_ejtag_fdc.c room = priv->xmit_size - dport->xmit_cnt; dport 851 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 858 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport = tty->driver_data; dport 862 drivers/tty/mips_ejtag_fdc.c spin_lock(&dport->xmit_lock); dport 863 drivers/tty/mips_ejtag_fdc.c chars = dport->xmit_cnt; dport 864 drivers/tty/mips_ejtag_fdc.c spin_unlock(&dport->xmit_lock); dport 887 drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port *dport; dport 940 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[nport]; dport 941 drivers/tty/mips_ejtag_fdc.c dport->driver = priv; dport 942 drivers/tty/mips_ejtag_fdc.c tty_port_init(&dport->port); dport 943 drivers/tty/mips_ejtag_fdc.c dport->port.ops = &mips_ejtag_fdc_tty_port_ops; dport 944 drivers/tty/mips_ejtag_fdc.c raw_spin_lock_init(&dport->rx_lock); dport 945 drivers/tty/mips_ejtag_fdc.c spin_lock_init(&dport->xmit_lock); dport 947 drivers/tty/mips_ejtag_fdc.c init_completion(&dport->xmit_empty); dport 948 drivers/tty/mips_ejtag_fdc.c complete(&dport->xmit_empty); dport 1041 drivers/tty/mips_ejtag_fdc.c dport = &priv->ports[nport]; dport 1042 drivers/tty/mips_ejtag_fdc.c tty_port_destroy(&dport->port); dport 81 drivers/tty/serial/dz.c struct dz_port dport[DZ_NB_PORT]; dport 103 drivers/tty/serial/dz.c static u16 dz_in(struct dz_port *dport, unsigned offset) dport 105 drivers/tty/serial/dz.c void __iomem *addr = dport->port.membase + offset; dport 110 drivers/tty/serial/dz.c static void dz_out(struct dz_port *dport, unsigned offset, u16 value) dport 112 drivers/tty/serial/dz.c void __iomem *addr = dport->port.membase + offset; dport 129 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 130 drivers/tty/serial/dz.c u16 tmp, mask = 1 << dport->port.line; dport 132 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); /* read the TX flag */ dport 134 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); dport 139 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 140 drivers/tty/serial/dz.c u16 tmp, mask = 1 << dport->port.line; dport 142 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); /* read the TX flag */ dport 144 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); dport 149 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 151 drivers/tty/serial/dz.c dport->cflag &= ~DZ_RXENAB; dport 152 drivers/tty/serial/dz.c dz_out(dport, DZ_LPR, dport->cflag); dport 185 drivers/tty/serial/dz.c struct dz_port *dport = &mux->dport[0]; dport 192 drivers/tty/serial/dz.c while ((status = dz_in(dport, DZ_RBUF)) & DZ_DVAL) { dport 193 drivers/tty/serial/dz.c dport = &mux->dport[LINE(status)]; dport 194 drivers/tty/serial/dz.c uport = &dport->port; dport 246 drivers/tty/serial/dz.c tty_flip_buffer_push(&mux->dport[i].port.state->port); dport 258 drivers/tty/serial/dz.c struct dz_port *dport = &mux->dport[0]; dport 263 drivers/tty/serial/dz.c status = dz_in(dport, DZ_CSR); dport 264 drivers/tty/serial/dz.c dport = &mux->dport[LINE(status)]; dport 265 drivers/tty/serial/dz.c xmit = &dport->port.state->xmit; dport 267 drivers/tty/serial/dz.c if (dport->port.x_char) { /* XON/XOFF chars */ dport 268 drivers/tty/serial/dz.c dz_out(dport, DZ_TDR, dport->port.x_char); dport 269 drivers/tty/serial/dz.c dport->port.icount.tx++; dport 270 drivers/tty/serial/dz.c dport->port.x_char = 0; dport 274 drivers/tty/serial/dz.c if (uart_circ_empty(xmit) || uart_tx_stopped(&dport->port)) { dport 275 drivers/tty/serial/dz.c spin_lock(&dport->port.lock); dport 276 drivers/tty/serial/dz.c dz_stop_tx(&dport->port); dport 277 drivers/tty/serial/dz.c spin_unlock(&dport->port.lock); dport 287 drivers/tty/serial/dz.c dz_out(dport, DZ_TDR, tmp); dport 288 drivers/tty/serial/dz.c dport->port.icount.tx++; dport 291 drivers/tty/serial/dz.c uart_write_wakeup(&dport->port); dport 295 drivers/tty/serial/dz.c spin_lock(&dport->port.lock); dport 296 drivers/tty/serial/dz.c dz_stop_tx(&dport->port); dport 297 drivers/tty/serial/dz.c spin_unlock(&dport->port.lock); dport 309 drivers/tty/serial/dz.c static inline void check_modem_status(struct dz_port *dport) dport 319 drivers/tty/serial/dz.c if (dport->port.line != DZ_MODEM) dport 322 drivers/tty/serial/dz.c status = dz_in(dport, DZ_MSR); dport 326 drivers/tty/serial/dz.c dport->port.icount.dsr++; dport 340 drivers/tty/serial/dz.c struct dz_port *dport = &mux->dport[0]; dport 344 drivers/tty/serial/dz.c status = dz_in(dport, DZ_CSR); dport 366 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 369 drivers/tty/serial/dz.c if (dport->port.line == DZ_MODEM) { dport 370 drivers/tty/serial/dz.c if (dz_in(dport, DZ_MSR) & DZ_MODEM_DSR) dport 382 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 385 drivers/tty/serial/dz.c if (dport->port.line == DZ_MODEM) { dport 386 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); dport 391 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); dport 404 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 405 drivers/tty/serial/dz.c struct dz_mux *mux = dport->mux; dport 415 drivers/tty/serial/dz.c ret = request_irq(dport->port.irq, dz_interrupt, dport 419 drivers/tty/serial/dz.c printk(KERN_ERR "dz: Cannot get IRQ %d!\n", dport->port.irq); dport 423 drivers/tty/serial/dz.c spin_lock_irqsave(&dport->port.lock, flags); dport 426 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_CSR); dport 428 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, tmp); dport 430 drivers/tty/serial/dz.c spin_unlock_irqrestore(&dport->port.lock, flags); dport 445 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 446 drivers/tty/serial/dz.c struct dz_mux *mux = dport->mux; dport 451 drivers/tty/serial/dz.c spin_lock_irqsave(&dport->port.lock, flags); dport 452 drivers/tty/serial/dz.c dz_stop_tx(&dport->port); dport 453 drivers/tty/serial/dz.c spin_unlock_irqrestore(&dport->port.lock, flags); dport 458 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_CSR); dport 460 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, tmp); dport 462 drivers/tty/serial/dz.c free_irq(dport->port.irq, mux); dport 480 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 481 drivers/tty/serial/dz.c unsigned short tmp, mask = 1 << dport->port.line; dport 483 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); dport 495 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 497 drivers/tty/serial/dz.c unsigned short tmp, mask = 1 << dport->port.line; dport 500 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); dport 505 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); dport 548 drivers/tty/serial/dz.c static void dz_reset(struct dz_port *dport) dport 550 drivers/tty/serial/dz.c struct dz_mux *mux = dport->mux; dport 555 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, DZ_CLR); dport 556 drivers/tty/serial/dz.c while (dz_in(dport, DZ_CSR) & DZ_CLR); dport 560 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, DZ_MSE); dport 568 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 573 drivers/tty/serial/dz.c cflag = dport->port.line; dport 613 drivers/tty/serial/dz.c spin_lock_irqsave(&dport->port.lock, flags); dport 617 drivers/tty/serial/dz.c dz_out(dport, DZ_LPR, cflag); dport 618 drivers/tty/serial/dz.c dport->cflag = cflag; dport 621 drivers/tty/serial/dz.c dport->port.read_status_mask = DZ_OERR; dport 623 drivers/tty/serial/dz.c dport->port.read_status_mask |= DZ_FERR | DZ_PERR; dport 625 drivers/tty/serial/dz.c dport->port.read_status_mask |= DZ_BREAK; dport 630 drivers/tty/serial/dz.c dport->port.ignore_status_mask |= DZ_OERR; dport 632 drivers/tty/serial/dz.c dport->port.ignore_status_mask |= DZ_FERR | DZ_PERR; dport 634 drivers/tty/serial/dz.c dport->port.ignore_status_mask |= DZ_BREAK; dport 636 drivers/tty/serial/dz.c spin_unlock_irqrestore(&dport->port.lock, flags); dport 647 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 650 drivers/tty/serial/dz.c spin_lock_irqsave(&dport->port.lock, flags); dport 652 drivers/tty/serial/dz.c dz_start_tx(&dport->port); dport 654 drivers/tty/serial/dz.c dz_stop_tx(&dport->port); dport 655 drivers/tty/serial/dz.c spin_unlock_irqrestore(&dport->port.lock, flags); dport 717 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 725 drivers/tty/serial/dz.c dz_reset(dport); dport 778 drivers/tty/serial/dz.c struct dz_port *dport = &dz_mux.dport[line]; dport 779 drivers/tty/serial/dz.c struct uart_port *uport = &dport->port; dport 781 drivers/tty/serial/dz.c dport->mux = &dz_mux; dport 810 drivers/tty/serial/dz.c struct dz_port *dport = to_dport(uport); dport 815 drivers/tty/serial/dz.c spin_lock_irqsave(&dport->port.lock, flags); dport 816 drivers/tty/serial/dz.c csr = dz_in(dport, DZ_CSR); dport 817 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, csr & ~DZ_TIE); dport 818 drivers/tty/serial/dz.c tcr = dz_in(dport, DZ_TCR); dport 819 drivers/tty/serial/dz.c tcr |= 1 << dport->port.line; dport 821 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, mask); dport 823 drivers/tty/serial/dz.c spin_unlock_irqrestore(&dport->port.lock, flags); dport 826 drivers/tty/serial/dz.c trdy = dz_in(dport, DZ_CSR); dport 830 drivers/tty/serial/dz.c if (trdy == dport->port.line) dport 833 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, mask); dport 839 drivers/tty/serial/dz.c dz_out(dport, DZ_TDR, ch); dport 841 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tcr); dport 842 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, csr); dport 857 drivers/tty/serial/dz.c struct dz_port *dport = &dz_mux.dport[co->index]; dport 861 drivers/tty/serial/dz.c uart_console_write(&dport->port, str, count, dz_console_putchar); dport 866 drivers/tty/serial/dz.c struct dz_port *dport = &dz_mux.dport[co->index]; dport 867 drivers/tty/serial/dz.c struct uart_port *uport = &dport->port; dport 878 drivers/tty/serial/dz.c spin_lock_init(&dport->port.lock); /* For dz_pm(). */ dport 880 drivers/tty/serial/dz.c dz_reset(dport); dport 886 drivers/tty/serial/dz.c return uart_set_options(&dport->port, co, baud, parity, bits, flow); dport 943 drivers/tty/serial/dz.c uart_add_one_port(&dz_reg, &dz_mux.dport[i].port); dport 301 fs/ocfs2/cluster/netdebug.c __be16 sport = 0, dport = 0; dport 312 fs/ocfs2/cluster/netdebug.c dport = (__force __be16)inet->inet_dport; dport 335 fs/ocfs2/cluster/netdebug.c &daddr, inet ? ntohs(dport) : 0, dport 31 include/linux/lsm_audit.h __be16 dport; dport 48 include/net/flow.h __be16 dport; dport 58 include/net/flow.h __le16 dport; dport 90 include/net/flow.h #define fl4_dport uli.ports.dport dport 102 include/net/flow.h __be16 dport, __be16 sport, dport 117 include/net/flow.h fl4->fl4_dport = dport; dport 149 include/net/flow.h #define fl6_dport uli.ports.dport dport 170 include/net/flow.h #define fld_dport uli.ports.dport dport 84 include/net/inet6_hashtables.h const __be16 dport, dport 96 include/net/inet6_hashtables.h &ipv6_hdr(skb)->daddr, ntohs(dport), dport 103 include/net/inet6_hashtables.h const struct in6_addr *daddr, const __be16 dport, dport 268 include/net/inet_hashtables.h __be32 daddr, __be16 dport, int dif, int sdif) dport 271 include/net/inet_hashtables.h daddr, ntohs(dport), dif, sdif); dport 334 include/net/inet_hashtables.h const __be32 daddr, const __be16 dport, dport 338 include/net/inet_hashtables.h ntohs(dport), dif, 0); dport 345 include/net/inet_hashtables.h const __be32 daddr, const __be16 dport, dport 349 include/net/inet_hashtables.h u16 hnum = ntohs(dport); dport 366 include/net/inet_hashtables.h const __be32 daddr, const __be16 dport, dport 373 include/net/inet_hashtables.h dport, dif, 0, &refcounted); dport 384 include/net/inet_hashtables.h const __be16 dport, dport 397 include/net/inet_hashtables.h iph->daddr, dport, inet_iif(skb), sdif, dport 744 include/net/ip.h void ip_local_error(struct sock *sk, int err, __be32 daddr, __be16 dport, dport 92 include/net/ip_tunnels.h __be16 dport; dport 508 include/net/ip_vs.h __be16 dport; dport 740 include/net/ip_vs.h __be16 dport, __be16 cport); dport 1165 include/net/ip_vs.h __be16 dport, dport 1232 include/net/ip_vs.h __be16 dport, unsigned int flags, dport 1407 include/net/ip_vs.h const union nf_inet_addr *daddr, __be16 dport); dport 1411 include/net/ip_vs.h const union nf_inet_addr *daddr, __be16 dport); dport 1424 include/net/ip_vs.h const union nf_inet_addr *daddr, __be16 dport, dport 69 include/net/ipv6_stubs.h const struct in6_addr *daddr, __be16 dport, dport 78 include/net/netfilter/nf_tproxy.h const __be16 sport, const __be16 dport, dport 117 include/net/netfilter/nf_tproxy.h const __be16 sport, const __be16 dport, dport 154 include/net/route.h __be16 dport, __be16 sport, dport 160 include/net/route.h daddr, saddr, dport, sport, sock_net_uid(net, sk)); dport 283 include/net/route.h __be16 sport, __be16 dport, dport 292 include/net/route.h protocol, flow_flags, dst, src, dport, sport, dport 299 include/net/route.h __be16 sport, __be16 dport, dport 306 include/net/route.h sport, dport, sk); dport 321 include/net/route.h __be16 sport, __be16 dport, dport 324 include/net/route.h if (sport != orig_sport || dport != orig_dport) { dport 325 include/net/route.h fl4->fl4_dport = dport; dport 738 include/net/sctp/structs.h __u16 sport, __u16 dport); dport 7 include/net/secure_seq.h u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); dport 9 include/net/secure_seq.h __be16 dport); dport 11 include/net/secure_seq.h __be16 sport, __be16 dport); dport 14 include/net/secure_seq.h __be16 sport, __be16 dport); dport 18 include/net/secure_seq.h __be16 sport, __be16 dport); dport 20 include/net/secure_seq.h __be16 sport, __be16 dport); dport 305 include/net/udp.h __be32 daddr, __be16 dport, int dif); dport 307 include/net/udp.h __be32 daddr, __be16 dport, int dif, int sdif, dport 310 include/net/udp.h __be16 sport, __be16 dport); dport 313 include/net/udp.h const struct in6_addr *daddr, __be16 dport, dport 317 include/net/udp.h const struct in6_addr *daddr, __be16 dport, dport 321 include/net/udp.h __be16 sport, __be16 dport); dport 878 include/net/xfrm.h port = uli->ports.dport; dport 254 include/rdma/ib_pack.h __be16 dport; dport 34 include/trace/events/fib.h __field( u16, dport ) dport 62 include/trace/events/fib.h __entry->dport = ntohs(flp->fl4_dport); dport 65 include/trace/events/fib.h __entry->dport = 0; dport 96 include/trace/events/fib.h __entry->src, __entry->sport, __entry->dst, __entry->dport, dport 31 include/trace/events/fib6.h __field( u16, dport ) dport 59 include/trace/events/fib6.h __entry->dport = ntohs(flp->fl6_dport); dport 62 include/trace/events/fib6.h __entry->dport = 0; dport 84 include/trace/events/fib6.h __entry->src, __entry->sport, __entry->dst, __entry->dport, dport 148 include/trace/events/sock.h __field(__u16, dport) dport 169 include/trace/events/sock.h __entry->dport = ntohs(inet->inet_dport); dport 196 include/trace/events/sock.h __entry->sport, __entry->dport, dport 61 include/trace/events/tcp.h __field(__u16, dport) dport 77 include/trace/events/tcp.h __entry->dport = ntohs(inet->inet_dport); dport 90 include/trace/events/tcp.h __entry->sport, __entry->dport, __entry->saddr, __entry->daddr, dport 127 include/trace/events/tcp.h __field(__u16, dport) dport 142 include/trace/events/tcp.h __entry->dport = ntohs(inet->inet_dport); dport 157 include/trace/events/tcp.h __entry->sport, __entry->dport, dport 194 include/trace/events/tcp.h __field(__u16, dport) dport 209 include/trace/events/tcp.h __entry->dport = ntohs(ireq->ir_rmt_port); dport 222 include/trace/events/tcp.h __entry->sport, __entry->dport, dport 240 include/trace/events/tcp.h __field(__u16, dport) dport 265 include/trace/events/tcp.h __entry->dport = ntohs(inet->inet_dport); dport 3128 include/uapi/linux/bpf.h __be16 dport; dport 3134 include/uapi/linux/bpf.h __be16 dport; dport 3499 include/uapi/linux/bpf.h __be16 dport; dport 3562 include/uapi/linux/bpf.h __be16 dport; dport 49 include/uapi/linux/netfilter_bridge/ebt_ip.h __u16 dport[2]; dport 47 include/uapi/linux/netfilter_bridge/ebt_ip6.h __u16 dport[2]; dport 480 include/uapi/linux/rtnetlink.h __u16 dport; dport 52 include/uapi/linux/xfrm.h __be16 dport; dport 77 net/bridge/netfilter/ebt_ip.c dst < info->dport[0] || dport 78 net/bridge/netfilter/ebt_ip.c dst > info->dport[1])) dport 124 net/bridge/netfilter/ebt_ip.c if (info->bitmask & EBT_IP_DPORT && info->dport[0] > info->dport[1]) dport 84 net/bridge/netfilter/ebt_ip6.c dst < info->dport[0] || dport 85 net/bridge/netfilter/ebt_ip6.c dst > info->dport[1])) dport 125 net/bridge/netfilter/ebt_ip6.c if (info->bitmask & EBT_IP6_DPORT && info->dport[0] > info->dport[1]) dport 4650 net/core/filter.c fl4.fl4_dport = params->dport; dport 4772 net/core/filter.c fl6.fl6_dport = params->dport; dport 5220 net/core/filter.c dst4, tuple->ipv4.dport, dport 5224 net/core/filter.c dst4, tuple->ipv4.dport, dport 5234 net/core/filter.c dst6, ntohs(tuple->ipv6.dport), dport 5239 net/core/filter.c dst6, tuple->ipv6.dport, dport 831 net/core/flow_dissector.c key_ports->dst = flow_keys->dport; dport 76 net/core/secure_seq.c __be16 sport, __be16 dport) dport 82 net/core/secure_seq.c __be16 dport; dport 87 net/core/secure_seq.c .dport = dport dport 92 net/core/secure_seq.c hash = siphash(&combined, offsetofend(typeof(combined), dport), dport 99 net/core/secure_seq.c __be16 dport) dport 104 net/core/secure_seq.c __be16 dport; dport 108 net/core/secure_seq.c .dport = dport dport 111 net/core/secure_seq.c return siphash(&combined, offsetofend(typeof(combined), dport), dport 134 net/core/secure_seq.c __be16 sport, __be16 dport) dport 140 net/core/secure_seq.c (__force u32)sport << 16 | (__force u32)dport, dport 146 net/core/secure_seq.c u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) dport 150 net/core/secure_seq.c (__force u16)dport, &net_secret); dport 157 net/core/secure_seq.c __be16 sport, __be16 dport) dport 162 net/core/secure_seq.c (__force u32)sport << 16 | (__force u32)dport, dport 172 net/core/secure_seq.c __be16 sport, __be16 dport) dport 178 net/core/secure_seq.c __be16 dport; dport 183 net/core/secure_seq.c .dport = dport dport 187 net/core/secure_seq.c seq = siphash(&combined, offsetofend(typeof(combined), dport), dport 25 net/dccp/trace.h __field(__u16, dport) dport 50 net/dccp/trace.h __entry->dport = ntohs(inet->inet_dport); dport 233 net/ipv4/esp4.c __be16 sport, dport; dport 240 net/ipv4/esp4.c dport = encap->encap_dport; dport 250 net/ipv4/esp4.c uh->dest = dport; dport 1072 net/ipv4/fou.c uh->dest = e->dport; dport 40 net/ipv4/inet_diag.c u16 dport; dport 576 net/ipv4/inet_diag.c yes = entry->dport == op[1].no; dport 579 net/ipv4/inet_diag.c yes = entry->dport >= op[1].no; dport 582 net/ipv4/inet_diag.c yes = entry->dport <= op[1].no; dport 595 net/ipv4/inet_diag.c entry->sport : entry->dport)) { dport 685 net/ipv4/inet_diag.c entry.dport = ntohs(inet->inet_dport); dport 1227 net/ipv4/ip_gre.c ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); dport 1494 net/ipv4/ip_gre.c t->encap.dport) || dport 475 net/ipv4/ip_tunnel.c t->encap.dport = ipencap->dport; dport 488 net/ipv4/ipip.c ipencap->dport = nla_get_be16(data[IFLA_IPTUN_ENCAP_DPORT]); dport 595 net/ipv4/ipip.c tunnel->encap.dport) || dport 342 net/ipv4/netfilter/ipt_CLUSTERIP.c u_int16_t sport = 0, dport = 0; dport 353 net/ipv4/netfilter/ipt_CLUSTERIP.c dport = ports[1]; dport 369 net/ipv4/netfilter/ipt_CLUSTERIP.c hashval = jhash_3words(ntohl(iph->saddr), sport, dport, dport 77 net/ipv4/netfilter/nf_socket_ipv4.c const __be16 sport, const __be16 dport, dport 83 net/ipv4/netfilter/nf_socket_ipv4.c saddr, sport, daddr, dport, dport 86 net/ipv4/netfilter/nf_socket_ipv4.c return udp4_lib_lookup(net, saddr, sport, daddr, dport, dport 96 net/ipv4/netfilter/nf_socket_ipv4.c __be16 uninitialized_var(dport), uninitialized_var(sport); dport 120 net/ipv4/netfilter/nf_socket_ipv4.c dport = hp->dest; dport 128 net/ipv4/netfilter/nf_socket_ipv4.c &sport, &dport)) dport 148 net/ipv4/netfilter/nf_socket_ipv4.c dport = (iph->protocol == IPPROTO_TCP) ? dport 155 net/ipv4/netfilter/nf_socket_ipv4.c daddr, sport, dport, indev); dport 78 net/ipv4/netfilter/nf_tproxy_ipv4.c const __be16 sport, const __be16 dport, dport 99 net/ipv4/netfilter/nf_tproxy_ipv4.c daddr, dport, dport 112 net/ipv4/netfilter/nf_tproxy_ipv4.c saddr, sport, daddr, dport, dport 121 net/ipv4/netfilter/nf_tproxy_ipv4.c sk = udp4_lib_lookup(net, saddr, sport, daddr, dport, dport 146 net/ipv4/netfilter/nf_tproxy_ipv4.c protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); dport 2947 net/ipv4/route.c __be16 dport) dport 2977 net/ipv4/route.c udph->dest = dport; dport 2987 net/ipv4/route.c tcph->dest = dport; dport 3081 net/ipv4/route.c __be16 sport = 0, dport = 0; dport 3120 net/ipv4/route.c dport = nla_get_be16(tb[RTA_DPORT]); dport 3122 net/ipv4/route.c skb = inet_rtm_getroute_build_skb(src, dst, ip_proto, sport, dport); dport 3134 net/ipv4/route.c if (dport) dport 3135 net/ipv4/route.c fl4.fl4_dport = dport; dport 48 net/ipv4/syncookies.c static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, dport 53 net/ipv4/syncookies.c (__force u32)sport << 16 | (__force u32)dport, dport 92 net/ipv4/syncookies.c __be16 dport, __u32 sseq, __u32 data) dport 105 net/ipv4/syncookies.c return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + dport 107 net/ipv4/syncookies.c ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) dport 121 net/ipv4/syncookies.c __be16 sport, __be16 dport, __u32 sseq) dport 126 net/ipv4/syncookies.c cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; dport 134 net/ipv4/syncookies.c cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) dport 446 net/ipv4/udp.c __be16 sport, __be32 daddr, __be16 dport, int dif, dport 450 net/ipv4/udp.c unsigned short hnum = ntohs(dport); dport 477 net/ipv4/udp.c __be16 sport, __be16 dport, dport 483 net/ipv4/udp.c iph->daddr, dport, inet_iif(skb), dport 488 net/ipv4/udp.c __be16 sport, __be16 dport) dport 493 net/ipv4/udp.c iph->daddr, dport, inet_iif(skb), dport 503 net/ipv4/udp.c __be32 daddr, __be16 dport, int dif) dport 507 net/ipv4/udp.c sk = __udp4_lib_lookup(net, saddr, sport, daddr, dport, dport 978 net/ipv4/udp.c __be16 dport; dport 1028 net/ipv4/udp.c dport = usin->sin_port; dport 1029 net/ipv4/udp.c if (dport == 0) dport 1035 net/ipv4/udp.c dport = inet->inet_dport; dport 1083 net/ipv4/udp.c dport = usin->sin_port; dport 1140 net/ipv4/udp.c faddr, saddr, dport, inet->inet_sport, dport 1198 net/ipv4/udp.c fl4->fl4_dport = dport; dport 405 net/ipv4/udp_offload.c __be16 sport, __be16 dport)); dport 31 net/ipv6/fou6.c uh->dest = e->dport; dport 186 net/ipv6/inet6_hashtables.c const struct in6_addr *daddr, const __be16 dport, dport 193 net/ipv6/inet6_hashtables.c ntohs(dport), dif, 0, &refcounted); dport 1928 net/ipv6/ip6_gre.c ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); dport 2149 net/ipv6/ip6_gre.c t->encap.dport) || dport 1763 net/ipv6/ip6_tunnel.c t->encap.dport = ipencap->dport; dport 1988 net/ipv6/ip6_tunnel.c ipencap->dport = nla_get_be16(data[IFLA_IPTUN_ENCAP_DPORT]); dport 2124 net/ipv6/ip6_tunnel.c nla_put_be16(skb, IFLA_IPTUN_ENCAP_DPORT, tunnel->encap.dport) || dport 235 net/ipv6/mip6.c sel.dport = xfrm_flowi_dport(fl, &fl6->uli); dport 236 net/ipv6/mip6.c if (sel.dport) dport 81 net/ipv6/netfilter/nf_socket_ipv6.c const __be16 sport, const __be16 dport, dport 87 net/ipv6/netfilter/nf_socket_ipv6.c saddr, sport, daddr, dport, dport 90 net/ipv6/netfilter/nf_socket_ipv6.c return udp6_lib_lookup(net, saddr, sport, daddr, dport, dport 100 net/ipv6/netfilter/nf_socket_ipv6.c __be16 uninitialized_var(dport), uninitialized_var(sport); dport 125 net/ipv6/netfilter/nf_socket_ipv6.c dport = hp->dest; dport 135 net/ipv6/netfilter/nf_socket_ipv6.c &sport, &dport, &ipv6_var)) dport 142 net/ipv6/netfilter/nf_socket_ipv6.c sport, dport, indev); dport 79 net/ipv6/netfilter/nf_tproxy_ipv6.c const __be16 sport, const __be16 dport, dport 99 net/ipv6/netfilter/nf_tproxy_ipv6.c daddr, ntohs(dport), dport 112 net/ipv6/netfilter/nf_tproxy_ipv6.c saddr, sport, daddr, ntohs(dport), dport 121 net/ipv6/netfilter/nf_tproxy_ipv6.c sk = udp6_lib_lookup(net, saddr, sport, daddr, dport, dport 145 net/ipv6/netfilter/nf_tproxy_ipv6.c protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); dport 1521 net/ipv6/sit.c ipencap->dport = nla_get_be16(data[IFLA_IPTUN_ENCAP_DPORT]); dport 1733 net/ipv6/sit.c tunnel->encap.dport) || dport 42 net/ipv6/syncookies.c __be16 sport, __be16 dport, u32 count, int c) dport 49 net/ipv6/syncookies.c __be16 dport; dport 55 net/ipv6/syncookies.c .dport = dport dport 59 net/ipv6/syncookies.c return siphash(&combined, offsetofend(typeof(combined), dport), dport 65 net/ipv6/syncookies.c __be16 sport, __be16 dport, __u32 sseq, dport 69 net/ipv6/syncookies.c return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + dport 71 net/ipv6/syncookies.c ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) dport 77 net/ipv6/syncookies.c __be16 dport, __u32 sseq) dport 81 net/ipv6/syncookies.c cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; dport 88 net/ipv6/syncookies.c cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) dport 181 net/ipv6/udp.c const struct in6_addr *daddr, __be16 dport, dport 185 net/ipv6/udp.c unsigned short hnum = ntohs(dport); dport 214 net/ipv6/udp.c __be16 sport, __be16 dport, dport 220 net/ipv6/udp.c &iph->daddr, dport, inet6_iif(skb), dport 225 net/ipv6/udp.c __be16 sport, __be16 dport) dport 230 net/ipv6/udp.c &iph->daddr, dport, inet6_iif(skb), dport 240 net/ipv6/udp.c const struct in6_addr *daddr, __be16 dport, int dif) dport 244 net/ipv6/udp.c sk = __udp6_lib_lookup(net, saddr, sport, daddr, dport, dport 2099 net/key/af_key.c pfkey_sockaddr_fill(&xp->selector.daddr, xp->selector.dport, dport 2284 net/key/af_key.c xp->selector.dport = ((struct sockaddr_in *)(sa+1))->sin_port; dport 2285 net/key/af_key.c if (xp->selector.dport) dport 2386 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa+1))->sin_port; dport 2387 net/key/af_key.c if (sel.dport) dport 2595 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa + 1))->sin_port; dport 2596 net/key/af_key.c if (sel.dport) dport 414 net/netfilter/ipvs/ip_vs_conn.c if (p->vport == cp->cport && p->cport == cp->dport && dport 608 net/netfilter/ipvs/ip_vs_conn.c IP_VS_DBG_ADDR(cp->daf, &cp->daddr), ntohs(cp->dport), dport 651 net/netfilter/ipvs/ip_vs_conn.c cp->dport, &cp->vaddr, cp->vport, dport 705 net/netfilter/ipvs/ip_vs_conn.c IP_VS_DBG_ADDR(cp->daf, &cp->daddr), ntohs(cp->dport), dport 776 net/netfilter/ipvs/ip_vs_conn.c ntohs(ct->dport)); dport 783 net/netfilter/ipvs/ip_vs_conn.c ct->dport = htons(0xffff); dport 902 net/netfilter/ipvs/ip_vs_conn.c const union nf_inet_addr *daddr, __be16 dport, unsigned int flags, dport 929 net/netfilter/ipvs/ip_vs_conn.c cp->dport = dport; dport 1119 net/netfilter/ipvs/ip_vs_conn.c dbuf, ntohs(cp->dport), dport 1132 net/netfilter/ipvs/ip_vs_conn.c dbuf, ntohs(cp->dport), dport 1185 net/netfilter/ipvs/ip_vs_conn.c dbuf, ntohs(cp->dport), dport 1198 net/netfilter/ipvs/ip_vs_conn.c dbuf, ntohs(cp->dport), dport 272 net/netfilter/ipvs/ip_vs_core.c __be16 dport = 0; /* destination port to forward */ dport 377 net/netfilter/ipvs/ip_vs_core.c dport = dest->port; dport 383 net/netfilter/ipvs/ip_vs_core.c ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, dport 398 net/netfilter/ipvs/ip_vs_core.c dport = dst_port; dport 399 net/netfilter/ipvs/ip_vs_core.c if (dport == svc->port && dest->port) dport 400 net/netfilter/ipvs/ip_vs_core.c dport = dest->port; dport 412 net/netfilter/ipvs/ip_vs_core.c cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, dport 575 net/netfilter/ipvs/ip_vs_core.c IP_VS_DBG_ADDR(cp->daf, &cp->daddr), ntohs(cp->dport), dport 600 net/netfilter/ipvs/ip_vs_core.c __be16 _ports[2], *pptr, dport; dport 607 net/netfilter/ipvs/ip_vs_core.c dport = likely(!ip_vs_iph_inverse(iph)) ? pptr[1] : pptr[0]; dport 660 net/netfilter/ipvs/ip_vs_core.c if (svc->port == FTPPORT && dport != FTPPORT) dport 795 net/netfilter/ipvs/ip_vs_core.c ports[0] = cp->dport; dport 845 net/netfilter/ipvs/ip_vs_core.c ntohs(inout ? cp->vport : cp->dport)); dport 849 net/netfilter/ipvs/ip_vs_core.c ports[0] = cp->dport; dport 1152 net/netfilter/ipvs/ip_vs_core.c __be16 dport, dport 1171 net/netfilter/ipvs/ip_vs_core.c if (!vport || !dport) dport 1192 net/netfilter/ipvs/ip_vs_core.c ct = ip_vs_conn_new(¶m, dest->af, daddr, dport, dport 1210 net/netfilter/ipvs/ip_vs_core.c cp = ip_vs_conn_new(¶m, dest->af, daddr, dport, flags, dest, 0); dport 1228 net/netfilter/ipvs/ip_vs_core.c IP_VS_DBG_ADDR(cp->af, &cp->daddr), ntohs(cp->dport), dport 562 net/netfilter/ipvs/ip_vs_ctl.c const union nf_inet_addr *daddr, __be16 dport) dport 568 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_rs_hashkey(af, daddr, dport); dport 571 net/netfilter/ipvs/ip_vs_ctl.c if (dest->port == dport && dport 593 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport) dport 599 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_rs_hashkey(af, daddr, dport); dport 602 net/netfilter/ipvs/ip_vs_ctl.c if (dest->port == dport && dport 649 net/netfilter/ipvs/ip_vs_ctl.c const union nf_inet_addr *daddr, __be16 dport) dport 659 net/netfilter/ipvs/ip_vs_ctl.c (dest->port == dport)) { dport 678 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport, dport 685 net/netfilter/ipvs/ip_vs_ctl.c __be16 port = dport; dport 694 net/netfilter/ipvs/ip_vs_ctl.c dest = ip_vs_lookup_dest(svc, dest_af, daddr, port ^ dport); dport 732 net/netfilter/ipvs/ip_vs_ctl.c const union nf_inet_addr *daddr, __be16 dport) dport 750 net/netfilter/ipvs/ip_vs_ctl.c dest->port == dport && dport 1030 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport = udest->port; dport 1057 net/netfilter/ipvs/ip_vs_ctl.c dest = ip_vs_lookup_dest(svc, udest->af, &daddr, dport); dport 1069 net/netfilter/ipvs/ip_vs_ctl.c dest = ip_vs_trash_get_dest(svc, udest->af, &daddr, dport); dport 1074 net/netfilter/ipvs/ip_vs_ctl.c IP_VS_DBG_ADDR(udest->af, &daddr), ntohs(dport), dport 1102 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport = udest->port; dport 1128 net/netfilter/ipvs/ip_vs_ctl.c dest = ip_vs_lookup_dest(svc, udest->af, &daddr, dport); dport 1204 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport = udest->port; dport 1210 net/netfilter/ipvs/ip_vs_ctl.c dest = ip_vs_lookup_dest(svc, udest->af, &udest->addr, dport); dport 537 net/netfilter/ipvs/ip_vs_ftp.c htons(ntohs(cp->dport)-1), dport 67 net/netfilter/ipvs/ip_vs_nfct.c ntohs((C)->dport), \ dport 112 net/netfilter/ipvs/ip_vs_nfct.c new_tuple.src.u.tcp.port = cp->dport; dport 188 net/netfilter/ipvs/ip_vs_nfct.c new_reply.src.u.tcp.port = cp->dport; dport 152 net/netfilter/ipvs/ip_vs_pe_sip.c __be16 dport, dport 156 net/netfilter/ipvs/ip_vs_pe_sip.c return ip_vs_new_conn_out(svc, dest, skb, iph, dport, cport); dport 173 net/netfilter/ipvs/ip_vs_proto_sctp.c if (sctph->dest != cp->dport || payload_csum || dport 176 net/netfilter/ipvs/ip_vs_proto_sctp.c sctph->dest = cp->dport; dport 445 net/netfilter/ipvs/ip_vs_proto_sctp.c ntohs(cp->dport), dport 193 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->dport, cp->vport); dport 264 net/netfilter/ipvs/ip_vs_proto_tcp.c tcph->dest = cp->dport; dport 276 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->vport, cp->dport); dport 552 net/netfilter/ipvs/ip_vs_proto_tcp.c ntohs(cp->dport), dport 186 net/netfilter/ipvs/ip_vs_proto_udp.c cp->dport, cp->vport); dport 258 net/netfilter/ipvs/ip_vs_proto_udp.c udph->dest = cp->dport; dport 270 net/netfilter/ipvs/ip_vs_proto_udp.c cp->vport, cp->dport); dport 78 net/netfilter/ipvs/ip_vs_sync.c __be16 dport; dport 143 net/netfilter/ipvs/ip_vs_sync.c __be16 dport; dport 165 net/netfilter/ipvs/ip_vs_sync.c __be16 dport; dport 600 net/netfilter/ipvs/ip_vs_sync.c s->dport = cp->dport; dport 732 net/netfilter/ipvs/ip_vs_sync.c s->v4.dport = cp->dport; dport 848 net/netfilter/ipvs/ip_vs_sync.c const union nf_inet_addr *daddr, __be16 dport, dport 857 net/netfilter/ipvs/ip_vs_sync.c if (cp && ((cp->dport != dport) || dport 911 net/netfilter/ipvs/ip_vs_sync.c dest = ip_vs_find_dest(ipvs, type, type, daddr, dport, dport 915 net/netfilter/ipvs/ip_vs_sync.c cp = ip_vs_conn_new(param, type, daddr, dport, flags, dest, dport 1023 net/netfilter/ipvs/ip_vs_sync.c (union nf_inet_addr *)&s->daddr, s->dport, dport 1182 net/netfilter/ipvs/ip_vs_sync.c (union nf_inet_addr *)&s->v4.daddr, s->v4.dport, dport 1189 net/netfilter/ipvs/ip_vs_sync.c (union nf_inet_addr *)&s->v6.daddr, s->v6.dport, dport 652 net/netfilter/ipvs/ip_vs_xmit.c if (!local || cp->vport != cp->dport || dport 1025 net/netfilter/ipvs/ip_vs_xmit.c __be16 dport; dport 1084 net/netfilter/ipvs/ip_vs_xmit.c dport = cp->dest->tun_port; dport 1085 net/netfilter/ipvs/ip_vs_xmit.c udph->dest = dport; dport 226 net/netfilter/nf_conntrack_core.c __be16 dport; dport 235 net/netfilter/nf_conntrack_core.c tuple->dst.u.udp.port = inet_hdr->dport; dport 1159 net/netfilter/nft_ct.c __be16 dport; dport 1182 net/netfilter/nft_ct.c priv->dport = nla_get_be16(tb[NFTA_CT_EXPECT_DPORT]); dport 1202 net/netfilter/nft_ct.c nla_put_be16(skb, NFTA_CT_EXPECT_DPORT, priv->dport) || dport 1252 net/netfilter/nft_ct.c priv->l4proto, NULL, &priv->dport); dport 188 net/rds/message.c __be16 dport, u64 seq) dport 192 net/rds/message.c hdr->h_dport = dport; dport 199 net/rds/rds.h #define RDS_HS_PROBE(sport, dport) \ dport 200 net/rds/rds.h ((sport == RDS_FLAG_PROBE_PORT && dport == 0) || \ dport 201 net/rds/rds.h (sport == 0 && dport == RDS_FLAG_PROBE_PORT)) dport 857 net/rds/rds.h __be16 dport, u64 seq); dport 921 net/rds/rds.h int rds_send_pong(struct rds_conn_path *cp, __be16 dport); dport 821 net/rds/send.c __be16 dport, int *queued) dport 862 net/rds/send.c rds_message_populate_header(&rm->m_inc.i_hdr, sport, dport, 0); dport 1107 net/rds/send.c __be16 dport; dport 1152 net/rds/send.c dport = usin->sin_port; dport 1192 net/rds/send.c dport = sin6->sin6_port; dport 1205 net/rds/send.c dport = rs->rs_conn_port; dport 1345 net/rds/send.c ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); dport 1351 net/rds/send.c dport, &queued)) { dport 1362 net/rds/send.c dport, dport 1427 net/rds/send.c __be16 dport, u8 h_flags) dport 1444 net/rds/send.c ret = rds_cong_wait(cp->cp_conn->c_fcong, dport, 1, NULL); dport 1455 net/rds/send.c rds_message_populate_header(&rm->m_inc.i_hdr, sport, dport, dport 1460 net/rds/send.c if (RDS_HS_PROBE(be16_to_cpu(sport), be16_to_cpu(dport)) && dport 1494 net/rds/send.c rds_send_pong(struct rds_conn_path *cp, __be16 dport) dport 1496 net/rds/send.c return rds_send_probe(cp, 0, dport, 0); dport 144 net/sctp/output.c __u16 sport, __u16 dport) dport 150 net/sctp/output.c packet->destination_port = dport; dport 765 net/sctp/outqueue.c const __u16 dport = asoc->peer.port; dport 769 net/sctp/outqueue.c sctp_packet_init(&singleton, transport, sport, dport); dport 6220 net/sctp/sm_statefuns.c __u16 sport, dport; dport 6225 net/sctp/sm_statefuns.c dport = ntohs(chunk->sctp_hdr->source); dport 6278 net/sctp/sm_statefuns.c sctp_packet_init(packet, transport, sport, dport); dport 410 net/tipc/group.c bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport, dport 417 net/tipc/group.c m = tipc_group_find_dest(grp, dnode, dport); dport 68 net/tipc/group.h bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport, dport 830 net/tipc/link.c u32 dport = msg_origport(hdr); dport 835 net/tipc/link.c dnode, l->addr, dport, 0, 0); dport 93 net/tipc/msg.c u32 onode, u32 dport, u32 oport, int errcode) dport 106 net/tipc/msg.c msg_set_destport(msg, dport); dport 641 net/tipc/msg.c u32 dport, dnode; dport 657 net/tipc/msg.c dport = tipc_nametbl_translate(net, msg_nametype(msg), dport 659 net/tipc/msg.c if (!dport) dport 665 net/tipc/msg.c msg_set_destport(msg, dport); dport 1058 net/tipc/msg.h u32 dport, u32 oport, int errcode); dport 1115 net/tipc/msg.h u32 dport = 0; dport 1120 net/tipc/msg.h dport = msg_destport(buf_msg(skb)); dport 1123 net/tipc/msg.h if (dport == filter) dport 1129 net/tipc/msg.h return dport; dport 1137 net/tipc/msg.h u32 dport) dport 1143 net/tipc/msg.h if (msg_destport(buf_msg(_skb)) == dport) { dport 839 net/tipc/socket.c u32 dnode, u32 dport, int dlen) dport 851 net/tipc/socket.c msg_set_destport(hdr, dport); dport 1309 net/tipc/socket.c u32 dport = 0, dnode = 0; dport 1363 net/tipc/socket.c dport = tipc_nametbl_translate(net, type, inst, &dnode); dport 1364 net/tipc/socket.c if (unlikely(!dport && !dnode)) dport 1385 net/tipc/socket.c msg_set_destport(hdr, dport); dport 2242 net/tipc/socket.c u32 dport, struct sk_buff_head *xmitq) dport 2254 net/tipc/socket.c skb = tipc_skb_dequeue(inputq, dport); dport 2297 net/tipc/socket.c u32 dnode, dport = 0; dport 2305 net/tipc/socket.c dport = tipc_skb_peek_port(inputq, dport); dport 2306 net/tipc/socket.c tsk = tipc_sk_lookup(net, dport); dport 2311 net/tipc/socket.c tipc_sk_enqueue(inputq, sk, dport, &xmitq); dport 2320 net/tipc/socket.c skb = tipc_skb_dequeue(inputq, dport); dport 2336 net/tipc/socket.c tipc_node_xmit_skb(net, skb, dnode, dport); dport 200 net/xfrm/xfrm_policy.c !((xfrm_flowi_dport(fl, &fl4->uli) ^ sel->dport) & sel->dport_mask) && dport 213 net/xfrm/xfrm_policy.c !((xfrm_flowi_dport(fl, &fl6->uli) ^ sel->dport) & sel->dport_mask) && dport 858 net/xfrm/xfrm_state.c sel->dport = xfrm_flowi_dport(fl, &fl4->uli); dport 877 net/xfrm/xfrm_state.c sel->dport = xfrm_flowi_dport(fl, &fl6->uli); dport 75 samples/bpf/xdp_fwd_kern.c fib_params.dport = 0; dport 94 samples/bpf/xdp_fwd_kern.c fib_params.dport = 0; dport 161 samples/bpf/xdp_redirect_cpu_kern.c u16 dport; dport 172 samples/bpf/xdp_redirect_cpu_kern.c dport = ntohs(udph->dest); dport 173 samples/bpf/xdp_redirect_cpu_kern.c return dport; dport 16 samples/bpf/xdp_tx_iptunnel_common.h __u16 dport; dport 88 samples/bpf/xdp_tx_iptunnel_kern.c int dport; dport 95 samples/bpf/xdp_tx_iptunnel_kern.c dport = get_dport(iph + 1, data_end, iph->protocol); dport 96 samples/bpf/xdp_tx_iptunnel_kern.c if (dport == -1) dport 102 samples/bpf/xdp_tx_iptunnel_kern.c vip.dport = dport; dport 162 samples/bpf/xdp_tx_iptunnel_kern.c int dport; dport 167 samples/bpf/xdp_tx_iptunnel_kern.c dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); dport 168 samples/bpf/xdp_tx_iptunnel_kern.c if (dport == -1) dport 174 samples/bpf/xdp_tx_iptunnel_kern.c vip.dport = dport; dport 286 samples/bpf/xdp_tx_iptunnel_user.c vip.dport = htons(min_port++); dport 65 security/lsm_audit.c ad->u.net->dport = th->dest; dport 74 security/lsm_audit.c ad->u.net->dport = uh->dest; dport 83 security/lsm_audit.c ad->u.net->dport = dh->dccph_dport; dport 91 security/lsm_audit.c ad->u.net->dport = sh->dest; dport 141 security/lsm_audit.c ad->u.net->dport = th->dest; dport 152 security/lsm_audit.c ad->u.net->dport = uh->dest; dport 163 security/lsm_audit.c ad->u.net->dport = dh->dccph_dport; dport 173 security/lsm_audit.c ad->u.net->dport = sh->dest; dport 376 security/lsm_audit.c a->u.net->dport, dport 384 security/lsm_audit.c a->u.net->dport, dport 4210 security/selinux/hooks.c ad->u.net->dport = th->dest; dport 4226 security/selinux/hooks.c ad->u.net->dport = uh->dest; dport 4242 security/selinux/hooks.c ad->u.net->dport = dh->dccph_dport; dport 4259 security/selinux/hooks.c ad->u.net->dport = sh->dest; dport 4308 security/selinux/hooks.c ad->u.net->dport = th->dest; dport 4320 security/selinux/hooks.c ad->u.net->dport = uh->dest; dport 4332 security/selinux/hooks.c ad->u.net->dport = dh->dccph_dport; dport 4345 security/selinux/hooks.c ad->u.net->dport = sh->dest; dport 4781 security/selinux/hooks.c ad.u.net->dport = htons(snum); dport 2464 security/smack/smack_lsm.c ad.a.u.net->dport = sap->sin_port; dport 2504 security/smack/smack_lsm.c ad.a.u.net->dport = ntohs(address->sin6_port); dport 1412 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *dport, dport 1420 sound/core/seq/seq_clientmgr.c if (check_port_perm(dport, SNDRV_SEQ_PORT_CAP_NO_EXPORT)) dport 1434 sound/core/seq/seq_clientmgr.c if (! check_port_perm(dport, PERM_WR)) dport 1468 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *sport = NULL, *dport = NULL; dport 1476 sound/core/seq/seq_clientmgr.c if ((dport = snd_seq_port_use_ptr(receiver, subs->dest.port)) == NULL) dport 1479 sound/core/seq/seq_clientmgr.c result = check_subscription_permission(client, sport, dport, subs); dport 1484 sound/core/seq/seq_clientmgr.c result = snd_seq_port_connect(client, sender, sport, receiver, dport, subs); dport 1491 sound/core/seq/seq_clientmgr.c if (dport) dport 1492 sound/core/seq/seq_clientmgr.c snd_seq_port_unlock(dport); dport 1510 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *sport = NULL, *dport = NULL; dport 1518 sound/core/seq/seq_clientmgr.c if ((dport = snd_seq_port_use_ptr(receiver, subs->dest.port)) == NULL) dport 1521 sound/core/seq/seq_clientmgr.c result = check_subscription_permission(client, sport, dport, subs); dport 1525 sound/core/seq/seq_clientmgr.c result = snd_seq_port_disconnect(client, sender, sport, receiver, dport, subs); dport 1532 sound/core/seq/seq_clientmgr.c if (dport) dport 1533 sound/core/seq/seq_clientmgr.c snd_seq_port_unlock(dport); dport 3128 tools/include/uapi/linux/bpf.h __be16 dport; dport 3134 tools/include/uapi/linux/bpf.h __be16 dport; dport 3499 tools/include/uapi/linux/bpf.h __be16 dport; dport 3562 tools/include/uapi/linux/bpf.h __be16 dport; dport 36 tools/testing/selftests/bpf/prog_tests/flow_dissector.c got.dport, expected.dport) dport 122 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 142 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 164 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 187 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 212 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 260 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 304 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 355 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .dport = 8080, dport 504 tools/testing/selftests/bpf/prog_tests/flow_dissector.c tests[i].keys.dport; dport 77 tools/testing/selftests/bpf/progs/bpf_flow.c __u32 key = (__u32)(keys->sport) << 16 | keys->dport; dport 224 tools/testing/selftests/bpf/progs/bpf_flow.c keys->dport = tcp->dest; dport 233 tools/testing/selftests/bpf/progs/bpf_flow.c keys->dport = udp->dest; dport 33 tools/testing/selftests/bpf/progs/connect4_prog.c tuple.ipv4.dport = bpf_htons(DST_REWRITE_PORT4); dport 45 tools/testing/selftests/bpf/progs/connect6_prog.c tuple.ipv6.dport = bpf_htons(DST_REWRITE_PORT6); dport 411 tools/testing/selftests/bpf/progs/test_l4lb.c vip.dport = pckt.port16[1]; dport 415 tools/testing/selftests/bpf/progs/test_l4lb.c vip.dport = 0; dport 411 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c vip.dport = pckt.port16[1]; dport 415 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c vip.dport = 0; dport 80 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv4.dport = tcph->dest; dport 112 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv6.dport = tcph->dest; dport 91 tools/testing/selftests/bpf/progs/test_xdp.c int dport; dport 98 tools/testing/selftests/bpf/progs/test_xdp.c dport = get_dport(iph + 1, data_end, iph->protocol); dport 99 tools/testing/selftests/bpf/progs/test_xdp.c if (dport == -1) dport 105 tools/testing/selftests/bpf/progs/test_xdp.c vip.dport = dport; dport 163 tools/testing/selftests/bpf/progs/test_xdp.c int dport; dport 168 tools/testing/selftests/bpf/progs/test_xdp.c dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); dport 169 tools/testing/selftests/bpf/progs/test_xdp.c if (dport == -1) dport 175 tools/testing/selftests/bpf/progs/test_xdp.c vip.dport = dport; dport 87 tools/testing/selftests/bpf/progs/test_xdp_loop.c int dport; dport 94 tools/testing/selftests/bpf/progs/test_xdp_loop.c dport = get_dport(iph + 1, data_end, iph->protocol); dport 95 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (dport == -1) dport 101 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.dport = dport; dport 159 tools/testing/selftests/bpf/progs/test_xdp_loop.c int dport; dport 164 tools/testing/selftests/bpf/progs/test_xdp_loop.c dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); dport 165 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (dport == -1) dport 171 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.dport = dport; dport 237 tools/testing/selftests/bpf/test_flow_dissector.c uint16_t dport, int family) dport 243 tools/testing/selftests/bpf/test_flow_dissector.c udph->dest = htons(dport); dport 16 tools/testing/selftests/bpf/test_iptunnel_common.h __u16 dport;