Rechercher une page de manuel
__sk_mem_schedule
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
__sk_mem_schedule - increase sk_forward_alloc and memory_allocatedSYNOPSIS
- int __sk_mem_schedule(struct sock * sk, int size, int kind);
ARGUMENTS
sk
- socket
size
- memory size to allocate
kind
- allocation type
DESCRIPTION
If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre