Searched refs:rm_list (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/net/mptcp/ |
D | pm.c | 44 int mptcp_pm_remove_addr(struct mptcp_sock *msk, const struct mptcp_rm_list *rm_list) in mptcp_pm_remove_addr() argument 48 pr_debug("msk=%p, rm_list_nr=%d", msk, rm_list->nr); in mptcp_pm_remove_addr() 55 msk->pm.rm_list_tx = *rm_list; in mptcp_pm_remove_addr() 62 int mptcp_pm_remove_subflow(struct mptcp_sock *msk, const struct mptcp_rm_list *rm_list) in mptcp_pm_remove_subflow() argument 64 pr_debug("msk=%p, rm_list_nr=%d", msk, rm_list->nr); in mptcp_pm_remove_subflow() 67 mptcp_pm_nl_rm_subflow_received(msk, rm_list); in mptcp_pm_remove_subflow() 259 const struct mptcp_rm_list *rm_list) in mptcp_pm_rm_addr_received() argument 264 pr_debug("msk=%p remote_ids_nr=%d", msk, rm_list->nr); in mptcp_pm_rm_addr_received() 266 for (i = 0; i < rm_list->nr; i++) in mptcp_pm_rm_addr_received() 267 mptcp_event_addr_removed(msk, rm_list->ids[i]); in mptcp_pm_rm_addr_received() [all …]
|
D | options.c | 303 mp_opt->rm_list.nr = opsize - TCPOLEN_MPTCP_RM_ADDR_BASE; in mptcp_parse_option() 304 for (i = 0; i < mp_opt->rm_list.nr; i++) in mptcp_parse_option() 305 mp_opt->rm_list.ids[i] = *ptr++; in mptcp_parse_option() 306 pr_debug("RM_ADDR: rm_list_nr=%d", mp_opt->rm_list.nr); in mptcp_parse_option() 705 struct mptcp_rm_list rm_list; in mptcp_established_options_rm_addr() local 709 !(mptcp_pm_rm_addr_signal(msk, remaining, &rm_list))) in mptcp_established_options_rm_addr() 712 len = mptcp_rm_addr_len(&rm_list); in mptcp_established_options_rm_addr() 720 opts->rm_list = rm_list; in mptcp_established_options_rm_addr() 722 for (i = 0; i < opts->rm_list.nr; i++) in mptcp_established_options_rm_addr() 723 pr_debug("rm_list_ids[%d]=%d", i, opts->rm_list.ids[i]); in mptcp_established_options_rm_addr() [all …]
|
D | protocol.h | 163 struct mptcp_rm_list rm_list; member 785 const struct mptcp_rm_list *rm_list); 814 int mptcp_pm_remove_addr(struct mptcp_sock *msk, const struct mptcp_rm_list *rm_list); 815 int mptcp_pm_remove_subflow(struct mptcp_sock *msk, const struct mptcp_rm_list *rm_list); 817 struct list_head *rm_list); 879 static inline int mptcp_rm_addr_len(const struct mptcp_rm_list *rm_list) in mptcp_rm_addr_len() argument 881 if (rm_list->nr == 0 || rm_list->nr > MPTCP_RM_IDS_MAX) in mptcp_rm_addr_len() 884 return TCPOLEN_MPTCP_RM_ADDR_BASE + roundup(rm_list->nr - 1, 4) + 1; in mptcp_rm_addr_len() 892 struct mptcp_rm_list *rm_list); 899 const struct mptcp_rm_list *rm_list);
|
D | pm_netlink.c | 774 const struct mptcp_rm_list *rm_list, in mptcp_pm_nl_rm_addr_or_subflow() argument 782 rm_type == MPTCP_MIB_RMADDR ? "address" : "subflow", rm_list->nr); in mptcp_pm_nl_rm_addr_or_subflow() 789 if (!rm_list->nr) in mptcp_pm_nl_rm_addr_or_subflow() 795 for (i = 0; i < rm_list->nr; i++) { in mptcp_pm_nl_rm_addr_or_subflow() 796 u8 rm_id = rm_list->ids[i]; in mptcp_pm_nl_rm_addr_or_subflow() 846 const struct mptcp_rm_list *rm_list) in mptcp_pm_nl_rm_subflow_received() argument 848 mptcp_pm_nl_rm_addr_or_subflow(msk, rm_list, MPTCP_MIB_RMSUBFLOW); in mptcp_pm_nl_rm_subflow_received() 1545 struct list_head *rm_list) in mptcp_pm_remove_addrs_and_subflows() argument 1550 list_for_each_entry(entry, rm_list, list) { in mptcp_pm_remove_addrs_and_subflows() 1570 struct list_head *rm_list) in mptcp_nl_remove_addrs_list() argument [all …]
|
/linux-6.1.9/include/net/ |
D | mptcp.h | 65 struct mptcp_rm_list rm_list; member
|
/linux-6.1.9/drivers/nvme/host/ |
D | core.c | 4435 LIST_HEAD(rm_list); in nvme_remove_invalid_namespaces() 4440 list_move_tail(&ns->list, &rm_list); in nvme_remove_invalid_namespaces() 4444 list_for_each_entry_safe(ns, next, &rm_list, list) in nvme_remove_invalid_namespaces()
|