| /linux/drivers/media/platform/ti/omap3isp/ |
| A D | isph3a_af.c | 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() 122 af->update = 0; in h3a_af_setup_regs() 123 af->config_counter += af->inc_config; in h3a_af_setup_regs() 124 af->inc_config = 0; in h3a_af_setup_regs() 293 af->inc_config++; in h3a_af_set_params() 294 af->update = 1; in h3a_af_set_params() 361 af->ops = &h3a_af_ops; in omap3isp_h3a_af_init() 362 af->priv = af_cfg; in omap3isp_h3a_af_init() 364 af->isp = isp; in omap3isp_h3a_af_init() [all …]
|
| /linux/net/netfilter/ |
| A D | x_tables.c | 93 mutex_lock(&xt[af].mutex); in xt_register_target() 105 mutex_lock(&xt[af].mutex); in xt_unregister_target() 143 mutex_lock(&xt[af].mutex); in xt_register_match() 219 if (af != NFPROTO_UNSPEC) in xt_find_match() 693 xt[af].number = 0; in xt_compat_flush_offsets() 694 xt[af].cur = 0; in xt_compat_flush_offsets() 734 if (!xt[af].compat_tab) in xt_compat_init_offsets() 737 xt[af].number = number; in xt_compat_init_offsets() 738 xt[af].cur = 0; in xt_compat_init_offsets() 1765 int ret = -EEXIST, af = table->af; in xt_register_template() local [all …]
|
| /linux/net/netfilter/ipvs/ |
| A D | ip_vs_proto_ah_esp.c | 40 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto() argument 45 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 55 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument 61 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_in_get() 72 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get() 73 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get() 87 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_out_get() 94 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_out_get() 95 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_out_get() [all …]
|
| A D | ip_vs_proto_udp.c | 99 if (af == AF_INET6) in udp_fast_csum_update() 121 if (af == AF_INET6) in udp_partial_csum_update() 145 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler() 158 if (!udp_csum_check(cp->af, skb, pp)) in udp_snat_handler() 195 if (cp->af == AF_INET6) in udp_snat_handler() 241 if (!udp_csum_check(cp->af, skb, pp)) in udp_dnat_handler() 279 if (cp->af == AF_INET6) in udp_dnat_handler() 306 if (af == AF_INET6) in udp_csum_check() 324 if (af == AF_INET6) { in udp_csum_check() 330 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in udp_csum_check() [all …]
|
| A D | ip_vs_ftp.c | 100 __u16 af, char **start, char **end) in ip_vs_ftp_get_addrport() argument 190 if (af == AF_INET6 && *s != '2') in ip_vs_ftp_get_addrport() 192 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport() 202 if (af == AF_INET6) { in ip_vs_ftp_get_addrport() 284 &from, &port, cp->af, in ip_vs_ftp_out() 305 &from, &port, cp->af, in ip_vs_ftp_out() 320 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out() 445 if (cp->af == AF_INET && in ip_vs_ftp_in() 491 if (cp->af == AF_INET && in ip_vs_ftp_in() 496 &to, &port, cp->af, in ip_vs_ftp_in() [all …]
|
| A D | ip_vs_conn.c | 112 if (af == AF_INET6) in ip_vs_conn_hashkey() 274 cp->af == p->af && in __ip_vs_conn_in_get() 369 if (cp->af == p->af && in ip_vs_ct_in_get() 374 p->af, p->vaddr, &cp->vaddr) && in ip_vs_ct_in_get() 427 if (p->cport == sport && cp->af == p->af && in ip_vs_conn_out_get() 662 dest = ip_vs_find_dest(cp->ipvs, cp->af, cp->af, &cp->daddr, in ip_vs_try_bind_dest() 686 if (cp->af == AF_INET6) in ip_vs_try_bind_dest() 959 cp->af = p->af; in ip_vs_conn_new() 1018 if (p->af == AF_INET6) in ip_vs_conn_new() 1153 if (cp->af == AF_INET6) in ip_vs_conn_seq_show() [all …]
|
| A D | ip_vs_core.c | 574 if (af == AF_INET6) in ip_vs_addr_is_unicast() 729 if (af == AF_INET6) { in ip_vs_route_me_harder() 883 if (af == AF_INET6) in handle_response_icmp() 1278 if (af == AF_INET6) in handle_response() 1337 int af = state->pf; in ip_vs_out_hook() local 1361 if (af == AF_INET6) { in ip_vs_out_hook() 1387 if (af == AF_INET) in ip_vs_out_hook() 1921 int af = state->pf; in ip_vs_in_hook() local 1958 if (af == AF_INET6) { in ip_vs_in_hook() 2238 if (af == AF_INET6) { in ip_vs_register_hooks() [all …]
|
| A D | ip_vs_proto_tcp.c | 111 if (af == AF_INET6) in tcp_fast_csum_update() 132 if (af == AF_INET6) in tcp_partial_csum_update() 156 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler() 169 if (!tcp_csum_check(cp->af, skb, pp)) in tcp_snat_handler() 202 if (cp->af == AF_INET6) in tcp_snat_handler() 247 if (!tcp_csum_check(cp->af, skb, pp)) in tcp_dnat_handler() 285 if (cp->af == AF_INET6) in tcp_dnat_handler() 309 if (af == AF_INET6) in tcp_csum_check() 321 if (af == AF_INET6) { in tcp_csum_check() 327 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in tcp_csum_check() [all …]
|
| A D | ip_vs_lblc.c | 90 int af; /* address family */ member 154 if (af == AF_INET6) in ip_vs_lblc_hashkey() 181 unsigned int hash = ip_vs_lblc_hashkey(af, addr); in ip_vs_lblc_get() 185 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblc_get() 198 u16 af, struct ip_vs_dest *dest) in ip_vs_lblc_new() argument 202 en = ip_vs_lblc_get(af, tbl, daddr); in ip_vs_lblc_new() 212 en->af = af; in ip_vs_lblc_new() 213 ip_vs_addr_copy(af, &en->addr, daddr); in ip_vs_lblc_new() 445 IP_VS_DBG_ADDR(least->af, &least->addr), in __ip_vs_lblc_schedule() 490 en = ip_vs_lblc_get(svc->af, tbl, &iph->daddr); in ip_vs_lblc_schedule() [all …]
|
| A D | ip_vs_sh.c | 84 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_sh_hashkey() argument 90 if (af == AF_INET6) in ip_vs_sh_hashkey() 107 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get() 129 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get_fallback() 137 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 144 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset); in ip_vs_sh_get_fallback() 152 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_get_fallback() 191 i, IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_reassign() 337 IP_VS_DBG_ADDR(svc->af, hash_addr), in ip_vs_sh_schedule() 338 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_schedule()
|
| A D | ip_vs_lblcr.c | 200 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_dest_set_min() 260 int af; /* address family */ member 317 if (af == AF_INET6) in ip_vs_lblcr_hashkey() 348 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblcr_get() 361 u16 af, struct ip_vs_dest *dest) in ip_vs_lblcr_new() argument 365 en = ip_vs_lblcr_get(af, tbl, daddr); in ip_vs_lblcr_new() 371 en->af = af; in ip_vs_lblcr_new() 372 ip_vs_addr_copy(af, &en->addr, daddr); in ip_vs_lblcr_new() 609 IP_VS_DBG_ADDR(least->af, &least->addr), in __ip_vs_lblcr_schedule() 654 en = ip_vs_lblcr_get(svc->af, tbl, &iph->daddr); in ip_vs_lblcr_schedule() [all …]
|
| A D | ip_vs_ctl.c | 418 if ((svc->af == af) in __ip_vs_service_find() 622 dest->af == af && in ip_vs_has_real_service() 653 dest->af == af && in ip_vs_find_real_service() 683 dest->af == af && in ip_vs_find_tunnel() 978 if (add && udest->af != svc->af) in __ip_vs_update_dest() 1034 dest->af = udest->af; in __ip_vs_update_dest() 1095 dest->af = udest->af; in ip_vs_new_dest() 1287 if (dest->af != svc->af) in __ip_vs_unlink_dest() 1437 svc->af = u->af; in ip_vs_add_service() 2944 if (dest->af != svc->af) in __ip_vs_get_dest_entries() [all …]
|
| A D | ip_vs_dh.c | 71 static inline unsigned int ip_vs_dh_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_dh_hashkey() argument 76 if (af == AF_INET6) in ip_vs_dh_hashkey() 88 ip_vs_dh_get(int af, struct ip_vs_dh_state *s, const union nf_inet_addr *addr) in ip_vs_dh_get() argument 90 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get() 222 dest = ip_vs_dh_get(svc->af, s, &iph->daddr); in ip_vs_dh_schedule() 232 IP_VS_DBG_ADDR(svc->af, &iph->daddr), in ip_vs_dh_schedule() 233 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule()
|
| A D | ip_vs_mh.c | 89 ip_vs_mh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_mh_hashkey() argument 96 if (af == AF_INET6) in ip_vs_mh_hashkey() 143 ds->offset = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate() 146 ds->skip = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate() 255 ihash = ip_vs_mh_hashkey(svc->af, addr, port, in ip_vs_mh_get_fallback() 264 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_mh_get_fallback() 271 hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, in ip_vs_mh_get_fallback() 280 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_mh_get_fallback() 311 IP_VS_DBG_ADDR(svc->af, &svc->addr), in ip_vs_mh_reassign() 502 IP_VS_DBG_ADDR(svc->af, hash_addr), in ip_vs_mh_schedule() [all …]
|
| A D | ip_vs_pe_sip.c | 74 retc = ip_vs_fill_iph_skb(p->af, skb, false, &iph); in ip_vs_sip_fill_param() 113 if (ct->af == p->af && in ip_vs_sip_ct_match() 114 ip_vs_addr_equal(p->af, p->caddr, &ct->caddr) && in ip_vs_sip_ct_match() 117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match() 129 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_sip_ct_match()
|
| /linux/net/sctp/ |
| A D | bind_addr.c | 222 struct sctp_af *af; in sctp_bind_addrs_to_raw() local 271 struct sctp_af *af; in sctp_raw_to_bind_addrs() local 279 if (unlikely(!af) || in sctp_raw_to_bind_addrs() 404 struct sctp_af *af; in sctp_bind_addr_state() local 407 if (unlikely(!af)) in sctp_bind_addr_state() 431 struct sctp_af *af; in sctp_find_unmatch_addr() local 443 if (!af) in sctp_find_unmatch_addr() 489 struct sctp_af *af; in sctp_is_any() local 498 if (!af) in sctp_is_any() 568 struct sctp_af *af; in sctp_scope() local [all …]
|
| /linux/tools/testing/selftests/net/ |
| 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/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
| A D | ia_css_s3a.host.c | 108 ia_css_af_encode(&to->af, from, sizeof(to->af)); in ia_css_s3a_encode() 172 "af_fir1[0]", af->fir1[0]); in ia_css_af_dump() 174 "af_fir1[1]", af->fir1[1]); in ia_css_af_dump() 176 "af_fir1[2]", af->fir1[2]); in ia_css_af_dump() 178 "af_fir1[3]", af->fir1[3]); in ia_css_af_dump() 180 "af_fir1[4]", af->fir1[4]); in ia_css_af_dump() 182 "af_fir1[5]", af->fir1[5]); in ia_css_af_dump() 184 "af_fir1[6]", af->fir1[6]); in ia_css_af_dump() 186 "af_fir2[0]", af->fir2[0]); in ia_css_af_dump() 188 "af_fir2[1]", af->fir2[1]); in ia_css_af_dump() [all …]
|
| /linux/include/net/ |
| A D | ip_vs.h | 78 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off() 155 if (af == AF_INET6) in ip_vs_addr_copy() 166 if (af == AF_INET6) { in ip_vs_addr_set() 181 if (af == AF_INET6) in ip_vs_addr_equal() 198 if (af == AF_INET6) in ip_vs_dbg_addr() 499 int af, 505 int af, 555 u16 af; member 634 u16 af; member 663 u16 af; member [all …]
|
| /linux/drivers/pinctrl/nomadik/ |
| A D | pinctrl-abx500.c | 306 af.alt_bit1, in abx500_set_mode() 314 af.alt_bit2, in abx500_set_mode() 328 af.alt_bit1, !!(af.altb_val & BIT(0))); in abx500_set_mode() 335 af.alt_bit2, in abx500_set_mode() 346 af.alt_bit2, !!(af.altc_val & BIT(0))); in abx500_set_mode() 351 af.alt_bit2, !!(af.altc_val & BIT(1))); in abx500_set_mode() 396 if ((af.alt_bit1 < UNUSED) || (af.alt_bit1 > 7) || in abx500_get_mode() 397 (af.alt_bit2 < UNUSED) || (af.alt_bit2 > 7)) { in abx500_get_mode() 404 if ((af.alt_bit2 != UNUSED) && (af.alt_bit1 == UNUSED)) { in abx500_get_mode() 411 if ((af.alt_bit1 == UNUSED) && (af.alt_bit2 == UNUSED)) in abx500_get_mode() [all …]
|
| /linux/include/linux/netfilter/ |
| A D | x_tables.h | 238 u_int8_t af; /* address/protocol family */ member 319 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision); 322 int xt_find_revision(u8 af, const char *name, u8 revision, int target, 326 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, 332 int xt_proto_init(struct net *net, u_int8_t af); 333 void xt_proto_fini(struct net *net, u_int8_t af); 513 void xt_compat_lock(u_int8_t af); 514 void xt_compat_unlock(u_int8_t af); 517 void xt_compat_flush_offsets(u_int8_t af); 518 int xt_compat_init_offsets(u8 af, unsigned int number); [all …]
|
| /linux/fs/afs/ |
| A D | file.c | 101 wbk->key = af->key; in afs_cache_wb_key() 112 af->wb = wbk; in afs_cache_wb_key() 118 af->wb = p; in afs_cache_wb_key() 129 struct afs_file *af; in afs_open() local 141 af = kzalloc(sizeof(*af), GFP_KERNEL); in afs_open() 142 if (!af) { in afs_open() 146 af->key = key; in afs_open() 168 kfree(af); in afs_open() 193 if (af->wb) in afs_release() 204 key_put(af->key); in afs_release() [all …]
|
| /linux/lib/zlib_dfltcc/ |
| 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/sound/soc/codecs/ |
| A D | wm8737.c | 332 u16 af = 0; in wm8737_hw_params() local 359 af |= 0x8; in wm8737_hw_params() 362 af |= 0x10; in wm8737_hw_params() 365 af |= 0x18; in wm8737_hw_params() 404 u16 af = 0; in wm8737_set_dai_fmt() local 408 af |= WM8737_MS; in wm8737_set_dai_fmt() 418 af |= 0x2; in wm8737_set_dai_fmt() 423 af |= 0x1; in wm8737_set_dai_fmt() 426 af |= 0x3; in wm8737_set_dai_fmt() 429 af |= 0x13; in wm8737_set_dai_fmt() [all …]
|
| /linux/include/linux/soc/pxa/ |
| 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))
|