Home
last modified time | relevance | path

Searched refs:amt (Results 1 – 3 of 3) 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/
Damt.h242 struct amt_dev *amt; member
294 struct amt_dev *amt; member
403 static inline u64 amt_gmi(const struct amt_dev *amt) in amt_gmi() argument
405 return ((amt->qrv * amt->qi) + amt->qri) * 1000; in amt_gmi()
Dsock.h1501 sk_memory_allocated_add(struct sock *sk, int amt) in sk_memory_allocated_add() argument
1506 local_reserve = __this_cpu_add_return(*sk->sk_prot->per_cpu_fw_alloc, amt); in sk_memory_allocated_add()
1515 sk_memory_allocated_sub(struct sock *sk, int amt) in sk_memory_allocated_sub() argument
1520 local_reserve = __this_cpu_sub_return(*sk->sk_prot->per_cpu_fw_alloc, amt); in sk_memory_allocated_sub()
1635 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind);
1649 static inline int sk_mem_pages(int amt) in sk_mem_pages() argument
1651 return (amt + PAGE_SIZE - 1) >> PAGE_SHIFT; in sk_mem_pages()
2558 int amt = 0; in sock_wspace() local
2561 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace()
2562 if (amt < 0) in sock_wspace()
[all …]