Home
last modified time | relevance | path

Searched refs:msk (Results 1 – 25 of 164) sorted by relevance

1234567

/openbmc/linux/tools/testing/selftests/powerpc/primitives/asm/
H A Dfeature-fixups.h85 END_FTR_SECTION_NESTED((msk), (msk), label)
87 #define END_FTR_SECTION_IFSET(msk) END_FTR_SECTION((msk), (msk)) argument
88 #define END_FTR_SECTION_IFCLR(msk) END_FTR_SECTION((msk), 0) argument
95 ALT_FTR_SECTION_END_NESTED(msk, msk, label)
117 END_MMU_FTR_SECTION_NESTED((msk), (msk), label)
122 #define END_MMU_FTR_SECTION_IFSET(msk) END_MMU_FTR_SECTION((msk), (msk)) argument
131 ALT_MMU_FTR_SECTION_END_NESTED(msk, msk, label)
152 #define END_FW_FTR_SECTION_IFSET(msk) END_FW_FTR_SECTION((msk), (msk)) argument
161 ALT_FW_FTR_SECTION_END_NESTED(msk, msk, label)
181 ASM_FTR_IF(section_if, section_else, (msk), (msk))
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dfeature-fixups.h85 END_FTR_SECTION_NESTED((msk), (msk), label)
87 #define END_FTR_SECTION_IFSET(msk) END_FTR_SECTION((msk), (msk)) argument
88 #define END_FTR_SECTION_IFCLR(msk) END_FTR_SECTION((msk), 0) argument
95 ALT_FTR_SECTION_END_NESTED(msk, msk, label)
117 END_MMU_FTR_SECTION_NESTED((msk), (msk), label)
122 #define END_MMU_FTR_SECTION_IFSET(msk) END_MMU_FTR_SECTION((msk), (msk)) argument
131 ALT_MMU_FTR_SECTION_END_NESTED(msk, msk, label)
152 #define END_FW_FTR_SECTION_IFSET(msk) END_FW_FTR_SECTION((msk), (msk)) argument
161 ALT_FW_FTR_SECTION_END_NESTED(msk, msk, label)
181 ASM_FTR_IF(section_if, section_else, (msk), (msk))
[all …]
/openbmc/linux/net/mptcp/
H A Dpm.c35 msk->pm.remote = *addr; in mptcp_pm_announce_addr()
38 msk->pm.local = *addr; in mptcp_pm_announce_addr()
70 pr_debug("msk=%p, token=%u side=%d\n", msk, msk->token, server_side); in mptcp_pm_new_connection()
118 pr_debug("msk=%p status=%x new=%lx\n", msk, msk->pm.status, in mptcp_pm_schedule_work()
290 struct mptcp_sock *msk; in mptcp_pm_mp_prio_received() local
293 msk = mptcp_sk(sk); in mptcp_pm_mp_prio_received()
350 port = !!(*echo ? msk->pm.remote.port : msk->pm.local.port); in mptcp_pm_add_addr_signal()
352 family = *echo ? msk->pm.remote.family : msk->pm.local.family; in mptcp_pm_add_addr_signal()
357 *addr = msk->pm.remote; in mptcp_pm_add_addr_signal()
360 *addr = msk->pm.local; in mptcp_pm_add_addr_signal()
[all …]
H A Dsched.c95 msk->sched = sched; in mptcp_init_sched()
96 if (msk->sched->init) in mptcp_init_sched()
97 msk->sched->init(msk); in mptcp_init_sched()
111 msk->sched = NULL; in mptcp_release_sched()
113 sched->release(msk); in mptcp_release_sched()
129 msk_owned_by_me(msk); in mptcp_sched_get_send()
133 if (msk->first && in mptcp_sched_get_send()
148 if (msk->sched == &mptcp_sched_default || !msk->sched) in mptcp_sched_get_send()
150 return msk->sched->get_subflow(msk, &data); in mptcp_sched_get_send()
170 if (msk->sched == &mptcp_sched_default || !msk->sched) in mptcp_sched_get_retrans()
[all …]
H A Dpm_userspace.c19 spin_lock_bh(&msk->pm.lock); in mptcp_free_local_addr_list()
21 spin_unlock_bh(&msk->pm.lock); in mptcp_free_local_addr_list()
184 struct mptcp_sock *msk; in mptcp_nl_cmd_announce() local
196 if (!msk) { in mptcp_nl_cmd_announce()
282 struct mptcp_sock *msk; in mptcp_nl_cmd_remove() local
297 if (!msk) { in mptcp_nl_cmd_remove()
351 struct mptcp_sock *msk; in mptcp_nl_cmd_sf_create() local
364 if (!msk) { in mptcp_nl_cmd_sf_create()
411 msk->pm.subflows++; in mptcp_nl_cmd_sf_create()
487 if (!msk) { in mptcp_nl_cmd_sf_destroy()
[all …]
H A Dsockopt.c22 msk_owned_by_me(msk); in __mptcp_tcp_fallback()
27 return msk->first; in __mptcp_tcp_fallback()
55 msk->setsockopt_seq = sockopt_seq_reset((struct sock *)msk) + seq; in sockopt_seq_inc()
76 sockopt_seq_inc(msk); in mptcp_sol_socket_sync_intval()
270 sockopt_seq_inc(msk); in mptcp_setsockopt_sol_socket_linger()
604 sockopt_seq_inc(msk); in mptcp_setsockopt_sol_tcp_congestion()
655 msk->cork = !!val; in __mptcp_setsockopt_sol_tcp_cork()
901 ssk = msk->first; in mptcp_getsockopt_first_sf_only()
1362 return mptcp_put_int_option(msk, optval, optlen, msk->recvmsg_inq); in mptcp_getsockopt_sol_tcp()
1364 return mptcp_put_int_option(msk, optval, optlen, msk->cork); in mptcp_getsockopt_sol_tcp()
[all …]
H A Dprotocol.c111 mptcp_sockopt_sync(msk, msk->first); in __mptcp_nmpc_sk()
593 WRITE_ONCE(msk->ack_seq, msk->ack_seq + 1); in mptcp_check_data_fin()
1052 if (unlikely(msk->recovery) && after64(msk->snd_una, msk->recovery_snd_nxt)) in __mptcp_clean_una()
1707 msk->snd_nxt + 1 == msk->write_seq) in __mptcp_subflow_push_pending()
1979 mptcp_rcv_space_init(msk, msk->first); in mptcp_rcv_space_adjust()
2347 msk->recovery_snd_nxt = msk->snd_nxt; in __mptcp_retransmit_pending_data()
2957 msk->snd_nxt, msk->write_seq); in mptcp_check_send_data_fin()
2962 if (!msk->snd_data_fin_enable || msk->snd_nxt + 1 != msk->write_seq || in mptcp_check_send_data_fin()
2966 WRITE_ONCE(msk->snd_nxt, msk->write_seq); in mptcp_check_send_data_fin()
3288 msk->snd_nxt = msk->write_seq; in mptcp_sk_clone_init()
[all …]
H A Dpm_netlink.c162 msk_owned_by_me(msk); in select_local_address()
246 if (msk->pm.subflows == mptcp_pm_get_subflows_max(msk) || in mptcp_pm_nl_check_work_pending()
300 if (!msk) in mptcp_pm_add_timer()
388 add_entry->sock = msk; in mptcp_pm_alloc_anno_list()
444 msk->pm.subflows++; in fill_remote_addresses_vec()
690 msk->pm.subflows++; in fill_local_addresses_vec()
719 msk->pm.subflows++; in fill_local_addresses_vec()
790 msk_owned_by_me(msk); in mptcp_pm_nl_addr_send_ack()
846 msk_owned_by_me(msk); in mptcp_pm_nl_rm_addr_or_subflow()
1612 if (list_empty(&msk->conn_list) || mptcp_pm_is_userspace(msk)) in mptcp_nl_remove_id_zero_address()
[all …]
H A Dtoken_test.c54 struct mptcp_sock *msk; in build_msk() local
63 return msk; in build_msk()
76 sk = (struct sock *)msk; in mptcp_token_test_msk_basic()
85 mptcp_token_destroy(msk); in mptcp_token_test_msk_basic()
96 msk->token = req->token; in mptcp_token_test_accept()
98 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
102 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
105 mptcp_token_destroy(msk); in mptcp_token_test_accept()
115 sk = (struct sock *)msk; in mptcp_token_test_destroyed()
119 msk->token = req->token; in mptcp_token_test_destroyed()
[all …]
H A Dprotocol.h382 cur = msk->first_pending; in mptcp_send_next()
391 if (!msk->first_pending) in mptcp_pending_tail()
404 if (msk->snd_una == READ_ONCE(msk->snd_nxt)) in mptcp_rtx_head()
434 struct mptcp_sock *msk; member
683 return READ_ONCE(msk->bytes_received) - READ_ONCE(msk->bytes_consumed); in mptcp_data_avail()
798 READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt); in mptcp_data_fin_enabled()
874 struct mptcp_sock *msk);
1059 if (--msk->pm.subflows < mptcp_pm_get_subflows_max(msk)) in __mptcp_pm_close_subflow()
1106 struct mptcp_sock *msk; in mptcp_do_fallback() local
1108 msk = mptcp_sk(sk); in mptcp_do_fallback()
[all …]
H A Dsubflow.c45 if (subflow_req->msk) in subflow_req_destructor()
73 struct mptcp_sock *msk = subflow_req->msk; in subflow_req_create_thmac() local
78 subflow_generate_hmac(msk->local_key, msk->remote_key, in subflow_req_create_thmac()
92 if (!msk) { in subflow_token_join_request()
105 return msk; in subflow_token_join_request()
453 WRITE_ONCE(msk->snd_nxt, msk->write_seq); in __mptcp_sync_state()
530 pr_fallback(msk); in subflow_finish_connect()
733 msk = subflow_req->msk; in subflow_hmac_valid()
734 if (!msk) in subflow_hmac_valid()
737 subflow_generate_hmac(msk->remote_key, msk->local_key, in subflow_hmac_valid()
[all …]
H A Dtoken.c192 struct mptcp_sock *msk) in mptcp_token_accept() argument
214 struct mptcp_sock *msk; in mptcp_token_exists() local
222 msk = mptcp_sk(sk); in mptcp_token_exists()
223 if (READ_ONCE(msk->token) == token) in mptcp_token_exists()
250 struct mptcp_sock *msk; in mptcp_token_get_sock() local
258 msk = mptcp_sk(sk); in mptcp_token_get_sock()
277 msk = NULL; in mptcp_token_get_sock()
281 return msk; in mptcp_token_get_sock()
385 bucket = token_bucket(msk->token); in mptcp_token_destroy()
388 if (!WARN_ON_ONCE(pos != msk)) { in mptcp_token_destroy()
[all …]
H A Doptions.c610 WRITE_ONCE(msk->old_wspace, __mptcp_space((struct sock *)msk)); in mptcp_established_options_dss()
693 msk->remote_key, in mptcp_established_options_add_addr()
977 pr_fallback(msk); in check_fully_established()
1034 msk->bytes_acked += new_snd_una - msk->snd_una; in __mptcp_snd_una_update()
1035 msk->snd_una = new_snd_una; in __mptcp_snd_una_update()
1052 old_snd_una = msk->snd_una; in ack_update_msk()
1062 msk->wnd_end = new_wnd_end; in ack_update_msk()
1065 if (after64(msk->wnd_end, READ_ONCE(msk->snd_nxt))) in ack_update_msk()
1105 msk->local_key, in add_addr_hmac_valid()
1135 __mptcp_snd_una_update(msk, READ_ONCE(msk->snd_nxt)); in mptcp_incoming_options()
[all …]
H A Dfastopen.c62 void __mptcp_fastopen_gen_msk_ackseq(struct mptcp_sock *msk, struct mptcp_subflow_context *subflow, in __mptcp_fastopen_gen_msk_ackseq() argument
65 struct sock *sk = (struct sock *)msk; in __mptcp_fastopen_gen_msk_ackseq()
72 MPTCP_SKB_CB(skb)->map_seq, MPTCP_SKB_CB(skb)->map_seq + msk->ack_seq, in __mptcp_fastopen_gen_msk_ackseq()
73 MPTCP_SKB_CB(skb)->end_seq, MPTCP_SKB_CB(skb)->end_seq + msk->ack_seq); in __mptcp_fastopen_gen_msk_ackseq()
74 MPTCP_SKB_CB(skb)->map_seq += msk->ack_seq; in __mptcp_fastopen_gen_msk_ackseq()
75 MPTCP_SKB_CB(skb)->end_seq += msk->ack_seq; in __mptcp_fastopen_gen_msk_ackseq()
78 pr_debug("msk=%p ack_seq=%llx\n", msk, msk->ack_seq); in __mptcp_fastopen_gen_msk_ackseq()
H A Dmptcp_diag.c32 struct mptcp_sock *msk = NULL; in mptcp_diag_dump_one() local
39 msk = mptcp_token_get_sock(net, req->id.idiag_cookie[0]); in mptcp_diag_dump_one()
40 if (!msk) in mptcp_diag_dump_one()
44 sk = (struct sock *)msk; in mptcp_diag_dump_one()
159 struct mptcp_sock *msk; in mptcp_diag_dump() local
167 while ((msk = mptcp_token_iter_next(net, &diag_ctx->s_slot, in mptcp_diag_dump()
169 struct inet_sock *inet = (struct inet_sock *)msk; in mptcp_diag_dump()
170 struct sock *sk = (struct sock *)msk; in mptcp_diag_dump()
203 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_diag_get_info() local
210 struct sock *lsk = READ_ONCE(msk->first); in mptcp_diag_get_info()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c18 msk->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta()
19 msk->mask_id = ~0; in nfp_flower_compile_meta()
228 msk->tos |= match.mask->tos; in nfp_flower_compile_ip_ext()
232 msk->ttl |= match.mask->ttl; in nfp_flower_compile_ip_ext()
411 msk->src |= match.mask->src; in nfp_flower_compile_tun_ipv4_addrs()
550 u8 *msk; in nfp_flower_compile_flow_match() local
558 msk = nfp_flow->mask_data; in nfp_flower_compile_flow_match()
643 (void *)msk, rule); in nfp_flower_compile_flow_match()
658 (void *)msk, rule); in nfp_flower_compile_flow_match()
679 (void *)msk, rule); in nfp_flower_compile_flow_match()
[all …]
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dmrc_util.c141 uint32_t msk; in set_rcvn() local
183 msk = 0x00; in set_rcvn()
189 temp |= msk; in set_rcvn()
194 temp |= msk; in set_rcvn()
280 msk = 0x7f; in set_rdqs()
377 msk = 0x00; in set_wdqs()
501 msk = 0x00; in set_wdq()
624 msk = 0x00; in set_wcmd()
748 msk = 0x00; in set_wclk()
752 msk |= 0xf; in set_wclk()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmptcp_sock.c32 struct mptcp_sock *msk; in _sockops() local
60 msk = bpf_skc_to_mptcp_sock(sk); in _sockops()
61 if (!msk) in _sockops()
64 storage = bpf_sk_storage_get(&socket_storage_map, msk, 0, in _sockops()
69 storage->token = msk->token; in _sockops()
70 __builtin_memcpy(storage->ca_name, msk->ca_name, TCP_CA_NAME_MAX); in _sockops()
71 storage->first = msk->first; in _sockops()
81 int BPF_PROG(trace_mptcp_pm_new_connection, struct mptcp_sock *msk, in BPF_PROG() argument
85 token = msk->token; in BPF_PROG()
/openbmc/qemu/host/include/generic/host/
H A Dstore-insert-al16.h.inc15 * @msk: mask for value to store
17 * Atomically store @val to @p masked by @msk.
20 store_atom_insert_al16(Int128 *ps, Int128 val, Int128 msk)
29 msk = int128_not(msk);
31 new.s = int128_and(old.s, msk);
40 msk = int128_not(msk);
43 new = int128_and(old, msk);
/openbmc/linux/net/mctp/
H A Daf_mctp.c81 msk->bind_net = smctp->smctp_network; in mctp_bind()
259 if (msk->addr_ext) { in mctp_recvmsg()
322 msk->addr_ext = val; in mctp_setsockopt()
344 val = !!msk->addr_ext; in mctp_getsockopt()
355 struct net *net = sock_net(&msk->sk); in mctp_ioctl_alloctag()
397 struct net *net = sock_net(&msk->sk); in mctp_ioctl_droptag()
445 return mctp_ioctl_alloctag(msk, arg); in mctp_ioctl()
447 return mctp_ioctl_droptag(msk, arg); in mctp_ioctl()
497 struct net *net = sock_net(&msk->sk); in mctp_sk_expire_keys()
539 INIT_HLIST_HEAD(&msk->keys); in mctp_sk_init()
[all …]
H A Droute.c61 if (msk->bind_net != MCTP_NET_ANY && msk->bind_net != cb->net) in mctp_lookup_bind()
64 if (msk->bind_type != type) in mctp_lookup_bind()
70 return msk; in mctp_lookup_bind()
146 key->sk = &msk->sk; in mctp_key_alloc()
328 struct mctp_sock *msk; in mctp_route_input() local
334 msk = NULL; in mctp_route_input()
374 msk = container_of(any_key->sk, in mctp_route_input()
383 if (!msk) { in mctp_route_input()
427 rc = mctp_key_add(key, msk); in mctp_route_input()
582 struct mctp_sock *msk) in mctp_reserve_tag() argument
[all …]
/openbmc/linux/kernel/irq/
H A Dmatrix.c130 const struct cpumask *msk) in matrix_find_best_cpu() argument
137 for_each_cpu(cpu, msk) { in matrix_find_best_cpu()
151 const struct cpumask *msk) in matrix_find_best_cpu_managed() argument
158 for_each_cpu(cpu, msk) { in matrix_find_best_cpu_managed()
214 for_each_cpu(cpu, msk) { in irq_matrix_reserve_managed()
231 for_each_cpu(cpu, msk) { in irq_matrix_reserve_managed()
255 for_each_cpu(cpu, msk) { in irq_matrix_remove_managed()
292 if (cpumask_empty(msk)) in irq_matrix_alloc_managed()
295 cpu = matrix_find_best_cpu_managed(m, msk); in irq_matrix_alloc_managed()
387 if (cpumask_empty(msk)) in irq_matrix_alloc()
[all …]
/openbmc/qemu/hw/sd/
H A Dsdhci.c89 msk = FIELD_DP64(msk, SDHC_CAPAB, UHS_II, 0); in sdhci_check_capareg()
93 msk = FIELD_DP64(msk, SDHC_CAPAB, ADMA3, 0); in sdhci_check_capareg()
99 msk = FIELD_DP64(msk, SDHC_CAPAB, ASYNC_INT, 0); in sdhci_check_capareg()
107 msk = FIELD_DP64(msk, SDHC_CAPAB, SLOT_TYPE, 0); in sdhci_check_capareg()
143 msk = FIELD_DP64(msk, SDHC_CAPAB, ADMA2, 0); in sdhci_check_capareg()
147 msk = FIELD_DP64(msk, SDHC_CAPAB, ADMA1, 0); in sdhci_check_capareg()
156 msk = FIELD_DP64(msk, SDHC_CAPAB, TOUNIT, 0); in sdhci_check_capareg()
186 msk = FIELD_DP64(msk, SDHC_CAPAB, SDMA, 0); in sdhci_check_capareg()
194 msk = FIELD_DP64(msk, SDHC_CAPAB, V33, 0); in sdhci_check_capareg()
198 msk = FIELD_DP64(msk, SDHC_CAPAB, V30, 0); in sdhci_check_capareg()
[all …]
/openbmc/u-boot/arch/m68k/cpu/mcf5227x/
H A Dcpu.c34 u16 msk; in print_cpuinfo() local
39 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo()
41 switch (msk) { in print_cpuinfo()
50 printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk, in print_cpuinfo()
/openbmc/linux/drivers/clk/sprd/
H A Dpll.c54 u32 msk, u32 val) in sprd_pll_write() argument
66 regmap_write(common->regmap, offset, (reg & ~msk) | val); in sprd_pll_write()
173 cfg[index].msk = mask; in _sprd_pll_set_rate()
184 cfg[index].msk |= mask; in _sprd_pll_set_rate()
189 cfg[index].msk |= mask; in _sprd_pll_set_rate()
196 cfg[index].msk |= mask; in _sprd_pll_set_rate()
206 cfg[index].msk |= mask; in _sprd_pll_set_rate()
214 cfg[index].msk |= mask; in _sprd_pll_set_rate()
217 if (cfg[i].msk) { in _sprd_pll_set_rate()
218 sprd_pll_write(pll, i, cfg[i].msk, cfg[i].val); in _sprd_pll_set_rate()
[all …]

1234567