Home
last modified time | relevance | path

Searched defs:fbc (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dpercpu_counter.h37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \ argument
46 #define percpu_counter_init(fbc, value, gfp) \ argument
50 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy()
64 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
69 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
75 percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit, s64 amount) in percpu_counter_limited_add()
92 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
97 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
103 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
108 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
[all …]
/include/linux/mlx5/
Ddriver.h962 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset()
975 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc()
980 static inline void *mlx5_frag_buf_get_wqe(struct mlx5_frag_buf_ctrl *fbc, in mlx5_frag_buf_get_wqe()
992 mlx5_frag_buf_get_idx_last_contig_stride(struct mlx5_frag_buf_ctrl *fbc, u32 ix) in mlx5_frag_buf_get_idx_last_contig_stride()