/linux-master/net/ipv4/ |
H A D | tcp_ipv4.c | 682 int dif = inet_iif(skb); local 683 int l3index = sdif ? dif : 0; 806 int dif = inet_iif(skb); local 819 ntohs(th->source), dif, sdif); 825 * in an L3 domain and dif is set to it. 827 l3index = sdif ? dif : 0; 2173 int dif = inet_iif(skb); local 2231 AF_INET, dif, sdif); 2311 AF_INET, dif, sdif);
|
H A D | udp.c | 369 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, 552 __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 551 udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif) argument 565 __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 2242 int dif = skb->dev->ifindex; local 2480 __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 2515 __udp4_lib_demux_lookup(struct net *net, __be16 loc_port, __be32 loc_addr, __be16 rmt_port, __be32 rmt_addr, int dif, int sdif) argument 2550 int dif = skb->dev->ifindex; 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
|
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 620 const int dif = sk->sk_bound_dev_if; local [all...] |
H A D | igmp.c | 2645 int dif, int sdif) 2660 (pmc->multi.imr_ifindex == dif || 2644 ip_mc_sf_allow(const struct sock *sk, __be32 loc_addr, __be32 rmt_addr, int dif, int sdif) argument
|
/linux-master/net/ipv6/ |
H A D | udp.c | 120 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, 292 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 291 udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif) argument 792 __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 840 int dif = inet6_iif(skb); local 1052 __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 1085 int dif = skb->dev->ifindex; local [all...] |
H A D | raw.c | 69 const struct in6_addr *rmt_addr, int dif, int sdif) 76 dif, sdif)) 67 raw_v6_match(struct net *net, const struct sock *sk, unsigned short num, const struct in6_addr *loc_addr, const struct in6_addr *rmt_addr, int dif, int sdif) argument
|
H A D | tcp_ipv6.c | 1059 int dif = tcp_v6_iif_l3_slave(skb); local 1073 dif, sdif); 1078 * in an L3 domain and dif is set to it. 1080 l3index = tcp_v6_sdif(skb) ? dif : 0; 1752 int dif = inet6_iif(skb); local 1809 AF_INET6, dif, sdif); 1886 AF_INET6, dif, sdif);
|
H A D | inet6_hashtables.c | 54 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 D | exthdrs.c | 1209 long dif = (char *)opt2 - (char *)opt; local 1212 *((char **)&opt2->hopopt) += dif; 1214 *((char **)&opt2->dst0opt) += dif; 1216 *((char **)&opt2->dst1opt) += dif; 1218 *((char **)&opt2->srcrt) += dif;
|
/linux-master/net/core/ |
H A D | filter.c | 6626 int dif, int sdif, u8 family, u8 proto) 6640 dif, sdif, &refcounted); 6644 dif, sdif, net->ipv4.udp_table, NULL); 6654 dif, sdif, &refcounted); 6659 dif, sdif, 6625 sk_lookup(struct net *net, struct bpf_sock_tuple *tuple, int dif, int sdif, u8 family, u8 proto) argument
|
/linux-master/drivers/scsi/ |
H A D | sd.c | 398 unsigned int dif, dix; local 400 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); 404 dif = 0; 408 if (!dif && !dix) 411 return sprintf(buf, "%s%u\n", dix ? "dix" : "dif", dif); 726 * write and whether dix and dif are enabled. 728 static unsigned int sd_prot_op(bool write, bool dix, bool dif) argument 730 /* Lookup table: bit 2 (write), bit 1 (dix), bit 0 (dif) */ 731 static const unsigned int ops[] = { /* wrt dix dif */ 786 sd_setup_protect_cmnd(struct scsi_cmnd *scmd, unsigned int dix, unsigned int dif) argument 1224 unsigned int dif; local [all...] |
H A D | scsi_debug.c | 6269 module_param_named(dif, sdebug_dif, int, S_IRUGO); 6346 MODULE_PARM_DESC(dif, "data integrity field type: 0-3 (def=0)"); 7141 static DRIVER_ATTR_RO(dif); 7428 pr_err("dif must be 0, 1, 2 or 3\n");
|
/linux-master/fs/erofs/ |
H A D | super.c | 175 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 727 struct erofs_device_info *dif = ptr; local [all...] |
H A D | data.c | 203 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...] |
/linux-master/include/net/ |
H A D | sock.h | 2920 static inline bool sk_dev_equal_l3scope(struct sock *sk, int dif) argument 2925 if (!bound_dev_if || bound_dev_if == dif) 2928 mdif = l3mdev_master_ifindex_by_index(sock_net(sk), dif);
|
H A D | tcp.h | 2803 int family, int dif, int sdif) 2828 * in an L3 domain and dif is set to the l3mdev 2830 l3index = sdif ? dif : 0; 2800 tcp_inbound_hash(struct sock *sk, const struct request_sock *req, const struct sk_buff *skb, const void *saddr, const void *daddr, int family, 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
|
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 5372 u32 dif = (adapter->gotc > adapter->gorc ? local 5375 u32 itr = goc > 0 ? (dif * 6000 / goc + 2000) : 8000;
|
/linux-master/drivers/nvme/target/ |
H A D | rdma.c | 583 domain->sig.dif.bg_type = IB_T10DIF_CRC; 584 domain->sig.dif.pi_interval = 1 << bi->interval_exp; 585 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); 587 domain->sig.dif.ref_remap = true; 589 domain->sig.dif.app_tag = le16_to_cpu(cmd->rw.apptag); 590 domain->sig.dif.apptag_check_mask = le16_to_cpu(cmd->rw.appmask); 591 domain->sig.dif.app_escape = true; 593 domain->sig.dif.ref_escape = true;
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 13666 int val, period, period1, period2, dif, dif1, dif2; local 13707 dif = (dif1 < dif2) ? dif1 : dif2; 13709 if (dif < best_dif) { 13710 best_dif = dif;
|
/linux-master/net/sctp/ |
H A D | socket.c | 5333 const union sctp_addr *paddr, void *p, int dif) 5340 transport = sctp_addrs_lookup_transport(net, laddr, paddr, dif, dif); 5331 sctp_transport_lookup_process(sctp_callback_t cb, struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, void *p, int dif) argument
|
H A D | diag.c | 427 int dif = req->id.idiag_if; local 456 net, &laddr, &paddr, &commp, dif);
|
/linux-master/net/l2tp/ |
H A D | l2tp_ip.c | 46 __be32 raddr, int dif, u32 tunnel_id) 59 if (bound_dev_if && dif && bound_dev_if != dif) 45 __l2tp_ip_bind_lookup(const struct net *net, __be32 laddr, __be32 raddr, int dif, u32 tunnel_id) argument
|
/linux-master/include/net/sctp/ |
H A D | structs.h | 1380 int dif, int sdif); 1382 const union sctp_addr *paddr, int dif, int sdif);
|