| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | isph3a_af.c | 26 static void h3a_af_setup_regs(struct ispstat *af, void *priv) in h3a_af_setup_regs() argument 38 if (af->state == ISPSTAT_DISABLED) in h3a_af_setup_regs() 41 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 44 if (!af->update) in h3a_af_setup_regs() 51 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs() 60 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs() 67 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 71 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs() 82 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 91 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() [all …]
|
| /linux/net/netfilter/ |
| H A D | x_tables.c | 94 u_int8_t af = target->family; in xt_register_target() local 96 mutex_lock(&xt[af].mutex); in xt_register_target() 97 list_add(&target->list, &xt[af].target); in xt_register_target() 98 mutex_unlock(&xt[af].mutex); in xt_register_target() 106 u_int8_t af = target->family; in xt_unregister_target() local 108 mutex_lock(&xt[af].mutex); in xt_unregister_target() 110 mutex_unlock(&xt[af].mutex); in xt_unregister_target() 144 u_int8_t af = match->family; in xt_register_match() local 146 mutex_lock(&xt[af].mutex); in xt_register_match() 147 list_add(&match->list, &xt[af].match); in xt_register_match() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | icmp_send_kfunc.c | 50 static void read_icmp_errqueue(int sockfd, int expected_code, int af) in read_icmp_errqueue() argument 52 int expected_ee_type = (af == AF_INET) ? ICMP_DEST_UNREACH : in read_icmp_errqueue() 54 int expected_origin = (af == AF_INET) ? SO_EE_ORIGIN_ICMP : in read_icmp_errqueue() 56 int expected_level = (af == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6; in read_icmp_errqueue() 57 int expected_type = (af == AF_INET) ? IP_RECVERR : IPV6_RECVERR; in read_icmp_errqueue() 102 static bool valid_unreach_code(int code, int af) in valid_unreach_code() argument 107 if (af == AF_INET) in valid_unreach_code() 114 int af, const char *ip) in trigger_prog_read_icmp_errqueue() argument 119 srv_fd = start_server(af, SOCK_STREAM, ip, 0, TIMEOUT_MS); in trigger_prog_read_icmp_errqueue() 130 skel->bss->unreach_type = (af == AF_INET) ? ICMP_DEST_UNREACH : in trigger_prog_read_icmp_errqueue() [all …]
|
| /linux/net/sctp/ |
| H A D | bind_addr.c | 222 struct sctp_af *af; in sctp_bind_addrs_to_raw() local 247 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw() 248 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw() 271 struct sctp_af *af; in sctp_raw_to_bind_addrs() local 288 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs() 289 if (unlikely(!af) || in sctp_raw_to_bind_addrs() 290 !af->from_addr_param(&addr, rawaddr, htons(port), 0)) { in sctp_raw_to_bind_addrs() 355 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check() 413 struct sctp_af *af; in sctp_bind_addr_state() 415 af in sctp_bind_addr_state() 404 struct sctp_af *af; sctp_bind_addr_state() local 431 struct sctp_af *af; sctp_find_unmatch_addr() local 489 struct sctp_af *af; sctp_is_any() local 568 struct sctp_af *af; sctp_scope() local [all...] |
| H A D | input.c | 99 struct sctp_af *af; in sctp_rcv() local 139 af = sctp_get_af_specific(family); in sctp_rcv() 140 if (unlikely(!af)) in sctp_rcv() 142 SCTP_INPUT_CB(skb)->af = af; in sctp_rcv() 145 af->from_skb(&src, skb, 1); in sctp_rcv() 146 af->from_skb(&dest, skb, 0); in sctp_rcv() 147 dif = af->skb_iif(skb); in sctp_rcv() 148 sdif = af->skb_sdif(skb); in sctp_rcv() 161 if (!af->addr_valid(&src, NULL, skb) || in sctp_rcv() 162 !af->addr_valid(&dest, NULL, skb)) in sctp_rcv() [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_ftp.c | 111 __u16 af, char **start, char **end) in ip_vs_ftp_get_addrport() 205 if (af == AF_INET6 && *s != '2') in ip_vs_ftp_get_addrport() 207 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport() 217 if (af == AF_INET6) { in ip_vs_ftp_get_addrport() 301 &from, &port, cp->af, in ip_vs_ftp_out() 322 &from, &port, cp->af, in ip_vs_ftp_out() 327 IP_VS_DBG_ADDR(cp->af, &from), ntohs(port), in ip_vs_ftp_out() 328 IP_VS_DBG_ADDR(cp->af, &cp->caddr), 0); in ip_vs_ftp_out() 341 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out() 350 cp->af, ipvs in ip_vs_ftp_out() 100 ip_vs_ftp_get_addrport(char * data,char * data_limit,const char * pattern,size_t plen,char skip,bool ext,int mode,union nf_inet_addr * addr,__be16 * port,__u16 af,char ** start,char ** end) ip_vs_ftp_get_addrport() argument [all...] |
| H A D | ip_vs_proto_udp.c | 27 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp, 31 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule() argument 56 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 59 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 99 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() 105 if (af == AF_INET6) in udp_fast_csum_update() 121 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() 127 if (af == AF_INET6) in udp_partial_csum_update() 151 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler() 164 if (!udp_csum_check(cp->af, sk in udp_snat_handler() 93 udp_fast_csum_update(int af,struct udphdr * uhdr,const union nf_inet_addr * oldip,const union nf_inet_addr * newip,__be16 oldport,__be16 newport) udp_fast_csum_update() argument 115 udp_partial_csum_update(int af,struct udphdr * uhdr,const union nf_inet_addr * oldip,const union nf_inet_addr * newip,__be16 oldlen,__be16 newlen) udp_partial_csum_update() argument 300 udp_csum_check(int af,struct sk_buff * skb,struct ip_vs_protocol * pp,struct ip_vs_iphdr * iph) udp_csum_check() argument [all...] |
| H A D | ip_vs_core.c | 283 u32 ip_vs_rht_hash_linfo(struct ip_vs_rht *t, int af, in ip_vs_rht_hash_linfo() argument 289 if (af == AF_INET6) in ip_vs_rht_hash_linfo() 413 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist() 456 if (svc->af == AF_INET6) in ip_vs_sched_persist() 465 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist() 466 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist() 467 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 548 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 574 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist() 577 cp = ip_vs_conn_new(¶m, dest->af, in ip_vs_sched_persist() 747 ip_vs_addr_is_unicast(struct net * net,int af,union nf_inet_addr * addr) ip_vs_addr_is_unicast() argument 897 ip_vs_route_me_harder(struct netns_ipvs * ipvs,int af,struct sk_buff * skb,unsigned int hooknum) ip_vs_route_me_harder() argument 1027 handle_response_icmp(int af,struct sk_buff * skb,union nf_inet_addr * snet,struct ip_vs_conn * cp,struct ip_vs_protocol * pp,struct ip_vs_iphdr * ciph,unsigned int toff,unsigned int hooknum) handle_response_icmp() argument 1402 __ip_vs_rs_conn_out(unsigned int hooknum,struct netns_ipvs * ipvs,int af,struct sk_buff * skb,const struct ip_vs_iphdr * iph) __ip_vs_rs_conn_out() argument 1438 handle_response(int af,struct sk_buff * skb,struct ip_vs_proto_data * pd,struct ip_vs_conn * cp,struct ip_vs_iphdr * iph,unsigned int hooknum) handle_response() argument 1517 int af = state->pf; ip_vs_out_hook() local 1647 ip_vs_try_to_schedule(struct netns_ipvs * ipvs,int af,struct sk_buff * skb,struct ip_vs_proto_data * pd,int * verdict,struct ip_vs_conn ** cpp,struct ip_vs_iphdr * iph) ip_vs_try_to_schedule() argument 1683 ipvs_udp_decap(struct netns_ipvs * ipvs,struct sk_buff * skb,unsigned int offset,__u16 af,const union nf_inet_addr * daddr,__u8 * proto) ipvs_udp_decap() argument 1718 ipvs_gre_decap(struct netns_ipvs * ipvs,struct sk_buff * skb,unsigned int offset,__u16 af,const union nf_inet_addr * daddr,__u8 * proto) ipvs_gre_decap() argument 2112 int af = state->pf; ip_vs_in_hook() local 2428 ip_vs_register_hooks(struct netns_ipvs * ipvs,unsigned int af) ip_vs_register_hooks() argument 2457 ip_vs_unregister_hooks(struct netns_ipvs * ipvs,unsigned int af) ip_vs_unregister_hooks() argument [all...] |
| H A D | ip_vs_lblc.c | 89 int af; /* address family */ member 148 ip_vs_lblc_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblc_hashkey() argument 153 if (af == AF_INET6) in ip_vs_lblc_hashkey() 168 unsigned int hash = ip_vs_lblc_hashkey(en->af, &en->addr); in ip_vs_lblc_hash() 177 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, in ip_vs_lblc_get() argument 180 unsigned int hash = ip_vs_lblc_hashkey(af, addr); in ip_vs_lblc_get() 184 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblc_get() 197 u16 af, struct ip_vs_dest *dest) in ip_vs_lblc_new() argument 201 en = ip_vs_lblc_get(af, tbl, daddr); in ip_vs_lblc_new() 215 en->af in ip_vs_lblc_new() [all...] |
| H A D | ip_vs_proto_tcp.c | 31 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp, 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() 112 tcp_fast_csum_update(int af, struct tcphdr *tcph, in tcp_fast_csum_update() 118 if (af == AF_INET6) in tcp_fast_csum_update() 133 tcp_partial_csum_update(int af, struct tcphdr *tcph, in tcp_partial_csum_update() 139 if (af == AF_INET6) in tcp_partial_csum_update() 163 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler() 176 if (!tcp_csum_check(cp->af, sk in tcp_snat_handler() 105 tcp_fast_csum_update(int af,struct tcphdr * tcph,const union nf_inet_addr * oldip,const union nf_inet_addr * newip,__be16 oldport,__be16 newport) tcp_fast_csum_update() argument 126 tcp_partial_csum_update(int af,struct tcphdr * tcph,const union nf_inet_addr * oldip,const union nf_inet_addr * newip,__be16 oldlen,__be16 newlen) tcp_partial_csum_update() argument 304 tcp_csum_check(int af,struct sk_buff * skb,struct ip_vs_protocol * pp,struct ip_vs_iphdr * iph) tcp_csum_check() argument [all...] |
| H A D | ip_vs_lblcr.c | 199 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_dest_set_min() 245 IP_VS_DBG_ADDR(most->af, &most->addr), ntohs(most->port), in ip_vs_dest_set_max() 259 int af; /* address family */ member 311 ip_vs_lblcr_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblcr_hashkey() argument 316 if (af == AF_INET6) in ip_vs_lblcr_hashkey() 331 unsigned int hash = ip_vs_lblcr_hashkey(en->af, &en->addr); in ip_vs_lblcr_hash() 340 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, in ip_vs_lblcr_get() argument 343 unsigned int hash = ip_vs_lblcr_hashkey(af, addr); in ip_vs_lblcr_get() 347 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblcr_get() 360 u16 af, struc in ip_vs_lblcr_new() argument [all...] |
| H A D | ip_vs_conn.c | 184 static u32 ip_vs_conn_hashkey(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_conn_hashkey() argument 192 if (af == AF_INET6) { in ip_vs_conn_hashkey() 230 return ip_vs_conn_hashkey(t, p->af, p->protocol, addr, port, laddr, in ip_vs_conn_hashkey_param() 241 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn() 245 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn() 401 p->vport == cp->vport && cp->af == p->af && in __ip_vs_conn_in_get() 402 ip_vs_addr_equal(p->af, p->caddr, in __ip_vs_conn_in_get() 404 ip_vs_addr_equal(p->af, p->vaddr, in __ip_vs_conn_in_get() 431 int af_id = ip_vs_af_index(p->af); in ip_vs_conn_in_get() 441 ip_vs_conn_fill_param_proto(struct netns_ipvs * ipvs,int af,const struct sk_buff * skb,const struct ip_vs_iphdr * iph,struct ip_vs_conn_param * p) ip_vs_conn_fill_param_proto() argument 461 ip_vs_conn_in_get_proto(struct netns_ipvs * ipvs,int af,const struct sk_buff * skb,const struct ip_vs_iphdr * iph) ip_vs_conn_in_get_proto() argument 604 ip_vs_conn_out_get_proto(struct netns_ipvs * ipvs,int af,const struct sk_buff * skb,const struct ip_vs_iphdr * iph) ip_vs_conn_out_get_proto() argument [all...] |
| H A D | ip_vs_sh.c | 83 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_sh_hashkey() argument 89 if (af == AF_INET6) in ip_vs_sh_hashkey() 106 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get() 128 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get_fallback() 136 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 143 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset); in ip_vs_sh_get_fallback() 151 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_get_fallback() 190 i, IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_reassign() 336 IP_VS_DBG_ADDR(svc->af, hash_addr), in ip_vs_sh_schedule() 337 IP_VS_DBG_ADDR(dest->af, in ip_vs_sh_schedule() [all...] |
| H A D | ip_vs_dh.c | 70 static inline unsigned int ip_vs_dh_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_dh_hashkey() argument 75 if (af == AF_INET6) in ip_vs_dh_hashkey() 87 ip_vs_dh_get(int af, struct ip_vs_dh_state *s, const union nf_inet_addr *addr) in ip_vs_dh_get() argument 89 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get() 211 dest = ip_vs_dh_get(svc->af, s, &iph->daddr); 219 IP_VS_DBG_ADDR(svc->af, &iph->daddr), in ip_vs_dh_schedule() 220 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule()
|
| H A D | ip_vs_ctl.c | 367 ip_vs_svc_hashval(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_svc_hashval() 370 return ip_vs_rht_hash_linfo(t, af, addr, ntohs(port), proto); in ip_vs_svc_hashval() 376 static inline u32 ip_vs_svc_fwm_hashval(struct ip_vs_rht *t, int af, in ip_vs_svc_fwm_hashval() 379 return jhash_2words(fwmark, af, (u32)t->hash_key.key[0]); in ip_vs_svc_fwm_hashval() 414 hash = ip_vs_svc_hashval(t, svc->af, svc->protocol, in ip_vs_svc_hash() 420 hash = ip_vs_svc_fwm_hashval(t, svc->af, svc->fwmark); in ip_vs_svc_hash() 496 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() 508 hash = ip_vs_svc_hashval(t, af, protocol, vaddr, vport); in __ip_vs_service_find() 514 svc->af == af in __ip_vs_service_find() 366 ip_vs_svc_hashval(struct ip_vs_rht * t,int af,unsigned int proto,const union nf_inet_addr * addr,__be16 port) ip_vs_svc_hashval() argument 375 ip_vs_svc_fwm_hashval(struct ip_vs_rht * t,int af,__u32 fwmark) ip_vs_svc_fwm_hashval() argument 495 __ip_vs_service_find(struct netns_ipvs * ipvs,int af,__u16 protocol,const union nf_inet_addr * vaddr,__be16 vport) __ip_vs_service_find() argument 532 __ip_vs_svc_fwm_find(struct netns_ipvs * ipvs,int af,__u32 fwmark) __ip_vs_svc_fwm_find() argument 562 ip_vs_service_find(struct netns_ipvs * ipvs,int af,__u32 fwmark,__u16 protocol,const union nf_inet_addr * vaddr,__be16 vport) ip_vs_service_find() argument 868 ip_vs_rs_hashkey(int af,const union nf_inet_addr * addr,__be16 port) ip_vs_rs_hashkey() argument 938 ip_vs_has_real_service(struct netns_ipvs * ipvs,int af,__u16 protocol,const union nf_inet_addr * daddr,__be16 dport) ip_vs_has_real_service() argument 967 ip_vs_find_real_service(struct netns_ipvs * ipvs,int af,__u16 protocol,const union nf_inet_addr * daddr,__be16 dport) ip_vs_find_real_service() argument 998 ip_vs_find_tunnel(struct netns_ipvs * ipvs,int af,const union nf_inet_addr * daddr,__be16 tun_port) ip_vs_find_tunnel() argument 4206 ip_vs_is_af_valid(int af) ip_vs_is_af_valid() argument [all...] |
| H A D | ip_vs_mh.c | 88 ip_vs_mh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_mh_hashkey() argument 95 if (af == AF_INET6) in ip_vs_mh_hashkey() 142 ds->offset = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate() 145 ds->skip = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate() 237 unsigned int hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, 0) in ip_vs_mh_get() 254 ihash = ip_vs_mh_hashkey(svc->af, addr, port, in ip_vs_mh_get_fallback() 263 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_mh_get_fallback() 270 hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, in ip_vs_mh_get_fallback() 279 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_mh_get_fallback() 309 IP_VS_DBG_ADDR(svc->af, in ip_vs_mh_reassign() [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | sk_so_peek_off.c | 13 static char *afstr(int af, int proto) in afstr() argument 16 return af == AF_INET ? "TCP/IPv4" : "TCP/IPv6"; in afstr() 18 return af == AF_INET ? "UDP/IPv4" : "UDP/IPv6"; in afstr() 21 int sk_peek_offset_probe(sa_family_t af, int proto) in sk_peek_offset_probe() argument 28 s = socket(af, type, proto); in sk_peek_offset_probe() 35 printf("%s does not support SO_PEEK_OFF\n", afstr(af, proto)); in sk_peek_offset_probe() 57 static int sk_peek_offset_test(sa_family_t af, int proto) in sk_peek_offset_test() argument 73 a.sa.sa_family = af; in sk_peek_offset_test() 75 s[0] = recv_sock = socket(af, type, proto); in sk_peek_offset_test() 76 s[1] = socket(af, type, proto); in sk_peek_offset_test() [all …]
|
| /linux/include/linux/netfilter/ |
| H A D | x_tables.h | 247 u_int8_t af; /* address/protocol family */ member 324 void xt_unregister_table_pre_exit(struct net *net, u8 af, const char *name); 325 struct xt_table *xt_unregister_table_exit(struct net *net, u8 af, const char *name); 332 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision); 333 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision); 334 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision); 335 int xt_find_revision(u8 af, const char *name, u8 revision, int target, 338 struct xt_table *xt_find_table(struct net *net, u8 af, const char *name); 339 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, 341 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af, [all …]
|
| /linux/include/net/ |
| H A D | ip_vs.h | 94 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, 101 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off() 138 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() 146 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp() 150 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb_icmp() 158 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb() 174 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_iph_icmp() 178 if (af == AF_INET6) in ip_vs_addr_copy() 185 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() 189 if (af in ip_vs_addr_set() 97 ip_vs_fill_iph_skb_off(int af,const struct sk_buff * skb,int offset,int hdr_flags,struct ip_vs_iphdr * iphdr) ip_vs_fill_iph_skb_off() argument 141 ip_vs_fill_iph_skb_icmp(int af,const struct sk_buff * skb,int offset,bool inverse,struct ip_vs_iphdr * iphdr) ip_vs_fill_iph_skb_icmp() argument 153 ip_vs_fill_iph_skb(int af,const struct sk_buff * skb,bool inverse,struct ip_vs_iphdr * iphdr) ip_vs_fill_iph_skb() argument 177 ip_vs_addr_copy(int af,union nf_inet_addr * dst,const union nf_inet_addr * src) ip_vs_addr_copy() argument 188 ip_vs_addr_set(int af,union nf_inet_addr * dst,const union nf_inet_addr * src) ip_vs_addr_set() argument 203 ip_vs_addr_equal(int af,const union nf_inet_addr * a,const union nf_inet_addr * b) ip_vs_addr_equal() argument 218 ip_vs_dbg_addr(int af,char * buf,size_t buf_len,const union nf_inet_addr * addr,int * idx) ip_vs_dbg_addr() argument 252 IP_VS_DBG_ADDR(af,addr) global() argument 267 IP_VS_DBG_PKT(level,af,pp,skb,ofs,msg) global() argument 272 IP_VS_DBG_RL_PKT(level,af,pp,skb,ofs,msg) global() argument 283 IP_VS_DBG_PKT(level,af,pp,skb,ofs,msg) global() argument 284 IP_VS_DBG_RL_PKT(level,af,pp,skb,ofs,msg) global() argument 305 ip_vs_af_index(int af) ip_vs_af_index() argument 798 u16 af; global() member 817 u8 af; /* address family */ global() member 892 u16 af; global() member 921 u16 af; global() member 936 u16 af; /* address family */ global() member 979 u16 af; /* address family */ global() member 1637 ip_vs_conn_fill_param(struct netns_ipvs * ipvs,int af,int protocol,const union nf_inet_addr * caddr,__be16 cport,const union nf_inet_addr * vaddr,__be16 vport,struct ip_vs_conn_param * p) ip_vs_conn_fill_param() argument 2118 ip_vs_checksum_common_check(struct sk_buff * skb,int offset,int proto,int af) ip_vs_checksum_common_check() argument [all...] |
| /linux/fs/afs/ |
| H A D | file.c | 88 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() argument 96 wbk->key = af->key; in afs_cache_wb_key() 107 af->wb = wbk; in afs_cache_wb_key() 113 af->wb = p; in afs_cache_wb_key() 124 struct afs_file *af; in afs_open() local 136 af = kzalloc_obj(*af); in afs_open() 137 if (!af) { in afs_open() 141 af->key = key; in afs_open() 148 ret = afs_cache_wb_key(vnode, af); in afs_open() 158 file->private_data = af; in afs_open() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ib.c | 126 struct amdgpu_fence *af; in amdgpu_ib_schedule() 148 af = job->hw_fence; in amdgpu_ib_schedule() 154 af->context = fence_ctx; in amdgpu_ib_schedule() 204 af->ib_wptr = ring->wptr; in amdgpu_ib_schedule() 239 af->skip_ib_dw_start_offset = in amdgpu_ib_schedule() 240 amdgpu_ring_get_dw_distance(ring, af->ib_wptr, ring->wptr); in amdgpu_ib_schedule() 280 af->skip_ib_dw_end_offset = in amdgpu_ib_schedule() 281 amdgpu_ring_get_dw_distance(ring, af->ib_wptr, ring->wptr); in amdgpu_ib_schedule() 298 amdgpu_fence_emit(ring, af, fence_flags); in amdgpu_ib_schedule() 299 *f = &af in amdgpu_ib_schedule() 131 struct amdgpu_fence *af; amdgpu_ib_schedule() local [all...] |
| /linux/sound/soc/codecs/ |
| H A D | wm8737.c | 331 u16 af = 0; in wm8737_hw_params() local 358 af |= 0x8; in wm8737_hw_params() 361 af |= 0x10; in wm8737_hw_params() 364 af |= 0x18; in wm8737_hw_params() 370 snd_soc_component_update_bits(component, WM8737_AUDIO_FORMAT, WM8737_WL_MASK, af); in wm8737_hw_params() 403 u16 af = 0; in wm8737_set_dai_fmt() local 407 af |= WM8737_MS; in wm8737_set_dai_fmt() 417 af |= 0x2; in wm8737_set_dai_fmt() 422 af |= 0x1; in wm8737_set_dai_fmt() 425 af | in wm8737_set_dai_fmt() [all...] |
| /linux/lib/zlib_dfltcc/ |
| H A D | dfltcc.c | 30 memmove(&dfltcc_state->af, &dfltcc_state->param, sizeof(dfltcc_state->af)); in dfltcc_reset_state() 32 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset_state()
|
| /linux/include/linux/soc/pxa/ |
| H A D | mfp.h | 405 #define MFP_CFG(pin, af) \ argument 407 (MFP_PIN(MFP_PIN_##pin) | MFP_##af)) 409 #define MFP_CFG_DRV(pin, af, drv) \ argument 411 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv)) 413 #define MFP_CFG_LPM(pin, af, lpm) \ argument 415 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 417 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 419 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|
| /linux/tools/perf/util/ |
| H A D | probe-finder.c | 1451 struct available_var_finder *af = data; in collect_variables_cb() 1456 vl = &af->vls[af->nvls - 1]; in collect_variables_cb() 1461 ret = convert_variable_location(die_mem, af->pf.addr, in collect_variables_cb() 1462 af->pf.fb_ops, &af->pf.sp_die, in collect_variables_cb() 1463 &af->pf, /*tvar=*/NULL); in collect_variables_cb() 1466 bool externs = !af->child; in collect_variables_cb() 1487 ret2 = die_get_var_range(&af->pf.sp_die, in available_var_finder_overlap() 1500 if (af in add_available_vars() 1425 struct available_var_finder *af = data; collect_variables_cb() local 1484 available_var_finder_overlap(struct available_var_finder * af) available_var_finder_overlap() argument 1499 struct available_var_finder *af = add_available_vars() local 1562 struct available_var_finder af = { debuginfo__find_available_vars_at() local [all...] |