Home
last modified time | relevance | path

Searched refs:FLOWCTL_BLK_SZ (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/tipc/
H A Dsocket.h45 #define FLOWCTL_BLK_SZ 1024 macro
48 #define RCVBUF_MIN (FLOWCTL_BLK_SZ * 512)
49 #define RCVBUF_DEF (FLOWCTL_BLK_SZ * 1024 * 2)
50 #define RCVBUF_MAX (FLOWCTL_BLK_SZ * 1024 * 16)
H A Dgroup.c47 #define ADV_UNIT (((MAX_MSG_SIZE + MAX_H_SIZE) / FLOWCTL_BLK_SZ) + 1)
137 return (active_pool + idle_pool) * FLOWCTL_BLK_SZ * 4; in tipc_group_rcvbuf_limit()
H A Dsocket.c219 return ((len / FLOWCTL_BLK_SZ) + 1); in tsk_blocks()
224 * We can trust that this ratio is always < 4 for len >= FLOWCTL_BLK_SZ
228 return len / FLOWCTL_BLK_SZ / 4; in tsk_adv_blocks()
238 return ((msglen / FLOWCTL_BLK_SZ) + 1); in tsk_inc()
/kernel/linux/linux-6.6/net/tipc/
H A Dsocket.h45 #define FLOWCTL_BLK_SZ 1024 macro
48 #define RCVBUF_MIN (FLOWCTL_BLK_SZ * 512)
49 #define RCVBUF_DEF (FLOWCTL_BLK_SZ * 1024 * 2)
50 #define RCVBUF_MAX (FLOWCTL_BLK_SZ * 1024 * 16)
H A Dgroup.c48 #define ADV_UNIT (((MAX_MSG_SIZE + MAX_H_SIZE) / FLOWCTL_BLK_SZ) + 1)
138 return (active_pool + idle_pool) * FLOWCTL_BLK_SZ * 4; in tipc_group_rcvbuf_limit()
H A Dsocket.c230 return ((len / FLOWCTL_BLK_SZ) + 1); in tsk_blocks()
235 * We can trust that this ratio is always < 4 for len >= FLOWCTL_BLK_SZ
239 return len / FLOWCTL_BLK_SZ / 4; in tsk_adv_blocks()
249 return ((msglen / FLOWCTL_BLK_SZ) + 1); in tsk_inc()

Completed in 13 milliseconds