Home
last modified time | relevance | path

Searched refs:NR_MSG_FRAG_IDS (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/linux/
Dskmsg.h17 #define NR_MSG_FRAG_IDS (MAX_MSG_FRAGS + 1) macro
41 static_assert(BITS_PER_LONG >= NR_MSG_FRAG_IDS);
148 return end >= start ? end - start : end + (NR_MSG_FRAG_IDS - start); in sk_msg_iter_dist()
154 var = NR_MSG_FRAG_IDS - 1; \
162 if (var == NR_MSG_FRAG_IDS) \
179 BUILD_BUG_ON(ARRAY_SIZE(msg->sg.data) - 1 != NR_MSG_FRAG_IDS); in sk_msg_init()
181 sg_init_marker(msg->sg.data, NR_MSG_FRAG_IDS); in sk_msg_init()
/Linux-v5.10/net/core/
Dfilter.c2680 NR_MSG_FRAG_IDS - first_sge + last_sge - 1; in BPF_CALL_4()
2689 if (i + shift >= NR_MSG_FRAG_IDS) in BPF_CALL_4()
2690 move_from = i + shift - NR_MSG_FRAG_IDS; in BPF_CALL_4()
2704 msg->sg.end - shift + NR_MSG_FRAG_IDS : in BPF_CALL_4()