/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | isph3a_af.c | 29 static void h3a_af_setup_regs(struct ispstat *af, void *priv) in h3a_af_setup_regs() argument 41 if (af->state == ISPSTAT_DISABLED) in h3a_af_setup_regs() 44 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 47 if (!af->update) in h3a_af_setup_regs() 54 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs() 63 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs() 70 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 74 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs() 85 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 94 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | x_tables.c | 73 u_int8_t af = target->family; in xt_register_target() local 75 mutex_lock(&xt[af].mutex); in xt_register_target() 76 list_add(&target->list, &xt[af].target); in xt_register_target() 77 mutex_unlock(&xt[af].mutex); in xt_register_target() 85 u_int8_t af = target->family; in xt_unregister_target() local 87 mutex_lock(&xt[af].mutex); in xt_unregister_target() 89 mutex_unlock(&xt[af].mutex); in xt_unregister_target() 123 u_int8_t af = match->family; in xt_register_match() local 125 mutex_lock(&xt[af].mutex); in xt_register_match() 126 list_add(&match->list, &xt[af].match); in xt_register_match() [all …]
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_proto_ah_esp.c | 44 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto() argument 49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 53 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 59 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument 65 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_in_get() 76 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get() 77 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get() 85 ah_esp_conn_out_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_out_get() argument 91 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_out_get() 98 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_out_get() [all …]
|
D | ip_vs_proto_udp.c | 32 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule() argument 58 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 61 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 98 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument 104 if (af == AF_INET6) in udp_fast_csum_update() 120 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument 126 if (af == AF_INET6) in udp_partial_csum_update() 150 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler() 163 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in udp_snat_handler() 185 udp_partial_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr, in udp_snat_handler() [all …]
|
D | ip_vs_conn.c | 111 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument 116 if (af == AF_INET6) in ip_vs_conn_hashkey() 144 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param() 151 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn() 277 cp->af == p->af && in __ip_vs_conn_in_get() 278 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) && in __ip_vs_conn_in_get() 279 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) && in __ip_vs_conn_in_get() 309 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get() 310 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_conn_in_get() 318 int af, const struct sk_buff *skb, in ip_vs_conn_fill_param_proto() argument [all …]
|
D | ip_vs_lblc.c | 94 int af; /* address family */ member 153 ip_vs_lblc_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblc_hashkey() argument 158 if (af == AF_INET6) in ip_vs_lblc_hashkey() 173 unsigned int hash = ip_vs_lblc_hashkey(en->af, &en->addr); in ip_vs_lblc_hash() 182 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, in ip_vs_lblc_get() argument 185 unsigned int hash = ip_vs_lblc_hashkey(af, addr); in ip_vs_lblc_get() 189 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblc_get() 202 u16 af, struct ip_vs_dest *dest) in ip_vs_lblc_new() argument 206 en = ip_vs_lblc_get(af, tbl, daddr); in ip_vs_lblc_new() 216 en->af = af; in ip_vs_lblc_new() [all …]
|
D | ip_vs_proto_tcp.c | 35 tcp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in tcp_conn_schedule() argument 69 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() 72 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() 109 tcp_fast_csum_update(int af, struct tcphdr *tcph, in tcp_fast_csum_update() argument 115 if (af == AF_INET6) in tcp_fast_csum_update() 130 tcp_partial_csum_update(int af, struct tcphdr *tcph, in tcp_partial_csum_update() argument 136 if (af == AF_INET6) in tcp_partial_csum_update() 160 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler() 173 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in tcp_snat_handler() 191 tcp_partial_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr, in tcp_snat_handler() [all …]
|
D | ip_vs_core.c | 218 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist() 261 if (svc->af == AF_INET6) in ip_vs_sched_persist() 270 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist() 271 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist() 272 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 353 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 379 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist() 382 cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() 462 IP_VS_DBG_PKT(12, svc->af, pp, skb, iph->off, in ip_vs_schedule() 472 cp = pp->conn_in_get(svc->ipvs, svc->af, skb, iph); in ip_vs_schedule() [all …]
|
D | ip_vs_sh.c | 89 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_sh_hashkey() argument 95 if (af == AF_INET6) in ip_vs_sh_hashkey() 111 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get() 133 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get_fallback() 141 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 148 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset); in ip_vs_sh_get_fallback() 156 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_get_fallback() 195 i, IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_reassign() 341 IP_VS_DBG_ADDR(svc->af, hash_addr), in ip_vs_sh_schedule() 342 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_schedule()
|
D | ip_vs_lblcr.c | 204 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_dest_set_min() 250 IP_VS_DBG_ADDR(most->af, &most->addr), ntohs(most->port), in ip_vs_dest_set_max() 264 int af; /* address family */ member 316 ip_vs_lblcr_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblcr_hashkey() argument 321 if (af == AF_INET6) in ip_vs_lblcr_hashkey() 336 unsigned int hash = ip_vs_lblcr_hashkey(en->af, &en->addr); in ip_vs_lblcr_hash() 345 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, in ip_vs_lblcr_get() argument 348 unsigned int hash = ip_vs_lblcr_hashkey(af, addr); in ip_vs_lblcr_get() 352 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblcr_get() 365 u16 af, struct ip_vs_dest *dest) in ip_vs_lblcr_new() argument [all …]
|
D | ip_vs_dh.c | 75 static inline unsigned int ip_vs_dh_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_dh_hashkey() argument 80 if (af == AF_INET6) in ip_vs_dh_hashkey() 92 ip_vs_dh_get(int af, struct ip_vs_dh_state *s, const union nf_inet_addr *addr) in ip_vs_dh_get() argument 94 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get() 226 dest = ip_vs_dh_get(svc->af, s, &iph->daddr); in ip_vs_dh_schedule() 236 IP_VS_DBG_ADDR(svc->af, &iph->daddr), in ip_vs_dh_schedule() 237 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule()
|
D | ip_vs_ctl.c | 266 ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_svc_hashkey() argument 274 if (af == AF_INET6) in ip_vs_svc_hashkey() 312 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, in ip_vs_svc_hash() 360 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() argument 367 hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); in __ip_vs_service_find() 370 if ((svc->af == af) in __ip_vs_service_find() 371 && ip_vs_addr_equal(af, &svc->addr, vaddr) in __ip_vs_service_find() 388 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument 397 if (svc->fwmark == fwmark && svc->af == af in __ip_vs_svc_fwm_find() 409 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() argument [all …]
|
D | ip_vs_pe_sip.c | 73 retc = ip_vs_fill_iph_skb(p->af, skb, false, &iph); in ip_vs_sip_fill_param() 112 if (ct->af == p->af && in ip_vs_sip_ct_match() 113 ip_vs_addr_equal(p->af, p->caddr, &ct->caddr) && in ip_vs_sip_ct_match() 116 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match() 128 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_sip_ct_match()
|
D | ip_vs_proto_sctp.c | 12 sctp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in sctp_conn_schedule() argument 44 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() 47 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() 96 if (cp->af == AF_INET6 && iph->fragoffs) in sctp_snat_handler() 108 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in sctp_snat_handler() 143 if (cp->af == AF_INET6 && iph->fragoffs) in sctp_dnat_handler() 155 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in sctp_dnat_handler() 183 sctp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) in sctp_csum_check() argument 190 if (af == AF_INET6) in sctp_csum_check() 205 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in sctp_csum_check() [all …]
|
D | ip_vs_xmit.c | 571 !ip_vs_addr_equal(cp->af, &cp->vaddr, &cp->daddr)) in ip_vs_nat_send_or_cont() 634 if (__ip_vs_get_out_rt(cp->ipvs, cp->af, skb, NULL, iph->daddr, in ip_vs_bypass_xmit() 666 if (__ip_vs_get_out_rt_v6(cp->ipvs, cp->af, skb, NULL, in ip_vs_bypass_xmit_v6() 714 local = __ip_vs_get_out_rt(cp->ipvs, cp->af, skb, cp->dest, cp->daddr.ip, in ip_vs_nat_xmit() 803 local = __ip_vs_get_out_rt_v6(cp->ipvs, cp->af, skb, cp->dest, in ip_vs_nat_xmit_v6() 994 local = __ip_vs_get_out_rt(ipvs, cp->af, skb, cp->dest, cp->daddr.ip, in ip_vs_tunnel_xmit() 1016 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit() 1023 skb, false, __tun_gso_type_mask(AF_INET, cp->af)); in ip_vs_tunnel_xmit() 1088 local = __ip_vs_get_out_rt_v6(cp->ipvs, cp->af, skb, cp->dest, in ip_vs_tunnel_xmit_v6() 1109 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit_v6() [all …]
|
D | ip_vs_sync.c | 546 if (unlikely(cp->af != AF_INET)) in ip_vs_sync_conn_v0() 668 if (cp->af == AF_INET6) in ip_vs_sync_conn() 718 s->v4.type = (cp->af == AF_INET6 ? STYPE_F_INET6 : 0); in ip_vs_sync_conn() 731 if (cp->af == AF_INET6) { in ip_vs_sync_conn() 785 ip_vs_conn_fill_param_sync(struct netns_ipvs *ipvs, int af, union ip_vs_sync_conn *sc, in ip_vs_conn_fill_param_sync() argument 791 if (af == AF_INET6) in ip_vs_conn_fill_param_sync() 792 ip_vs_conn_fill_param(ipvs, af, sc->v6.protocol, in ip_vs_conn_fill_param_sync() 799 ip_vs_conn_fill_param(ipvs, af, sc->v4.protocol, in ip_vs_conn_fill_param_sync() 1074 unsigned int af, state, pe_data_len=0, pe_name_len=0; in ip_vs_proc_sync_conn() local 1083 af = AF_INET6; in ip_vs_proc_sync_conn() [all …]
|
D | ip_vs_fo.c | 47 IP_VS_DBG_ADDR(hweight->af, &hweight->addr), in ip_vs_fo_schedule()
|
D | ip_vs_ovf.c | 54 IP_VS_DBG_ADDR(h->af, &h->addr), in ip_vs_ovf_schedule()
|
D | ip_vs_lc.c | 62 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_lc_schedule()
|
D | ip_vs_sed.c | 111 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_sed_schedule()
|
D | ip_vs_wlc.c | 83 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_wlc_schedule()
|
D | ip_vs_nq.c | 110 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_nq_schedule()
|
D | ip_vs_rr.c | 98 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port), in ip_vs_rr_schedule()
|
D | ip_vs_proto.c | 294 ip_vs_tcpudp_debug_packet(int af, struct ip_vs_protocol *pp, in ip_vs_tcpudp_debug_packet() argument 300 if (af == AF_INET6) in ip_vs_tcpudp_debug_packet()
|
D | ip_vs_ftp.c | 191 if (cp->af == AF_INET6) in ip_vs_ftp_out() 329 if (cp->af == AF_INET6) in ip_vs_ftp_in()
|
D | ip_vs_sched.c | 157 } else if (svc->af == AF_INET6) { in ip_vs_scheduler_err()
|
D | ip_vs_wrr.c | 219 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port), in ip_vs_wrr_schedule()
|
D | ip_vs_nfct.c | 269 tuple.src.l3num = cp->af; in ip_vs_conn_drop_conntrack()
|
/linux-4.4.14/net/sctp/ |
D | bind_addr.c | 230 struct sctp_af *af; in sctp_bind_addrs_to_raw() local 255 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw() 256 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw() 279 struct sctp_af *af; in sctp_raw_to_bind_addrs() local 286 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs() 287 if (unlikely(!af)) { in sctp_raw_to_bind_addrs() 293 af->from_addr_param(&addr, rawaddr, htons(port), 0); in sctp_raw_to_bind_addrs() 377 struct sctp_af *af; in sctp_bind_addr_state() local 380 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_bind_addr_state() 381 if (unlikely(!af)) in sctp_bind_addr_state() [all …]
|
D | input.c | 119 struct sctp_af *af; in sctp_rcv() local 151 af = sctp_get_af_specific(family); in sctp_rcv() 152 if (unlikely(!af)) in sctp_rcv() 156 af->from_skb(&src, skb, 1); in sctp_rcv() 157 af->from_skb(&dest, skb, 0); in sctp_rcv() 170 if (!af->addr_valid(&src, NULL, skb) || in sctp_rcv() 171 !af->addr_valid(&dest, NULL, skb)) in sctp_rcv() 187 if (sk->sk_bound_dev_if && (sk->sk_bound_dev_if != af->skb_iif(skb))) { in sctp_rcv() 477 struct sctp_af *af; in sctp_err_lookup() local 487 af = sctp_get_af_specific(family); in sctp_err_lookup() [all …]
|
D | sm_make_chunk.c | 109 struct sctp_af *af; in sctp_chunk_iif() local 112 af = sctp_get_af_specific(ipver2af(ip_hdr(chunk->skb)->version)); in sctp_chunk_iif() 113 if (af) in sctp_chunk_iif() 114 iif = af->skb_iif(chunk->skb); in sctp_chunk_iif() 1576 struct sctp_af *af; in sctp_make_temp_asoc() local 1586 af = sctp_get_af_specific(ipver2af(ip_hdr(skb)->version)); in sctp_make_temp_asoc() 1587 if (unlikely(!af)) in sctp_make_temp_asoc() 1589 af->from_skb(&asoc->c.peer_addr, skb, 1); in sctp_make_temp_asoc() 2298 struct sctp_af *af; in sctp_process_init() local 2323 af = sctp_get_af_specific(param_type2af(param.p->type)); in sctp_process_init() [all …]
|
D | proc.c | 127 struct sctp_af *af; in sctp_seq_dump_local_addrs() local 147 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_seq_dump_local_addrs() 148 if (primary && af->cmp_addr(addr, primary)) { in sctp_seq_dump_local_addrs() 151 af->seq_dump_addr(seq, addr); in sctp_seq_dump_local_addrs() 161 struct sctp_af *af; in sctp_seq_dump_remote_addrs() local 171 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_seq_dump_remote_addrs() 172 if (af->cmp_addr(addr, primary)) { in sctp_seq_dump_remote_addrs() 175 af->seq_dump_addr(seq, addr); in sctp_seq_dump_remote_addrs()
|
D | socket.c | 175 struct sctp_af *af; in sctp_verify_addr() local 178 af = sctp_sockaddr_af(sctp_sk(sk), addr, len); in sctp_verify_addr() 179 if (!af) in sctp_verify_addr() 183 if (!af->addr_valid(addr, sctp_sk(sk), NULL)) in sctp_verify_addr() 295 struct sctp_af *af; in sctp_sockaddr_af() local 313 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_sockaddr_af() 315 if (len < af->sockaddr_len) in sctp_sockaddr_af() 318 return af; in sctp_sockaddr_af() 328 struct sctp_af *af; in sctp_do_bind() local 333 af = sctp_sockaddr_af(sp, addr, len); in sctp_do_bind() [all …]
|
D | ipv6.c | 849 struct sctp_af *af; in sctp_inet6_bind_verify() local 853 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_inet6_bind_verify() 873 af = opt->pf->af; in sctp_inet6_bind_verify() 875 return af->available(addr, opt); in sctp_inet6_bind_verify() 883 struct sctp_af *af = NULL; in sctp_inet6_send_verify() local 887 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_inet6_send_verify() 902 af = opt->pf->af; in sctp_inet6_send_verify() 905 return af != NULL; in sctp_inet6_send_verify() 1034 .af = &sctp_af_inet6,
|
D | protocol.c | 172 struct sctp_af *af; in sctp_get_local_addr_list() local 177 af = list_entry(pos, struct sctp_af, list); in sctp_get_local_addr_list() 178 af->copy_addrlist(&net->sctp.local_addr_list, dev); in sctp_get_local_addr_list() 844 int sctp_register_af(struct sctp_af *af) in sctp_register_af() argument 846 switch (af->sa_family) { in sctp_register_af() 850 sctp_af_v4_specific = af; in sctp_register_af() 855 sctp_af_v6_specific = af; in sctp_register_af() 861 INIT_LIST_HEAD(&af->list); in sctp_register_af() 862 list_add_tail(&af->list, &sctp_address_families); in sctp_register_af() 1004 .af = &sctp_af_inet
|
D | transport.c | 272 struct sctp_af *af = transport->af_specific; in sctp_transport_route() local 274 af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); in sctp_transport_route() 279 af->get_saddr(opt, transport, &transport->fl); in sctp_transport_route()
|
D | associola.c | 886 struct sctp_af *af; in sctp_cmp_addr_exact() local 888 af = sctp_get_af_specific(ss1->sa.sa_family); in sctp_cmp_addr_exact() 889 if (unlikely(!af)) in sctp_cmp_addr_exact() 892 return af->cmp_addr(ss1, ss2); in sctp_cmp_addr_exact()
|
D | chunk.c | 199 sctp_sk(asoc->base.sk)->pf->af->net_header_len - in sctp_datamsg_from_user()
|
D | output.c | 122 overhead = sp->pf->af->net_header_len; in sctp_packet_init()
|
D | sm_statefuns.c | 1210 struct sctp_af *af = sctp_get_af_specific(ssa->v4.sin_family); in sctp_sf_send_restart_abort() local 1219 len = af->to_addr_param(ssa, addrparm); in sctp_sf_send_restart_abort() 6131 struct sctp_af *af; in sctp_eat_data() local 6134 af = sctp_get_af_specific( in sctp_eat_data() 6137 if (af && af->is_ce(chunk->skb) && asoc->peer.ecn_capable) { in sctp_eat_data()
|
/linux-4.4.14/include/net/ |
D | ip_vs.h | 80 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument 87 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off() 124 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument 132 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp() 136 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument 144 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb() 160 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument 164 if (af == AF_INET6) in ip_vs_addr_copy() 171 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument 175 if (af == AF_INET6) { in ip_vs_addr_set() [all …]
|
/linux-4.4.14/include/linux/netfilter/ |
D | x_tables.h | 200 u_int8_t af; /* address/protocol family */ member 265 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision); 266 struct xt_target *xt_find_target(u8 af, const char *name, u8 revision); 267 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision); 268 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision); 269 int xt_find_revision(u8 af, const char *name, u8 revision, int target, 272 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, 276 int xt_proto_init(struct net *net, u_int8_t af); 277 void xt_proto_fini(struct net *net, u_int8_t af); 479 void xt_compat_lock(u_int8_t af); [all …]
|
/linux-4.4.14/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 364 struct alternate_functions af = pct->soc->alternate_functions[gpio]; in abx500_set_mode() local 377 if (((alt_setting == ABX500_ALT_A) && (af.gpiosel_bit == UNUSED)) || in abx500_set_mode() 378 ((alt_setting == ABX500_ALT_B) && (af.alt_bit1 == UNUSED)) || in abx500_set_mode() 379 ((alt_setting == ABX500_ALT_C) && (af.alt_bit2 == UNUSED))) { in abx500_set_mode() 397 if (af.alt_bit1 != UNUSED) in abx500_set_mode() 412 if (af.alt_bit1 != UNUSED) { in abx500_set_mode() 420 af.alt_bit1, in abx500_set_mode() 421 !!(af.alta_val & BIT(0))); in abx500_set_mode() 425 if (af.alt_bit2 != UNUSED) in abx500_set_mode() 428 af.alt_bit2, in abx500_set_mode() [all …]
|
/linux-4.4.14/arch/arm/mach-mmp/include/mach/ |
D | mfp.h | 28 #define MFP_CFG(pin, af) \ argument 29 (MFP_LPM_FLOAT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_MEDIUM) 31 #define MFP_CFG_DRV(pin, af, drv) \ argument 32 (MFP_LPM_FLOAT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_##drv)
|
D | mfp-pxa168.h | 14 #define MFP_CFG(pin, af) \ argument 15 (MFP_LPM_INPUT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_MEDIUM) 17 #define MFP_CFG_DRV(pin, af, drv) \ argument 18 (MFP_LPM_INPUT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_##drv)
|
/linux-4.4.14/net/rxrpc/ |
D | Makefile | 5 af-rxrpc-y := \ 23 af-rxrpc-$(CONFIG_PROC_FS) += ar-proc.o 24 af-rxrpc-$(CONFIG_SYSCTL) += sysctl.o 26 obj-$(CONFIG_AF_RXRPC) += af-rxrpc.o
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
D | mioa701.h | 4 #define MIO_CFG_IN(pin, af) \ argument 6 (MFP_PIN(pin) | MFP_##af | MFP_DIR_IN)) 8 #define MIO_CFG_OUT(pin, af, state) \ argument 10 (MFP_PIN(pin) | MFP_##af | MFP_DIR_OUT | MFP_LPM_##state))
|
D | mfp-pxa2xx.h | 44 #define MFP_CFG_IN(pin, af) \ argument 46 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DIR_IN)) 51 #define MFP_CFG_OUT(pin, af, state) \ argument 53 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DIR_OUT | MFP_LPM_##state))
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm8737.c | 335 u16 af = 0; in wm8737_hw_params() local 362 af |= 0x8; in wm8737_hw_params() 365 af |= 0x10; in wm8737_hw_params() 368 af |= 0x18; in wm8737_hw_params() 374 snd_soc_update_bits(codec, WM8737_AUDIO_FORMAT, WM8737_WL_MASK, af); in wm8737_hw_params() 407 u16 af = 0; in wm8737_set_dai_fmt() local 411 af |= WM8737_MS; in wm8737_set_dai_fmt() 421 af |= 0x2; in wm8737_set_dai_fmt() 426 af |= 0x1; in wm8737_set_dai_fmt() 429 af |= 0x3; in wm8737_set_dai_fmt() [all …]
|
/linux-4.4.14/arch/arm/plat-pxa/include/plat/ |
D | mfp.h | 410 #define MFP_CFG(pin, af) \ argument 412 (MFP_PIN(MFP_PIN_##pin) | MFP_##af)) 414 #define MFP_CFG_DRV(pin, af, drv) \ argument 416 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv)) 418 #define MFP_CFG_LPM(pin, af, lpm) \ argument 420 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 422 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 424 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|
/linux-4.4.14/tools/perf/util/ |
D | probe-finder.c | 1281 struct available_var_finder *af = data; in collect_variables_cb() local 1285 vl = &af->vls[af->nvls - 1]; in collect_variables_cb() 1290 ret = convert_variable_location(die_mem, af->pf.addr, in collect_variables_cb() 1291 af->pf.fb_ops, &af->pf.sp_die, in collect_variables_cb() 1295 bool externs = !af->child; in collect_variables_cb() 1315 ret2 = die_get_var_range(&af->pf.sp_die, in collect_variables_cb() 1328 if (af->child && dwarf_haspc(die_mem, af->pf.addr)) in collect_variables_cb() 1337 struct available_var_finder *af = in add_available_vars() local 1345 if (af->nvls == af->max_vls) { in add_available_vars() 1346 pr_warning("Too many( > %d) probe point found.\n", af->max_vls); in add_available_vars() [all …]
|
/linux-4.4.14/drivers/media/radio/wl128x/ |
D | fmdrv_tx.c | 179 int fm_tx_set_af(struct fmdev *fmdev, u32 af) in fm_tx_set_af() argument 187 fmdbg("AF: %d\n", af); in fm_tx_set_af() 189 af = (af - 87500) / 100; in fm_tx_set_af() 190 payload = (u16)af; in fm_tx_set_af()
|
D | fmdrv_common.c | 636 static void fm_rx_update_af_cache(struct fmdev *fmdev, u8 af) in fm_rx_update_af_cache() argument 644 if ((af >= FM_RDS_1_AF_FOLLOWS) && (af <= FM_RDS_25_AF_FOLLOWS)) { in fm_rx_update_af_cache() 645 fmdev->rx.stat_info.af_list_max = (af - FM_RDS_1_AF_FOLLOWS + 1); in fm_rx_update_af_cache() 651 if (af < FM_RDS_MIN_AF) in fm_rx_update_af_cache() 653 if (reg_idx == FM_BAND_EUROPE_US && af > FM_RDS_MAX_AF) in fm_rx_update_af_cache() 655 if (reg_idx == FM_BAND_JAPAN && af > FM_RDS_MAX_AF_JAPAN) in fm_rx_update_af_cache() 658 freq = fmdev->rx.region.bot_freq + (af * 100); in fm_rx_update_af_cache() 776 fm_rx_update_af_cache(fmdev, rds_fmt.data.group0A.af[0]); in fm_irq_handle_rdsdata_getcmd_resp() 777 fm_rx_update_af_cache(fmdev, rds_fmt.data.group0A.af[1]); in fm_irq_handle_rdsdata_getcmd_resp()
|
D | fmdrv.h | 90 u8 af[2]; member
|
/linux-4.4.14/arch/arm/plat-pxa/ |
D | mfp.c | 174 int pin, af, drv, lpm, edge, pull; in mfp_config() local 180 af = MFP_AF(c); in mfp_config() 190 tmp = MFPR_AF_SEL(af) | MFPR_DRIVE(drv); in mfp_config()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | iomux-v1.c | 77 unsigned int port, unsigned int pin, int af) in imx_iomuxv1_set_gpr() argument 81 imx_iomuxv1_rmwl(MXC_GPR(port), mask, af ? mask : 0); in imx_iomuxv1_set_gpr()
|
/linux-4.4.14/kernel/ |
D | audit.c | 150 static struct audit_features af = {.vers = AUDIT_FEATURE_VERSION, variable 724 return af.features & AUDIT_FEATURE_TO_MASK(i); in is_audit_feature_set() 734 audit_send_reply(skb, seq, AUDIT_GET_FEATURE, 0, 0, &af, sizeof(af)); in audit_get_feature() 773 old_feature = af.features & feature; in audit_set_feature() 775 new_lock = (uaf->lock | af.lock) & feature; in audit_set_feature() 776 old_lock = af.lock & feature; in audit_set_feature() 794 old_feature = af.features & feature; in audit_set_feature() 796 old_lock = af.lock & feature; in audit_set_feature() 797 new_lock = (uaf->lock | af.lock) & feature; in audit_set_feature() 804 af.features |= feature; in audit_set_feature() [all …]
|
/linux-4.4.14/drivers/media/i2c/m5mols/ |
D | m5mols.h | 160 u8 af; member 246 #define is_available_af(__info) (__info->ver.af)
|
D | m5mols_controls.c | 213 if (!info->ver.af || !af_lock) in m5mols_3a_lock()
|
D | m5mols_core.c | 447 ret = m5mols_read_u8(sd, AF_VERSION, &ver->af); in m5mols_get_version()
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 51 .long R(5f, a2, a2, fd), R(45, af, af, ea) 99 .long R(af, da, da, 75), R(42, 21, 21, 63) 132 .long R(ca, 65, 65, af), R(f4, 7a, 7a, 8e) 233 .long R(57, f1, 19, 85), R(af, 75, 07, 4c) 256 .long R(2e, 39, f7, 5e), R(82, c3, af, f5) 267 .long R(31, a4, b2, af), R(2a, 3f, 23, 31) 289 .long R(ca, af, f3, 81), R(b9, 68, c4, 3e)
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | ip6table_raw.c | 16 .af = NFPROTO_IPV6,
|
D | ip6table_security.c | 34 .af = NFPROTO_IPV6,
|
D | ip6table_filter.c | 29 .af = NFPROTO_IPV6,
|
D | ip6table_nat.c | 30 .af = NFPROTO_IPV6,
|
D | ip6table_mangle.c | 30 .af = NFPROTO_IPV6,
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | arptable_filter.c | 24 .af = NFPROTO_ARP,
|
D | iptable_security.c | 35 .af = NFPROTO_IPV4,
|
D | iptable_raw.c | 17 .af = NFPROTO_IPV4,
|
D | iptable_filter.c | 31 .af = NFPROTO_IPV4,
|
D | iptable_nat.c | 28 .af = NFPROTO_IPV4,
|
D | iptable_mangle.c | 35 .af = NFPROTO_IPV4,
|
/linux-4.4.14/Documentation/devicetree/bindings/media/ |
D | samsung-s5c73m3.txt | 22 - vdd-af-supply : lens power supply (2.8V); 75 vdd-af-supply = <&cam_af_reg>;
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-pxa.c | 195 int ret, af = 0, dir = 0; in __gpio_is_occupied() local 206 af = (gafr >> ((gpio & 0xf) * 2)) & 0x3; in __gpio_is_occupied() 210 ret = (af != 1) || (dir == 0); in __gpio_is_occupied() 212 ret = (af != 0) || (dir != 0); in __gpio_is_occupied()
|
D | gpio-intel-mid.c | 110 int shift = (offset % 16) << 1, af = (value >> shift) & 3; in intel_gpio_request() local 112 if (af) { in intel_gpio_request()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 806 struct dcbx_features *af = &admin_mib.features; in bnx2x_dcbx_admin_mib_updated_params() local 827 af->ets.enabled = (u8)dp->admin_ets_enable; in bnx2x_dcbx_admin_mib_updated_params() 829 af->pfc.enabled = (u8)dp->admin_pfc_enable; in bnx2x_dcbx_admin_mib_updated_params() 869 DCBX_PG_BW_SET(af->ets.pg_bw_tbl, i, in bnx2x_dcbx_admin_mib_updated_params() 873 i, DCBX_PG_BW_GET(af->ets.pg_bw_tbl, i)); in bnx2x_dcbx_admin_mib_updated_params() 877 DCBX_PRI_PG_SET(af->ets.pri_pg_tbl, i, in bnx2x_dcbx_admin_mib_updated_params() 881 i, DCBX_PRI_PG_GET(af->ets.pri_pg_tbl, i)); in bnx2x_dcbx_admin_mib_updated_params() 886 af->pfc.pri_en_bitmap = (u8)dp->admin_pfc_bitmap; in bnx2x_dcbx_admin_mib_updated_params() 900 af->app.app_pri_tbl[traf_type].app_id = in bnx2x_dcbx_admin_mib_updated_params() 903 af->app.app_pri_tbl[traf_type].pri_bitmap = in bnx2x_dcbx_admin_mib_updated_params() [all …]
|
/linux-4.4.14/net/core/ |
D | rtnetlink.c | 1310 struct nlattr *af; in rtnl_fill_ifinfo() local 1313 if (!(af = nla_nest_start(skb, af_ops->family))) in rtnl_fill_ifinfo() 1325 nla_nest_cancel(skb, af); in rtnl_fill_ifinfo() 1329 nla_nest_end(skb, af); in rtnl_fill_ifinfo() 1516 struct nlattr *af; in validate_linkmsg() local 1519 nla_for_each_nested(af, tb[IFLA_AF_SPEC], rem) { in validate_linkmsg() 1522 if (!(af_ops = rtnl_af_lookup(nla_type(af)))) in validate_linkmsg() 1529 err = af_ops->validate_link_af(dev, af); in validate_linkmsg() 1908 struct nlattr *af; in do_setlink() local 1911 nla_for_each_nested(af, tb[IFLA_AF_SPEC], rem) { in do_setlink() [all …]
|
/linux-4.4.14/include/linux/sunrpc/ |
D | svc_xprt.h | 127 struct net *net, const sa_family_t af,
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-is.h | 285 struct is_af_info af; member
|
D | fimc-isp.c | 483 is->af.ae_lock_state = ae_lock; in __ctrl_set_aewb_lock() 494 is->af.awb_lock_state = awb_lock; in __ctrl_set_aewb_lock()
|
/linux-4.4.14/drivers/of/ |
D | address.c | 144 unsigned int af, rf; in of_bus_pci_map() local 146 af = of_bus_pci_get_flags(addr); in of_bus_pci_map() 150 if ((af ^ rf) & (IORESOURCE_MEM | IORESOURCE_IO)) in of_bus_pci_map()
|
/linux-4.4.14/net/bridge/ |
D | br_netlink.c | 386 struct nlattr *af; in br_fill_ifinfo() local 400 af = nla_nest_start(skb, IFLA_AF_SPEC); in br_fill_ifinfo() 401 if (!af) { in br_fill_ifinfo() 412 nla_nest_end(skb, af); in br_fill_ifinfo()
|
/linux-4.4.14/drivers/mfd/ |
D | stmpe.c | 253 int af, afperreg, ret; in stmpe_set_altfunc() local 269 af = variant->get_altfunc(stmpe, block); in stmpe_set_altfunc() 277 regs[regoffset] |= af << pos; in stmpe_set_altfunc()
|
/linux-4.4.14/net/sunrpc/ |
D | svc_xprt.c | 1209 struct net *net, const sa_family_t af, in svc_find_xprt() argument 1225 if (af != AF_UNSPEC && af != xprt->xpt_local.ss_family) in svc_find_xprt()
|
/linux-4.4.14/include/net/sctp/ |
D | sctp.h | 414 frag -= sp->pf->af->net_header_len; in sctp_frag_point()
|
D | structs.h | 515 struct sctp_af *af; member
|
/linux-4.4.14/net/key/ |
D | af_key.c | 2421 int af, socklen; in parse_sockaddr_pair() local 2426 af = pfkey_sockaddr_extract(sa, saddr); in parse_sockaddr_pair() 2427 if (!af) in parse_sockaddr_pair() 2430 socklen = pfkey_sockaddr_len(af); in parse_sockaddr_pair() 2432 daddr) != af) in parse_sockaddr_pair() 2435 *family = af; in parse_sockaddr_pair()
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | x86-opcode-map.txt | 223 af: SCAS/W/D/Q rAX,Yv 520 af: IMUL Gv,Ev 727 af: vfnmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
|
/linux-4.4.14/arch/x86/lib/ |
D | x86-opcode-map.txt | 223 af: SCAS/W/D/Q rAX,Yv 520 af: IMUL Gv,Ev 727 af: vfnmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
|
/linux-4.4.14/Documentation/DocBook/media/ |
D | fieldseq_bt.gif.b64 | 204 4jf+4+d9KwDlTGD+5nf+54f+6Jf+6af+6rf+62d+VDZzFmCD7vf+7wf/8Bf/8Sf/8jf/80f/7mcB
|
/linux-4.4.14/arch/x86/kvm/ |
D | emulate.c | 3274 bool af, cf, old_cf; in em_das() local 3282 af = ctxt->eflags & X86_EFLAGS_AF; in em_das() 3283 if ((al & 0x0f) > 9 || af) { in em_das() 3286 af = true; in em_das() 3288 af = false; in em_das() 3304 if (af) in em_das()
|
/linux-4.4.14/drivers/staging/unisys/Documentation/ |
D | overview.txt | 334 alias visorbus:c73416d0-b0b8-44af-b304-9d2ae99f1b3d visorinput
|
/linux-4.4.14/Documentation/video4linux/ |
D | gspca.txt | 87 zc3xx 046d:08af Logitech QuickCam Cool
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | tegra114-dalmore.dts | 1008 regulator-name = "vdd-af-cam1";
|
D | exynos4412-trats2.dts | 498 vdd-af-supply = <&cam_af_reg>;
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-ds1685.c | 1425 DS1685_RTC_SYSFS_CTRL_REG_RO(af);
|