Searched defs:fbc (Results 1 – 2 of 2) sorted by relevance
34 #define percpu_counter_init(fbc, value, gfp) \ argument49 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()54 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()59 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()65 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()70 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()80 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive()90 static inline bool percpu_counter_initialized(struct percpu_counter *fbc) in percpu_counter_initialized()101 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init()108 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy()[all …]
856 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset()869 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc()874 static inline void *mlx5_frag_buf_get_wqe(struct mlx5_frag_buf_ctrl *fbc, in mlx5_frag_buf_get_wqe()886 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()