/Linux-v4.19/net/ipv6/ |
D | inet6_hashtables.c | 59 const int dif, const int sdif) in __inet6_lookup_established() argument 76 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 81 if (unlikely(!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 99 const int dif, const int sdif, bool exact_dif) in compute_score() argument 113 bool dev_match = (sk->sk_bound_dev_if == dif || in compute_score() 133 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 143 score = compute_score(sk, net, hnum, daddr, dif, sdif, in inet6_lhash2_lookup() 167 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument 192 dif, sdif); in inet6_lookup_listener() 205 dif, sdif); in inet6_lookup_listener() [all …]
|
D | udp.c | 116 int dif, int sdif, bool exact_dif) in compute_score() argument 148 bool dev_match = (sk->sk_bound_dev_if == dif || in compute_score() 167 int dif, int sdif, bool exact_dif, in udp6_lib_lookup2() argument 178 daddr, hnum, dif, sdif, exact_dif); in udp6_lib_lookup2() 200 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 219 daddr, hnum, dif, sdif, exact_dif, in __udp6_lib_lookup() 234 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 246 score = compute_score(sk, net, saddr, sport, daddr, hnum, dif, in __udp6_lib_lookup() 294 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument 299 dif, 0, &udp_table, NULL); in udp6_lib_lookup() [all …]
|
D | exthdrs.c | 1002 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 1005 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 1007 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 1009 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 1011 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
/Linux-v4.19/include/net/ |
D | inet6_hashtables.h | 52 const u16 hnum, const int dif, 62 const int dif, const int sdif); 71 const int dif, const int sdif, in __inet6_lookup() argument 76 dif, sdif); in __inet6_lookup() 82 daddr, hnum, dif, sdif); in __inet6_lookup() 108 const int dif);
|
D | inet_hashtables.h | 241 const int dif, const int sdif); 247 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 250 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 310 const int dif, const int sdif); 316 const int dif) in inet_lookup_established() argument 319 ntohs(dport), dif, 0); in inet_lookup_established() 327 const int dif, const int sdif, in __inet_lookup() argument 334 daddr, hnum, dif, sdif); in __inet_lookup() 340 sport, daddr, hnum, dif, sdif); in __inet_lookup() 348 const int dif) in inet_lookup() argument [all …]
|
D | udp.h | 298 __be32 daddr, __be16 dport, int dif); 300 __be32 daddr, __be16 dport, int dif, int sdif, 307 int dif); 311 int dif, int sdif, struct udp_table *tbl,
|
D | rawv6.h | 10 const struct in6_addr *rmt_addr, int dif, int sdif);
|
D | raw.h | 29 __be32 laddr, int dif, int sdif);
|
/Linux-v4.19/drivers/scsi/ |
D | sd_dif.c | 47 int dif, dix; in sd_dif_config_host() local 49 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host() 53 dif = 0; dix = 1; in sd_dif_config_host() 79 if (dif && type) { in sd_dif_config_host()
|
D | sd.h | 196 static inline unsigned int sd_prot_op(bool write, bool dix, bool dif) in sd_prot_op() argument 210 return ops[write << 2 | dix << 1 | dif]; in sd_prot_op()
|
D | sd.c | 335 unsigned int dif, dix; in protection_mode_show() local 337 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show() 341 dif = 0; in protection_mode_show() 345 if (!dif && !dix) in protection_mode_show() 348 return sprintf(buf, "%s%u\n", dix ? "dix" : "dif", dif); in protection_mode_show() 661 unsigned int dix, unsigned int dif) in sd_setup_protect_cmnd() argument 664 unsigned int prot_op = sd_prot_op(rq_data_dir(scmd->request), dix, dif); in sd_setup_protect_cmnd() 675 if (dif != T10_PI_TYPE3_PROTECTION) { /* DIX/DIF Type 0, 1, 2 */ in sd_setup_protect_cmnd() 682 if (dif) { /* DIX/DIF Type 1, 2, 3 */ in sd_setup_protect_cmnd() 692 scsi_set_prot_type(scmd, dif); in sd_setup_protect_cmnd() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_ptp.c | 275 s64 best_val = 0, val, best_period = 0, period, approx_dev, dif, dif2; in qed_ptp_hw_adjfreq() local 303 dif = ppb * approx_dev - val * 1000000000; in qed_ptp_hw_adjfreq() 304 dif2 = dif + 16 * ppb; in qed_ptp_hw_adjfreq() 306 if (dif < 0) in qed_ptp_hw_adjfreq() 307 dif = -dif; in qed_ptp_hw_adjfreq() 312 if (dif * (approx_dev + 16) > dif2 * approx_dev) { in qed_ptp_hw_adjfreq() 315 dif = dif2; in qed_ptp_hw_adjfreq() 319 if (best_dif * approx_dev > dif * best_approx_dev) { in qed_ptp_hw_adjfreq() 320 best_dif = dif; in qed_ptp_hw_adjfreq()
|
/Linux-v4.19/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 313 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 314 domain->sig.dif.ref_tag = t10_pi_ref_tag(sc->request); in iser_set_dif_domain() 319 domain->sig.dif.apptag_check_mask = 0xffff; in iser_set_dif_domain() 320 domain->sig.dif.app_escape = true; in iser_set_dif_domain() 321 domain->sig.dif.ref_escape = true; in iser_set_dif_domain() 323 domain->sig.dif.ref_remap = true; in iser_set_dif_domain() 334 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 340 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 346 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 348 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
|
/Linux-v4.19/net/ipv4/ |
D | inet_hashtables.c | 228 const int dif, const int sdif, bool exact_dif) in compute_score() argument 243 bool dev_match = (sk->sk_bound_dev_if == dif || in compute_score() 270 const int dif, const int sdif) in inet_lhash2_lookup() argument 281 dif, sdif, exact_dif); in inet_lhash2_lookup() 304 const int dif, const int sdif) in __inet_lookup_listener() argument 329 dif, sdif); in __inet_lookup_listener() 342 dif, sdif); in __inet_lookup_listener() 348 dif, sdif, exact_dif); in __inet_lookup_listener() 394 const int dif, const int sdif) in __inet_lookup_established() argument 412 saddr, daddr, ports, dif, sdif))) { in __inet_lookup_established() [all …]
|
D | udp.c | 370 int dif, int sdif, bool exact_dif) in compute_score() argument 402 bool dev_match = (sk->sk_bound_dev_if == dif || in compute_score() 432 int dif, int sdif, bool exact_dif, in udp4_lib_lookup2() argument 444 daddr, hnum, dif, sdif, exact_dif); in udp4_lib_lookup2() 465 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument 484 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 499 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 511 daddr, hnum, dif, sdif, exact_dif); in __udp4_lib_lookup() 554 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument 559 dif, 0, &udp_table, NULL); in udp4_lib_lookup() [all …]
|
D | ping.c | 180 int dif = skb->dev->ifindex; in ping_lookup() local 184 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 188 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 228 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in ping_lookup() 391 static void ping_clear_saddr(struct sock *sk, int dif) in ping_clear_saddr() argument 393 sk->sk_bound_dev_if = dif; in ping_clear_saddr() 415 int dif = sk->sk_bound_dev_if; in ping_bind() local 431 ping_clear_saddr(sk, dif); in ping_bind()
|
D | raw.c | 126 int dif, int sdif) in __raw_v4_lookup() argument 134 !(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in __raw_v4_lookup() 303 int dif = skb->dev->ifindex; in raw_icmp_error() local 311 dif, sdif)) != NULL) { in raw_icmp_error()
|
/Linux-v4.19/net/l2tp/ |
D | l2tp_ip.c | 52 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 63 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip_bind_lookup()
|
D | l2tp_ip6.c | 63 int dif, u32 tunnel_id) in __l2tp_ip6_bind_lookup() argument 75 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip6_bind_lookup()
|
/Linux-v4.19/include/linux/ |
D | igmp.h | 124 int dif, int sdif);
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | qp.c | 3936 inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag); in mlx5_fill_inl_bsf() 3937 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); in mlx5_fill_inl_bsf() 3940 inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ? in mlx5_fill_inl_bsf() 3943 if (domain->sig.dif.ref_remap) in mlx5_fill_inl_bsf() 3946 if (domain->sig.dif.app_escape) { in mlx5_fill_inl_bsf() 3947 if (domain->sig.dif.ref_escape) in mlx5_fill_inl_bsf() 3954 cpu_to_be16(domain->sig.dif.apptag_check_mask); in mlx5_fill_inl_bsf() 3979 basic->mem.bs_selector = bs_selector(mem->sig.dif.pi_interval); in mlx5_set_bsf() 3992 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval && in mlx5_set_bsf() 3996 if (mem->sig.dif.bg_type == wire->sig.dif.bg_type) in mlx5_set_bsf() [all …]
|
/Linux-v4.19/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 2074 domain->sig.dif.bg_type = IB_T10DIF_CRC; in isert_set_dif_domain() 2075 domain->sig.dif.pi_interval = se_cmd->se_dev->dev_attrib.block_size; in isert_set_dif_domain() 2076 domain->sig.dif.ref_tag = se_cmd->reftag_seed; in isert_set_dif_domain() 2082 domain->sig.dif.apptag_check_mask = 0xffff; in isert_set_dif_domain() 2083 domain->sig.dif.app_escape = true; in isert_set_dif_domain() 2084 domain->sig.dif.ref_escape = true; in isert_set_dif_domain() 2087 domain->sig.dif.ref_remap = true; in isert_set_dif_domain()
|
/Linux-v4.19/drivers/s390/scsi/ |
D | zfcp_scsi.c | 29 module_param_named(dif, enable_dif, bool, 0400); 30 MODULE_PARM_DESC(dif, "Enable DIF/DIX data integrity support");
|
/Linux-v4.19/drivers/staging/media/zoran/ |
D | zoran_device.c | 1129 unsigned int dif; in zoran_reap_stat_com() local 1162 dif = (seq - zr->jpg_seq_num) & 0xff; in zoran_reap_stat_com() 1163 zr->jpg_seq_num += dif; in zoran_reap_stat_com()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfi_ms.h | 689 struct bfi_ioim_dif_s dif; member
|