/linux-6.1.9/net/ipv6/ |
D | inet6_hashtables.c | 55 const int dif, const int sdif) in __inet6_lookup_established() argument 72 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 77 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 95 const int dif, const int sdif) in compute_score() argument 104 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 137 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 144 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 165 const u16 hnum, const int dif) in inet6_lookup_run_bpf() argument 174 daddr, hnum, dif, &sk); in inet6_lookup_run_bpf() 189 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument [all …]
|
D | udp.c | 120 int dif, int sdif) in compute_score() argument 150 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score() 184 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 194 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 215 u16 hnum, const int dif) in udp6_lookup_run_bpf() argument 224 daddr, hnum, dif, &sk); in udp6_lookup_run_bpf() 238 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 252 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 260 saddr, sport, daddr, hnum, dif); in __udp6_lib_lookup() 277 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() [all …]
|
/linux-6.1.9/sound/soc/codecs/ |
D | ak4118.c | 157 int dif; in ak4118_set_dai_fmt_provider() local 161 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_provider() 164 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1; in ak4118_set_dai_fmt_provider() 167 dif = AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_provider() 173 return dif; in ak4118_set_dai_fmt_provider() 179 int dif; in ak4118_set_dai_fmt_consumer() local 183 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1 | in ak4118_set_dai_fmt_consumer() 187 dif = AK4118_REG_FORMAT_CTL_DIF1 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_consumer() 193 return dif; in ak4118_set_dai_fmt_consumer() 201 int dif; in ak4118_set_dai_fmt() local [all …]
|
D | ak4613.c | 217 u8 dif; member 278 .dif = _dif, \ 631 priv->ctrl1 = (tdm << 6) | (iface->dif << 3); in ak4613_dai_hw_params()
|
/linux-6.1.9/fs/erofs/ |
D | super.c | 224 struct erofs_device_info *dif, erofs_off_t *pos) in erofs_init_device() argument 237 if (!dif->path) { in erofs_init_device() 242 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device() 243 if (!dif->path) in erofs_init_device() 248 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device() 251 dif->fscache = fscache; in erofs_init_device() 253 bdev = blkdev_get_by_path(dif->path, FMODE_READ | FMODE_EXCL, in erofs_init_device() 257 dif->bdev = bdev; in erofs_init_device() 258 dif->dax_dev = fs_dax_get_by_bdev(bdev, &dif->dax_part_off, in erofs_init_device() 262 dif->blocks = le32_to_cpu(dis->blocks); in erofs_init_device() [all …]
|
D | data.c | 206 struct erofs_device_info *dif; in erofs_map_dev() local 217 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 218 if (!dif) { in erofs_map_dev() 222 map->m_bdev = dif->bdev; in erofs_map_dev() 223 map->m_daxdev = dif->dax_dev; in erofs_map_dev() 224 map->m_dax_part_off = dif->dax_part_off; in erofs_map_dev() 225 map->m_fscache = dif->fscache; in erofs_map_dev() 229 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev() 232 if (!dif->mapped_blkaddr) in erofs_map_dev() 234 startoff = blknr_to_addr(dif->mapped_blkaddr); in erofs_map_dev() [all …]
|
/linux-6.1.9/include/net/ |
D | inet6_hashtables.h | 48 const u16 hnum, const int dif, 58 const int dif, const int sdif); 67 const int dif, const int sdif, in __inet6_lookup() argument 72 dif, sdif); in __inet6_lookup() 78 daddr, hnum, dif, sdif); in __inet6_lookup() 103 const int dif); 111 const int dif, const int sdif) in inet6_match() argument 121 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match()
|
D | inet_hashtables.h | 318 const int dif, const int sdif); 324 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 327 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 361 int dif, int sdif) in inet_match() argument 369 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet_match() 380 const int dif, const int sdif); 386 const int dif) in inet_lookup_established() argument 389 ntohs(dport), dif, 0); in inet_lookup_established() 397 const int dif, const int sdif, in __inet_lookup() argument 404 daddr, hnum, dif, sdif); in __inet_lookup() [all …]
|
D | raw.h | 24 __be32 raddr, __be32 laddr, int dif, int sdif); 83 int dif, int sdif) in raw_sk_bound_dev_eq() argument 87 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 89 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
|
D | inet_sock.h | 145 int dif, int sdif) in inet_bound_dev_eq() argument 149 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 153 int dif, int sdif) in inet_sk_bound_dev_eq() argument 157 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 159 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
D | udp.h | 239 int dif, int sdif) in udp_sk_bound_dev_eq() argument 243 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 245 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 292 __be32 daddr, __be16 dport, int dif); 294 __be32 daddr, __be16 dport, int dif, int sdif, 301 int dif); 305 int dif, int sdif, struct udp_table *tbl,
|
D | rawv6.h | 11 const struct in6_addr *rmt_addr, int dif, int sdif);
|
D | ipv6_stubs.h | 82 int dif, int sdif, struct udp_table *tbl,
|
/linux-6.1.9/drivers/scsi/ |
D | sd_dif.c | 33 int dif, dix; in sd_dif_config_host() local 35 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host() 39 dif = 0; dix = 1; in sd_dif_config_host() 63 if (dif && type) { in sd_dif_config_host()
|
D | sd.c | 333 unsigned int dif, dix; in protection_mode_show() local 335 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show() 339 dif = 0; in protection_mode_show() 343 if (!dif && !dix) in protection_mode_show() 346 return sprintf(buf, "%s%u\n", dix ? "dix" : "dif", dif); in protection_mode_show() 685 static unsigned int sd_prot_op(bool write, bool dix, bool dif) in sd_prot_op() argument 699 return ops[write << 2 | dix << 1 | dif]; in sd_prot_op() 744 unsigned int dix, unsigned int dif) in sd_setup_protect_cmnd() argument 748 unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif); in sd_setup_protect_cmnd() 759 if (dif != T10_PI_TYPE3_PROTECTION) { /* DIX/DIF Type 0, 1, 2 */ in sd_setup_protect_cmnd() [all …]
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_ptp.c | 256 s64 best_val = 0, val, best_period = 0, period, approx_dev, dif, dif2; in qed_ptp_hw_adjfreq() local 284 dif = ppb * approx_dev - val * 1000000000; in qed_ptp_hw_adjfreq() 285 dif2 = dif + 16 * ppb; in qed_ptp_hw_adjfreq() 287 if (dif < 0) in qed_ptp_hw_adjfreq() 288 dif = -dif; in qed_ptp_hw_adjfreq() 293 if (dif * (approx_dev + 16) > dif2 * approx_dev) { in qed_ptp_hw_adjfreq() 296 dif = dif2; in qed_ptp_hw_adjfreq() 300 if (best_dif * approx_dev > dif * best_approx_dev) { in qed_ptp_hw_adjfreq() 301 best_dif = dif; in qed_ptp_hw_adjfreq()
|
/linux-6.1.9/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 180 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 181 domain->sig.dif.ref_tag = t10_pi_ref_tag(scsi_cmd_to_rq(sc)); in iser_set_dif_domain() 186 domain->sig.dif.apptag_check_mask = 0xffff; in iser_set_dif_domain() 187 domain->sig.dif.app_escape = true; in iser_set_dif_domain() 188 domain->sig.dif.ref_escape = true; in iser_set_dif_domain() 190 domain->sig.dif.ref_remap = true; in iser_set_dif_domain() 201 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 207 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 213 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 215 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
|
/linux-6.1.9/net/ipv4/ |
D | inet_hashtables.c | 314 const int dif, const int sdif) in compute_score() argument 323 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 363 const int dif, const int sdif) in inet_lhash2_lookup() argument 370 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 389 __be32 daddr, u16 hnum, const int dif) in inet_lookup_run_bpf() argument 398 daddr, hnum, dif, &sk); in inet_lookup_run_bpf() 413 const int dif, const int sdif) in __inet_lookup_listener() argument 422 saddr, sport, daddr, hnum, dif); in __inet_lookup_listener() 432 dif, sdif); in __inet_lookup_listener() 442 dif, sdif); in __inet_lookup_listener() [all …]
|
D | udp.c | 362 int dif, int sdif) in compute_score() argument 392 dif, sdif); in compute_score() 435 int dif, int sdif, in udp4_lib_lookup2() argument 446 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 465 __be32 daddr, u16 hnum, const int dif) in udp4_lookup_run_bpf() argument 474 daddr, hnum, dif, &sk); in udp4_lookup_run_bpf() 488 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument 502 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 510 saddr, sport, daddr, hnum, dif); in __udp4_lib_lookup() 527 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() [all …]
|
D | ping.c | 182 int dif, sdif; in ping_lookup() local 185 dif = inet_iif(skb); in ping_lookup() 188 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 191 dif = inet6_iif(skb); in ping_lookup() 194 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 234 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in ping_lookup() 430 int dif = sk->sk_bound_dev_if; in ping_bind() local 446 sk->sk_bound_dev_if = dif; in ping_bind()
|
D | raw.c | 120 __be32 raddr, __be32 laddr, int dif, int sdif) in raw_v4_match() argument 127 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in raw_v4_match() 169 int dif = inet_iif(skb); in raw_v4_input() local 177 iph->saddr, iph->daddr, dif, sdif)) in raw_v4_input() 268 int dif = skb->dev->ifindex; in raw_icmp_error() local 281 iph->daddr, iph->saddr, dif, sdif)) in raw_icmp_error()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | wr.c | 335 inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag); in mlx5_fill_inl_bsf() 336 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); in mlx5_fill_inl_bsf() 339 inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ? in mlx5_fill_inl_bsf() 342 if (domain->sig.dif.ref_remap) in mlx5_fill_inl_bsf() 345 if (domain->sig.dif.app_escape) { in mlx5_fill_inl_bsf() 346 if (domain->sig.dif.ref_escape) in mlx5_fill_inl_bsf() 353 cpu_to_be16(domain->sig.dif.apptag_check_mask); in mlx5_fill_inl_bsf() 378 basic->mem.bs_selector = bs_selector(mem->sig.dif.pi_interval); in mlx5_set_bsf() 391 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval && in mlx5_set_bsf() 395 if (mem->sig.dif.bg_type == wire->sig.dif.bg_type) in mlx5_set_bsf() [all …]
|
/linux-6.1.9/include/rdma/ |
D | signature.h | 76 struct ib_t10_dif_domain dif; member
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_ip.c | 46 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 59 if (bound_dev_if && dif && bound_dev_if != dif) in __l2tp_ip_bind_lookup()
|
/linux-6.1.9/include/linux/ |
D | igmp.h | 125 int dif, int sdif);
|