Searched refs:rs (Results 1 – 6 of 6) sorted by relevance
/include/linux/ |
D | ratelimit.h | 44 static inline void ratelimit_state_init(struct ratelimit_state *rs, in ratelimit_state_init() argument 47 memset(rs, 0, sizeof(*rs)); in ratelimit_state_init() 49 raw_spin_lock_init(&rs->lock); in ratelimit_state_init() 50 rs->interval = interval; in ratelimit_state_init() 51 rs->burst = burst; in ratelimit_state_init() 54 static inline void ratelimit_default_init(struct ratelimit_state *rs) in ratelimit_default_init() argument 56 return ratelimit_state_init(rs, DEFAULT_RATELIMIT_INTERVAL, in ratelimit_default_init() 60 static inline void ratelimit_state_exit(struct ratelimit_state *rs) in ratelimit_state_exit() argument 62 if (!(rs->flags & RATELIMIT_MSG_ON_RELEASE)) in ratelimit_state_exit() 65 if (rs->missed) { in ratelimit_state_exit() [all …]
|
D | rslib.h | 62 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, 66 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len, 73 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, 77 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len, 108 void free_rs(struct rs_control *rs); 122 static inline int rs_modnn(struct rs_codec *rs, int x) in rs_modnn() argument 124 while (x >= rs->nn) { in rs_modnn() 125 x -= rs->nn; in rs_modnn() 126 x = (x >> rs->mm) + (x & rs->nn); in rs_modnn()
|
/include/math-emu/ |
D | double.h | 122 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) argument 197 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,1,X,r,rs,rt) argument
|
D | quad.h | 128 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,4,X,r,rs,rt) argument 201 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,2,X,r,rs,rt) argument
|
D | single.h | 111 #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) argument
|
/include/net/ |
D | tcp.h | 1084 void (*cong_control)(struct sock *sk, const struct rate_sample *rs); 1152 struct rate_sample *rs); 1154 bool is_sack_reneg, struct rate_sample *rs); 2071 extern void tcp_rack_update_reo_wnd(struct sock *sk, struct rate_sample *rs);
|