Home
last modified time | relevance | path

Searched refs:ao (Results 1 – 25 of 55) sorted by relevance

123

/linux/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c236 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 Dbench-lookups.c130 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/net/ipv4/
H A Dtcp_ao.c54 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 …]
H A Dtcp_minisocks.c59 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/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c138 int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg, in test_prepare_key_sockaddr() argument
144 memset(ao, 0, sizeof(struct tcp_ao_add)); in test_prepare_key_sockaddr()
146 ao->set_current = !!set_current; in test_prepare_key_sockaddr()
147 ao->set_rnext = !!set_rnext; in test_prepare_key_sockaddr()
148 ao->prefix = prefix; in test_prepare_key_sockaddr()
149 ao->sndid = sndid; in test_prepare_key_sockaddr()
150 ao->rcvid = rcvid; in test_prepare_key_sockaddr()
151 ao->maclen = maclen; in test_prepare_key_sockaddr()
152 ao->keyflags = keyflags; in test_prepare_key_sockaddr()
153 ao->keylen = keylen; in test_prepare_key_sockaddr()
[all …]
H A Daolib.h370 extern int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg,
376 static inline int test_prepare_key(struct tcp_ao_add *ao, in test_prepare_key() argument
386 return test_prepare_key_sockaddr(ao, alg, (void *)&addr, sizeof(addr), in test_prepare_key()
391 static inline int test_prepare_def_key(struct tcp_ao_add *ao, in test_prepare_def_key() argument
399 return test_prepare_key(ao, DEFAULT_TEST_ALGO, in_addr, false, false, in test_prepare_def_key()
454 static inline int test_verify_socket_ao(int sk, struct tcp_ao_info_opt *ao) in test_verify_socket_ao() argument
463 return test_cmp_getsockopt_setsockopt_ao(ao, &ao2); in test_verify_socket_ao()
468 struct tcp_ao_info_opt ao = {}; in test_set_ao_flags() local
471 err = test_get_ao_info(sk, &ao); in test_set_ao_flags()
476 ao.ao_required = !!ao_required; in test_set_ao_flags()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgp102.c49 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 Dctxgp100.c50 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 Dctxgv100.c71 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 Dctxgf108.c745 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 Dctxgf117.c253 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 Dctxgm107.c908 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 DMakefile2 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 Damlogic-a4-common.dtsi71 sec_ao: ao-secure@10220 {
72 compatible = "amlogic,a4-ao-secure",
73 "amlogic,meson-gx-ao-secure",
H A Dmeson-gx.dtsi454 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";
501 compatible = "amlogic,meson-gx-ao-pwm", "amlogic,meson-gxbb-ao-pwm";
525 amlogic,ao-sysctrl = <&sysctrl_AO>;
569 amlogic,ao-sysctrl = <&sysctrl_AO>;
H A Damlogic-t7.dtsi198 sec_ao: ao-secure@10220 {
199 compatible = "amlogic,t7-ao-secure",
200 "amlogic,meson-gx-ao-secure",
H A Dmeson-s4.dtsi752 "amlogic,meson-ao-uart";
766 sec_ao: ao-secure@10220 {
767 compatible = "amlogic,s4-ao-secure",
768 "amlogic,meson-gx-ao-secure",
/linux/net/rds/
H A Dsend.c538 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->op_active && ao->op_notify && ao->op_notifier) { in __rds_send_complete()
588 ao->op_notifier->n_status = status; in __rds_send_complete()
589 list_add_tail(&ao->op_notifier->n_list, &rs->rs_notify_queue); in __rds_send_complete()
[all …]
H A Drdma.c514 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()
/linux/sound/pci/asihpi/
H A Dhpi6000.c399 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()
H A Dhpi6205.c456 struct hpi_adapter_obj ao; in subsys_create_adapter() local
462 memset(&ao, 0, sizeof(ao)); in subsys_create_adapter()
464 ao.priv = kzalloc(sizeof(struct hpi_hw_obj), GFP_KERNEL); in subsys_create_adapter()
465 if (!ao.priv) { in subsys_create_adapter()
471 ao.pci = *phm->u.s.resource.r.pci; in subsys_create_adapter()
472 err = create_adapter_obj(&ao, &os_error_code); in subsys_create_adapter()
474 delete_adapter_obj(&ao); in subsys_create_adapter()
485 phr->u.s.adapter_type = ao.type; in subsys_create_adapter()
486 phr->u.s.adapter_index = ao.index; in subsys_create_adapter()
/linux/Documentation/devicetree/bindings/power/
H A Damlogic,meson-gx-pwrc.txt31 - 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 Dtegra234-p3701.dtsi186 vdd_1v8_ao: regulator-vdd-1v8-ao {
210 vdd_3v3_ao: regulator-vdd-3v3-ao {
H A Dtegra234-p3767.dtsi140 vdd_1v8_ao: regulator-vdd-1v8-ao {
149 vdd_3v3_ao: regulator-vdd-3v3-ao {
/linux/fs/xfs/scrub/
H A Dbmap_repair.c295 xfs_fileoff_t ao = xfs_bmbt_disk_get_startoff(ba); in xrep_bmap_extent_cmp() local
298 if (ao > bo) in xrep_bmap_extent_cmp()
300 else if (ao < bo) in xrep_bmap_extent_cmp()

123