/linux-master/drivers/scsi/ |
H A D | sd_dif.c | 33 int dif, dix; local 35 dif = scsi_host_dif_capable(sdp->host, type); 39 dif = 0; dix = 1; 65 if (dif && type) {
|
/linux-master/include/net/ |
H A D | raw.h | 26 __be32 raddr, __be32 laddr, int dif, int sdif); 89 int dif, int sdif) 93 bound_dev_if, dif, sdif); 95 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); 88 raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) argument
|
H A D | rawv6.h | 11 const struct in6_addr *rmt_addr, int dif, int sdif);
|
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, 97 dif, sdif); 103 daddr, hnum, dif, sdif); 174 const int dif); 182 const int dif, const int sdif) 192 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, 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) 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) argument
|
H A D | inet_hashtables.h | 313 const int dif, const int sdif); 319 __be32 daddr, __be16 dport, int dif, int sdif) 322 daddr, ntohs(dport), dif, sdif); 356 int dif, int sdif) 364 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, 375 const int dif, const int sdif); 395 __be32 daddr, u16 hnum, const int dif, 402 const int dif) 405 ntohs(dport), dif, 0); 413 const int dif, cons 315 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) argument 354 inet_match(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) argument 399 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) argument 408 __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) argument 429 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) argument [all...] |
H A D | udp.h | 249 int dif, int sdif) 253 bound_dev_if, dif, sdif); 255 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); 300 __be32 daddr, __be16 dport, int dif); 302 __be32 daddr, __be16 dport, int dif, int sdif, 309 int dif); 313 int dif, int sdif, struct udp_table *tbl, 248 udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) argument
|
H A D | inet_sock.h | 146 int dif, int sdif) 150 return bound_dev_if == dif || bound_dev_if == sdif; 154 int dif, int sdif) 158 bound_dev_if, dif, sdif); 160 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); 145 inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, int dif, int sdif) argument 153 inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) argument
|
H A D | ipv6_stubs.h | 85 int dif, int sdif, struct udp_table *tbl,
|
/linux-master/sound/soc/codecs/ |
H A D | ak4118.c | 157 int dif; local 161 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF2; 164 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1; 167 dif = AK4118_REG_FORMAT_CTL_DIF2; 173 return dif; 179 int dif; local 183 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1 | 187 dif = AK4118_REG_FORMAT_CTL_DIF1 | AK4118_REG_FORMAT_CTL_DIF2; 193 return dif; 201 int dif; local [all...] |
/linux-master/net/ipv6/ |
H A D | inet6_hashtables.c | 55 const int dif, const int sdif) 72 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) 77 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { 95 const int dif, const int sdif) 104 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) 155 const unsigned short hnum, const int dif, const int sdif) 162 score = compute_score(sk, net, hnum, daddr, dif, sdif); 183 const u16 hnum, const int dif, 190 daddr, hnum, dif, &sk); 207 const unsigned short hnum, const int dif, cons 49 __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) argument 92 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) argument 150 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) argument 177 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) argument 202 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) argument 246 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) argument 271 const int dif = sk->sk_bound_dev_if; local [all...] |
H A D | udp.c | 121 int dif, int sdif) 151 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); 167 int dif, int sdif, struct udp_hslot *hslot2, 180 sport, daddr, hnum, dif, sdif); 224 int dif, int sdif, struct udp_table *udptable, 238 daddr, hnum, dif, sdif, 247 saddr, sport, daddr, hnum, dif, 265 &in6addr_any, hnum, dif, sdif, 305 const struct in6_addr *daddr, __be16 dport, int dif) 310 dif, 118 compute_score(struct sock *sk, struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned short hnum, int dif, int sdif) argument 164 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) argument 221 __udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) argument 304 udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif) argument 805 __udp_v6_is_mcast_sock(struct net *net, const struct sock *sk, __be16 loc_port, const struct in6_addr *loc_addr, __be16 rmt_port, const struct in6_addr *rmt_addr, int dif, int sdif, unsigned short hnum) argument 853 int dif = inet6_iif(skb); local 1062 __udp6_lib_demux_lookup(struct net *net, __be16 loc_port, const struct in6_addr *loc_addr, __be16 rmt_port, const struct in6_addr *rmt_addr, int dif, int sdif) argument 1095 int dif = skb->dev->ifindex; local [all...] |
/linux-master/fs/erofs/ |
H A D | data.c | 201 struct erofs_device_info *dif; local 211 dif = idr_find(&devs->tree, map->m_deviceid - 1); 212 if (!dif) { 217 map->m_pa += erofs_pos(sb, dif->mapped_blkaddr); 221 map->m_bdev = dif->bdev_file ? file_bdev(dif->bdev_file) : NULL; 222 map->m_daxdev = dif->dax_dev; 223 map->m_dax_part_off = dif->dax_part_off; 224 map->m_fscache = dif->fscache; 228 idr_for_each_entry(&devs->tree, dif, i [all...] |
H A D | super.c | 175 struct erofs_device_info *dif, erofs_off_t *pos) 186 if (!sbi->devs->flatdev && !dif->path) { 191 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); 192 if (!dif->path) 197 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); 200 dif->fscache = fscache; 202 bdev_file = bdev_file_open_by_path(dif->path, BLK_OPEN_READ, 206 dif->bdev_file = bdev_file; 207 dif->dax_dev = fs_dax_get_by_bdev(file_bdev(bdev_file), 208 &dif 174 erofs_init_device(struct erofs_buf *buf, struct super_block *sb, struct erofs_device_info *dif, erofs_off_t *pos) argument 225 struct erofs_device_info *dif; local 453 struct erofs_device_info *dif; local 725 struct erofs_device_info *dif = ptr; local [all...] |
/linux-master/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; local 147 dif = af->skb_iif(skb); 165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); 168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); 474 int dif = inet_iif(skb); local 490 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport, dif, sdif); 841 int dif, in 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) argument 981 sctp_sk_bound_dev_eq(struct net *net, int bound_dev_if, int dif, int sdif) argument 992 sctp_addrs_lookup_transport( struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) 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) 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) argument 1088 sctp_has_association(struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, int dif, int sdif) 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) 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) 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) 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) 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) argument [all...] |
H A D | endpointola.c | 250 int dif, int sdif) 256 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && 247 sctp_endpoint_is_match(struct sctp_endpoint *ep, struct net *net, const union sctp_addr *laddr, int dif, int sdif) argument
|
/linux-master/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; local 284 dif = ppb * approx_dev - val * 1000000000; 285 dif2 = dif + 16 * ppb; 287 if (dif < 0) 288 dif = -dif; 293 if (dif * (approx_dev + 16) > dif2 * approx_dev) { 296 dif = dif2; 300 if (best_dif * approx_dev > dif * best_approx_dev) { 301 best_dif = dif; [all...] |
/linux-master/include/rdma/ |
H A D | signature.h | 76 struct ib_t10_dif_domain dif; member in union:ib_sig_domain::__anon911
|
/linux-master/drivers/clk/ |
H A D | clk-renesas-pcie.c | 172 u8 dif = rs9_calc_dif(rs9, idx); local 179 rs9->clk_dif_sr |= dif; 191 rs9->clk_dif_sr &= ~dif; 193 rs9->clk_dif_sr |= dif; 264 u8 dif = rs9_calc_dif(rs9, i); local 266 if (rs9->clk_dif_sr & dif) 269 regmap_update_bits(rs9->regmap, RS9_REG_SR, dif, 270 rs9->clk_dif_sr & dif);
|
/linux-master/drivers/infiniband/ulp/iser/ |
H A D | iser_memory.c | 180 domain->sig.dif.pi_interval = scsi_prot_interval(sc); 181 domain->sig.dif.ref_tag = t10_pi_ref_tag(scsi_cmd_to_rq(sc)); 186 domain->sig.dif.apptag_check_mask = 0xffff; 187 domain->sig.dif.app_escape = true; 188 domain->sig.dif.ref_escape = true; 190 domain->sig.dif.ref_remap = true; 201 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; 207 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? 213 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; 215 sig_attrs->mem.sig.dif [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | wr.c | 335 inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag); 336 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); 339 inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ? 342 if (domain->sig.dif.ref_remap) 345 if (domain->sig.dif.app_escape) { 346 if (domain->sig.dif.ref_escape) 353 cpu_to_be16(domain->sig.dif.apptag_check_mask); 378 basic->mem.bs_selector = bs_selector(mem->sig.dif.pi_interval); 391 if (mem->sig.dif.pi_interval == wire->sig.dif [all...] |
/linux-master/net/ipv4/ |
H A D | inet_hashtables.c | 315 const int dif, const int sdif) 324 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) 382 const int dif, const int sdif) 389 score = compute_score(sk, net, hnum, daddr, dif, sdif); 408 __be32 daddr, u16 hnum, const int dif, 415 daddr, hnum, dif, &sk); 431 const int dif, const int sdif) 441 saddr, sport, daddr, hnum, dif, 452 dif, sdif); 462 dif, sdi 313 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const __be32 daddr, const int dif, const int sdif) argument 377 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) argument 404 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) argument 426 __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) argument 491 __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) argument 546 int dif = sk->sk_bound_dev_if; local 621 const int dif = sk->sk_bound_dev_if; local [all...] |
H A D | ping.c | 172 int dif, sdif; local 175 dif = inet_iif(skb); 177 pr_debug("try to find: num = %d, daddr = %pI4, dif = %d\n", 178 (int)ident, &ip_hdr(skb)->daddr, dif); 181 dif = inet6_iif(skb); 183 pr_debug("try to find: num = %d, daddr = %pI6c, dif = %d\n", 184 (int)ident, &ipv6_hdr(skb)->daddr, dif); 199 pr_debug("found: %p: num=%d, daddr=%pI4, dif=%d\n", sk, 210 pr_debug("found: %p: num=%d, daddr=%pI6c, dif=%d\n", sk, 224 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif 420 int dif = sk->sk_bound_dev_if; local [all...] |
H A D | raw.c | 120 __be32 raddr, __be32 laddr, int dif, int sdif) 127 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) 168 int dif = inet_iif(skb); local 176 iph->saddr, iph->daddr, dif, sdif)) 275 int dif = skb->dev->ifindex; local 289 iph->daddr, iph->saddr, dif, sdif)) 119 raw_v4_match(struct net *net, const struct sock *sk, unsigned short num, __be32 raddr, __be32 laddr, int dif, int sdif) argument
|
/linux-master/include/linux/ |
H A D | igmp.h | 126 int dif, int sdif);
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_txrx.c | 41 unsigned long now, then, dif; local 56 dif = now - then; 58 if (dif > q->dbell_deadline) { 72 unsigned long now, then, dif; local 81 dif = now - then; 83 if (dif > q->dbell_deadline) { 89 dif = 2 * q->dbell_deadline; 90 if (dif > IONIC_RX_MAX_DOORBELL_DEADLINE) 91 dif = IONIC_RX_MAX_DOORBELL_DEADLINE; 93 q->dbell_deadline = dif; [all...] |