/Linux-v6.1/drivers/media/usb/cx231xx/ |
D | cx231xx-dif.h | 3 * cx231xx-dif.h - driver for Conexant Cx23100/101/102 USB video capture devices 22 /* BEGIN - DIF BPF register values from 30_quant.dat*/ 42 /* END - DIF BPF register values from 30_quant.dat*/ 46 /* BEGIN - DIF BPF register values from 31_quant.dat*/ 66 /* END - DIF BPF register values from 31_quant.dat*/ 70 /* BEGIN - DIF BPF register values from 32_quant.dat*/ 90 /* END - DIF BPF register values from 32_quant.dat*/ 94 /* BEGIN - DIF BPF register values from 33_quant.dat*/ 114 /* END - DIF BPF register values from 33_quant.dat*/ 118 /* BEGIN - DIF BPF register values from 34_quant.dat*/ [all …]
|
/Linux-v6.1/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-v6.1/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, false); 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-v6.1/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 …]
|
/Linux-v6.1/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 | 314 const int dif, const int sdif); 320 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 323 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 357 int dif, int sdif) in inet_match() argument 365 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet_match() 376 const int dif, const int sdif); 382 const int dif) in inet_lookup_established() argument 385 ntohs(dport), dif, 0); in inet_lookup_established() 393 const int dif, const int sdif, in __inet_lookup() argument 400 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,
|
/Linux-v6.1/include/rdma/ |
D | signature.h | 25 * @IB_SIG_TYPE_T10_DIF: Type T10-DIF 33 * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types 43 * struct ib_t10_dif_domain - Parameters specific for T10-DIF 45 * @bg_type: T10-DIF block guard type (CRC|CSUM) 76 struct ib_t10_dif_domain dif; member
|
/Linux-v6.1/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-v6.1/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()
|
/Linux-v6.1/include/uapi/linux/ |
D | idxd.h | 213 /* DIF check or strip */ 223 /* DIF insert */ 233 /* DIF update */ 300 /* DIF check & strip */ 307 /* DIF insert */ 315 /* DIF update */
|
/Linux-v6.1/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-v6.1/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-v6.1/net/ipv4/ |
D | inet_hashtables.c | 313 const int dif, const int sdif) in compute_score() argument 322 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 362 const int dif, const int sdif) in inet_lhash2_lookup() argument 369 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 388 __be32 daddr, u16 hnum, const int dif) in inet_lookup_run_bpf() argument 397 daddr, hnum, dif, &sk); in inet_lookup_run_bpf() 412 const int dif, const int sdif) in __inet_lookup_listener() argument 421 saddr, sport, daddr, hnum, dif); in __inet_lookup_listener() 431 dif, sdif); in __inet_lookup_listener() 441 dif, sdif); in __inet_lookup_listener() [all …]
|
D | ping.c | 182 int dif, sdif; in ping_lookup() local 185 dif = inet_iif(skb); in ping_lookup() 187 pr_debug("try to find: num = %d, daddr = %pI4, dif = %d\n", in ping_lookup() 188 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 191 dif = inet6_iif(skb); in ping_lookup() 193 pr_debug("try to find: num = %d, daddr = %pI6c, dif = %d\n", in ping_lookup() 194 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 209 pr_debug("found: %p: num=%d, daddr=%pI4, dif=%d\n", sk, in ping_lookup() 220 pr_debug("found: %p: num=%d, daddr=%pI6c, dif=%d\n", sk, in ping_lookup() 234 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in ping_lookup() [all …]
|
/Linux-v6.1/block/ |
D | t10-pi.c | 248 .name = "T10-DIF-TYPE1-CRC", 257 .name = "T10-DIF-TYPE1-IP", 266 .name = "T10-DIF-TYPE3-CRC", 275 .name = "T10-DIF-TYPE3-IP", 457 .name = "EXT-DIF-TYPE1-CRC64", 466 .name = "EXT-DIF-TYPE3-CRC64",
|
/Linux-v6.1/Documentation/devicetree/bindings/dma/ |
D | atmel-xdma.txt | 14 - bit 14: DIF, destination interface identifier, used to get the peripheral 36 - bit 14: DIF, destination interface identifier, used to get the peripheral
|
/Linux-v6.1/drivers/scsi/qedf/ |
D | drv_scsi_fw_funcs.h | 36 /* Enable Connection error upon DIF error (segments with DIF errors are
|
/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_dfs.c | 341 /* DIF stats */ in qla_dfs_tgt_counters_show() 342 seq_printf(s, "DIF Inp Bytes = %lld\n", in qla_dfs_tgt_counters_show() 344 seq_printf(s, "DIF Outp Bytes = %lld\n", in qla_dfs_tgt_counters_show() 346 seq_printf(s, "DIF Inp Req = %lld\n", in qla_dfs_tgt_counters_show() 348 seq_printf(s, "DIF Outp Req = %lld\n", in qla_dfs_tgt_counters_show() 350 seq_printf(s, "DIF Guard err = %d\n", in qla_dfs_tgt_counters_show() 352 seq_printf(s, "DIF Ref tag err = %d\n", in qla_dfs_tgt_counters_show() 354 seq_printf(s, "DIF App tag err = %d\n", in qla_dfs_tgt_counters_show()
|
/Linux-v6.1/Documentation/block/ |
D | data-integrity.rst | 29 DIF and the other integrity extensions is that the protection format 275 E.g. T10-DIF-TYPE1-IP or T13-EPP-0-CRC. 283 metadata per sector. I.e. 8 for DIF and EPP. 286 are available per hardware sector. For DIF this is either 2 or
|
/Linux-v6.1/include/scsi/ |
D | scsi_host.h | 797 * DIF defines the exchange of protection information between 804 SHOST_DIF_TYPE1_PROTECTION = 1 << 0, /* T10 DIF Type 1 */ 805 SHOST_DIF_TYPE2_PROTECTION = 1 << 1, /* T10 DIF Type 2 */ 806 SHOST_DIF_TYPE3_PROTECTION = 1 << 2, /* T10 DIF Type 3 */ 809 SHOST_DIX_TYPE1_PROTECTION = 1 << 4, /* DIX with DIF Type 1 */ 810 SHOST_DIX_TYPE2_PROTECTION = 1 << 5, /* DIX with DIF Type 2 */ 811 SHOST_DIX_TYPE3_PROTECTION = 1 << 6, /* DIX with DIF Type 3 */
|