| /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() 283 ao.reserved = 1; in test_einval_add_key() [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->keylen = keylen; 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.ao_required = !!ao_required; in test_set_ao_flags() [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 = rcu_dereference_check(tcp_sk(sk)->ao_info, in __tcp_ao_do_lookup() 206 if (!ao) in __tcp_ao_do_lookup() [all …]
|
| /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/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-g12-common.dtsi | 1555 amlogic,ao-secure = <&sec_AO>; 1565 amlogic,ao-secure = <&sec_AO>; 1628 amlogic,ao-sysctrl = <&rti>; 1746 compatible = "amlogic,meson-gx-ao-sysctrl", 1813 mclk0_ao_pins: mclk0-ao { 1822 tdm_ao_b_din0_pins: tdm-ao-b-din0 { 1830 spdif_ao_out_pins: spdif-ao-out { 1839 tdm_ao_b_din1_pins: tdm-ao-b-din1 { 1847 tdm_ao_b_din2_pins: tdm-ao-b-din2 { 1855 tdm_ao_b_dout0_pins: tdm-ao-b-dout0 { [all …]
|
| 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-s6.dtsi | 213 ao-secure@10220 { 214 compatible = "amlogic,s6-ao-secure", 215 "amlogic,meson-gx-ao-secure",
|
| H A D | amlogic-s7d.dtsi | 208 ao-secure@10220 { 209 compatible = "amlogic,s7d-ao-secure", 210 "amlogic,meson-gx-ao-secure",
|
| H A D | amlogic-s7.dtsi | 235 ao-secure@10220 { 236 compatible = "amlogic,s7-ao-secure", 237 "amlogic,meson-gx-ao-secure",
|
| /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/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.type; in subsys_create_adapter() 447 phr->u.s.adapter_index = ao.index; in subsys_create_adapter()
|
| /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/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";
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra234-p3701.dtsi | 197 vdd_1v8_ao: regulator-vdd-1v8-ao { 221 vdd_3v3_ao: regulator-vdd-3v3-ao {
|
| H A D | tegra234-p3767.dtsi | 155 vdd_1v8_ao: regulator-vdd-1v8-ao { 164 vdd_3v3_ao: regulator-vdd-3v3-ao {
|
| /linux/net/rds/ |
| H A D | rdma.c | 514 void rds_atomic_free_op(struct rm_atomic_op *ao) in rds_atomic_free_op() argument 516 struct page *page = sg_page(ao->op_sg); in rds_atomic_free_op() 523 kfree(ao->op_notifier); in rds_atomic_free_op() 524 ao->op_notifier = NULL; in rds_atomic_free_op() 525 ao->op_active = 0; in rds_atomic_free_op()
|