Searched refs:cnt (Results 1 – 8 of 8) sorted by relevance
/include/linux/ |
D | res_counter.h | 125 static inline bool res_counter_limit_check_locked(struct res_counter *cnt) in res_counter_limit_check_locked() argument 127 if (cnt->usage < cnt->limit) in res_counter_limit_check_locked() 137 static inline bool res_counter_check_under_limit(struct res_counter *cnt) in res_counter_check_under_limit() argument 142 spin_lock_irqsave(&cnt->lock, flags); in res_counter_check_under_limit() 143 ret = res_counter_limit_check_locked(cnt); in res_counter_check_under_limit() 144 spin_unlock_irqrestore(&cnt->lock, flags); in res_counter_check_under_limit() 148 static inline void res_counter_reset_max(struct res_counter *cnt) in res_counter_reset_max() argument 152 spin_lock_irqsave(&cnt->lock, flags); in res_counter_reset_max() 153 cnt->max_usage = cnt->usage; in res_counter_reset_max() 154 spin_unlock_irqrestore(&cnt->lock, flags); in res_counter_reset_max() [all …]
|
D | rmap.h | 86 int page_referenced(struct page *, int is_locked, struct mem_cgroup *cnt); 127 #define page_referenced(page,l,cnt) TestClearPageReferenced(page) argument
|
D | lmb.h | 27 unsigned long cnt; member
|
D | bio.h | 352 atomic_t cnt; member
|
/include/asm-h8300/ |
D | timer.h | 11 #define calc_param(cnt, div, rate, limit) \ argument 13 cnt = TIMER_FREQ / HZ; \ 17 if ((cnt / rate[div]) > limit) \ 22 cnt /= divide_rate[div]; \
|
/include/linux/netfilter/ |
D | x_tables.h | 481 u_int32_t cnt[4]; member 483 u_int64_t cnt[2];
|
/include/linux/mlx4/ |
D | device.h | 445 int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, int *base); 446 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt);
|
/include/scsi/ |
D | libfc.h | 288 u16 cnt; /* frames sent so far on sequence */ member
|