/linux/sound/soc/codecs/ |
A D | ak4118.c | 157 int dif; in ak4118_set_dai_fmt_provider() local 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 193 return dif; in ak4118_set_dai_fmt_consumer() 201 int dif; in ak4118_set_dai_fmt() local 206 dif = ak4118_set_dai_fmt_provider(ak4118, format); in ak4118_set_dai_fmt() 209 dif = ak4118_set_dai_fmt_consumer(ak4118, format); in ak4118_set_dai_fmt() 217 if (dif < 0) { in ak4118_set_dai_fmt() 218 ret = dif; in ak4118_set_dai_fmt() [all …]
|
/linux/net/ipv6/ |
A D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() argument 74 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 97 const int dif, const int sdif) in compute_score() argument 139 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 147 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 211 dif, sdif); in inet6_lookup_listener() 221 dif, sdif); in inet6_lookup_listener() 233 const int dif) in inet6_lookup() argument 239 ntohs(dport), dif, 0, &refcounted); in inet6_lookup() 254 const int dif = sk->sk_bound_dev_if; in __inet6_check_established() local [all …]
|
A D | udp.c | 105 int dif, int sdif) in compute_score() argument 168 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 178 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 236 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 261 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 301 dif, 0, &udp_table, NULL); in udp6_lib_lookup() 824 int dif = inet6_iif(skb); in __udp6_lib_mcast_deliver() local 840 uh->source, saddr, dif, sdif, in __udp6_lib_mcast_deliver() 1027 int dif, int sdif) in __udp6_lib_demux_lookup() argument 1052 int dif = skb->dev->ifindex; in udp_v6_early_demux() local [all …]
|
A D | exthdrs.c | 1238 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 1241 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 1243 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 1245 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 1247 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
/linux/include/net/ |
A D | inet_hashtables.h | 207 int dif, int sdif) in inet_sk_bound_dev_eq() argument 211 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 269 const int dif, const int sdif); 278 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 342 const int dif) in inet_lookup_established() argument 345 ntohs(dport), dif, 0); in inet_lookup_established() 353 const int dif, const int sdif, in __inet_lookup() argument 360 daddr, hnum, dif, sdif); in __inet_lookup() 366 sport, daddr, hnum, dif, sdif); in __inet_lookup() 374 const int dif) in inet_lookup() argument [all …]
|
A 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);
|
A D | raw.h | 25 __be32 laddr, int dif, int sdif); 75 int dif, int sdif) in raw_sk_bound_dev_eq() argument 79 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 81 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
|
A D | udp.h | 262 int dif, int sdif) in udp_sk_bound_dev_eq() argument 266 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 268 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 315 __be32 daddr, __be16 dport, int dif); 317 __be32 daddr, __be16 dport, int dif, int sdif, 324 int dif); 328 int dif, int sdif, struct udp_table *tbl,
|
A D | rawv6.h | 10 const struct in6_addr *rmt_addr, int dif, int sdif);
|
A D | inet_sock.h | 143 int dif, int sdif) in inet_bound_dev_eq() argument 147 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
|
A D | ipv6_stubs.h | 82 int dif, int sdif, struct udp_table *tbl,
|
/linux/fs/erofs/ |
A D | super.c | 314 dif->bdev = bdev; in erofs_init_devices() 544 dif = kzalloc(sizeof(*dif), GFP_KERNEL); in erofs_fc_parse_param() 545 if (!dif) in erofs_fc_parse_param() 548 if (!dif->path) { in erofs_fc_parse_param() 549 kfree(dif); in erofs_fc_parse_param() 556 kfree(dif->path); in erofs_fc_parse_param() 557 kfree(dif); in erofs_fc_parse_param() 730 fs_put_dax(dif->dax_dev); in erofs_release_device_info() 731 if (dif->bdev) in erofs_release_device_info() 733 kfree(dif->path); in erofs_release_device_info() [all …]
|
A D | data.c | 156 struct erofs_device_info *dif; in erofs_map_dev() local 165 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 166 if (!dif) { in erofs_map_dev() 170 map->m_bdev = dif->bdev; in erofs_map_dev() 171 map->m_daxdev = dif->dax_dev; in erofs_map_dev() 175 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev() 178 if (!dif->mapped_blkaddr) in erofs_map_dev() 180 startoff = blknr_to_addr(dif->mapped_blkaddr); in erofs_map_dev() 181 length = blknr_to_addr(dif->blocks); in erofs_map_dev() 186 map->m_bdev = dif->bdev; in erofs_map_dev() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A 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/drivers/scsi/ |
A 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() 65 if (dif && type) { in sd_dif_config_host()
|
A D | sd.c | 341 unsigned int dif, dix; in protection_mode_show() local 347 dif = 0; in protection_mode_show() 351 if (!dif && !dix) in protection_mode_show() 354 return sprintf(buf, "%s%u\n", dix ? "dix" : "dif", dif); in protection_mode_show() 734 return ops[write << 2 | dix << 1 | dif]; in sd_prot_op() 779 unsigned int dix, unsigned int dif) in sd_setup_protect_cmnd() argument 801 if (dif) { /* DIX/DIF Type 1, 2, 3 */ in sd_setup_protect_cmnd() 811 scsi_set_prot_type(scmd, dif); in sd_setup_protect_cmnd() 1226 unsigned int dif; in sd_setup_read_write_cmnd() local 1275 if (dif || dix) in sd_setup_read_write_cmnd() [all …]
|
/linux/drivers/infiniband/ulp/iser/ |
A D | iser_memory.c | 161 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 162 domain->sig.dif.ref_tag = t10_pi_ref_tag(scsi_cmd_to_rq(sc)); in iser_set_dif_domain() 167 domain->sig.dif.apptag_check_mask = 0xffff; in iser_set_dif_domain() 168 domain->sig.dif.app_escape = true; in iser_set_dif_domain() 169 domain->sig.dif.ref_escape = true; in iser_set_dif_domain() 171 domain->sig.dif.ref_remap = true; in iser_set_dif_domain() 182 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 188 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 194 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 196 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
|
/linux/net/ipv4/ |
A D | inet_hashtables.c | 234 const int dif, const int sdif) in compute_score() argument 283 const int dif, const int sdif) in inet_lhash2_lookup() argument 334 const int dif, const int sdif) in __inet_lookup_listener() argument 353 dif, sdif); in __inet_lookup_listener() 363 dif, sdif); in __inet_lookup_listener() 396 const int dif, const int sdif) in __inet_lookup_established() argument 419 dif, sdif))) { in __inet_lookup_established() 449 int dif = sk->sk_bound_dev_if; in __inet_check_established() local 524 const int dif = sk->sk_bound_dev_if; in inet_ehash_lookup_by_sk() local 538 ports, dif, sdif))) { in inet_ehash_lookup_by_sk() [all …]
|
A D | udp.c | 359 int dif, int sdif) in compute_score() argument 389 dif, sdif); in compute_score() 432 int dif, int sdif, in udp4_lib_lookup2() argument 443 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 499 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 564 dif, 0, &udp_table, NULL); in udp4_lib_lookup() 2277 int dif = skb->dev->ifindex; in __udp4_lib_mcast_deliver() local 2508 int dif, int sdif) in __udp4_lib_mcast_demux_lookup() argument 2539 int dif, int sdif) in __udp4_lib_demux_lookup() argument 2567 int dif = skb->dev->ifindex; in udp_v4_early_demux() local [all …]
|
A D | raw.c | 122 int dif, int sdif) in __raw_v4_lookup() argument 130 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in __raw_v4_lookup() 172 int dif = inet_iif(skb); in raw_v4_input() local 185 iph->saddr, iph->daddr, dif, sdif); in raw_v4_input() 200 dif, sdif); in raw_v4_input() 299 int dif = skb->dev->ifindex; in raw_icmp_error() local 307 dif, sdif)) != NULL) { in raw_icmp_error()
|
A D | ping.c | 175 int dif = skb->dev->ifindex; in ping_lookup() local 179 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 183 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 223 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in ping_lookup() 397 int dif = sk->sk_bound_dev_if; in ping_bind() local 413 sk->sk_bound_dev_if = dif; in ping_bind()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | wr.c | 563 if (domain->sig.dif.ref_remap) in mlx5_fill_inl_bsf() 566 if (domain->sig.dif.app_escape) { in mlx5_fill_inl_bsf() 567 if (domain->sig.dif.ref_escape) in mlx5_fill_inl_bsf() 574 cpu_to_be16(domain->sig.dif.apptag_check_mask); in mlx5_fill_inl_bsf() 612 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval && in mlx5_set_bsf() 616 if (mem->sig.dif.bg_type == wire->sig.dif.bg_type) in mlx5_set_bsf() 618 if (mem->sig.dif.app_tag == wire->sig.dif.app_tag) in mlx5_set_bsf() 620 if (mem->sig.dif.ref_tag == wire->sig.dif.ref_tag) in mlx5_set_bsf() 624 bs_selector(wire->sig.dif.pi_interval); in mlx5_set_bsf() 701 u16 block_size = sig_attrs->mem.sig.dif.pi_interval; in set_sig_data_segment() [all …]
|
/linux/include/rdma/ |
A D | signature.h | 76 struct ib_t10_dif_domain dif; member
|
/linux/net/l2tp/ |
A D | l2tp_ip.c | 46 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 57 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip_bind_lookup()
|
/linux/drivers/nvme/target/ |
A D | rdma.c | 582 domain->sig.dif.bg_type = IB_T10DIF_CRC; in nvmet_rdma_set_sig_domain() 583 domain->sig.dif.pi_interval = 1 << bi->interval_exp; in nvmet_rdma_set_sig_domain() 584 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); in nvmet_rdma_set_sig_domain() 586 domain->sig.dif.ref_remap = true; in nvmet_rdma_set_sig_domain() 588 domain->sig.dif.app_tag = le16_to_cpu(cmd->rw.apptag); in nvmet_rdma_set_sig_domain() 589 domain->sig.dif.apptag_check_mask = le16_to_cpu(cmd->rw.appmask); in nvmet_rdma_set_sig_domain() 590 domain->sig.dif.app_escape = true; in nvmet_rdma_set_sig_domain() 592 domain->sig.dif.ref_escape = true; in nvmet_rdma_set_sig_domain()
|