/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | setsockopt-closed.c | 236 struct tcp_ao_add ao; in test_optmem_limit() local 243 sk = prepare_defs(TCP_AO_ADD_KEY, &ao); in test_optmem_limit() 250 tcp_addr_to_sockaddr_in(&ao.addr, &key_peer, 0); in test_optmem_limit() 252 &ao, sizeof(ao)); in test_optmem_limit() 275 struct tcp_ao_add ao; in test_einval_add_key() local 278 sk = prepare_defs(TCP_AO_ADD_KEY, &ao); in test_einval_add_key() 279 ao.keylen = TCP_AO_MAXKEYLEN + 1; in test_einval_add_key() 280 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EINVAL, "too big keylen"); in test_einval_add_key() 282 sk = prepare_defs(TCP_AO_ADD_KEY, &ao); in test_einval_add_key() 767 struct tcp_ao_add ao, ao2; duplicate_tests() local [all...] |
H A D | connect.c | 78 before_aogood, ao1.ao.ao_info_pkt_good, in client_fn() 79 ao1.ao.key_cnts[0].pkt_good, in client_fn() 80 after_aogood, ao2.ao.ao_info_pkt_good, in client_fn() 81 ao2.ao.key_cnts[0].pkt_good, in client_fn()
|
H A D | bench-lookups.c | 130 struct tcp_ao_del *ao = arg; in delete_mkt() local 132 if (setsockopt(sk, IPPROTO_TCP, TCP_AO_DEL_KEY, ao, sizeof(*ao))) in delete_mkt()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | sock.c | 209 int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg, in test_prepare_key_sockaddr() argument 215 memset(ao, 0, sizeof(struct tcp_ao_add)); in test_prepare_key_sockaddr() 217 ao->set_current = !!set_current; in test_prepare_key_sockaddr() 218 ao->set_rnext = !!set_rnext; in test_prepare_key_sockaddr() 219 ao->prefix = prefix; in test_prepare_key_sockaddr() 220 ao->sndid = sndid; in test_prepare_key_sockaddr() 221 ao->rcvid = rcvid; in test_prepare_key_sockaddr() 222 ao->maclen = maclen; in test_prepare_key_sockaddr() 223 ao->keyflags = keyflags; in test_prepare_key_sockaddr() 224 ao in test_prepare_key_sockaddr() [all...] |
H A D | aolib.h | 371 extern int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg, 377 static inline int test_prepare_key(struct tcp_ao_add *ao, in test_prepare_key() argument 387 return test_prepare_key_sockaddr(ao, alg, (void *)&addr, sizeof(addr), in test_prepare_key() 392 static inline int test_prepare_def_key(struct tcp_ao_add *ao, in test_prepare_def_key() argument 400 return test_prepare_key(ao, DEFAULT_TEST_ALGO, in_addr, false, false, in test_prepare_def_key() 455 static inline int test_verify_socket_ao(int sk, struct tcp_ao_info_opt *ao) in test_verify_socket_ao() argument 464 return test_cmp_getsockopt_setsockopt_ao(ao, &ao2); in test_verify_socket_ao() 469 struct tcp_ao_info_opt ao = {}; in test_set_ao_flags() local 472 err = test_get_ao_info(sk, &ao); in test_set_ao_flags() 477 ao in test_set_ao_flags() 515 struct tcp_ao_counters ao; global() member [all...] |
/linux/net/ipv4/ |
H A D | tcp_ao.c | 54 struct tcp_ao_info *ao; in tcp_ao_ignore_icmp() local 83 ao = rcu_dereference(tcp_twsk(sk)->ao_info); in tcp_ao_ignore_icmp() 95 ao = rcu_dereference(tcp_sk(sk)->ao_info); in tcp_ao_ignore_icmp() 98 if (ao && !ao->accept_icmps) { in tcp_ao_ignore_icmp() 101 atomic64_inc(&ao->counters.dropped_icmp); in tcp_ao_ignore_icmp() 113 struct tcp_ao_info *ao, in tcp_ao_established_key() argument 118 hlist_for_each_entry_rcu(key, &ao->head, node, lockdep_sock_is_held(sk)) { in tcp_ao_established_key() 199 struct tcp_ao_info *ao; in __tcp_ao_do_lookup() local 204 ao in __tcp_ao_do_lookup() 228 struct tcp_ao_info *ao; tcp_ao_alloc_info() local 239 tcp_ao_link_mkt(struct tcp_ao_info * ao,struct tcp_ao_key * mkt) tcp_ao_link_mkt() argument 273 struct tcp_ao_info *ao = container_of(head, struct tcp_ao_info, rcu); tcp_ao_info_free_rcu() local 286 tcp_ao_sk_omem_free(struct sock * sk,struct tcp_ao_info * ao) tcp_ao_sk_omem_free() argument 298 struct tcp_ao_info *ao; tcp_ao_destroy_sock() local 815 struct tcp_ao_info *ao; tcp_ao_transmit_skb() local 1077 tcp_ao_cache_traffic_keys(const struct sock * sk,struct tcp_ao_info * ao,struct tcp_ao_key * ao_key) tcp_ao_cache_traffic_keys() argument 1159 struct tcp_ao_info *ao; tcp_ao_established() local 1173 struct tcp_ao_info *ao; tcp_ao_finish_connect() local 1193 struct tcp_ao_info *new_ao, *ao; tcp_ao_copy_all_matching() local 2323 struct tcp_ao_info *ao; tcp_ao_get_sock_info() local 2379 struct tcp_ao_info *ao; tcp_ao_set_repair() local 2413 struct tcp_ao_info *ao; tcp_ao_get_repair() local [all...] |
H A D | tcp_minisocks.c | 59 struct tcp_ao_info *ao; in twsk_rcv_nxt_update() local 61 ao = rcu_dereference(tcptw->ao_info); in twsk_rcv_nxt_update() 62 if (unlikely(ao && seq < rcv_nxt)) in twsk_rcv_nxt_update() 63 WRITE_ONCE(ao->rcv_sne, ao->rcv_sne + 1); in twsk_rcv_nxt_update()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgp102.c | 49 u32 ao = 0; in gp102_grctx_generate_attrib() local 50 u32 bo = ao + size; in gp102_grctx_generate_attrib() 75 gf100_grctx_patch_wr32(chan, o + 0xf8, ao); in gp102_grctx_generate_attrib() 76 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gp102_grctx_generate_attrib()
|
H A D | ctxgp100.c | 50 u32 ao = 0; in gp100_grctx_generate_attrib() local 51 u32 bo = ao + size; in gp100_grctx_generate_attrib() 73 gf100_grctx_patch_wr32(chan, o + 0xf8, ao); in gp100_grctx_generate_attrib() 74 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gp100_grctx_generate_attrib()
|
H A D | ctxgf108.c | 745 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf108_grctx_generate_attrib() local 760 gf100_grctx_patch_wr32(chan, o + 0x44, (a << 16) | ao); in gf108_grctx_generate_attrib() 761 ao += grctx->alpha_nr_max; in gf108_grctx_generate_attrib()
|
H A D | ctxgv100.c | 71 u32 ao = 0; in gv100_grctx_generate_attrib() local 72 u32 bo = ao + size; in gv100_grctx_generate_attrib() 95 gf100_grctx_patch_wr32(chan, o + 0xf8, ao); in gv100_grctx_generate_attrib() 96 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gv100_grctx_generate_attrib()
|
H A D | ctxgf117.c | 253 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gf117_grctx_generate_attrib() local 271 gf100_grctx_patch_wr32(chan, o + 0xe4, (a << 16) | ao); in gf117_grctx_generate_attrib() 272 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
|
H A D | ctxgm107.c | 908 u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; in gm107_grctx_generate_attrib() local 928 gf100_grctx_patch_wr32(chan, o + 0xf8, ao); in gm107_grctx_generate_attrib() 929 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
|
/linux/drivers/media/cec/platform/meson/ |
H A D | Makefile | 2 obj-$(CONFIG_CEC_MESON_AO) += ao-cec.o 3 obj-$(CONFIG_CEC_MESON_G12A_AO) += ao-cec-g12a.o
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | amlogic-a4-common.dtsi | 71 sec_ao: ao-secure@10220 { 72 compatible = "amlogic,a4-ao-secure", 73 "amlogic,meson-gx-ao-secure",
|
H A D | amlogic-t7.dtsi | 198 sec_ao: ao-secure@10220 { 199 compatible = "amlogic,t7-ao-secure", 200 "amlogic,meson-gx-ao-secure",
|
H A D | meson-gx.dtsi | 454 compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon"; 465 compatible = "amlogic,meson-gx-ao-cec"; 471 sec_AO: ao-secure@140 { 472 compatible = "amlogic,meson-gx-ao-secure", "syscon"; 478 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; 485 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; 525 amlogic,ao-sysctrl = <&sysctrl_AO>; 569 amlogic,ao-sysctrl = <&sysctrl_AO>;
|
H A D | meson-a1.dtsi | 508 "amlogic,meson-ao-uart"; 518 "amlogic,meson-ao-uart"; 616 amlogic,ao-secure = <&sec_AO>; 626 sec_AO: ao-secure@5a20 { 627 compatible = "amlogic,meson-gx-ao-secure", "syscon";
|
/linux/net/rds/ |
H A D | send.c | 538 struct rm_atomic_op *ao; in rds_atomic_send_complete() local 544 ao = &rm->atomic; in rds_atomic_send_complete() 546 && ao->op_active && ao->op_notify && ao->op_notifier) { in rds_atomic_send_complete() 547 notifier = ao->op_notifier; in rds_atomic_send_complete() 556 ao->op_notifier = NULL; in rds_atomic_send_complete() 577 struct rm_atomic_op *ao; in __rds_send_complete() local 586 ao = &rm->atomic; in __rds_send_complete() 587 if (ao in __rds_send_complete() [all...] |
/linux/sound/pci/asihpi/ |
H A D | hpi6000.c | 399 struct hpi_adapter_obj ao; in subsys_create_adapter() local 407 memset(&ao, 0, sizeof(ao)); in subsys_create_adapter() 409 ao.priv = kzalloc(sizeof(struct hpi_hw_obj), GFP_KERNEL); in subsys_create_adapter() 410 if (!ao.priv) { in subsys_create_adapter() 417 ao.pci = *phm->u.s.resource.r.pci; in subsys_create_adapter() 419 err = create_adapter_obj(&ao, &os_error_code); in subsys_create_adapter() 421 delete_adapter_obj(&ao); in subsys_create_adapter() 433 pao = hpi_find_adapter(ao.index); in subsys_create_adapter() 446 phr->u.s.adapter_type = ao in subsys_create_adapter() [all...] |
/linux/Documentation/devicetree/bindings/power/ |
H A D | amlogic,meson-gx-pwrc.txt | 31 - compatible: "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd" 38 compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd";
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3701.dtsi | 186 vdd_1v8_ao: regulator-vdd-1v8-ao { 210 vdd_3v3_ao: regulator-vdd-3v3-ao {
|
H A D | tegra234-p3767.dtsi | 140 vdd_1v8_ao: regulator-vdd-1v8-ao { 149 vdd_3v3_ao: regulator-vdd-3v3-ao {
|
/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8.dtsi | 373 i2s_out_ao_clk_pins: i2s-ao-clk-out { 421 pwm_f_ao_pins: pwm-f-ao { 432 compatible = "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc"; 613 compatible = "amlogic,meson8-ao-arc-sram"; 659 amlogic,ao-sysctrl = <&pmu>; 786 compatible = "amlogic,meson8-uart", "amlogic,meson-ao-uart";
|
H A D | meson8b.dtsi | 335 i2s_out_ao_clk_pins: i2s-ao-clk-out { 386 compatible = "amlogic,meson8b-ao-arc", "amlogic,meson-mx-ao-arc"; 541 compatible = "amlogic,meson8b-ao-arc-sram"; 602 amlogic,ao-sysctrl = <&pmu>; 739 compatible = "amlogic,meson8b-uart", "amlogic,meson-ao-uart";
|