Searched refs:dif (Results 1 - 25 of 55) sorted by relevance

123

/linux-master/drivers/scsi/
H A Dsd_dif.c33 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 Draw.h26 __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 Drawv6.h11 const struct in6_addr *rmt_addr, int dif, int sdif);
H A Dinet6_hashtables.h48 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 Dinet_hashtables.h313 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 Dudp.h249 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 Dinet_sock.h146 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 Dipv6_stubs.h85 int dif, int sdif, struct udp_table *tbl,
/linux-master/sound/soc/codecs/
H A Dak4118.c157 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 Dinet6_hashtables.c54 const int dif, const int sdif)
71 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))
76 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) {
94 const int dif, const int sdif)
103 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif))
154 const unsigned short hnum, const int dif, const int sdif)
161 score = compute_score(sk, net, hnum, daddr, dif, sdif);
182 const u16 hnum, const int dif,
189 daddr, hnum, dif, &sk);
206 const unsigned short hnum, const int dif, cons
48 __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
91 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) argument
149 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
176 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
201 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
245 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
270 const int dif = sk->sk_bound_dev_if; local
[all...]
H A Dudp.c120 int dif, int sdif)
150 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif);
166 int dif, int sdif, struct udp_hslot *hslot2,
176 daddr, hnum, dif, sdif);
201 daddr, hnum, dif, sdif);
211 int dif, int sdif, struct udp_table *udptable,
225 daddr, hnum, dif, sdif,
234 saddr, sport, daddr, hnum, dif,
252 &in6addr_any, hnum, dif, sdif,
291 const struct in6_addr *daddr, __be16 dport, int dif)
117 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
163 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
208 __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
290 udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif) argument
791 __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
839 int dif = inet6_iif(skb); local
1051 __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
1084 int dif = skb->dev->ifindex; local
[all...]
/linux-master/fs/erofs/
H A Ddata.c203 struct erofs_device_info *dif; local
213 dif = idr_find(&devs->tree, map->m_deviceid - 1);
214 if (!dif) {
219 map->m_pa += erofs_pos(sb, dif->mapped_blkaddr);
223 map->m_bdev = dif->bdev_file ? file_bdev(dif->bdev_file) : NULL;
224 map->m_daxdev = dif->dax_dev;
225 map->m_dax_part_off = dif->dax_part_off;
226 map->m_fscache = dif->fscache;
230 idr_for_each_entry(&devs->tree, dif, i
[all...]
H A Dsuper.c175 struct erofs_device_info *dif, erofs_off_t *pos)
188 if (!sbi->devs->flatdev && !dif->path) {
193 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL);
194 if (!dif->path)
199 fscache = erofs_fscache_register_cookie(sb, dif->path, 0);
202 dif->fscache = fscache;
204 bdev_file = bdev_file_open_by_path(dif->path, BLK_OPEN_READ,
208 dif->bdev_file = bdev_file;
209 dif->dax_dev = fs_dax_get_by_bdev(file_bdev(bdev_file),
210 &dif
174 erofs_init_device(struct erofs_buf *buf, struct super_block *sb, struct erofs_device_info *dif, erofs_off_t *pos) argument
227 struct erofs_device_info *dif; local
455 struct erofs_device_info *dif; local
741 struct erofs_device_info *dif = ptr; local
[all...]
/linux-master/net/sctp/
H A Dinput.c54 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 Dendpointola.c250 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 Dqed_ptp.c256 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 Dsignature.h76 struct ib_t10_dif_domain dif; member in union:ib_sig_domain::__anon911
/linux-master/drivers/clk/
H A Dclk-renesas-pcie.c170 u8 dif = rs9_calc_dif(rs9, idx); local
177 rs9->clk_dif_sr |= dif;
189 rs9->clk_dif_sr &= ~dif;
191 rs9->clk_dif_sr |= dif;
262 u8 dif = rs9_calc_dif(rs9, i); local
264 if (rs9->clk_dif_sr & dif)
267 regmap_update_bits(rs9->regmap, RS9_REG_SR, dif,
268 rs9->clk_dif_sr & dif);
/linux-master/drivers/infiniband/ulp/iser/
H A Diser_memory.c180 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 Dwr.c335 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 Dinet_hashtables.c315 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
620 const int dif = sk->sk_bound_dev_if; local
[all...]
H A Dping.c172 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 Draw.c120 __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
H A Dudp.c369 int dif, int sdif)
399 dif, sdif);
424 int dif, int sdif,
435 daddr, hnum, dif, sdif);
460 daddr, hnum, dif, sdif);
471 __be16 sport, __be32 daddr, __be16 dport, int dif,
485 daddr, hnum, dif, sdif,
494 saddr, sport, daddr, hnum, dif,
512 htonl(INADDR_ANY), hnum, dif, sdif,
551 __be32 daddr, __be16 dport, int dif)
366 compute_score(struct sock *sk, struct net *net, __be32 saddr, __be16 sport, __be32 daddr, unsigned short hnum, int dif, int sdif) argument
421 udp4_lib_lookup2(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) argument
470 __udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) argument
550 udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif) argument
564 __udp_is_mcast_sock(struct net *net, const struct sock *sk, __be16 loc_port, __be32 loc_addr, __be16 rmt_port, __be32 rmt_addr, int dif, int sdif, unsigned short hnum) argument
2240 int dif = skb->dev->ifindex; local
2478 __udp4_lib_mcast_demux_lookup(struct net *net, __be16 loc_port, __be32 loc_addr, __be16 rmt_port, __be32 rmt_addr, int dif, int sdif) argument
2513 __udp4_lib_demux_lookup(struct net *net, __be16 loc_port, __be32 loc_addr, __be16 rmt_port, __be32 rmt_addr, int dif, int sdif) argument
2548 int dif = skb->dev->ifindex; local
[all...]
/linux-master/include/linux/
H A Digmp.h126 int dif, int sdif);

Completed in 330 milliseconds

123