Home
last modified time | relevance | path

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

/include/linux/sched/
Dxacct.h12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() argument
14 tsk->ioac.rchar += amt; in add_rchar()
17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() argument
19 tsk->ioac.wchar += amt; in add_wchar()
37 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() argument
41 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() argument
/include/net/
Dsock.h1423 sk_memory_allocated_add(struct sock *sk, int amt) in sk_memory_allocated_add() argument
1425 return atomic_long_add_return(amt, sk->sk_prot->memory_allocated); in sk_memory_allocated_add()
1429 sk_memory_allocated_sub(struct sock *sk, int amt) in sk_memory_allocated_sub() argument
1431 atomic_long_sub(amt, sk->sk_prot->memory_allocated); in sk_memory_allocated_sub()
1528 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind);
1554 static inline int sk_mem_pages(int amt) in sk_mem_pages() argument
1556 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; in sk_mem_pages()
2429 int amt = 0; in sock_wspace() local
2432 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace()
2433 if (amt < 0) in sock_wspace()
[all …]