| /linux/Documentation/userspace-api/media/ |
| H A D | typical_media_device.svg | 4 …25" d="m2371.5 6438h-2260v-1086h4520v1086h-2260z" fill="none" stroke="#3465af" style=""/><text id=… 6 …39" d="m2371.5 9608h-2260v-1270h4520v1270h-2260z" fill="none" stroke="#3465af" style=""/><text id=… 7 …53" d="m2363.5 8053h-2269v-1224h4537v1224h-2268z" fill="none" stroke="#3465af" style=""/><text id=… 8 …67" d="m13622 10386h-3810v-1281h7620v1281h-3810z" fill="none" stroke="#3465af" style=""/><text id=… 9 …81" d="m12080 12182h-2268v-1412h4536v1412h-2268z" fill="none" stroke="#3465af" style=""/><text id=… 10 …5" d="m3050.5 15498h-1563v-1715h3126v1715h-1563z" fill="none" stroke="#3465af" style=""/><text id=… 11 …af" style=""/><path id="path113" d="m4629.5 7448 385-353v176h1167v-176l386 353-386 354v-177h-1167v… 12 …af" style=""/><path id="path131" d="m7872.5 9716.8 385-353v176h1166v-176l386 353-386 354v-177h-116… 13 …9.49-840.89 979.49-840.89v420.03h2960.5v-420.03z" fill="none" stroke="#3465af" stroke-width="25.77… 14 …th161" d="m11062 7098h-1250v-875h2499v875h-1249z" fill="none" stroke="#3465af" style=""/><text id=… [all …]
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | isph3a_af.c | 5 * TI OMAP3 ISP - H3A AF module 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() [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/netfilter/ipvs/ |
| 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() 93 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument 99 if (af == AF_INET6) in udp_fast_csum_update() 115 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument 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, iph)) in udp_snat_handler() [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, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() [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 68 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() 71 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() 105 tcp_fast_csum_update(int af, struct tcphdr *tcph, in tcp_fast_csum_update() argument 111 if (af == AF_INET6) in tcp_fast_csum_update() 126 tcp_partial_csum_update(int af, struct tcphdr *tcph, in tcp_partial_csum_update() argument 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, iph)) in tcp_snat_handler() [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() 211 en->af = af; in ip_vs_lblc_new() [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() 390 p->vport == cp->vport && cp->af == p->af && in __ip_vs_conn_in_get() 391 ip_vs_addr_equal(p->af, p->caddr, in __ip_vs_conn_in_get() 393 ip_vs_addr_equal(p->af, p->vaddr, in __ip_vs_conn_in_get() 420 int af_id = ip_vs_af_index(p->af); in ip_vs_conn_in_get() 432 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get() [all …]
|
| H A D | ip_vs_ctl.c | 366 ip_vs_svc_hashval(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_svc_hashval() argument 369 return ip_vs_rht_hash_linfo(t, af, addr, ntohs(port), proto); in ip_vs_svc_hashval() 375 static inline u32 ip_vs_svc_fwm_hashval(struct ip_vs_rht *t, int af, in ip_vs_svc_fwm_hashval() argument 378 return jhash_2words(fwmark, af, (u32)t->hash_key.key[0]); in ip_vs_svc_fwm_hashval() 413 hash = ip_vs_svc_hashval(t, svc->af, svc->protocol, in ip_vs_svc_hash() 419 hash = ip_vs_svc_fwm_hashval(t, svc->af, svc->fwmark); in ip_vs_svc_hash() 495 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() argument 507 hash = ip_vs_svc_hashval(t, af, protocol, vaddr, vport); in __ip_vs_service_find() 513 svc->af == af && in __ip_vs_service_find() 514 ip_vs_addr_equal(af, &svc->addr, vaddr) && in __ip_vs_service_find() [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, struct ip_vs_dest *dest) in ip_vs_lblcr_new() 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, &dest->addr), in ip_vs_sh_schedule()
|
| 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() 221 dest = ip_vs_dh_get(svc->af, s, &iph->daddr); in ip_vs_dh_schedule() 231 IP_VS_DBG_ADDR(svc->af, &iph->daddr), in ip_vs_dh_schedule() 232 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule()
|
| 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, &svc->addr), in ip_vs_mh_reassign() [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 in sctp_rcv() 468 struct sctp_af *af; sctp_err_lookup() local 1135 struct sctp_af *af; __sctp_rcv_init_lookup() local 1197 struct sctp_af *af; __sctp_rcv_asconf_lookup() local [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/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/include/net/ |
| H A D | ip_vs.h | 97 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument 104 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off() 141 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument 149 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp() 153 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument 161 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb() 177 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument 181 if (af == AF_INET6) in ip_vs_addr_copy() 188 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument 192 if (af == AF_INET6) { in ip_vs_addr_set() [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/arch/arm/boot/dts/intel/pxa/ |
| H A D | pxa2xx.dtsi | 11 #define PMMUX(func, pin, af) \ argument 14 function = #af; \ 16 #define PMMUX_LPM_LOW(func, pin, af) \ argument 19 function = #af; \ 22 #define PMMUX_LPM_HIGH(func, pin, af) \ argument 25 function = #af; \
|
| /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/trace/events/ |
| H A D | bridge.h | 134 __field(int, af) 138 __array(__u8, grpmac, ETH_ALEN) /* For af == 0. */ 148 __entry->af = 0; 154 __entry->af = AF_INET; 166 __entry->af = AF_INET6; 179 TP_printk("dev %s af %u src %pI6c grp %pI6c/%pM vid %u", 180 __get_str(dev), __entry->af, __entry->src, __entry->grp,
|
| /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...] |