/linux-4.1.27/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.1.27/net/netfilter/ |
D | x_tables.c | 76 u_int8_t af = target->family; in xt_register_target() local 78 mutex_lock(&xt[af].mutex); in xt_register_target() 79 list_add(&target->list, &xt[af].target); in xt_register_target() 80 mutex_unlock(&xt[af].mutex); in xt_register_target() 88 u_int8_t af = target->family; in xt_unregister_target() local 90 mutex_lock(&xt[af].mutex); in xt_unregister_target() 92 mutex_unlock(&xt[af].mutex); in xt_unregister_target() 126 u_int8_t af = match->family; in xt_register_match() local 128 mutex_lock(&xt[af].mutex); in xt_register_match() 129 list_add(&match->list, &xt[af].match); in xt_register_match() [all …]
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_proto_ah_esp.c | 44 ah_esp_conn_fill_param_proto(struct net *net, int af, in ah_esp_conn_fill_param_proto() argument 49 ip_vs_conn_fill_param(net, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 53 ip_vs_conn_fill_param(net, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 59 ah_esp_conn_in_get(int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument 67 ah_esp_conn_fill_param_proto(net, af, iph, inverse, &p); in ah_esp_conn_in_get() 78 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get() 79 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get() 87 ah_esp_conn_out_get(int af, const struct sk_buff *skb, in ah_esp_conn_out_get() argument 94 ah_esp_conn_fill_param_proto(net, af, iph, inverse, &p); in ah_esp_conn_out_get() 101 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_out_get() [all …]
|
D | ip_vs_proto_udp.c | 32 udp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, in udp_conn_schedule() argument 48 svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in udp_conn_schedule() 84 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument 90 if (af == AF_INET6) in udp_fast_csum_update() 106 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument 112 if (af == AF_INET6) in udp_partial_csum_update() 136 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler() 149 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in udp_snat_handler() 171 udp_partial_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr, in udp_snat_handler() 176 udp_fast_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 net *net, 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->net, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param() 151 ip_vs_conn_fill_param(ip_vs_conn_net(cp), 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() 317 ip_vs_conn_fill_param_proto(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(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, in tcp_conn_schedule() argument 54 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in tcp_conn_schedule() 89 tcp_fast_csum_update(int af, struct tcphdr *tcph, in tcp_fast_csum_update() argument 95 if (af == AF_INET6) in tcp_fast_csum_update() 110 tcp_partial_csum_update(int af, struct tcphdr *tcph, in tcp_partial_csum_update() argument 116 if (af == AF_INET6) in tcp_partial_csum_update() 140 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler() 153 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in tcp_snat_handler() 171 tcp_partial_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr, in tcp_snat_handler() 176 tcp_fast_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->net, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist() 251 if (svc->af == AF_INET6) in ip_vs_sched_persist() 260 IP_VS_DBG_ADDR(svc->af, &iph->saddr), ntohs(src_port), in ip_vs_sched_persist() 261 IP_VS_DBG_ADDR(svc->af, &iph->daddr), ntohs(dst_port), in ip_vs_sched_persist() 262 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 343 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 369 ip_vs_conn_fill_param(svc->net, svc->af, iph->protocol, &iph->saddr, in ip_vs_sched_persist() 372 cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() 439 IP_VS_DBG_PKT(12, svc->af, pp, skb, 0, in ip_vs_schedule() 448 (cp = pp->conn_in_get(svc->af, skb, iph, 1))) { in ip_vs_schedule() [all …]
|
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_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() 344 IP_VS_DBG_ADDR(svc->af, &iph->saddr), in ip_vs_sh_schedule() 345 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_schedule()
|
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 net *net, 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->net, svc->af, svc->protocol, in ip_vs_svc_hash() 360 __ip_vs_service_find(struct net *net, int af, __u16 protocol, in __ip_vs_service_find() argument 367 hash = ip_vs_svc_hashkey(net, 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 net *net, 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 net *net, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() argument [all …]
|
D | ip_vs_pe_sip.c | 73 ip_vs_fill_iph_skb(p->af, skb, &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(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, in sctp_conn_schedule() argument 39 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in sctp_conn_schedule() 87 if (cp->af == AF_INET6 && iph->fragoffs) in sctp_snat_handler() 99 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in sctp_snat_handler() 134 if (cp->af == AF_INET6 && iph->fragoffs) in sctp_dnat_handler() 146 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in sctp_dnat_handler() 174 sctp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) in sctp_csum_check() argument 181 if (af == AF_INET6) in sctp_csum_check() 196 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in sctp_csum_check() 378 ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in set_sctp_state() [all …]
|
D | ip_vs_xmit.c | 558 !ip_vs_addr_equal(cp->af, &cp->vaddr, &cp->daddr)) in ip_vs_nat_send_or_cont() 621 if (__ip_vs_get_out_rt(cp->af, skb, NULL, iph->daddr, in ip_vs_bypass_xmit() 651 if (__ip_vs_get_out_rt_v6(cp->af, skb, NULL, &ipvsh->daddr.in6, NULL, in ip_vs_bypass_xmit_v6() 698 local = __ip_vs_get_out_rt(cp->af, skb, cp->dest, cp->daddr.ip, in ip_vs_nat_xmit() 786 local = __ip_vs_get_out_rt_v6(cp->af, skb, cp->dest, &cp->daddr.in6, in ip_vs_nat_xmit_v6() 976 local = __ip_vs_get_out_rt(cp->af, skb, cp->dest, cp->daddr.ip, in ip_vs_tunnel_xmit() 998 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit() 1005 skb, false, __tun_gso_type_mask(AF_INET, cp->af)); in ip_vs_tunnel_xmit() 1070 local = __ip_vs_get_out_rt_v6(cp->af, skb, cp->dest, &cp->daddr.in6, in ip_vs_tunnel_xmit_v6() 1090 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit_v6() [all …]
|
D | ip_vs_sync.c | 538 if (unlikely(cp->af != AF_INET)) in ip_vs_sync_conn_v0() 667 if (cp->af == AF_INET6) in ip_vs_sync_conn() 717 s->v4.type = (cp->af == AF_INET6 ? STYPE_F_INET6 : 0); in ip_vs_sync_conn() 730 if (cp->af == AF_INET6) { in ip_vs_sync_conn() 784 ip_vs_conn_fill_param_sync(struct net *net, int af, union ip_vs_sync_conn *sc, in ip_vs_conn_fill_param_sync() argument 790 if (af == AF_INET6) in ip_vs_conn_fill_param_sync() 791 ip_vs_conn_fill_param(net, af, sc->v6.protocol, in ip_vs_conn_fill_param_sync() 798 ip_vs_conn_fill_param(net, 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_lc.c | 62 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_lc_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_sed.c | 111 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_sed_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 | 304 ip_vs_tcpudp_debug_packet(int af, struct ip_vs_protocol *pp, in ip_vs_tcpudp_debug_packet() argument 310 if (af == AF_INET6) in ip_vs_tcpudp_debug_packet()
|
D | ip_vs_ftp.c | 192 if (cp->af == AF_INET6) in ip_vs_ftp_out() 332 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.1.27/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 | 840 struct sctp_af *af; in sctp_inet6_bind_verify() local 844 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_inet6_bind_verify() 864 af = opt->pf->af; in sctp_inet6_bind_verify() 866 return af->available(addr, opt); in sctp_inet6_bind_verify() 874 struct sctp_af *af = NULL; in sctp_inet6_send_verify() local 878 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_inet6_send_verify() 893 af = opt->pf->af; in sctp_inet6_send_verify() 896 return af != NULL; in sctp_inet6_send_verify() 1025 .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() 824 int sctp_register_af(struct sctp_af *af) in sctp_register_af() argument 826 switch (af->sa_family) { in sctp_register_af() 830 sctp_af_v4_specific = af; in sctp_register_af() 835 sctp_af_v6_specific = af; in sctp_register_af() 841 INIT_LIST_HEAD(&af->list); in sctp_register_af() 842 list_add_tail(&af->list, &sctp_address_families); in sctp_register_af() 984 .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() 6130 struct sctp_af *af; in sctp_eat_data() local 6133 af = sctp_get_af_specific( in sctp_eat_data() 6136 if (af && af->is_ce(chunk->skb) && asoc->peer.ecn_capable) { in sctp_eat_data()
|
/linux-4.1.27/include/linux/netfilter/ |
D | x_tables.h | 196 u_int8_t af; /* address/protocol family */ member 258 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision); 259 struct xt_target *xt_find_target(u8 af, const char *name, u8 revision); 260 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision); 261 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision); 262 int xt_find_revision(u8 af, const char *name, u8 revision, int target, 265 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, 269 int xt_proto_init(struct net *net, u_int8_t af); 270 void xt_proto_fini(struct net *net, u_int8_t af); 415 void xt_compat_lock(u_int8_t af); [all …]
|
/linux-4.1.27/include/net/ |
D | ip_vs.h | 140 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb() argument 143 if (af == AF_INET6) { in ip_vs_fill_iph_skb() 167 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument 171 if (af == AF_INET6) in ip_vs_addr_copy() 178 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument 182 if (af == AF_INET6) { in ip_vs_addr_set() 193 static inline int ip_vs_addr_equal(int af, const union nf_inet_addr *a, in ip_vs_addr_equal() argument 197 if (af == AF_INET6) in ip_vs_addr_equal() 208 static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len, in ip_vs_dbg_addr() argument 214 if (af == AF_INET6) in ip_vs_dbg_addr() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/sound/soc/codecs/ |
D | wm8737.c | 336 u16 af = 0; in wm8737_hw_params() local 363 af |= 0x8; in wm8737_hw_params() 366 af |= 0x10; in wm8737_hw_params() 369 af |= 0x18; in wm8737_hw_params() 375 snd_soc_update_bits(codec, WM8737_AUDIO_FORMAT, WM8737_WL_MASK, af); in wm8737_hw_params() 408 u16 af = 0; in wm8737_set_dai_fmt() local 412 af |= WM8737_MS; in wm8737_set_dai_fmt() 422 af |= 0x2; in wm8737_set_dai_fmt() 427 af |= 0x1; in wm8737_set_dai_fmt() 430 af |= 0x3; in wm8737_set_dai_fmt() [all …]
|
/linux-4.1.27/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.1.27/tools/perf/util/ |
D | probe-finder.c | 1245 struct available_var_finder *af = data; in collect_variables_cb() local 1250 vl = &af->vls[af->nvls - 1]; in collect_variables_cb() 1255 ret = convert_variable_location(die_mem, af->pf.addr, in collect_variables_cb() 1256 af->pf.fb_ops, &af->pf.sp_die, in collect_variables_cb() 1266 if (af->child && dwarf_haspc(die_mem, af->pf.addr)) in collect_variables_cb() 1275 struct available_var_finder *af = in add_available_vars() local 1282 if (af->nvls == af->max_vls) { in add_available_vars() 1283 pr_warning("Too many( > %d) probe point found.\n", af->max_vls); in add_available_vars() 1286 vl = &af->vls[af->nvls++]; in add_available_vars() 1289 ret = convert_to_trace_point(&pf->sp_die, af->mod, pf->addr, in add_available_vars() [all …]
|
/linux-4.1.27/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() 779 fm_rx_update_af_cache(fmdev, rds_fmt.data.group0A.af[0]); in fm_irq_handle_rdsdata_getcmd_resp() 780 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.1.27/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.1.27/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.1.27/kernel/ |
D | audit.c | 150 static struct audit_features af = {.vers = AUDIT_FEATURE_VERSION, variable 710 return af.features & AUDIT_FEATURE_TO_MASK(i); in is_audit_feature_set() 720 audit_send_reply(skb, seq, AUDIT_GET_FEATURE, 0, 0, &af, sizeof(af)); in audit_get_feature() 759 old_feature = af.features & feature; in audit_set_feature() 761 new_lock = (uaf->lock | af.lock) & feature; in audit_set_feature() 762 old_lock = af.lock & feature; in audit_set_feature() 780 old_feature = af.features & feature; in audit_set_feature() 782 old_lock = af.lock & feature; in audit_set_feature() 783 new_lock = (uaf->lock | af.lock) & feature; in audit_set_feature() 790 af.features |= feature; in audit_set_feature() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/net/ipv4/netfilter/ |
D | arptable_filter.c | 24 .af = NFPROTO_ARP,
|
D | iptable_raw.c | 17 .af = NFPROTO_IPV4,
|
D | iptable_security.c | 35 .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.1.27/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.1.27/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.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 804 struct dcbx_features *af = &admin_mib.features; in bnx2x_dcbx_admin_mib_updated_params() local 825 af->ets.enabled = (u8)dp->admin_ets_enable; in bnx2x_dcbx_admin_mib_updated_params() 827 af->pfc.enabled = (u8)dp->admin_pfc_enable; in bnx2x_dcbx_admin_mib_updated_params() 867 DCBX_PG_BW_SET(af->ets.pg_bw_tbl, i, in bnx2x_dcbx_admin_mib_updated_params() 871 i, DCBX_PG_BW_GET(af->ets.pg_bw_tbl, i)); in bnx2x_dcbx_admin_mib_updated_params() 875 DCBX_PRI_PG_SET(af->ets.pri_pg_tbl, i, in bnx2x_dcbx_admin_mib_updated_params() 879 i, DCBX_PRI_PG_GET(af->ets.pri_pg_tbl, i)); in bnx2x_dcbx_admin_mib_updated_params() 884 af->pfc.pri_en_bitmap = (u8)dp->admin_pfc_bitmap; in bnx2x_dcbx_admin_mib_updated_params() 898 af->app.app_pri_tbl[traf_type].app_id = in bnx2x_dcbx_admin_mib_updated_params() 901 af->app.app_pri_tbl[traf_type].pri_bitmap = in bnx2x_dcbx_admin_mib_updated_params() [all …]
|
/linux-4.1.27/net/bridge/ |
D | br_netlink.c | 327 struct nlattr *af; in br_fill_ifinfo() local 338 af = nla_nest_start(skb, IFLA_AF_SPEC); in br_fill_ifinfo() 339 if (!af) in br_fill_ifinfo() 348 nla_nest_end(skb, af); in br_fill_ifinfo()
|
/linux-4.1.27/net/core/ |
D | rtnetlink.c | 1219 struct nlattr *af; in rtnl_fill_ifinfo() local 1222 if (!(af = nla_nest_start(skb, af_ops->family))) in rtnl_fill_ifinfo() 1234 nla_nest_cancel(skb, af); in rtnl_fill_ifinfo() 1238 nla_nest_end(skb, af); in rtnl_fill_ifinfo() 1413 struct nlattr *af; in validate_linkmsg() local 1416 nla_for_each_nested(af, tb[IFLA_AF_SPEC], rem) { in validate_linkmsg() 1419 if (!(af_ops = rtnl_af_lookup(nla_type(af)))) in validate_linkmsg() 1426 err = af_ops->validate_link_af(dev, af); in validate_linkmsg() 1792 struct nlattr *af; in do_setlink() local 1795 nla_for_each_nested(af, tb[IFLA_AF_SPEC], rem) { in do_setlink() [all …]
|
/linux-4.1.27/include/linux/sunrpc/ |
D | svc_xprt.h | 126 struct net *net, const sa_family_t af,
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/net/key/ |
D | af_key.c | 2420 int af, socklen; in parse_sockaddr_pair() local 2425 af = pfkey_sockaddr_extract(sa, saddr); in parse_sockaddr_pair() 2426 if (!af) in parse_sockaddr_pair() 2429 socklen = pfkey_sockaddr_len(af); in parse_sockaddr_pair() 2431 daddr) != af) in parse_sockaddr_pair() 2434 *family = af; in parse_sockaddr_pair()
|
/linux-4.1.27/arch/x86/lib/ |
D | x86-opcode-map.txt | 223 af: SCAS/W/D/Q rAX,Yv 516 af: IMUL Gv,Ev 723 af: vfnmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
|
/linux-4.1.27/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.1.27/arch/x86/kvm/ |
D | emulate.c | 2973 bool af, cf, old_cf; in em_das() local 2981 af = ctxt->eflags & X86_EFLAGS_AF; in em_das() 2982 if ((al & 0x0f) > 9 || af) { in em_das() 2985 af = true; in em_das() 2987 af = false; in em_das() 3003 if (af) in em_das()
|
/linux-4.1.27/Documentation/video4linux/ |
D | gspca.txt | 87 zc3xx 046d:08af Logitech QuickCam Cool
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | tegra114-dalmore.dts | 1008 regulator-name = "vdd-af-cam1";
|
D | exynos4412-trats2.dts | 175 vdd-af-supply = <&cam_af_reg>;
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-ds1685.c | 1425 DS1685_RTC_SYSFS_CTRL_REG_RO(af);
|