/kernel/linux/linux-6.6/fs/erofs/ |
H A D | super.c | 172 struct erofs_device_info *dif, erofs_off_t *pos) in erofs_init_device() 185 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device() 190 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device() 191 if (!dif->path) in erofs_init_device() 196 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device() 199 dif->fscache = fscache; in erofs_init_device() 201 bdev_handle = bdev_open_by_path(dif->path, BLK_OPEN_READ, in erofs_init_device() 205 dif->bdev_handle = bdev_handle; in erofs_init_device() 206 dif->dax_dev = fs_dax_get_by_bdev(bdev_handle->bdev, in erofs_init_device() 207 &dif in erofs_init_device() 171 erofs_init_device(struct erofs_buf *buf, struct super_block *sb, struct erofs_device_info *dif, erofs_off_t *pos) erofs_init_device() argument 224 struct erofs_device_info *dif; erofs_scan_devices() local 453 struct erofs_device_info *dif; erofs_fc_parse_param() local 738 struct erofs_device_info *dif = ptr; erofs_release_device_info() local [all...] |
H A D | data.c | 205 struct erofs_device_info *dif; in erofs_map_dev() local 215 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 216 if (!dif) { in erofs_map_dev() 221 map->m_pa += erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev() 225 map->m_bdev = dif->bdev_handle->bdev; in erofs_map_dev() 226 map->m_daxdev = dif->dax_dev; in erofs_map_dev() 227 map->m_dax_part_off = dif->dax_part_off; in erofs_map_dev() 228 map->m_fscache = dif->fscache; in erofs_map_dev() 232 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev() 235 if (!dif in erofs_map_dev() [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | ak4118.c | 157 int dif; in ak4118_set_dai_fmt_master() local 161 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_master() 164 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1; in ak4118_set_dai_fmt_master() 167 dif = AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_master() 173 return dif; in ak4118_set_dai_fmt_master() 179 int dif; in ak4118_set_dai_fmt_slave() local 183 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1 | in ak4118_set_dai_fmt_slave() 187 dif = AK4118_REG_FORMAT_CTL_DIF1 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_slave() 193 return dif; in ak4118_set_dai_fmt_slave() 201 int dif; in ak4118_set_dai_fmt() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A 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...] |
/kernel/linux/linux-5.10/include/net/ |
H 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() 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() 121 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match() 60 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument 107 inet6_match(struct net *net, const struct sock *sk, const struct in6_addr *saddr, const struct in6_addr *daddr, const __portpair ports, const int dif, const int sdif) inet6_match() argument
|
H A D | inet_hashtables.h | 252 const int dif, const int sdif); 258 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() 261 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 295 int dif, int sdif) in INET_MATCH() 303 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in INET_MATCH() 314 const int dif, const int sdif); 320 const int dif) in inet_lookup_established() 323 ntohs(dport), dif, 0); in inet_lookup_established() 331 const int dif, const int sdif, in __inet_lookup() 338 daddr, hnum, dif, sdi in __inet_lookup() 254 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) inet_lookup_listener() argument 293 INET_MATCH(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) INET_MATCH() argument 317 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup_established() argument 326 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 347 inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup() argument [all...] |
H A D | raw.h | 25 __be32 laddr, int dif, int sdif); 75 int dif, int sdif) in raw_sk_bound_dev_eq() 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() 74 raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) raw_sk_bound_dev_eq() argument
|
H A D | inet_sock.h | 145 int dif, int sdif) in inet_bound_dev_eq() 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() 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() 144 inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, int dif, int sdif) inet_bound_dev_eq() argument 152 inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) inet_sk_bound_dev_eq() argument
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | inet6_hashtables.c | 56 const int dif, const int sdif) in __inet6_lookup_established() 73 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 78 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 96 const int dif, const int sdif) in compute_score() 105 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 156 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() 163 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 184 const u16 hnum, const int dif, in inet6_lookup_run_sk_lookup() 191 daddr, hnum, dif, &sk); in inet6_lookup_run_sk_lookup() 208 const unsigned short hnum, const int dif, cons in inet6_lookup_listener() 50 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) __inet6_lookup_established() argument 93 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) compute_score() argument 151 inet6_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lhash2_lookup() argument 178 inet6_lookup_run_sk_lookup(struct net *net, int protocol, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, inet6_ehashfn_t *ehashfn) inet6_lookup_run_sk_lookup() argument 203 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lookup_listener() argument 247 inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, const int dif) inet6_lookup() argument 272 const int dif = sk->sk_bound_dev_if; __inet6_check_established() local [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | inet6_hashtables.h | 48 const u16 hnum, const int dif, 74 const int dif, const int sdif); 82 const u16 hnum, const int dif, 92 const int dif, const int sdif, in __inet6_lookup() 97 dif, sdif); in __inet6_lookup() 103 daddr, hnum, dif, sdif); in __inet6_lookup() 174 const int dif); 182 const int dif, const int sdif) in inet6_match() 192 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match() 85 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument 178 inet6_match(struct net *net, const struct sock *sk, const struct in6_addr *saddr, const struct in6_addr *daddr, const __portpair ports, const int dif, const int sdif) inet6_match() argument
|
H A D | inet_hashtables.h | 318 const int dif, const int sdif); 324 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() 327 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 361 int dif, int sdif) in inet_match() 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); 400 __be32 daddr, u16 hnum, const int dif, 407 const int dif) in inet_lookup_established() 410 ntohs(dport), dif, 0); in inet_lookup_established() 418 const int dif, cons in __inet_lookup() 320 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) inet_lookup_listener() argument 359 inet_match(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) inet_match() argument 404 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup_established() argument 413 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 434 inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup() argument [all...] |
H A D | raw.h | 26 __be32 raddr, __be32 laddr, int dif, int sdif); 89 int dif, int sdif) in raw_sk_bound_dev_eq() 93 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 95 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 88 raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) raw_sk_bound_dev_eq() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() 74 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 79 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 97 const int dif, const int sdif) in compute_score() 106 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 139 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() 147 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 192 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() 211 dif, sdif); in inet6_lookup_listener() 221 dif, sdi in inet6_lookup_listener() 51 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) __inet6_lookup_established() argument 94 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) compute_score() argument 134 inet6_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lhash2_lookup() argument 187 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lookup_listener() argument 229 inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, const int dif) inet6_lookup() argument 254 const int dif = sk->sk_bound_dev_if; __inet6_check_established() local [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | input.c | 54 int dif, int sdif); 59 int dif, int sdif); 65 int dif, int sdif); 102 int dif, sdif; in sctp_rcv() local 147 dif = af->skb_iif(skb); in sctp_rcv() 165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv() 168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); in sctp_rcv() 474 int dif = inet_iif(skb); in sctp_err_lookup() local 490 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport, dif, sdif); in sctp_err_lookup() 841 int dif, in in __sctp_rcv_lookup_endpoint() 837 __sctp_rcv_lookup_endpoint( struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) __sctp_rcv_lookup_endpoint() argument 981 sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) sctp_sk_bound_dev_eq() argument 992 sctp_addrs_lookup_transport( struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) sctp_addrs_lookup_transport() argument 1049 __sctp_lookup_association( struct net *net, const union sctp_addr *local, const union sctp_addr *peer, struct sctp_transport **pt, int dif, int sdif) __sctp_lookup_association() argument 1072 sctp_lookup_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, struct sctp_transport **transportp, int dif, int sdif) sctp_lookup_association() argument 1088 sctp_has_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) sctp_has_association() argument 1121 __sctp_rcv_init_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_init_lookup() argument 1185 __sctp_rcv_asconf_lookup( struct net *net, struct sctp_chunkhdr *ch, const union sctp_addr *laddr, __be16 peer_port, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_asconf_lookup() argument 1224 __sctp_rcv_walk_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_walk_lookup() argument 1293 __sctp_rcv_lookup_harder(struct net *net, struct sk_buff *skb, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_lookup_harder() argument 1327 __sctp_rcv_lookup(struct net *net, struct sk_buff *skb, const union sctp_addr *paddr, const union sctp_addr *laddr, struct sctp_transport **transportp, int dif, int sdif) __sctp_rcv_lookup() argument [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
H A D | ninet_hashtables.h | 50 const u16 hnum, const int dif); 58 const unsigned short hnum, const int dif, const int sdif); 67 const int dif, bool *refcounted) in __ninet_lookup() 70 sport, daddr, hnum, dif); in __ninet_lookup() 76 daddr, hnum, dif, 0); in __ninet_lookup() 60 __ninet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const u16 hnum, const int dif, bool *refcounted) __ninet_lookup() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-renesas-pcie.c | 176 u8 dif = rs9_calc_dif(rs9, idx); in rs9_get_output_config() local 183 rs9->clk_dif_sr |= dif; in rs9_get_output_config() 195 rs9->clk_dif_sr &= ~dif; in rs9_get_output_config() 197 rs9->clk_dif_sr |= dif; in rs9_get_output_config() 268 u8 dif = rs9_calc_dif(rs9, i); in rs9_update_config() local 270 if (rs9->clk_dif_sr & dif) in rs9_update_config() 273 regmap_update_bits(rs9->regmap, RS9_REG_SR, dif, in rs9_update_config() 274 rs9->clk_dif_sr & dif); in rs9_update_config()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | ninet_hashtables.c | 310 const int dif) in __ninet_lookup_established() 325 if (!ninet_match(sk, net, saddr, daddr, ports, dif)) in __ninet_lookup_established() 332 if (unlikely(!ninet_match(sk, net, saddr, daddr, ports, dif))) { in __ninet_lookup_established() 349 const int dif, int sdif) in nip_tcp_compute_score() 361 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in nip_tcp_compute_score() 377 const int dif, const int sdif) in ninet_lhash2_lookup() 391 score = nip_tcp_compute_score(sk, net, hnum, daddr, dif, sdif); in ninet_lhash2_lookup() 417 const unsigned short hnum, const int dif, const int sdif) in ninet_lookup_listener() 427 dif, sdif); in ninet_lookup_listener() 436 dif, sdi in ninet_lookup_listener() 304 __ninet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const u16 hnum, const int dif) __ninet_lookup_established() argument 346 nip_tcp_compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct nip_addr *daddr, const int dif, int sdif) nip_tcp_compute_score() argument 372 ninet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct nip_addr *saddr, __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lhash2_lookup() argument 412 ninet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lookup_listener() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
H 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(sc->request); 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 in iser_set_sig_attrs() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H 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() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/iser/ |
H A 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 in iser_set_sig_attrs() [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | inet_hashtables.c | 243 const int dif, const int sdif) in compute_score() 252 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 292 const int dif, const int sdif) in inet_lhash2_lookup() 300 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 343 const int dif, const int sdif) in __inet_lookup_listener() 362 dif, sdif); in __inet_lookup_listener() 372 dif, sdif); in __inet_lookup_listener() 405 const int dif, const int sdif) in __inet_lookup_established() 422 if (likely(INET_MATCH(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 426 ports, dif, sdi in __inet_lookup_established() 241 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const __be32 daddr, const int dif, const int sdif) compute_score() argument 287 inet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) inet_lhash2_lookup() argument 338 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) __inet_lookup_listener() argument 401 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif, const int sdif) __inet_lookup_established() argument 456 int dif = sk->sk_bound_dev_if; __inet_check_established() local 530 const int dif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_hashtables.c | 321 const int dif, const int sdif) in compute_score() 330 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 388 const int dif, const int sdif) in inet_lhash2_lookup() 395 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 414 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() 421 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup() 437 const int dif, const int sdif) in __inet_lookup_listener() 447 saddr, sport, daddr, hnum, dif, in __inet_lookup_listener() 458 dif, sdif); in __inet_lookup_listener() 468 dif, sdi in __inet_lookup_listener() 319 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const __be32 daddr, const int dif, const int sdif) compute_score() argument 383 inet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) inet_lhash2_lookup() argument 410 inet_lookup_run_sk_lookup(struct net *net, int protocol, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, u16 hnum, const int dif, inet_ehashfn_t *ehashfn) inet_lookup_run_sk_lookup() argument 432 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) __inet_lookup_listener() argument 497 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif, const int sdif) __inet_lookup_established() argument 552 int dif = sk->sk_bound_dev_if; __inet_check_established() local 626 const int dif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local [all...] |